
/* SARAIL MARKET reference redesign v3.0.0 - storefront, cards and product packaging */
:root{--sr-navy:#071f49;--sr-navy2:#0c3975;--sr-blue:#0875ed;--sr-cyan:#17c5ec;--sr-ink:#102b52;--sr-muted:#71839b;--sr-line:#dce7f6}
html{scroll-behavior:smooth}
body{background:linear-gradient(180deg,#f5f8ff 0%,#fff 45%,#f4f8ff 100%)!important;color:var(--sr-ink)}
.site-header{background:rgba(255,255,255,.98)!important;box-shadow:0 8px 28px rgba(7,31,73,.09)!important}
.nav-wrap{background:linear-gradient(100deg,#061b40,#0b3977)!important;border-radius:0 0 24px 24px!important;box-shadow:0 10px 28px rgba(7,31,73,.2)!important}
.nav-link{color:#fff!important;font-weight:850!important}
.nav-link:hover,.nav-link.active{color:#67eaff!important}

/* Homepage hero */
body .hero.container{position:relative;isolation:isolate;display:flex!important;align-items:center!important;min-height:390px!important;margin:24px auto 40px!important;padding:42px clamp(26px,5vw,70px)!important;border-radius:28px!important;overflow:hidden!important;background:linear-gradient(100deg,#061b40 0%,#0b3674 65%,#1266c3 100%)!important;box-shadow:0 20px 48px rgba(8,42,92,.18)!important}
body .hero-art{position:absolute!important;z-index:-1!important;left:0!important;right:auto!important;top:0!important;width:54%!important;height:100%!important;min-height:0!important;margin:0!important;background:url("../images/sarail-market-home-hero-v3.webp") left center/cover no-repeat!important;opacity:1!important}
body .hero-art>*{display:none!important}
body .hero-copy{position:relative!important;z-index:2!important;width:52%!important;margin-right:0!important;margin-left:auto!important;text-align:right!important;color:#fff!important}
body .hero-copy .eyebrow{color:#8cecff!important}
body .hero-copy h1,body .hero-copy h1 em{color:#fff!important;text-shadow:0 3px 20px rgba(0,0,0,.18)!important}
body .hero-copy p{color:#e3efff!important;max-width:650px!important}
body .hero-benefits span{color:#d8ecff!important}
body .hero-buttons .button-outline{border-color:rgba(255,255,255,.65)!important;color:#fff!important;background:rgba(255,255,255,.08)!important}
body .hero-buttons .button-primary{background:linear-gradient(100deg,#0877f5,#14c9e9)!important;box-shadow:0 9px 22px rgba(0,125,255,.28)!important}
#categories .category-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important}
#categories .category-card{border:1px solid #dce8f7!important;border-radius:22px!important;background:#fff!important;box-shadow:0 9px 28px rgba(15,48,91,.07)!important;overflow:hidden!important;padding:14px!important}
#categories .category-visual{height:150px!important;margin:0 0 15px!important;border-radius:16px!important;background:#eef5ff!important;overflow:hidden!important}
#categories .category-visual img{width:100%!important;height:100%!important;object-fit:cover!important}
#categories .category-card:not(:has(.category-visual img)) .category-visual{background-size:cover!important;background-position:center!important}
#categories .category-card:nth-child(1) .category-visual{background-image:url("../images/product-illustrations/business-dashboard.jpg")!important}
#categories .category-card:nth-child(2) .category-visual{background-image:url("../images/product-illustrations/ai-assistant.jpg")!important}
#categories .category-card:nth-child(3) .category-visual{background-image:url("../images/product-illustrations/website-template.jpg")!important}
#categories .category-card:nth-child(4) .category-visual{background-image:url("../images/product-illustrations/content-kit.jpg")!important}
#categories .category-card:nth-child(5) .category-visual{background-image:url("../images/product-illustrations/digital-course.jpg")!important}
#categories .category-card .category-visual span{display:none!important}
#categories .category-card h3{color:#102d56!important;font-size:15px!important;font-weight:900!important}
#categories .category-card p{color:#73859d!important;font-size:12px!important}
#productGrid .product-grid,.products-section .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
#productGrid .product-card,.products-section .product-card{background:#fff!important;border:1px solid #dce8f7!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 9px 28px rgba(15,48,91,.08)!important}
#productGrid .product-image{height:230px!important;background:linear-gradient(145deg,#f5f9ff,#e6f2ff)!important;padding:12px!important}
#productGrid .product-image img{width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 12px 14px rgba(7,44,94,.18))!important}
#productGrid .product-info{background:#fff!important;color:#173452!important}
#productGrid .product-info h3{color:#102d56!important}
#productGrid .product-meta strong{color:#075fc3!important}
#productGrid .add-cart{background:linear-gradient(100deg,#08285a,#0875e8)!important;color:#fff!important;border-radius:12px!important}

/* Shop page hero and category strip */
.shop-feature-banner{width:min(1500px,calc(100% - 40px));margin:18px auto 0;position:relative;overflow:hidden;border-radius:24px;box-shadow:0 16px 38px rgba(9,48,102,.17);background:#092b62}
.shop-feature-banner-inner{position:relative;width:100%;max-width:none!important;padding:0!important}
.shop-feature-banner img{display:block;width:100%;height:auto;max-height:270px;object-fit:cover}
.shop-banner-hit{position:absolute;right:56%;bottom:12%;width:19%;height:30%;border-radius:999px}
.shop-category-shortcuts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:22px auto 28px!important}
.shop-category-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;padding:12px 10px 14px;border:1px solid #dce7f6;border-radius:18px;background:#fff;text-decoration:none!important;box-shadow:0 7px 22px rgba(10,44,91,.06);transition:transform .2s,box-shadow .2s}
.shop-category-tile:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(10,44,91,.12)}
.shop-category-tile img{width:100%;height:104px;object-fit:contain;border-radius:12px;background:linear-gradient(145deg,#f7faff,#e9f3ff);margin-bottom:10px}
.shop-category-tile strong{color:#102e57;font-size:13px;text-align:center;line-height:1.7}
.shop-category-tile small{color:#8191a8;font-size:11px;margin-top:2px}

/* Actual catalog: filter column + product grid */
body .inner-content.container#shopCatalog{display:grid!important;grid-template-columns:minmax(0,1fr) 270px!important;column-gap:22px!important;align-items:start!important;width:min(1460px,calc(100% - 48px))!important;max-width:1460px!important;padding-top:8px!important}
#shopCatalog>.section-heading{grid-column:1/-1!important;margin-bottom:8px!important}
#shopCatalog>.section-heading h2{color:#102e57!important;font-size:27px!important}
#shopCatalog>.shop-toolbar{grid-column:2!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;padding:18px!important;border:1px solid #dce7f6!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 30px rgba(11,45,91,.07)!important;margin:0!important;position:sticky!important;top:18px!important;backdrop-filter:none!important}
#shopCatalog .shop-toolbar input,#shopCatalog .shop-toolbar select{width:100%!important;min-height:46px!important;border:1px solid #dce7f6!important;border-radius:12px!important;background:#f8fbff!important;color:#15365d!important}
#shopCatalog #shopCount{white-space:normal!important;text-align:center!important;padding:10px!important;background:#eef5ff!important;border-radius:10px!important;color:#1b5da5!important}
#shopCatalog>#shopGrid{grid-column:1!important;grid-row:2!important;min-width:0!important;visibility:visible}
#shopCatalog .shop-category-group{margin:0 0 36px!important}
#shopCatalog .shop-category-group>.section-heading{margin:0 0 15px!important;padding:0 2px 12px!important;border-bottom:1px solid #e3ebf5!important}
#shopCatalog .shop-category-group>.section-heading h2{font-size:21px!important;color:#102e57!important;font-weight:950!important}
#shopCatalog .shop-category-group>.section-heading p{color:#8090a7!important}
#shopCatalog .product-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch!important}
#shopCatalog .product-card{display:flex!important;flex-direction:column!important;min-width:0!important;overflow:hidden!important;border:1px solid #dce7f6!important;border-radius:19px!important;background:#fff!important;box-shadow:0 8px 24px rgba(9,45,92,.08)!important;transition:transform .2s,box-shadow .2s!important}
#shopCatalog .product-card:hover{transform:translateY(-4px)!important;box-shadow:0 16px 32px rgba(9,45,92,.14)!important}
#shopCatalog .product-image{height:228px!important;min-height:228px!important;max-height:none!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;margin:0!important;overflow:hidden!important;background:radial-gradient(ellipse at 50% 45%,#fff 0,#edf5ff 72%,#e5effb 100%)!important;border-radius:0!important}
#shopCatalog .product-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;border-radius:10px!important;filter:drop-shadow(0 12px 16px rgba(8,45,95,.17))!important}
#shopCatalog .product-info{display:flex!important;flex:1!important;flex-direction:column!important;gap:0!important;padding:14px 16px 16px!important;background:#fff!important;color:#173452!important}
#shopCatalog .product-category{align-self:flex-start!important;background:#eaf4ff!important;color:#1260a8!important;border:1px solid #d6e7f8!important;border-radius:999px!important;padding:5px 10px!important;font-size:10px!important;font-weight:850!important}
#shopCatalog .product-info h3{font-size:15px!important;line-height:1.8!important;font-weight:950!important;color:#102e57!important;margin:9px 0 5px!important;min-height:0!important}
#shopCatalog .product-info>p{font-size:11px!important;line-height:1.8!important;color:#7b8ba0!important;margin:0 0 9px!important;min-height:0!important}
#shopCatalog .product-meta{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:6px!important;margin-top:auto!important;padding:10px 0!important;border-top:1px solid #edf1f6!important;color:#8291a6!important}
#shopCatalog .product-meta strong{color:#075fc3!important;font-size:15px!important}
#shopCatalog .product-detail-link{display:flex!important;justify-content:center!important;align-items:center!important;min-height:38px!important;padding:8px 10px!important;border:1px solid #dce8f7!important;border-radius:10px!important;background:#f7faff!important;color:#13518d!important;font-size:11px!important;font-weight:900!important;margin:0 0 8px!important}
#shopCatalog .add-cart{width:100%!important;min-height:41px!important;border:0!important;border-radius:10px!important;background:linear-gradient(100deg,#092b61,#0875e8)!important;color:#fff!important;font-size:11px!important;font-weight:900!important;box-shadow:0 7px 16px rgba(7,68,145,.15)!important}

/* Product detail page */
.reference-product-page{padding:24px 0 60px!important}
.reference-product-shell{border-radius:28px!important;border:1px solid #dbe7f7!important;box-shadow:0 16px 46px rgba(9,46,99,.09)!important}
.reference-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)!important;min-height:490px!important;gap:26px!important}
.reference-art{min-height:460px!important;border-radius:24px!important;background:radial-gradient(ellipse at 50% 45%,#fff 0,#eaf5ff 66%,#e2efff 100%)!important;overflow:hidden!important}
.reference-art img{width:100%!important;height:460px!important;max-height:520px!important;object-fit:contain!important;filter:drop-shadow(0 24px 28px rgba(4,39,92,.22))!important}
.reference-copy h1{font-size:clamp(30px,3.1vw,44px)!important}
.reference-copy .reference-price{color:#075fe0!important}
.reference-benefits,.reference-tabs{border-radius:18px!important}
.related-product-card img{object-fit:contain!important;background:#f1f6ff!important}
@media(max-width:1100px){
 #shopCatalog .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .shop-category-shortcuts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 #categories .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
 body .hero.container{min-height:460px!important;padding:28px 22px!important}
 body .hero-art{width:100%!important;opacity:.34!important;background-position:left center!important}
 body .hero-copy{width:100%!important;margin:0!important}
 .shop-feature-banner{width:calc(100% - 20px);border-radius:16px}
 .shop-feature-banner img{min-height:150px;object-fit:cover}
 .shop-category-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body .inner-content.container#shopCatalog{display:flex!important;flex-direction:column!important;width:calc(100% - 24px)!important}
 #shopCatalog>.shop-toolbar{position:static!important;width:100%!important}
 #shopCatalog>#shopGrid{width:100%!important}
 #shopCatalog .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 #shopCatalog .product-image{height:165px!important;min-height:165px!important}
 #shopCatalog .product-info{padding:11px!important}
 #shopCatalog .product-info h3{font-size:13px!important}
 .reference-hero{grid-template-columns:1fr!important}
 .reference-art{min-height:320px!important;order:-1}
 .reference-art img{height:320px!important}
 #categories .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #productGrid .product-grid,.products-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
