:root{--maroon:#6b182a;--maroon-dark:#4e1626;--cream:#f3ebe0;--paper:#faf7f2;--text:#211d1d;--muted:#756a6b;--gold:#bf9657;--line:#e6dad1;--green:#23774b;--radius:12px;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:#fffdfa;font:15px/1.48 Inter,system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.035em}h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.1}h2{font-size:1.55rem}h3{font-size:1.05rem}.shell{max-width:1370px;margin:auto;padding-inline:26px}.strip{height:31px;background:#f2e8dc;display:flex;justify-content:center;gap:35px;align-items:center;font-size:12px;color:#4a382f}.header{height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{display:flex;align-items:center;gap:14px;flex-shrink:0}.brandmark{display:grid;place-items:center;border:2px solid #161616;height:46px;width:50px;font:bold 22px/1 Georgia,serif;letter-spacing:-4px}.brand strong{font-weight:800;letter-spacing:-.06em;font-size:24px;line-height:1}.brand strong span{color:var(--maroon)}.brand small{font-size:14px;letter-spacing:-.02em}.brand em{display:block;font-style:normal;font-size:11px;letter-spacing:.09em;text-align:center}.brand i{display:block;height:3px;background:linear-gradient(to right,#14a1bf 40%,#d9a13e 40%,#d9a13e 70%,#a73d8e 70%)}.search{display:flex;flex:1;max-width:550px;height:42px}.search input{flex:1;min-width:40px;border:1px solid #cfc0b4;border-right:0;border-radius:10px 0 0 10px;padding:0 17px;background:#fff}.search button{width:52px;background:#a38e73;color:white;border:0;border-radius:0 10px 10px 0;font-size:23px}.headactions{display:flex;gap:24px;align-items:center;white-space:nowrap;font-weight:500}.headactions a:last-child{color:var(--green)}.categories-bar{border-block:1px solid var(--line);background:#fff}.nav-inner{display:flex;align-items:center;justify-content:space-between;min-height:51px;gap:12px}.nav-inner>a{padding:9px 13px;font-weight:600;font-size:13px}.nav-inner>a:first-child{background:var(--cream);border-radius:8px}.nav-inner .bulk{background:var(--maroon);color:white;border-radius:8px}.hero{background:linear-gradient(100deg,#f1e6d9 0%,#fbf8f3 47%,#f1ddc9 100%);overflow:hidden}.hero-inner{display:grid;grid-template-columns:minmax(0,45%) minmax(0,55%);align-items:center;min-height:365px}.hero-copy{padding-block:35px;z-index:1}.hero h1{font-family:Georgia,serif;font-weight:600;font-size:clamp(2.35rem,3.45vw,3.4rem);letter-spacing:-.035em}.hero h1 span{color:var(--maroon)}.hero p{max-width:530px;font-size:17px}.hero-art img{width:100%;max-height:380px;object-fit:contain}.hero-btns{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;background:var(--maroon);color:white;padding:9px 20px;border:1px solid var(--maroon);border-radius:7px;font-weight:650;cursor:pointer}.btn:hover{background:var(--maroon-dark)}.btn-outline{background:transparent;color:var(--maroon)}.btn-outline:hover{color:#fff}.btn-whatsapp{background:#eaf4e9;border-color:#8eb896;color:#14693e}.btn-whatsapp:hover{background:#dbeddb;color:#14693e}.section{padding-block:26px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:18px;margin-bottom:15px}.section-title h1,.section-title h2{margin:0}.section-title a{color:var(--maroon);font-size:13px;font-weight:600}.category-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:11px}.category-tile{background:#f1e7db;border-radius:12px;overflow:hidden;text-align:center;border:1px solid #e8d8c9;display:flex;flex-direction:column}.category-photo{aspect-ratio:1.4;display:grid;place-items:center;overflow:hidden}.category-photo img{width:100%;height:100%;object-fit:contain}.category-tile strong{padding:4px 6px 9px;font-size:12px;line-height:1.25}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:0;display:flex;flex-direction:column}.card-image{display:block;aspect-ratio:1/1;overflow:hidden;background:#f6eee7}.card-image img{display:block;width:100%;height:100%;object-fit:contain}.card-body{padding:12px;display:flex;flex-direction:column;gap:5px;flex:1}.card-body h3{font-size:14px;min-height:2.8em;line-height:1.4;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price{color:var(--maroon);font-size:21px;line-height:1.1;font-weight:800;margin:0}.price small{color:var(--muted);font-size:12px;font-weight:400}.price.large{font-size:33px}.moq{align-self:flex-start;border-radius:50px;background:#f8e9c9;padding:3px 8px;font-size:11px;font-weight:650;margin:0}.muted-xs{font-size:11px;color:var(--muted);margin:0}.card-body .btn{margin-top:auto;min-height:34px;font-size:12px;padding:6px}.feature-strip{background:#f2e7db;padding-block:20px;margin-top:16px}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.features>span{display:grid;grid-template-columns:40px 1fr;column-gap:14px;align-items:center;font-size:24px;color:var(--maroon)}.features strong{color:var(--text);font-size:16px}.features small{grid-column:2;font-size:12px;color:var(--muted)}.breadcrumbs{margin-bottom:22px;color:var(--muted);font-size:12px}.breadcrumbs a{color:var(--maroon)}.category-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px}.category-layout .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar,.adminbox{background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px;align-self:start}.sidebar h3{background:var(--maroon);color:white;padding:12px;border-radius:7px;margin:-19px -19px 16px}.category-title{font-size:2.3rem;font-family:Georgia,serif;color:var(--maroon)}.paginate{padding:20px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:35px}.main-product-image{background:#f6eee5;border:1px solid var(--line);border-radius:15px;aspect-ratio:1;overflow:hidden;display:grid;place-items:center}.main-product-image img{width:100%;height:100%;object-fit:contain}.product-info h1{font-family:Georgia,serif;color:var(--maroon);font-size:clamp(2rem,3.7vw,3rem)}.eyebrow{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.stock{color:#28784c;font-size:13px;font-weight:650}.tier-box{border:1px solid #e7d5c1;background:#f6ede2;padding:15px;border-radius:12px;margin-block:16px}.tier-box h3{margin-bottom:12px}.tier-box table{width:100%;border-collapse:collapse}.tier-box td,.tier-box th{text-align:left;border-top:1px solid #e5d5c5;padding:8px}.tier-box td:last-child,.tier-box th:last-child{text-align:right}.charge-notice,.quote-alert,.warning{background:#fff3e6;color:#633914;padding:12px;border-left:4px solid var(--gold);border-radius:5px}.purchase-form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-block:18px}.purchase-form input{width:95px;height:40px;border:1px solid #d6c1b8;padding:8px;border-radius:7px}.product-description{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.customizer{border:1px solid #e5cfc6;padding:20px;border-radius:12px}.customizer label{display:block;font-size:13px;font-weight:600}.customizer input,.customizer select,.adminbox input,.adminbox select,.login-box input,.sidebar input{display:block;width:100%;padding:10px;border:1px solid #cbb9b2;border-radius:7px;background:#fff;margin:6px 0 14px}.custom-grid,.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.before-after{display:grid;grid-template-columns:1fr 1fr;gap:12px}.preview-card{border:1px solid var(--line);border-radius:10px;padding:12px}.preview-paper{border:3px solid #bf9c68;background:#eacbba;min-height:115px;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px}.cart-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,.65fr);gap:22px}.cart-entry{display:flex;justify-content:space-between;border:1px solid var(--line);padding:17px;border-radius:10px;gap:15px;margin-bottom:12px}.small-btn{background:transparent;color:var(--maroon);border:1px solid var(--maroon);padding:6px 10px;border-radius:5px}.proforma{max-width:900px;margin:auto;border:1px solid var(--line);padding:27px;border-radius:12px}.proforma-table{width:100%;border-collapse:collapse}.proforma-table th,.proforma-table td{border-bottom:1px solid var(--line);padding:12px;text-align:left}.proforma-table small{display:block;color:var(--muted)}.totals{display:grid;grid-template-columns:1fr auto;gap:12px;max-width:400px;margin:20px 0 20px auto}.totals dt,.totals dd{margin:0}.login-box{max-width:460px;padding:26px;border:1px solid var(--line);border-radius:12px;margin:30px auto}.login-box label{display:block}.field-error{color:#ac1727;font-size:13px}.adminbox{margin-block:15px}.adminbox .btn{margin-top:10px}.productadmin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}footer{background:var(--cream);margin-top:45px;padding:32px 0}.footer-cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer-cols>div{display:flex;flex-direction:column;gap:7px}.footerbrand{font-size:22px;font-weight:800}.footerbrand span{color:var(--maroon)}.bottomnav{display:none}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.message{background:#e8f3df;padding:12px;border-radius:9px}
@media(max-width:1050px){.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.headactions{gap:14px}.headactions span{display:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand strong{font-size:21px}.nav-inner>a{padding-inline:6px}}
@media(max-width:690px){body{font-size:14px;padding-bottom:64px}.strip{display:none}.shell{padding-inline:12px}.header{height:66px;gap:11px}.brand{gap:6px}.brandmark{height:31px;width:35px;font-size:15px;letter-spacing:-3px}.brand strong{font-size:16px}.brand small{font-size:9px}.brand em{font-size:7px}.search{display:none}.headactions{gap:10px;font-size:13px}.headactions>a:first-child{display:none}.categories-bar{display:none}.hero-inner{grid-template-columns:1fr;padding-top:16px}.hero-copy{padding-block:10px}.hero h1{font-size:1.95rem}.hero p{font-size:14px}.hero-art img{max-height:180px}.section{padding-block:19px}.section-title{align-items:center}.section-title h2{font-size:1.22rem}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.category-tile strong{font-size:10px}.product-grid,.category-layout .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card-body{padding:8px;gap:4px}.card-body h3{font-size:12px}.price{font-size:17px}.feature-strip{display:none}.category-layout,.detail-grid,.cart-layout{grid-template-columns:1fr}.sidebar{display:none}.category-title{font-size:1.8rem}.main-product-image{aspect-ratio:1.25}.product-info h1{font-size:2rem}.productadmin-grid{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.footer-cols{grid-template-columns:1fr 1fr}.footer-cols>div:first-child{grid-column:1/-1}.bottomnav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,1fr);height:59px;background:white;border-top:1px solid #dbcfc4;z-index:1000}.bottomnav a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:19px;color:var(--maroon)}.bottomnav small{font-size:10px}.purchase-form .btn{flex:1}.cart-entry{padding:12px}.proforma{padding:12px}.proforma-table{font-size:11px}}
@media print {.strip,.header,.categories-bar,.bottomnav,footer,.btn{display:none!important}.proforma{border:none}.shell{max-width:none}.quote-alert{border:1px solid #222}}
.consent-banner{position:fixed;bottom:18px;left:18px;right:18px;margin:auto;max-width:910px;background:#fff;color:#302127;z-index:3000;box-shadow:0 7px 36px #210b1230;border:1px solid #dac8be;border-radius:12px;padding:16px;display:flex;align-items:center;gap:12px}.consent-banner>div{flex:1}.consent-banner p{margin:5px 0 0;font-size:12px}.consent-banner button{padding:10px 14px;border:1px solid #6b182a;background:transparent;border-radius:6px;color:#6b182a}.consent-banner button:last-child{background:#6b182a;color:#fff}@media(max-width:690px){.consent-banner{bottom:68px;left:8px;right:8px;flex-wrap:wrap}.consent-banner>div{flex-basis:100%}}
/* Sprint 02 — consistent product imagery and personalized artwork controls */
.gallery-row{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:.8rem}.gallery-row img{width:86px;height:86px;object-fit:contain;background:#f7f1e9;border:1px solid #eee1d5;border-radius:10px}
.product-card{display:flex;flex-direction:column}.product-card .card-image{aspect-ratio:1/1;display:grid;place-items:center;background:#f8f3ec;overflow:hidden}.product-card .card-image img{width:100%;height:100%;object-fit:contain}.product-card .card-body{display:flex;flex-direction:column;flex:1}.product-card .card-body h3{min-height:2.9em;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.product-card .btn{margin-top:auto}
.custom-field{display:flex;flex-direction:column;gap:.3rem;margin-bottom:.8rem}.custom-field>label{font-weight:650}.custom-field :is(input,select,textarea){width:100%;padding:.75rem;border:1px solid #d9c8c2;border-radius:.65rem;background:#fff}.artwork-canvas{position:relative;min-height:220px;overflow:hidden;background:linear-gradient(135deg,#f0d1b6,#f4e4d6 60%,#f6d3b5);border:2px solid #e8cbb5;border-radius:12px}.artwork-canvas[data-surface=back]{background:linear-gradient(135deg,#f7d9ca,#fbefde)}.artwork-canvas[data-surface=inside]{background:linear-gradient(135deg,#fff8f1,#f1e4d2)}.artwork-canvas>span:first-child{font-size:1rem}.artwork-canvas #cm-preview-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:80%;width:max-content;cursor:grab;touch-action:none;text-align:center;text-shadow:0 1px 1px #fff;font-size:clamp(14px,2vw,26px);font-weight:700;word-break:break-word}.artwork-canvas #cm-preview-text:active{cursor:grabbing}
@media(max-width:700px){.product-card .card-body h3{min-height:3em}.gallery-row img{width:64px;height:64px}.artwork-canvas{min-height:170px}}
/* Content-first SEO and responsive category guide */
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.category-seo-content{max-width:1000px;margin:4rem auto 2rem;padding:2rem;background:#fff;border:1px solid #ece4dc;border-radius:14px;line-height:1.75}.category-seo-content h2{font-size:clamp(1.25rem,2vw,1.7rem);margin:1.8rem 0 .7rem;color:#6B182A}.category-seo-content figure{margin:1.3rem 0}.category-seo-content img{max-width:100%;height:auto;object-fit:contain}.category-seo-content figcaption{font-size:.85rem;color:#766d66}.category-seo-content details{border-bottom:1px solid #eee5da;padding:.9rem 0}.category-seo-content summary{cursor:pointer;font-weight:600}.seo-table-wrap{overflow:auto}
/* Sprint03: admin catalogue and accessible account screens; shared theme tokens */
.admin-panel{max-width:1150px}.admin-panel h1{font-size:clamp(1.8rem,3.5vw,2.6rem)}.admin-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;margin-block:18px}.admin-form label,.account-form label{display:flex;flex-direction:column;gap:5px;font-weight:600}.admin-form :is(input,select,textarea),.account-form :is(input,select,textarea){width:100%;padding:10px;border:1px solid #cdbcb4;border-radius:8px;background:#fff}.admin-form .full-span{grid-column:1/-1}.admin-detail{padding:14px;border:1px solid var(--line);border-radius:10px;margin-block:9px;background:#fff}.admin-detail summary{cursor:pointer;font-weight:650}.admin-detail code{font-weight:normal;font-size:12px}.table-scroll{overflow:auto}.inline-form{display:inline-block}.inline-form button{margin-left:6px}.admin-search{display:flex;align-items:center;gap:9px;margin-block:12px}.admin-search input{padding:8px;border:1px solid var(--line);border-radius:7px}.tier-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end;padding:10px;border:1px solid var(--line);border-radius:8px;margin-bottom:8px}.tier-row input{width:100%;padding:8px}.account-panel{max-width:940px}.account-card{border:1px solid var(--line);border-radius:var(--radius);padding:22px;background:#fff;margin-bottom:16px}.account-links{display:flex;gap:12px;flex-wrap:wrap;margin-block:12px}.account-links a{color:var(--maroon);text-decoration:underline}.form-note{padding:12px;background:var(--cream);border-left:3px solid var(--maroon)}
@media(max-width:700px){.admin-form{padding:12px}.tier-row{grid-template-columns:1fr 1fr}.tier-row button{grid-column:1/-1}.account-card{padding:14px}}
.account-utility{display:flex;justify-content:flex-end;align-items:center;gap:16px;font-size:12px;color:var(--maroon);padding-block:4px}.account-utility button{border:0;background:transparent;color:var(--maroon);text-decoration:underline}.account-form{display:grid;gap:11px;max-width:600px}.account-form .btn{justify-self:start}.admin-search label{font-weight:600}
.home-banners,.home-promos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-banners img,.home-promos img{display:block;width:100%;height:auto;aspect-ratio:1200/340;object-fit:contain;background:var(--cream);border-radius:10px}.home-promos img{aspect-ratio:600/250}.device-mobile{display:none}@media(max-width:700px){.home-banners,.home-promos{grid-template-columns:1fr}.home-banners .device-desktop,.home-promos .device-desktop{display:none}.home-banners .device-mobile,.home-promos .device-mobile{display:block}}

/* Sprint 06: shared burgundy/cream administration, print-safe fiscal documents */
.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;min-width:0}
.panel label{display:block;font-weight:600;margin:12px 0 6px}
.panel input:not([type=checkbox]),.panel select,.panel textarea{width:100%;padding:10px;border:1px solid #cdbcb4;border-radius:8px;background:#fff}
.panel textarea{min-height:90px}
.panel input[type=checkbox]{accent-color:var(--maroon);margin-right:8px}
.cm-table{border-collapse:collapse;width:100%;font-size:14px}
.cm-table th,.cm-table td{padding:10px;text-align:left;border-bottom:1px solid var(--line)}
.cm-table th{background:var(--cream)}
.panel .btn{margin-top:12px}
@media(max-width:760px){.grid-two{grid-template-columns:1fr}.panel{padding:14px}.cm-table{font-size:12px}}
@media print{.panel{border:0;box-shadow:none}.grid-two{display:block}.cm-table tr{break-inside:avoid}.section{padding:0}}

/* Sprint 08: restored content pages, accessible form and compact admin tables */
.content-page{max-width:980px;line-height:1.7}.content-page h2{margin-top:28px;color:var(--maroon)}.content-page .features{margin:24px 0}.public-contact-form{max-width:760px}.public-contact-form textarea{width:100%;border:1px solid #cdbcb4;border-radius:8px;padding:11px}.cm-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}.table-scroll{overflow:auto;max-width:100%}.table-scroll td{vertical-align:top}.table-scroll a{color:var(--maroon);text-decoration:underline}@media(max-width:690px){.content-page .features{grid-template-columns:1fr}.content-page h1{font-size:1.9rem}}


/* P0 category filtering: responsive and consistent card size, no runtime design shift */
.category-filters form{display:flex;flex-direction:column;gap:5px}
.category-filters label{display:block;font-size:12px;font-weight:650;color:var(--text)}
.category-filters :is(input,select){min-height:39px;font-size:13px;width:100%;max-width:100%;padding:8px;margin:5px 0 12px;border:1px solid var(--line);border-radius:7px;background:#fff}
.category-filters .category-price-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.category-filters .category-check{display:flex;align-items:center;gap:8px}
.category-filters .category-check input{width:17px;height:17px;margin:0}
.category-filters .filter-clear{display:block;text-align:center;color:var(--maroon);text-decoration:underline;padding:10px}
.category-filters .btn{width:100%}
.product-grid .product-card{min-height:100%}.product-grid .card-image img{aspect-ratio:1;object-fit:contain}.product-grid .card-body{min-height:164px}
@media(max-width:850px){.category-layout{grid-template-columns:1fr}.category-filters{position:relative}.category-layout .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.category-layout .product-grid{gap:9px}.category-filters .category-price-row{grid-template-columns:1fr 1fr}}

/* Sprint P0 consistency: exact approved cream/maroon theme; true 1:1 product photography. */
.product-card .price-on-request{font-size:13px;letter-spacing:0;font-weight:650}
.product-grid .card-body .muted-xs{min-height:2.6em}
.artwork-canvas{padding:0;display:block;position:relative;aspect-ratio:1/1;min-height:0;background:#f7f0e7;overflow:hidden}
.artwork-canvas>img{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.artwork-canvas[data-surface=back]>img,.artwork-canvas[data-surface=inside]>img{opacity:.22;filter:grayscale(.7)}
.artwork-canvas #cm-preview-text{z-index:1;max-width:75%;max-height:70%;white-space:pre-wrap;overflow-wrap:anywhere;touch-action:none;user-select:none}
#cm-preview-surface-note{font-size:11px;display:block;margin-top:8px;color:var(--muted)}
@media(max-width:690px){.category-layout>.sidebar.category-filters{display:block;padding:15px}.category-layout>.sidebar.category-filters h3{margin:-15px -15px 15px}.category-filters .category-price-row{gap:8px}.before-after{grid-template-columns:1fr 1fr;gap:7px}.preview-card{padding:7px}.preview-card strong{font-size:11px}.product-grid .card-body .muted-xs{font-size:10px}}


/* ================================================================
   ChawriMart approved design · staging UI repair v0.9.3
   Palette: burgundy, ivory, cream and restrained gold.
   The original CSS remains above; these are deliberate visual overrides.
   ================================================================ */
:root {
  --maroon: #6b182a;
  --maroon-dark: #4e1626;
  --cream: #f3ebe0;
  --paper: #faf7f2;
  --gold: #b99151;
  --line: #e8ded4;
}
body { background: #fbf9f6; }
.shell { max-width: 1536px; padding-inline: clamp(18px, 4.1vw, 62px); }
.strip { background: #f3ebdf; color: #514030; min-height: 34px; }
.strip span + span { border-left: 1px solid #bda99c; padding-left: 20px; }
.header { height: 86px; }
.brand strong { font-size: 27px; }
.brandmark { height: 50px; width: 55px; }
.search { max-width: 590px; height: 43px; }
.search input { background: #fcfaf9; }
.search button { background: #a8957e; }
.categories-bar { background: #fffcf9; }
.nav-inner { min-height: 50px; }
.nav-inner > a { font-size: 14px; }
.nav-inner > a:not(.nav-all):not(.bulk) { position: relative; }
.nav-inner > a:not(.nav-all):not(.bulk):before {
  content: ''; position: absolute; left: -13px; top: 31%; height: 38%;
  border-left: 1px solid #c9bdb4;
}
.nav-inner a span[aria-hidden] { font-size: 16px; padding-left: 5px; }
.nav-inner .nav-all { background: #f4e9d9; min-width: 155px; text-align: center; }
.nav-inner .bulk { padding-inline: 23px; }

/* Homepage hero follows the approved two-column editorial composition. */
.hero { background: linear-gradient(90deg, #f5ece3, #f9f2e9 54%, #f3e6da); }
.hero-inner { grid-template-columns: minmax(0, 40%) minmax(0, 60%); min-height: 304px; }
.hero-copy { padding-block: 24px; padding-right: 8px; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(29px, 3vw, 46px); line-height: 1.1; margin-bottom: 20px; }
.hero h1::after { content: ''; display: block; width: 88px; height: 3px; background: var(--gold); margin-top: 14px; }
.hero p { font-size: clamp(13px, 1.12vw, 16px); line-height: 1.48; max-width: 490px; }
.hero-art { height: 304px; align-self: stretch; }
.hero-art img { height: 100%; width: 100%; max-height: none; object-fit: cover; object-position: 50% 50%; }
.hero .btn { min-height: 44px; padding-inline: 23px; }

/* Curated category strip; same photo area and label baseline for all cards. */
.section { padding-block: 18px; }
.section-title { margin-bottom: 14px; }
.section-title h2 { font-size: 24px; font-weight: 750; letter-spacing: -.035em; }
.category-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 11px; }
.category-tile { background: #f1e6da; border: 1px solid #eee4db; border-radius: 11px; }
.category-photo { aspect-ratio: 1.58; }
.category-photo img { object-fit: contain; }
.category-tile strong { font-size: 12px; padding: 5px 3px 9px; min-height: 30px; }
.category-tile:hover, .product-card:hover { box-shadow: 0 6px 20px #46231712; }

/* Homepage products use landscape cards; category/search retains product grid. */
.home-featured .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.home-featured .product-card { display: grid; grid-template-columns: 46% minmax(0, 54%); min-height: 173px; }
.home-featured .card-image { aspect-ratio: auto; min-height: 160px; height: 100%; }
.home-featured .card-image img { object-fit: contain; }
.home-featured .card-body { padding: 10px 9px; gap: 5px; }
.home-featured .card-body h3 { font-size: 12px; line-height: 1.4; min-height: 2.6em; }
.home-featured .price { font-size: 19px; }
.home-featured .card-body .btn { font-size: 11px; padding: 6px 8px; }
.home-featured .muted-xs { font-size: 10px; }
.home-featured .moq { font-size: 10px; }
.more-categories { padding-top: 0; }
.more-category-links { display: flex; flex-wrap: wrap; gap: 9px; }
.more-category-links a { display: inline-flex; padding: 9px 13px; gap: 8px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: #633241; font-size: 12px; }
.more-category-links a span { color: var(--maroon); }

/* Keep the branded footer visually restrained. */
footer { background: #f3e9de; }
.footer-cols { padding-top: 35px; padding-bottom: 35px; }

/* Compact screens must preserve the product image and clear actions. */
@media (max-width: 1120px) {
  .nav-inner { gap: 4px; }
  .nav-inner > a { font-size: 12px; padding-inline: 9px; }
  .nav-inner > a:not(.nav-all):not(.bulk):before { left: -6px; }
  .home-featured .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-featured .product-card { min-height: 190px; }
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .shell { padding-inline: 16px; }
  .strip { font-size: 10px; gap: 10px; }
  .strip span + span { padding-left: 9px; }
  .header { height: auto; min-height: 75px; flex-wrap: wrap; padding-block: 13px; gap: 12px; }
  .brand strong { font-size: 22px; }
  .brandmark { height: 38px; width: 43px; font-size: 19px; }
  .search { display: flex; order: 3; min-width: 100%; max-width: none; }
  .headactions { gap: 11px; font-size: 12px; }
  .categories-bar { display: block; }
  .categories-bar .nav-inner { overflow-x: auto; flex-wrap: nowrap; padding-block: 7px; }
  .nav-inner > a { white-space: nowrap; flex-shrink: 0; }
  .nav-inner > a:not(.nav-all):not(.bulk):before { display: none; }
  .hero-inner { display: flex; flex-direction: column; min-height: 0; padding-inline: 0; }
  .hero-copy { padding: 22px 18px 12px; width: 100%; }
  .hero h1 { font-size: clamp(27px, 7.3vw, 37px); margin-bottom: 12px; }
  .hero h1::after { margin-top: 11px; }
  .hero p { font-size: 13px; }
  .hero-art { height: 170px; width: 100%; }
  .hero-art img { object-position: center; }
  .hero .btn { min-height: 39px; padding-inline: 12px; font-size: 12px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .category-tile strong { font-size: 11px; }
  .section-title h2 { font-size: 20px; }
  .home-featured .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .home-featured .product-card { display: flex; flex-direction: column; min-height: 0; }
  .home-featured .card-image { width: 100%; aspect-ratio: 1/1; min-height: 0; height: auto; }
  .home-featured .card-body { padding: 10px; }
  .home-featured .card-body h3 { min-height: 2.8em; font-size: 12px; }
  .home-featured .price { font-size: 18px; }
  .more-category-links a { font-size: 11px; }
  .footer-cols { padding-bottom: 82px; }
}
