 :root {
  --wine: #581d2c; --wine-dark: #35121d; --gold: #c79a58; --cream: #f7f2e9;
  --paper: #fffdf8; --ink: #231c1b; --muted: #746966; --line: #e4dbd0;
  --serif: "Playfair Display", Georgia, serif; --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.announcement { display:flex; align-items:center; justify-content:center; gap:12px; min-height:34px; padding:7px 16px; background:var(--wine-dark); color:#f8eee4; text-align:center; font-size:10px; letter-spacing:.14em; text-transform:uppercase; }
.announcement span { color:var(--gold); }
.site-header { height:88px; padding:0 6.2%; display:flex; align-items:center; justify-content:space-between; gap:24px; background:var(--paper); position:relative; z-index:10; }
.brand { display:flex; align-items:center; gap:11px; flex-shrink:0; }
.brand-mark { width:43px; height:43px; display:grid; place-items:center; border:1px solid var(--gold); border-radius:50%; color:var(--wine); font-family:var(--serif); font-size:17px; letter-spacing:-.08em; }
.brand-name { display:flex; flex-direction:column; gap:5px; font-size:12px; font-weight:700; letter-spacing:.11em; }
.brand-name small { font-size:8px; font-weight:500; letter-spacing:.19em; color:var(--muted); }
.main-nav { display:flex; gap:30px; align-items:center; font-size:12px; color:#514644; }
.main-nav a { transition:color .2s; }
.main-nav a:hover, .underlined-link:hover { color:var(--gold); }
.header-cta { border:1px solid var(--line); padding:13px 17px; font-size:11px; transition:background .2s,color .2s; }
.header-cta span, .button span { margin-left:13px; font-size:15px; }
.header-cta:hover { background:var(--wine); color:white; }
.menu-toggle { display:none; }
.hero { position:relative; min-height:650px; height:min(77vw,790px); max-height:850px; overflow:hidden; background:#6a4c40; color:white; }
.hero-image { position:absolute; inset:0; background-image:url("https://images.unsplash.com/photo-1539109754798-6b7f8e8e3e5e?auto=format&fit=crop&w=2200&q=90"); background-position:center 36%; background-size:cover; transform:scale(1.015); animation:heroIn 1.2s ease-out both; }
.hero-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(29,14,17,.82) 0%,rgba(35,18,20,.62) 38%,rgba(30,15,17,.08) 78%),linear-gradient(0deg,rgba(23,12,14,.3),transparent 35%); }
.hero-content { position:absolute; left:10%; top:50%; transform:translateY(-47%); max-width:560px; width:80%; }
.eyebrow { margin:0 0 20px; color:var(--wine); font-size:10px; font-weight:700; letter-spacing:.22em; }
.eyebrow.light { color:#e8c58d; }
.hero h1 { margin:0; font-family:var(--serif); font-size:clamp(68px,9.2vw,124px); line-height:.91; font-weight:500; letter-spacing:-.055em; }
h1 em,h2 em { font-weight:500; color:var(--gold); }
.hero-copy { max-width:380px; margin:26px 0 30px; color:#f3e9e2; font-size:14px; line-height:1.9; }
.hero-actions { display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.button { display:inline-flex; align-items:center; justify-content:center; padding:16px 21px; font-size:11px; font-weight:600; letter-spacing:.015em; transition:transform .2s,background .2s; }
.button:hover { transform:translateY(-2px); }
.button-light { background:var(--cream); color:var(--wine-dark); }
.button-light:hover { background:white; }
.button-dark { background:var(--wine); color:white; }
.button-dark:hover { background:var(--wine-dark); }
.text-link { font-size:11px; border-bottom:1px solid rgba(255,255,255,.5); padding-bottom:8px; }
.text-link span { margin-left:12px; }
.hero-note { display:flex; align-items:center; gap:13px; margin-top:76px; color:#e7d9d0; font-size:8px; letter-spacing:.18em; }
.note-line { width:38px; height:1px; background:var(--gold); }
.hero-index { position:absolute; bottom:32px; right:6%; color:rgba(255,255,255,.75); font-size:9px; letter-spacing:.16em; }
.hero-index span { color:var(--gold); }
.section-pad { padding:105px 9%; }
.intro { background:var(--cream); }
.intro-kicker { display:flex; align-items:center; gap:12px; font-size:9px; letter-spacing:.18em; color:var(--wine); font-weight:700; }
.ornament { font-size:24px; color:var(--gold); }
.intro-grid { display:grid; grid-template-columns:1.1fr .8fr; gap:10%; align-items:end; margin-top:34px; }
h2 { font-family:var(--serif); font-size:clamp(38px,5vw,65px); line-height:1.08; font-weight:500; letter-spacing:-.04em; margin:0; }
h2 em { color:var(--wine); }
.intro-copy p,.story-content p,.contact-inner>p:not(.eyebrow) { color:var(--muted); font-size:13px; line-height:1.95; margin:0 0 22px; }
.underlined-link { display:inline-flex; gap:25px; align-items:center; border-bottom:1px solid var(--gold); padding-bottom:9px; font-size:11px; font-weight:600; transition:color .2s; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:40px; }
.section-heading .eyebrow { margin-bottom:13px; }
.section-heading h2 { font-size:clamp(36px,4.4vw,55px); }
.section-aside { color:var(--muted); font-size:11px; line-height:1.8; text-align:right; margin:0 0 4px; }
.category-grid { display:grid; grid-template-columns:1.08fr .92fr .92fr; gap:17px; align-items:start; }
.category-card { position:relative; display:block; height:440px; overflow:hidden; background:#ddd0c2; color:white; }
.category-card:nth-child(2) { margin-top:48px; height:392px; }
.category-card:nth-child(3) { margin-top:95px; height:345px; }
.category-card::after { content:""; position:absolute; inset:30% 0 0; background:linear-gradient(0deg,rgba(24,13,15,.7),transparent); }
.category-card img { transition:transform .7s cubic-bezier(.2,.65,.2,1); }
.category-card:hover img { transform:scale(1.05); }
.category-number,.category-title { position:absolute; z-index:1; left:22px; right:22px; }
.category-number { bottom:66px; font-size:8px; letter-spacing:.18em; }
.category-title { bottom:24px; display:flex; justify-content:space-between; align-items:center; font-family:var(--serif); font-size:22px; }
.category-title b { font-family:var(--sans); font-size:16px; font-weight:400; }
.demo-note { font-size:10px; line-height:1.6; color:#948780; margin:18px 0 0; }
.featured { background:#fffdf8; padding-top:65px; }
.product-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.product-photo { position:relative; height:360px; overflow:hidden; background:var(--cream); }
.product-photo img { transition:transform .6s; }
.product-card:hover .product-photo img { transform:scale(1.035); }
.product-label { position:absolute; left:13px; top:13px; padding:8px 10px; background:var(--paper); color:var(--wine); font-size:8px; letter-spacing:.12em; }
.product-info { display:flex; justify-content:space-between; align-items:start; gap:12px; padding:17px 0; border-bottom:1px solid var(--line); }
.product-info h3 { margin:0 0 6px; font-family:var(--serif); font-size:20px; font-weight:500; }
.product-info p { margin:0; font-size:10px; color:var(--muted); }
.price { white-space:nowrap; font-size:10px; color:var(--wine); font-weight:700; padding-top:4px; }
.center-cta { text-align:center; margin-top:36px; }
.story { display:grid; grid-template-columns:1fr 1fr; min-height:630px; background:var(--cream); }
.story-photo { position:relative; min-height:630px; overflow:hidden; }
.story-photo img { position:absolute; inset:0; }
.photo-stamp { position:absolute; right:25px; bottom:25px; display:grid; place-content:center; width:102px; height:102px; border:1px solid rgba(255,255,255,.8); border-radius:50%; text-align:center; color:white; font-size:10px; line-height:1.6; letter-spacing:.1em; transform:rotate(10deg); }
.story-content { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:80px 12%; }
.story-content h2 { margin-bottom:28px; }
.story-content p { max-width:400px; }
.story-content .underlined-link { margin-top:15px; }
.values { display:grid; grid-template-columns:.8fr 1.2fr; gap:12%; background:var(--paper); }
.values-heading h2 { font-size:clamp(38px,4.6vw,58px); }
.value-list { border-top:1px solid var(--line); }
.value-item { display:grid; grid-template-columns:35px 1fr 24px; gap:17px; align-items:start; padding:24px 0; border-bottom:1px solid var(--line); }
.value-item>span:first-child { color:var(--gold); font-size:10px; padding-top:4px; }
.value-item h3 { font-family:var(--serif); font-weight:500; font-size:20px; margin:0 0 7px; }
.value-item p { margin:0; font-size:11px; color:var(--muted); line-height:1.7; }
.value-symbol { color:var(--gold); font-size:18px; }
.contact-band { position:relative; overflow:hidden; background:var(--wine); color:white; padding:90px 9%; }
.contact-pattern { position:absolute; width:520px; height:520px; right:-70px; top:-80px; border:1px solid rgba(220,180,126,.22); border-radius:50%; }
.contact-pattern::before,.contact-pattern::after { content:""; position:absolute; inset:35px; border:1px solid rgba(220,180,126,.2); border-radius:50%; }
.contact-pattern::after { inset:75px; }
.contact-inner { position:relative; max-width:600px; }
.contact-inner h2 { font-size:clamp(54px,7vw,84px); margin-bottom:22px; }
.contact-inner h2 em { color:#e1b77e; }
.contact-inner>p:not(.eyebrow) { max-width:440px; color:#e0cfd0; margin-bottom:26px; }
.contact-inner small { display:block; margin-top:15px; color:#d5b9be; font-size:9px; }
.site-footer { padding:38px 6.2% 22px; background:var(--wine-dark); color:white; }
.footer-brand .brand-mark { color:#f0d7b0; }
.footer-brand .brand-name small { color:#c5aeb0; }
.site-footer>p { font-family:var(--serif); color:#e5d2d0; font-size:17px; margin:26px 0 38px; }
.footer-bottom { display:flex; justify-content:space-between; gap:18px; border-top:1px solid rgba(255,255,255,.17); padding-top:18px; color:#c8b3b4; font-size:9px; }
.footer-bottom a { color:#f1d7ad; }
@keyframes heroIn { from { transform:scale(1.06); opacity:.6; } to { transform:scale(1.015); opacity:1; } }
@media (max-width:1000px) {
 .site-header { padding:0 4%; } .main-nav { gap:16px; } .header-cta { padding:12px; }
 .section-pad { padding:80px 6%; } .category-card { height:370px; } .category-card:nth-child(2) { height:330px; } .category-card:nth-child(3) { height:290px; }
 .product-photo { height:300px; } .story-content { padding:60px 9%; }
}
@media (max-width:720px) {
 .announcement { font-size:8px; letter-spacing:.1em; }
 .site-header { height:72px; padding:0 5%; } .brand-mark { width:38px; height:38px; } .brand-name { font-size:10px; } .brand-name small { font-size:7px; }
 .header-cta { display:none; }
 .menu-toggle { display:flex; flex-direction:column; gap:5px; border:0; background:transparent; padding:10px 0 10px 10px; cursor:pointer; }
 .menu-toggle span { width:25px; height:1px; background:var(--wine); display:block; }
 .main-nav { display:none; position:absolute; top:72px; left:0; right:0; background:var(--paper); padding:18px 5% 24px; flex-direction:column; align-items:flex-start; gap:22px; border-top:1px solid var(--line); box-shadow:0 12px 20px #29151a10; }
 .main-nav.open { display:flex; }
 .hero { min-height:650px; height:calc(100svh - 106px); max-height:790px; }
 .hero-image { background-position:58% center; }
 .hero-shade { background:linear-gradient(90deg,rgba(29,14,17,.78),rgba(35,18,20,.38) 78%),linear-gradient(0deg,rgba(23,12,14,.3),transparent 45%); }
 .hero-content { left:7%; width:86%; top:45%; }
 .hero h1 { font-size:clamp(67px,18vw,100px); }
 .hero-copy { font-size:13px; max-width:310px; }
 .hero-actions { gap:20px; align-items:flex-start; flex-direction:column; }
 .hero-note { margin-top:50px; font-size:7px; }
 .hero-index { bottom:18px; right:6%; font-size:7px; }
 .section-pad { padding:65px 6%; }
 .intro-grid { grid-template-columns:1fr; gap:25px; margin-top:25px; }
 h2 { font-size:clamp(38px,11vw,54px); }
 .section-heading { align-items:flex-start; flex-direction:column; gap:12px; margin-bottom:28px; }
 .section-aside { text-align:left; }
 .category-grid { grid-template-columns:1fr 1fr; gap:12px; }
 .category-card { height:320px; }
 .category-card:nth-child(2) { margin-top:30px; height:290px; }
 .category-card:nth-child(3) { margin-top:-20px; height:250px; grid-column:1 / -1; width:75%; justify-self:end; }
 .category-number,.category-title { left:14px; right:14px; }
 .category-title { font-size:18px; bottom:18px; }
 .category-number { bottom:50px; font-size:7px; }
 .product-grid { grid-template-columns:1fr 1fr; gap:18px 12px; }
 .product-card:last-child { display:none; }
 .product-photo { height:260px; }
 .product-info { flex-direction:column; gap:8px; padding:12px 0; }
 .product-info h3 { font-size:18px; }
 .product-info p { font-size:9px; line-height:1.5; }
 .price { padding:0; }
 .story { grid-template-columns:1fr; }
 .story-photo { min-height:460px; }
 .story-content { padding:58px 7%; }
 .values { grid-template-columns:1fr; gap:35px; }
 .value-item { grid-template-columns:25px 1fr 20px; gap:12px; }
 .contact-band { padding:70px 7%; }
 .contact-pattern { right:-310px; opacity:.7; }
 .footer-bottom { flex-wrap:wrap; font-size:8px; }
 .footer-bottom span:last-child { display:none; }
}
@media (max-width:390px) {
 .brand-name { font-size:9px; letter-spacing:.08em; } .brand { gap:8px; }
 .product-photo { height:220px; } .category-card { height:280px; }
 .category-card:nth-child(2) { height:250px; } .category-card:nth-child(3) { height:220px; }
 .button { padding:15px 16px; }
}

/* TM African Fashion brand refresh — official logo and red/blue palette */
:root { --wine:#e62935; --wine-dark:#081b42; --gold:#0c56b5; --cream:#f4f7fc; --paper:#ffffff; --ink:#101b32; --muted:#57657b; --line:#dce4f0; }
.announcement { background:#0a2d67; }
.brand-logo { width:178px; height:65px; object-fit:contain; object-position:left center; }
.site-header { background:#fff; }
.hero-image { background-image:url("assets/fabric-hero.jpg"); background-position:center center; }
.hero-shade { background:linear-gradient(90deg,rgba(3,16,47,.90) 0%,rgba(5,27,67,.68) 36%,rgba(5,27,67,.12) 75%); }
.hero h1 em, h2 em { color:#ee3944; }
.eyebrow.light { color:#bcd5ff; }
.hero-note .note-line { background:#f23943; }
.button-dark { background:#e62935; }
.button-dark:hover { background:#b91d2a; }
.contact-band { background:#0b347b; }
.contact-inner h2 em { color:#ff5b65; }
.contact-pattern,.contact-pattern::before,.contact-pattern::after { border-color:rgba(255,255,255,.18); }
.site-footer { background:#071a40; }
.footer-brand .brand-logo { width:190px; height:76px; }
.footer-bottom a { color:#ff7880; }
@media(max-width:720px) { .brand-logo { width:142px; height:54px; } .hero-image { background-position:48% center; } .hero-shade { background:linear-gradient(90deg,rgba(3,16,47,.88),rgba(5,27,67,.47) 75%); } }

/* Four real fabric display photos in collection and featured grid */
.category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.category-card, .category-card:nth-child(2), .category-card:nth-child(3), .category-card:nth-child(4) { height: 350px; margin-top: 0; width: auto; grid-column: auto; }
.category-card:nth-child(even) { margin-top: 35px; }
.category-card img { object-position: center; }
.product-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 17px; }
.product-photo { height: 310px; }
@media(max-width: 900px) {
 .category-grid, .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .category-card, .category-card:nth-child(2), .category-card:nth-child(3), .category-card:nth-child(4) { height: 310px; margin-top: 0; width:auto; grid-column:auto; }
 .category-card:nth-child(even) { margin-top: 24px; }
 .product-card:last-child { display: block; }
 .product-photo { height: 280px; }
}
@media(max-width: 480px) {
 .category-card, .category-card:nth-child(2), .category-card:nth-child(3), .category-card:nth-child(4) { height: 245px; }
 .category-title { font-size: 16px; }
 .product-photo { height: 230px; }
}


/* 2026 layout polish — consistent alignment, rhythm and spacing */
html { scroll-padding-top: 88px; }
body { overflow-x: hidden; }
.site-header { min-height: 86px; height: auto; padding-top: 8px; padding-bottom: 8px; }
.main-nav a { font-weight: 600; }
.main-nav a:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid #e62935; outline-offset: 4px; }
.section-pad { padding-top: 86px; padding-bottom: 86px; }
.intro-grid { align-items: center; }
.intro-copy { max-width: 470px; }
.section-heading { align-items: end; margin-bottom: 30px; }
.category-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.category-card, .category-card:nth-child(2), .category-card:nth-child(3), .category-card:nth-child(4), .category-card:nth-child(even) {
  margin: 0; height: 340px; width: auto; grid-column: auto; border-radius: 3px;
}
.category-card img { object-fit: cover; object-position: center; }
.category-card::after { inset: 32% 0 0; }
.category-title { font-size: clamp(16px,1.55vw,22px); line-height: 1.2; }
.category-number { bottom: 70px; }
.demo-note { margin-top: 20px; }
.story { min-height: 560px; }
.story-photo { min-height: 560px; }
.story-photo img { object-position: center 30%; }
.story-content { padding-top: 70px; padding-bottom: 70px; }
.story-content h2 { max-width: 520px; }
.values { gap: 9%; }
.contact-band { padding-top: 80px; padding-bottom: 80px; }
.footer-bottom { align-items: center; }
@media (max-width: 1050px) {
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-card, .category-card:nth-child(2), .category-card:nth-child(3), .category-card:nth-child(4), .category-card:nth-child(even) { height: 330px; margin: 0; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .site-header { min-height: 72px; }
  .section-pad { padding-top: 60px; padding-bottom: 60px; }
  .section-heading { align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .section-aside { line-height: 1.6; }
  .category-grid { gap: 12px; }
  .category-card, .category-card:nth-child(2), .category-card:nth-child(3), .category-card:nth-child(4), .category-card:nth-child(even) { height: 265px; margin: 0; }
  .category-title { font-size: 17px; }
  .category-number { bottom: 62px; }
  .story-photo { min-height: 450px; }
  .story { min-height: 0; }
  .story-content { padding-top: 58px; padding-bottom: 58px; }
  .contact-band { padding-top: 65px; padding-bottom: 65px; }
}
@media (max-width: 390px) {
  .category-card, .category-card:nth-child(2), .category-card:nth-child(3), .category-card:nth-child(4), .category-card:nth-child(even) { height: 220px; }
  .category-title { font-size: 15px; }
  .category-number { bottom: 56px; font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* Shopping tools: preserve the existing TM design */
.shop-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
.shop-action{border:1px solid transparent;background:transparent;color:var(--wine);font:600 11px var(--sans);padding:10px 8px;cursor:pointer;display:flex;align-items:center;gap:6px;white-space:nowrap}
.shop-action:hover,.shop-action:focus-visible{border-color:var(--line)}
.shop-action:first-letter{font-size:20px}.shop-action b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:30px;background:var(--wine);color:white;font-size:10px}
.category-card{position:relative}.category-main-link{display:block;width:100%;height:100%}.category-main-link img{height:100%;width:100%;object-fit:cover}
.category-actions{position:absolute;top:14px;right:14px;display:flex;gap:8px;z-index:3}
.category-actions button{border:0;background:#fff;color:#102b5c;cursor:pointer;box-shadow:0 2px 12px #0003;min-height:38px}
.favorite-toggle{width:40px;border-radius:50%;font-size:26px;line-height:1}.favorite-toggle[aria-pressed=true]{color:#ef2e40;background:#fff0f2}
.add-cart{padding:0 13px;border-radius:20px;font:700 11px var(--sans)}
.drawer-backdrop{position:fixed;inset:0;background:#09152a9c;z-index:100}.shop-drawer{position:fixed;z-index:101;right:0;top:0;bottom:0;width:min(440px,100%);background:#fffdf8;box-shadow:-12px 0 40px #0002;display:flex;flex-direction:column}.shop-drawer[hidden],.drawer-backdrop[hidden]{display:none}
.drawer-header{display:flex;justify-content:space-between;align-items:center;padding:25px 24px;border-bottom:1px solid var(--line)}.drawer-header h2{font-size:30px}.drawer-header button{border:0;background:transparent;font-size:32px;cursor:pointer;color:var(--wine)}
.drawer-content{padding:24px;overflow-y:auto;flex:1}.drawer-intro{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 20px}.drawer-empty{padding:50px 10px;text-align:center;color:var(--muted);font-size:13px;line-height:1.7}
.drawer-item{display:grid;grid-template-columns:84px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.drawer-item img{width:84px;height:90px;object-fit:cover}.drawer-item h3{font:500 17px var(--serif);margin:0 0 6px}.drawer-item p{font-size:11px;color:var(--muted);margin:0 0 12px}.drawer-item button{border:1px solid var(--line);background:white;cursor:pointer;padding:6px 10px;color:var(--wine)}.item-controls{display:flex;gap:8px;align-items:center;font-size:12px}.drawer-bottom{margin-top:24px;padding:18px;background:#f4f0eb;font-size:12px;line-height:1.8}.drawer-bottom a{display:block;text-align:center;background:var(--wine);color:white;padding:13px;margin-top:12px}
.account-form{display:grid;gap:14px}.account-form label{font-size:12px;font-weight:700}.account-form input{width:100%;padding:13px;border:1px solid #cfc8c1;background:white;font:14px var(--sans)}.account-form button{padding:14px;background:var(--wine);color:white;border:0;cursor:pointer}.account-note{font-size:12px;line-height:1.7;color:var(--muted)}
.shop-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#102b5c;color:white;padding:12px 20px;z-index:102;font-size:12px;box-shadow:0 8px 30px #0003;opacity:0;pointer-events:none;transition:opacity .2s}.shop-toast.show{opacity:1}
@media(max-width:1100px){.shop-action span{display:none}.shop-action{font-size:22px}.shop-actions{gap:0}}
@media(max-width:720px){.site-header{gap:8px}.shop-action{padding:8px 4px;font-size:21px}.shop-action b{font-size:9px;min-width:15px;height:15px}.shop-actions{margin-left:auto}.category-actions{top:8px;right:8px;gap:4px}.favorite-toggle{width:34px;font-size:22px}.add-cart{font-size:9px;padding:0 8px}.category-actions button{min-height:34px}}

/* Individual fabric inventory in Explore the Collection */
.inventory-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:68px 0 24px;padding-top:34px;border-top:1px solid var(--line)}
.inventory-heading .eyebrow{margin-bottom:10px}.inventory-heading h3{margin:0;font:500 clamp(27px,3vw,42px)/1.15 var(--serif);letter-spacing:-.03em}.inventory-heading h3 em{color:var(--wine);font-weight:500}.inventory-heading>p{max-width:240px;margin:0;color:var(--muted);font-size:11px;line-height:1.7;text-align:right}
.inventory-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px 15px}.inventory-card{min-width:0}.inventory-photo{position:relative;aspect-ratio:3/4;overflow:hidden;background:#eee9e2;border-radius:3px}.inventory-photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.inventory-card:hover .inventory-photo img{transform:scale(1.035)}.inventory-heart{position:absolute;right:10px;top:10px;z-index:2;border-radius:50%;width:37px;height:37px;display:grid;place-items:center;background:white;color:#0d2450;border:0;box-shadow:0 2px 10px #0002;font-size:21px;cursor:pointer}.inventory-heart[aria-pressed=true]{color:#e3283a}.inventory-meta{display:flex;justify-content:space-between;align-items:end;gap:8px;padding:13px 1px 0}.inventory-sku{font-size:9px;letter-spacing:.12em;color:#df2738;font-weight:700}.inventory-meta h4{font:500 16px/1.25 var(--serif);margin:5px 0}.inventory-meta small{color:var(--muted);font-size:10px}.inventory-cart{border:1px solid #d8dce5;background:#fff;color:#12234d;padding:9px 10px;white-space:nowrap;font:700 10px var(--sans);cursor:pointer;border-radius:4px}.inventory-cart:hover{background:#12234d;color:white}
@media(max-width:1100px){.inventory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.inventory-heading{align-items:start;flex-direction:column;gap:9px;margin-top:46px}.inventory-heading>p{text-align:left;max-width:none}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}.inventory-meta{align-items:start;flex-direction:column}.inventory-cart{width:100%;padding:11px}.inventory-meta h4{font-size:17px}}

/* Sale pricing and clickable product details */
.price-was{color:#827f84;text-decoration:line-through;font-size:12px;margin-right:6px}.price-now{color:#ed2939;font-size:15px;font-weight:800}.inventory-meta small{display:block;margin-top:8px}.inventory-meta{align-items:center}.inventory-view{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer;overflow:hidden}.inventory-view img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.inventory-view:hover img{transform:scale(1.04)}.inventory-sale-tag,.sale-tag{position:absolute;z-index:3;background:#ed2939;color:white;font:800 10px var(--sans);letter-spacing:.05em;padding:8px 10px;pointer-events:none}.inventory-sale-tag{top:12px;left:12px}.sale-tag{top:60px;right:14px;border-radius:3px}.category-card .category-main-link{cursor:pointer}.product-modal-backdrop{position:fixed;inset:0;background:#07132bba;z-index:120}.product-modal-backdrop[hidden],.product-modal[hidden]{display:none}.product-modal{position:fixed;z-index:121;left:50%;top:50%;transform:translate(-50%,-50%);width:min(920px,94vw);max-height:92vh;overflow:auto;background:#fffdf8;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 22px 90px #0005}.product-close{position:absolute;right:15px;top:12px;z-index:2;background:white;color:#102b5c;border:0;border-radius:50%;font-size:32px;width:43px;height:43px;cursor:pointer}.product-modal-image{min-height:500px;background:#eae4df}.product-modal-image img{width:100%;height:100%;max-height:75vh;object-fit:contain}.product-modal-info{padding:70px 42px;display:flex;flex-direction:column;justify-content:center}.product-modal-info h2{font-size:clamp(32px,4vw,52px)}.product-modal-price{display:flex;align-items:center;gap:14px;margin:25px 0 5px}.product-modal-price del{color:#858087;font-size:19px}.product-modal-price strong{color:#e62935;font-size:31px}.product-save{color:#0d6551;font-weight:700;font-size:13px}.product-description{font-size:13px;color:var(--muted);line-height:1.8;margin:18px 0 25px}.product-modal-actions{display:flex;flex-wrap:wrap;gap:10px}.modal-fav{border:1px solid #d9dce5;background:white;color:#102b5c;padding:13px 15px;cursor:pointer;font-weight:700}.product-modal-info small{font-size:10px;line-height:1.7;color:var(--muted);margin-top:25px}.drawer-price{color:#e62935!important;font-weight:700}.cart-total{font-size:19px;font-weight:700;display:flex;justify-content:space-between;margin-bottom:12px}.cart-total strong{color:#e62935}@media(max-width:720px){.product-modal{grid-template-columns:1fr;width:96vw;max-height:94vh}.product-modal-image{min-height:0;height:300px}.product-modal-image img{max-height:300px}.product-modal-info{padding:25px}.product-modal-info h2{font-size:32px}.sale-tag{top:54px;right:8px;font-size:9px}.inventory-meta{align-items:start}}

/* Newsletter overlay — self-contained, does not alter existing sections */
.newsletter-overlay[hidden]{display:none!important}
.newsletter-overlay{position:fixed;inset:0;z-index:9999;background:rgba(8,19,39,.73);display:grid;place-items:center;padding:20px;animation:newsletterFade .2s ease}
.newsletter-popup{position:relative;display:grid;grid-template-columns:1fr 1fr;width:min(760px,100%);min-height:410px;background:#fff;box-shadow:0 24px 90px rgba(0,0,0,.3);overflow:hidden}
.newsletter-visual{background:#0a2d67 url('assets/newsletter-fabrics.webp') center/cover no-repeat}
.newsletter-content{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:62px 35px 28px;color:#14213c}
.newsletter-close{position:absolute;right:16px;top:10px;background:none;border:0;color:#14213c;font-size:28px;cursor:pointer;line-height:1;padding:7px}
.newsletter-eyebrow{font-size:10px;letter-spacing:.2em;font-weight:700;color:#d9253e;margin:0 0 15px}
.newsletter-content h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(30px,3vw,42px);font-weight:500;line-height:1.1;margin:0 0 18px}
.newsletter-content h2 em{color:#e72d43}
.newsletter-content>p:not(.newsletter-eyebrow){font-size:13px;line-height:1.7;margin:0 0 24px}
.newsletter-form{width:100%;margin-top:auto}
.newsletter-form label{display:block;font-size:11px;margin-bottom:7px;font-weight:600}
.newsletter-input-row{display:flex;border:1px solid #cdd3df;min-height:46px}
.newsletter-input-row input{min-width:0;flex:1;border:0;background:transparent;padding:12px;font:inherit;font-size:13px;outline-offset:-3px}
.newsletter-input-row button{width:48px;border:0;background:#0a2d67;color:#fff;font-size:22px;cursor:pointer}
.newsletter-note{font-size:10px!important;line-height:1.5!important;color:#58647a;margin:9px 0!important}
.newsletter-skip{align-self:flex-end;background:none;border:0;text-decoration:underline;font-size:12px;color:#58647a;cursor:pointer;margin-top:10px}
@keyframes newsletterFade{from{opacity:0}to{opacity:1}}
@media(max-width:620px){.newsletter-popup{grid-template-columns:1fr;max-width:390px}.newsletter-visual{height:155px}.newsletter-content{padding:30px 24px 20px;min-height:320px}.newsletter-content h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.newsletter-overlay{animation:none}}

/* Shopping action confirmation — visible above product dialogs */
.shop-toast{z-index:10050;max-width:min(92vw,520px);width:max-content;text-align:center;border-radius:10px;font-size:14px;font-weight:600;line-height:1.45;padding:15px 22px;box-shadow:0 12px 38px #0005;background:#0b3476;color:#fff;}
@media(max-width:600px){.shop-toast{bottom:18px;font-size:13px;padding:13px 16px;}}

.drawer-bottom .buy-now-button{display:block;width:100%;border:0;background:var(--wine);color:#fff;padding:14px;margin-top:12px;font:700 13px var(--sans);letter-spacing:.08em;cursor:pointer}.drawer-bottom .buy-now-button:hover{filter:brightness(.9)}

/* Saved-for-later controls */
.item-controls{flex-wrap:wrap}.shop-action[data-panel="later"]{color:var(--wine)}

.tm-auth-form{display:flex;flex-direction:column;gap:12px;margin:18px 0}.tm-auth-form input{border:1px solid #cbd5e1;border-radius:7px;padding:13px;font:inherit;width:100%;box-sizing:border-box}.tm-auth-form button{cursor:pointer}.tm-auth-form button:disabled{opacity:.6;cursor:wait}.tm-auth-switch{display:flex;flex-wrap:wrap;gap:8px}.tm-auth-switch button{border:1px solid #ddd;border-radius:6px;padding:9px;background:white;cursor:pointer}.tm-auth-switch button.active{border-color:#153a7a;color:#153a7a;font-weight:bold}#authFeedback{font-size:14px;min-height:20px}

/* Four-column storefront footer */
.site-footer .footer-links-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:20px 0 40px;text-align:left}
.site-footer .footer-link-group{display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.site-footer .footer-link-group h3{font-size:12px;letter-spacing:.18em;font-weight:650;margin:0 0 10px;color:inherit}
.site-footer .footer-link-group a{font-size:14px;line-height:1.5;text-decoration:none;color:inherit;opacity:.8;transition:opacity .2s}
.site-footer .footer-link-group a:hover{opacity:1;text-decoration:underline}
.site-footer .footer-signature{padding-top:22px;border-top:1px solid rgba(127,127,127,.18)}
@media(max-width:720px){.site-footer .footer-links-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 18px}}
@media(max-width:390px){.site-footer .footer-links-grid{grid-template-columns:1fr 1fr;gap:24px 12px}.site-footer .footer-link-group a{font-size:12px}}


.language-control{display:flex;align-items:center;gap:5px;border:1px solid #d7dce6;border-radius:6px;padding:7px 9px;background:#fff;flex-shrink:0;color:#0a2d67}
.language-control select{border:0;outline:0;background:transparent;font:600 12px 'DM Sans',sans-serif;color:#0a2d67;cursor:pointer;max-width:95px}
.language-icon{font-size:16px}
@media(max-width:720px){.language-control{padding:5px 3px;gap:1px}.language-control select{max-width:77px;font-size:10px}.language-icon{font-size:12px}}

/* Checkout — isolated styles, preserving the existing store design. */
.checkout-layer[hidden],.checkout-form[hidden],.checkout-finished[hidden]{display:none!important}
.checkout-layer{position:fixed;inset:0;z-index:10050;background:rgba(7,22,53,.76);overflow:auto;padding:25px 14px}
.checkout-shell{background:#fff;color:#132647;max-width:1080px;margin:auto;border-radius:12px;padding:30px;box-shadow:0 24px 70px #06133155}
.checkout-heading{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e7eaf0;padding-bottom:20px;margin-bottom:25px}
.checkout-heading small{font-size:11px;letter-spacing:2px;color:#b33d4d;font-weight:700}
.checkout-heading h2{font:normal 44px Georgia,serif;margin:6px 0}.checkout-heading p{margin:0;color:#536176}
#checkoutClose{border:0;background:#f1f4fa;border-radius:50%;height:40px;width:40px;font-size:28px;cursor:pointer}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr);gap:40px}
.checkout-form{display:grid;gap:15px}.checkout-form h3,.checkout-order h3{font:normal 24px Georgia,serif;margin:10px 0 0}
.checkout-form label{display:grid;gap:6px;font-size:13px;font-weight:600}
.checkout-form input,.checkout-form select,.checkout-form textarea{box-sizing:border-box;width:100%;font:inherit;font-size:15px;padding:13px;border:1px solid #cdd4df;border-radius:5px;background:#fff;color:#172b4b}
.checkout-form input:focus,.checkout-form textarea:focus,.checkout-form select:focus{outline:2px solid #0d397f;outline-offset:1px}
.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.checkout-notice{background:#f4f7fc;border-left:3px solid #0d397f;padding:15px;line-height:1.6;font-size:13px}
.checkout-form .buy-now-button,.checkout-finished .buy-now-button{padding:15px;cursor:pointer}
.checkout-secondary{background:none;border:0;text-align:left;color:#0d397f;cursor:pointer;padding:8px 0;font-weight:600}
.checkout-order{align-self:start;background:#f6f8fc;border-radius:9px;padding:22px}
.checkout-item{display:grid;grid-template-columns:65px 1fr auto;gap:10px;align-items:center;border-bottom:1px solid #dfe4ed;padding:13px 0;font-size:13px}
.checkout-item img{width:65px;height:70px;object-fit:cover;border-radius:4px}
.checkout-item div{display:grid;gap:7px}.checkout-item span{color:#667388}
.checkout-line{display:flex;justify-content:space-between;gap:10px;margin-top:17px;font-size:14px}
.checkout-order>p{color:#657184;font-size:12px;line-height:1.5;margin-top:22px}
.checkout-finished{line-height:1.7}.checkout-finished h3{font:normal 27px Georgia,serif}
@media(max-width:720px){.checkout-shell{padding:20px 16px}.checkout-layout{grid-template-columns:1fr;gap:25px}.checkout-heading h2{font-size:34px}.checkout-fields{grid-template-columns:1fr}.checkout-order{grid-row:1}}

/* Quantity and stock display on each fabric detail */
.product-stock{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0 20px;font-size:14px;color:#202020}
.product-stock label{font-weight:600}
.product-stock input{width:76px;min-height:47px;padding:10px 12px;border:1px solid #a4a4a4;border-radius:8px;background:#fafafa;color:#111;font:inherit}
.product-stock-count{color:#667085;font-size:13px}
.product-stock-count strong{color:#d52227;font-weight:700}

/* Cart preview slides in from the right and remains open while the customer interacts. */
.shop-drawer:not([hidden]){animation:tmCartSlideIn .32s cubic-bezier(.2,.8,.2,1) both}
@keyframes tmCartSlideIn{from{transform:translateX(105%);opacity:.75}to{transform:translateX(0);opacity:1}}
.continue-shopping{display:block;margin:0 0 18px;padding:11px 15px;width:100%;border:1px solid #0d3478;background:#fff;color:#0d3478;font-weight:700;cursor:pointer;text-align:center;border-radius:4px}
.continue-shopping:hover{background:#edf3fc}
@media(prefers-reduced-motion:reduce){.shop-drawer:not([hidden]){animation:none}}

/* Customer account dashboard */
.customer-dashboard h2{font-family:Georgia,serif;font-size:29px;margin:0 0 8px;color:#103775}
.account-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:20px 0}
.account-tabs button{border:1px solid #dce2ec;border-radius:7px;background:#fff;color:#15336c;padding:11px 7px;font-weight:600;font-size:12px;cursor:pointer}
.account-tabs button.active{background:#103775;color:white;border-color:#103775}
.account-tab-content{padding:5px 0 16px;min-height:150px}
.account-form{display:grid;gap:13px}
.account-field{display:grid;gap:5px;font-size:13px;font-weight:600;color:#24334d}
.account-field input{box-sizing:border-box;width:100%;border:1px solid #cdd4df;border-radius:6px;padding:12px;font:inherit;font-weight:400;color:#172c48;background:#fff}
.account-form button{cursor:pointer;margin-top:5px}
.account-logout{width:100%;background:#fff;color:#9e1b32;border:1px solid #d6a3ac;border-radius:6px;padding:12px;font-weight:700;cursor:pointer;margin-top:10px}

.shipping-help{margin:0;padding:12px;background:#edf3fa;color:#234368;border-radius:5px;font-size:13px;line-height:1.5}
