/* Shah Fabric reference-matched theme: warm ivory, charcoal, champagne gold and soft sage. */
:root {
  --color-primary: #171613;
  --color-secondary: #b99a65;
  --color-accent: #22201c;
  --color-sale-badge: #171613;
  --color-background: #f6f0e6;
  --color-surface: #fffdfa;
  --color-text: #211f1b;
  --color-text-muted: #756d62;
  --color-button: #171613;
  --color-button-text: #fffaf1;
  --color-border: #e4dbcd;
  --color-header-bg: #f8f4ed;
  --color-header-text: #171613;
  --color-footer-bg: #11100f;
  --color-footer-text: #f4e9d6;
  --color-announcement-bg: #171613;
  --color-announcement-text: #f4e9d6;
}
html { scroll-behavior: smooth; }
body { background: var(--color-background); color: var(--color-text); }
.site-header { background: var(--color-header-bg); color: var(--color-header-text); border-bottom-color: var(--color-border); }
.site-header__inner { min-height: 72px; max-width: 1740px; margin: 0 auto; padding: 10px clamp(18px,4.6vw,70px); gap: clamp(12px,2vw,32px); }
.logo { font-size: 26px; letter-spacing: .14em; white-space: nowrap; }
.logo img { display:block; width:auto; max-width: min(250px, 28vw); max-height: 44px; object-fit: contain; }
.logo img[data-logo-fallback="true"] { width: clamp(180px,17vw,270px); max-height: 48px; }
body[data-theme-page="home"] .site-header,
body[data-theme-page="perfumes"] .site-header,
body[data-theme-page="watches"] .site-header { background:var(--color-header-bg); color:var(--color-header-text); border-bottom-color:var(--color-border); }
body[data-theme-page="home"] .main-nav a,
body[data-theme-page="perfumes"] .main-nav a,
body[data-theme-page="watches"] .main-nav a,
body[data-theme-page="home"] .header-icons,
body[data-theme-page="perfumes"] .header-icons,
body[data-theme-page="watches"] .header-icons { color:var(--color-header-text); }
.main-nav { gap: clamp(12px,1.65vw,28px); }
.main-nav a { font-size:12px; letter-spacing:.075em; }
.header-icons { gap:12px; }
.announcement-bar { background:#171613; color:#f7eddd; font-size:11px; letter-spacing:.04em; }
.sale-ribbon { font-size:12px; }
.btn { border-radius:2px; letter-spacing:.035em; }
.btn-primary { background:#171613; border-color:#171613; color:#fffaf1; }
.btn-primary:hover { background:#b99a65; color:#171613; border-color:#b99a65; }
.btn-outline { border-color:#29251f; color:#29251f; }
.eyebrow, .section-heading .eyebrow { color:#a18759 !important; letter-spacing:.17em !important; }
h1,h2,h3,h4 { letter-spacing:0; }
.section { padding:clamp(34px,4vw,58px) 0; }
.section-heading { margin-bottom:clamp(20px,2.8vw,36px); }
.section-heading h2 { font-size:clamp(24px,2.5vw,33px); font-weight:500; text-transform:uppercase; letter-spacing:.025em; }
.section-heading h2::after { content:""; display:block; width:42px; height:1px; margin:10px auto 0; background:#b99a65; }
.section-heading--with-action h2::after { margin-left:0; }
.section-heading--with-action { align-items:center; }
.section-view-all { border-radius:2px; padding:9px 16px; font-size:11px; }

/* Home hero: wide banner with text on the warm left side, artwork on the right. */
body[data-theme-page="home"] .hero-slider { aspect-ratio:3/1; min-height:220px; max-height:500px; background:#eee2cf; }
body[data-theme-page="home"] .hero-slide { align-items:stretch; }
body[data-theme-page="home"] .hero-slide img { object-fit:cover; object-position:center; }
body[data-theme-page="home"] .hero-slide__content { position:absolute; inset:0 auto 0 0; width:min(52%,700px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:8px; padding:clamp(20px,3.6vw,56px); color:#fff; background:transparent; text-shadow:0 2px 12px rgba(0,0,0,.55); }
body[data-theme-page="home"] .hero-slide__content h2 { font-size:clamp(30px,4vw,56px); font-weight:500; line-height:1.04; margin-bottom:6px; color:#fff; }
body[data-theme-page="home"] .hero-slide__content p { color:#fff; font-size:14px; line-height:1.6; margin-bottom:10px; max-width:480px; }
body[data-theme-page="home"] .hero-slide__content .btn-primary { background:#c8a45e; border-color:#c8a45e; color:#201a10; text-shadow:none; box-shadow:0 2px 10px rgba(0,0,0,.18); }
body[data-theme-page="home"] .hero-slider--editorial { aspect-ratio:auto; min-height:0; max-height:none; background:#f3ebdf; }
.home-editorial-hero { max-width:none; min-height:clamp(320px,23vw,370px); grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0; padding:0 clamp(24px,5vw,76px); background:linear-gradient(90deg,#f5eee3 0%,#f5eee3 52%,#e7dac7 52%,#e7dac7 100%); }
.home-editorial-hero__copy { padding:30px 20px 30px 0; }
.home-editorial-hero__copy h2 { color:#4b351d; font-size:clamp(38px,4.3vw,64px); line-height:1.02; letter-spacing:-.035em; }
.home-editorial-hero__copy p { color:#554a3d; font-size:14px; margin:18px 0 23px; line-height:1.65; }
.home-editorial-hero__visual { min-height:0; max-height:none; height:100%; margin:0 -5vw 0 0; overflow:hidden; display:flex; align-items:stretch; justify-content:stretch; }
.home-editorial-hero__visual::before { display:none; }
.home-editorial-hero__visual img { width:100%; height:100%; max-height:none; object-fit:cover; object-position:center; box-shadow:none; }
.home-editorial-hero__seal { width:64px; height:64px; right:3%; bottom:6%; background:#171613; color:#e8d0a9; }

/* Only one category strip should display: admin sale categories if configured, otherwise default departments. */
#sale-categories-section { display:none; background:#f8f1e7; border-bottom:1px solid #e5dccd; padding:24px 0 26px !important; }
#sale-categories-section .section-heading { margin-bottom:16px; }
#sale-categories-heading { text-transform:uppercase; font-size:22px; }
.sale-categories-track { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); justify-items:center; align-items:start; gap:16px; max-width:980px; margin:0 auto; }
.sale-category-item { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:8px; width:100%; font-size:12px; text-align:center; }
.sale-category-item__circle { width:78px; height:78px; border:0 !important; outline:0 !important; box-shadow:none !important; border-radius:50%; overflow:hidden; background:#151412 !important; padding:0; }
.sale-category-item__circle img { width:100%; height:100%; object-fit:cover; border:0 !important; outline:0 !important; box-shadow:none !important; border-radius:50% !important; }
.sale-category-item span { font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.025em; }
.department-shortcuts { display:block; background:#f8f1e7; border-bottom:1px solid #e5dccd; padding:24px 0 27px; }
.department-shortcuts__heading { display:block; text-align:center; margin-bottom:16px; }
.department-shortcuts__heading .eyebrow { display:none; }
.department-shortcuts__heading h2 { font-size:22px; text-transform:uppercase; font-weight:500; }
.department-shortcuts__heading h2::after { content:""; display:block; width:42px; height:1px; background:#b99a65; margin:10px auto 0; }
.department-shortcuts__grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; max-width:960px; margin:auto; }
.department-shortcut { min-width:0; display:flex; flex-direction:column; align-items:center; gap:7px; padding:0 8px; border:0; background:transparent; text-align:center; }
.department-shortcut:hover { transform:translateY(-2px); background:transparent; border-color:transparent; }
.department-shortcut__monogram { width:78px; height:78px; flex:0 0 78px; border:0; border-radius:50%; overflow:hidden; display:block; background:#eee4d5; box-shadow:0 3px 0 rgba(20,19,17,.10); }
.department-shortcut__monogram img { display:block; width:100%; height:100%; object-fit:cover; border:0; border-radius:50%; }
.department-shortcut strong { font-size:12px; font-weight:600; text-transform:uppercase; }
.department-shortcut small,.department-shortcut__arrow { display:none; }

/* Reference product cards: white panel, fine warm border, inset image, black sale badges. */
.product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,1.45vw,22px); }
body[data-theme-page="home"] #new-arrivals-grid,
body[data-theme-page="home"] #featured-grid,
body[data-theme-page="home"] #homepage-products-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
body[data-theme-page="perfumes"] .product-grid,
body[data-theme-page="watches"] .product-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
.product-card { background:#fffdfa; border:1px solid #e2d9ca; border-radius:7px; overflow:hidden; box-shadow:0 3px 10px rgba(41,31,18,.065); transition:transform .2s ease,box-shadow .2s ease; }
.product-card:hover { transform:translateY(-2px); box-shadow:0 7px 18px rgba(41,31,18,.11); }
.product-card__media { margin:8px 8px 0; border:1px solid #eee4d5; background:#f7f3ec; aspect-ratio:3/3.8; }
.product-card__image { object-fit:cover; transition:opacity .25s ease,transform .35s ease; }
.product-card:not(.has-hover-image):hover .product-card__image--main { opacity:1; }
.product-card.has-hover-image:hover .product-card__image--main { opacity:0; }
.product-card__info { padding:10px 10px 14px; text-align:center; }
.product-card__title { font-family:var(--font-body); font-weight:500; font-size:13px; line-height:1.35; min-height:2.4em; margin-bottom:5px; }
.product-card__price { font-size:15px; line-height:1.45; }
.price-current { font-weight:700; color:#171613; }
.price-compare { color:#887f72; font-size:12px; }
.product-card__badges { top:8px; left:8px; gap:5px; }
.badge { border-radius:2px; font-size:10px; padding:4px 7px; letter-spacing:.035em; }
.badge-sale,.badge-discount { background:#171613; color:#fff9ed; }
.wishlist-btn { box-shadow:0 2px 8px rgba(0,0,0,.12); width:32px; height:32px; }
.quickview-trigger { font-size:10px; background:rgba(255,253,248,.96); }

/* Department heroes match the reference split-image layouts; photos are optimized WebP crops from the supplied screenshots. */
.department-page { background:#f7f1e7; --department-ink:#211d17; --department-paper:#f2eadf; --department-accent:#a78b5c; --department-soft:#e4d7c4; }
.department-page--mens { --department-ink:#191816; --department-paper:#f2eadd; --department-accent:#a78b5c; --department-soft:#e1d2bc; }
.department-page--womens { --department-ink:#1d1915; --department-paper:#f4ebe0; --department-accent:#a88d70; --department-soft:#e3d2be; }
.department-page--bedsheets { --department-ink:#223326; --department-paper:#e7e7dc; --department-accent:#6e846b; --department-soft:#cdd4c3; }
.department-page--perfumes { --department-ink:#211b15; --department-paper:#eee1d0; --department-accent:#b49762; --department-soft:#e4d2b5; }
.department-page--watches { --department-ink:#fbf0df; --department-paper:#171614; --department-accent:#d1ad6c; --department-soft:#29251e; }
.department-breadcrumbs { max-width:1740px; padding-top:12px; padding-bottom:12px; color:#8a8175; font-size:11px; }
.department-hero { background:var(--department-paper); color:var(--department-ink); }
.department-hero::before { display:none; }
.department-hero__inner { max-width:1740px; min-height:clamp(290px,25vw,390px); grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); gap:0; padding-top:0; padding-bottom:0; }
.department-hero__copy { max-width:730px; padding:clamp(28px,4vw,64px) clamp(18px,4vw,64px) clamp(28px,4vw,64px) 0; }
.department-hero__copy .eyebrow { font-size:10px; letter-spacing:.2em; margin-bottom:13px; }
.department-hero__copy h1 { font-size:clamp(36px,4.3vw,64px); line-height:1.02; letter-spacing:-.025em; }
.department-hero__copy p { max-width:470px; font-size:14px; line-height:1.65; margin:15px 0 20px; }
.department-hero__actions { gap:18px; }
.department-page .department-hero__actions .btn-primary { background:#171613; border-color:#171613; color:#fffaf1; }
.department-page--bedsheets .department-hero__actions .btn-primary { background:#4f6854; border-color:#4f6854; }
.department-page--watches .department-hero__actions .btn-primary { background:#d2ad6d; border-color:#d2ad6d; color:#171613; }
.department-hero__meta { margin-top:20px; font-size:9px; }
.department-hero__art { min-height:100%; max-height:none; width:100%; position:relative; display:block; overflow:hidden; background:var(--department-soft); }
.department-hero__art::before,.department-hero__art-orbit,.department-hero__art-label,.department-hero__art-placeholder { display:none !important; }
#department-hero-image { position:absolute; inset:0; display:block !important; width:100%; height:100%; max-height:none; object-fit:cover; object-position:center; box-shadow:none; }
.department-page--perfumes .department-hero__art { background:#e9ddce; }
.department-page--watches .department-hero { background:#171614; color:#fff4e5; }
.department-page--watches .department-hero__copy p,.department-page--watches .department-hero__meta { color:#d7c8b4; }
.department-benefits { background:#f9f5ee; border-bottom:1px solid #e4dbcd; }
.department-benefits__grid { max-width:1500px; grid-template-columns:repeat(3,minmax(0,1fr)); padding-top:16px; padding-bottom:16px; gap:12px; }
.department-benefits__grid > div { min-height:72px; border:1px solid #e4dbcd; background:#eee5d9; padding:12px; text-align:center; }
.department-benefits__icon { border:0; color:#9d8256; font-size:19px; }
.department-benefits strong { font-size:12px; text-transform:uppercase; letter-spacing:.03em; }
.department-benefits small { font-size:10px; }
body[data-theme-page="womens"] .department-benefits,
body[data-theme-page="bedsheets"] .department-benefits { display:none; }
.department-products-section { background:#f7f1e7; padding-top:clamp(28px,3vw,45px); }
.department-products-heading { margin-bottom:22px; }
.department-products-heading h2 { font-size:clamp(25px,2.6vw,35px); text-transform:uppercase; }
.department-search input,.department-sort-label select { border-radius:0; background:#fffdfa; border-color:#dcd2c1; }
.department-empty-note { background:#fffdfa; border-color:#e3d9c9; }
.department-bottom-cta { background:#11100f; color:#f5ebdc; }
.department-bottom-cta .eyebrow { color:#c6a469 !important; }
.department-page--bedsheets .department-bottom-cta { background:#6b7f67; }

/* Product detail/reference buy page: warm canvas, square black controls, clean gallery. */
body[data-theme-page="product"] { background:#f7f1e7; }
body[data-theme-page="product"] .site-header { background:var(--color-header-bg); color:var(--color-header-text); }
.pdp-layout { max-width:1400px; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); gap:clamp(24px,4vw,70px); padding:32px 0 48px; }
.pdp-gallery__main { background:#f0e9dd; border:1px solid #e4dac9; border-radius:0; }
.pdp-gallery__thumbs img { border:1px solid #e3d8c6; border-radius:0; }
.pdp-info h1 { font-size:clamp(28px,3vw,40px); color:#221e18; }
.pdp-price { color:#201c16; font-size:24px; }
.pdp-info .btn-primary,.pdp-actions .btn-primary { background:#171613; border-color:#171613; }
.pdp-info .btn-whatsapp { border-radius:0; }
.size-option,.qty-selector { border-radius:0; }
.trust-badges { color:#756b5d; border-color:#e2d8c7; }
.site-footer { background:#11100f; color:#f2e7d4; padding-top:44px; }
.footer-grid h4 { color:#c5a36c; font-family:var(--font-heading); font-weight:500; }
.footer-grid a { color:#f1e8db; }
.footer-bottom { border-top-color:rgba(201,171,119,.35); }
/* Respect the admin-selected collection shape. The old !important square rule
   overrode circle/arch settings and made circular collections impossible. */
body[data-collection-shape="square"] .collection-card { border-radius:0; aspect-ratio:3/4; }
body[data-collection-shape="square"] .collection-card__image { display:block; width:100%; height:auto; aspect-ratio:3/4; border-radius:0 !important; }
body[data-collection-shape="rounded"] .collection-card { border-radius:8px; }
body[data-collection-shape="rounded"] .collection-card__image { display:block; width:100%; height:auto; aspect-ratio:3/4; border-radius:8px !important; }
body[data-collection-shape="circle"] .collection-card { display:block; position:relative; aspect-ratio:1/1; border-radius:50%; }
body[data-collection-shape="circle"] .collection-card__image { display:block; position:absolute; inset:0; width:100%; height:100%; aspect-ratio:1/1; border-radius:50% !important; object-fit:cover; }
body[data-collection-shape="circle"] .collection-card__overlay { border-radius:50%; }
body[data-collection-shape="circle"] .collection-card__label { left:8%; right:8%; bottom:10%; padding:16px 8px 8px; }
body[data-collection-shape="circle"] .collection-card__label h3 { font-size:clamp(14px,1.5vw,20px); }
body[data-collection-shape="arch"] .collection-card { display:block; position:relative; border-radius:999px 999px 8px 8px; }
body[data-collection-shape="arch"] .collection-card__image { display:block; width:100%; height:auto; border-radius:999px 999px 8px 8px !important; aspect-ratio:3/4; }
body[data-collection-shape="arch"] .collection-card__overlay { border-radius:999px 999px 8px 8px; }
/* Optional per-collection override selected in Admin → Collections. */
.collection-card[data-card-shape="square"] { border-radius:0; aspect-ratio:3/4; }
.collection-card[data-card-shape="square"] .collection-card__image { position:relative; width:100%; height:auto; aspect-ratio:3/4; border-radius:0 !important; }
.collection-card[data-card-shape="rounded"] { border-radius:8px; }
.collection-card[data-card-shape="rounded"] .collection-card__image { position:relative; width:100%; height:auto; aspect-ratio:3/4; border-radius:8px !important; }
.collection-card[data-card-shape="circle"] { display:block; position:relative; border-radius:50%; aspect-ratio:1/1; }
.collection-card[data-card-shape="circle"] .collection-card__image { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:1/1; border-radius:50% !important; object-fit:cover; }
.collection-card[data-card-shape="circle"] .collection-card__overlay { border-radius:50%; }
.collection-card[data-card-shape="circle"] .collection-card__label { left:8%; right:8%; bottom:10%; padding:16px 8px 8px; }
.collection-card[data-card-shape="circle"] .collection-card__label h3 { font-size:clamp(14px,1.5vw,20px); }
.collection-card[data-card-shape="arch"] { display:block; position:relative; border-radius:999px 999px 8px 8px; }
.collection-card[data-card-shape="arch"] .collection-card__image { position:relative; width:100%; height:auto; aspect-ratio:3/4; border-radius:999px 999px 8px 8px !important; }
.collection-card[data-card-shape="arch"] .collection-card__overlay { border-radius:999px 999px 8px 8px; }


/* Performance and mobile adjustments. */
/* Product images already use native lazy-loading; avoid global content-visibility on hero/logo images. */
.product-card__media { contain:layout paint; }
@media (min-width:1200px) {
  body[data-theme-page="home"] #new-arrivals-grid,
  body[data-theme-page="home"] #featured-grid,
  body[data-theme-page="home"] #homepage-products-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (max-width:1024px) {
  body[data-theme-page="home"] #new-arrivals-grid,
  body[data-theme-page="home"] #featured-grid,
  body[data-theme-page="home"] #homepage-products-grid,
  body[data-theme-page="perfumes"] .product-grid,
  body[data-theme-page="watches"] .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .department-hero__inner { min-height:300px; }
}
@media (max-width:768px) {
  .site-header__inner { min-height:62px; grid-template-columns:1fr auto; padding:9px 16px; }
  .site-header[data-logo-pos="left"] .logo { grid-column:1; grid-row:1; justify-self:start; }
  .site-header[data-logo-pos="left"] .header-icons { grid-column:2; grid-row:1; justify-self:end; }
  .site-header .main-nav { display:none; }
  .logo img[data-logo-fallback="true"] { width:min(190px,47vw); max-height:38px; }
  body[data-theme-page="home"] .hero-slider { position:relative; aspect-ratio:3/1; min-height:140px; max-height:260px; }
  body[data-theme-page="home"] .hero-slide { position:absolute; inset:0; min-height:0; }
  body[data-theme-page="home"] .hero-slide img { width:100%; height:100%; object-fit:cover; }
  body[data-theme-page="home"] .hero-slide__content { width:min(68%,420px); padding:12px 14px; gap:5px; }
  body[data-theme-page="home"] .hero-slide__content .btn-primary { padding:8px 13px; font-size:10px; }
  body[data-theme-page="home"] .hero-slide__content h2 { font-size:clamp(20px,5.5vw,30px); margin-bottom:2px; }
  body[data-theme-page="home"] .hero-slide__content p { font-size:10px; line-height:1.35; margin-bottom:4px; }
  .home-editorial-hero { grid-template-columns:minmax(0,1fr) minmax(0,.85fr); min-height:270px; padding:22px 16px; background:linear-gradient(90deg,#f5eee3 0%,#f5eee3 50%,#e7dac7 50%,#e7dac7 100%); }
  .home-editorial-hero__copy { padding:8px 7px 8px 0; }
  .home-editorial-hero__copy h2 { font-size:clamp(27px,7.3vw,40px); }
  .home-editorial-hero__copy p { font-size:11px; margin:11px 0 13px; }
  .home-editorial-hero__actions { gap:9px; }
  .home-editorial-hero__actions .btn { padding:9px 11px; font-size:10px; }
  .home-editorial-hero__link { font-size:10px; }
  .home-editorial-hero__visual { margin-right:-16px; }
  .home-editorial-hero__seal { display:none; }
  .sale-categories-track,.department-shortcuts__grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
  .sale-category-item__circle,.department-shortcut__monogram { width:54px; height:54px; flex-basis:54px; }
  .sale-category-item span,.department-shortcut strong { font-size:9px; line-height:1.2; }
  .section { padding:30px 0; }
  .section-heading h2 { font-size:21px; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  body[data-theme-page="home"] #new-arrivals-grid,
  body[data-theme-page="home"] #featured-grid,
  body[data-theme-page="home"] #homepage-products-grid,
  body[data-theme-page="perfumes"] .product-grid,
  body[data-theme-page="watches"] .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-card__media { margin:5px 5px 0; }
  .product-card__info { padding:8px 6px 10px; }
  .product-card__title { font-size:11px; }
  .product-card__price { font-size:13px; }
  .price-compare { display:block; margin-left:0; font-size:10px; }
  .department-hero__inner { grid-template-columns:1fr; min-height:0; padding:0; }
  .department-hero__copy { padding:28px 20px 24px; }
  .department-hero__copy h1 { font-size:clamp(34px,9vw,48px); }
  .department-hero__copy p { font-size:12px; margin:12px 0 15px; }
  .department-hero__art { min-height:210px; height:210px; }
  #department-hero-image { height:100%; }
  .department-benefits__grid { grid-template-columns:1fr; gap:8px; }
  .department-benefits__grid > div { min-height:56px; }
  body[data-theme-page="womens"] .department-benefits,
  body[data-theme-page="bedsheets"] .department-benefits { display:none; }
  .department-products-heading { gap:14px; }
  .pdp-layout { grid-template-columns:1fr; padding:18px 16px 32px; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 14px; }
}
@media (max-width:420px) {
  .sale-category-item__circle,.department-shortcut__monogram { width:46px; height:46px; flex-basis:46px; }
  .sale-category-item span,.department-shortcut strong { font-size:8px; }
  .home-editorial-hero { grid-template-columns:minmax(0,1fr) minmax(0,.72fr); }
  .home-editorial-hero__copy h2 { font-size:27px; }
  .home-editorial-hero__actions .home-editorial-hero__link { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .product-card,.product-card__image { transition:none !important; }
}


/* Final responsive safety pass: prevent accidental horizontal overflow on phones. */
html { max-width:100%; overflow-x:clip; }
body { max-width:100%; overflow-x:clip; }
img, video, iframe { max-width:100%; }
button, .btn, input, select, textarea { max-width:100%; }
@media (max-width: 640px) {
  .container { width:min(100% - 28px, 100%); }
  .home-editorial-hero { grid-template-columns:minmax(0,1fr); }
  .home-editorial-hero__copy { padding:26px 20px; }
  .home-editorial-hero__visual { min-height:190px; }
  .home-editorial-hero__visual img { width:100%; height:100%; object-fit:cover; }
  .department-hero__actions { flex-wrap:wrap; }
  .department-hero__actions .btn { min-height:44px; }
  .department-benefits__grid { grid-template-columns:1fr; }
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .pdp-layout { grid-template-columns:minmax(0,1fr); gap:24px; }
  .pdp-gallery__main { width:100%; }
  .pdp-gallery__thumbs { display:flex; overflow-x:auto; max-width:100%; }
  .pdp-gallery__thumbs img { flex:0 0 64px; }
  .hero-slide img { width:100%; height:auto; object-fit:cover; }
}


/* Nested collection tiles inside a parent collection. */
.collection-subcollections { padding:clamp(22px,3vw,40px) 0 8px; }
.collection-subcollections .section-heading { margin-bottom:18px; }
.collection-subcollections .collections-grid { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); }
.collection-subcollections .collection-card__image { aspect-ratio:1/1; }
body[data-collection-shape="circle"] .collection-subcollections .collection-card { aspect-ratio:1/1; }
@media(max-width:520px){ .collection-subcollections .collections-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;} }
