:root{--cream:#f7f6f0;--cream-2:#eef1e9;--paper:#fcfbf7;--olive:#294039;--olive-2:#3f5b51;--gold:#b89b63;--ink:#28302c;--muted:#706f68;--line:#ddd9cc;--white:#fff;--shadow:0 18px 45px rgba(41,64,57,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Tajawal",sans-serif;background:var(--paper);color:var(--ink);line-height:1.7}.container{width:min(1160px,calc(100% - 36px));margin:auto}a{color:inherit;text-decoration:none}button{font:inherit}.site-header{position:sticky;top:0;z-index:50;background:rgba(252,251,247,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(184,155,99,.2)}.nav-wrap{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px}.logo-placeholder{width:48px;height:48px;border:1px solid var(--gold);display:grid;place-items:center;font-weight:800;letter-spacing:1px;color:var(--olive);background:#fff8}.brand-copy{display:flex;flex-direction:column;line-height:1.2}.brand-copy strong{font-size:15px;letter-spacing:1.4px}.brand-copy span{font-size:11px;color:var(--muted);margin-top:5px}.desktop-nav{display:flex;gap:28px;font-size:14px;font-weight:500}.desktop-nav a:hover{color:var(--gold)}.nav-actions{display:flex;align-items:center;gap:10px}.menu-btn{display:none;border:0;background:transparent;font-size:28px;color:var(--olive)}.mobile-menu{background:var(--paper);border-top:1px solid var(--line);padding:10px 18px 18px}.mobile-menu a{display:block;padding:10px 0;border-bottom:1px solid #e9dfcb}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 22px;border-radius:999px;font-weight:700;transition:.2s;border:1px solid transparent}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--olive);color:white}.btn-outline{border-color:var(--olive);color:var(--olive)}.btn-gold{background:var(--gold);color:#19251f}.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 20% 20%,rgba(184,155,99,.08),transparent 30%),linear-gradient(180deg,#fcfbf7,#f3f5ef);padding:84px 0 110px}.hero:before{content:"";position:absolute;inset:0;opacity:.35;background-image:repeating-linear-gradient(0deg,rgba(72,57,38,.025) 0 1px,transparent 1px 4px);pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:64px}.eyebrow{display:inline-block;color:var(--gold);font-size:13px;font-weight:800;letter-spacing:.2px;margin-bottom:12px}.hero h1,.section-heading h2,.wedding-copy h2{margin:0;color:var(--olive);line-height:1.15}.hero h1{font-size:clamp(46px,6vw,78px);font-weight:800;letter-spacing:-1.8px}.hero h1 em{font-style:normal;color:var(--gold)}.hero-copy>p{font-size:18px;color:var(--muted);max-width:570px;margin:24px 0 28px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.mini-points{display:flex;gap:18px;flex-wrap:wrap;margin-top:22px;font-size:13px;color:#5d665f}.hero-visual{position:relative;min-height:470px}.magnet-card{position:absolute;background:white;padding:12px 12px 14px;box-shadow:var(--shadow);width:245px;border-radius:3px}.magnet-card .image-placeholder{height:235px}.magnet-card span{display:block;text-align:center;margin-top:10px;font-weight:700;color:var(--olive)}.card-a{right:20px;top:10px;transform:rotate(3deg)}.card-b{left:10px;bottom:15px;transform:rotate(-4deg)}.stamp-note{position:absolute;left:46%;top:49%;transform:translate(-50%,-50%) rotate(-5deg);border:1px solid var(--gold);color:var(--gold);padding:10px 14px;background:#faf4e8;font-size:12px}.image-placeholder{display:grid;place-items:center;text-align:center;background:linear-gradient(135deg,#ded4bf,#f0e8d6);color:#8e846f;border:1px dashed #b9aa8d;min-height:170px}.image-placeholder.large{min-height:320px}.image-placeholder.dark{background:linear-gradient(135deg,#435549,#27382f);color:#d6c49d;border-color:#758278}.torn-edge{position:absolute;left:0;right:0;bottom:-1px;height:45px;background:var(--paper);clip-path:polygon(0 65%,4% 45%,8% 66%,13% 40%,18% 66%,24% 46%,30% 66%,36% 41%,43% 65%,50% 46%,56% 65%,62% 42%,69% 67%,76% 45%,83% 65%,90% 43%,96% 65%,100% 48%,100% 100%,0 100%)}.section{padding:90px 0}.section-heading{margin-bottom:36px}.section-heading.center{text-align:center}.section-heading h2{font-size:clamp(32px,4vw,50px)}.section-heading p{color:var(--muted);margin:12px 0 0}.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.product-card{display:grid;grid-template-columns:1.05fr .95fr;background:#fffaf1;border:1px solid #e2d6bf;border-radius:20px;overflow:hidden;box-shadow:0 14px 35px rgba(80,65,40,.08)}.product-media{position:relative;padding:18px;background:#eef1ea}.size-badge{position:absolute;top:28px;right:28px;background:var(--olive);color:#fff;border-radius:999px;padding:7px 12px;font-size:12px}.product-info{padding:34px;display:flex;flex-direction:column;justify-content:center}.product-info h3{font-size:28px;color:var(--olive);margin:0 0 8px}.product-info p{color:var(--muted);margin:0 0 18px}.price-row{display:flex;align-items:baseline;gap:8px;margin-bottom:14px}.price-row strong{font-size:28px;color:var(--olive)}.price-row span{color:var(--muted)}.text-link{font-weight:800;color:var(--gold)}.occasions-section{background:#f4f6f1}.occasion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.occasion-card{background:#fffaf2;border:1px solid #e1d5be;border-radius:16px;overflow:hidden;transition:.2s}.occasion-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.occasion-card .occasion-media{height:220px}.occasion-body{padding:20px}.occasion-body h3{margin:0;color:var(--olive);font-size:22px}.occasion-body p{margin:6px 0 14px;color:var(--muted);font-size:14px}.occasion-body .open-link{font-weight:700;color:var(--gold);font-size:14px}.wedding-section{background:var(--paper)}.wedding-card{background:var(--olive);color:white;border-radius:26px;padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;overflow:hidden}.wedding-copy{padding:30px}.eyebrow.light{color:#dac596}.wedding-copy h2{color:white;font-size:clamp(32px,4vw,52px)}.wedding-copy p{color:#d7ddd9;margin:18px 0 24px}.wedding-media .image-placeholder{min-height:360px;border-radius:16px}.features-section{background:#f5f6f2}.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.feature{background:#fffaf0;border:1px solid #e1d4bd;border-radius:16px;padding:26px;text-align:center}.feature-icon{width:54px;height:54px;border-radius:50%;margin:0 auto 14px;display:grid;place-items:center;background:#eef1ea;color:var(--olive);font-size:22px}.feature h3{margin:0 0 8px;color:var(--olive)}.feature p{margin:0;color:var(--muted);font-size:14px}.site-footer{background:#22322a;color:#e9eee9;padding:62px 0 18px}.footer-grid{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:34px}.footer-logo{font-weight:800;font-size:22px;letter-spacing:2px}.site-footer h4{margin:0 0 12px;color:#d6bd88}.site-footer a{display:block;color:#cfd8d2;margin:6px 0}.site-footer p{color:#aebbb4;font-size:14px}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:18px;color:#93a198;font-size:13px;text-align:center}
@media(max-width:900px){.desktop-nav,.nav-order{display:none}.menu-btn{display:block}.hero{padding-top:56px}.hero-grid,.wedding-card{grid-template-columns:1fr}.hero-copy{text-align:center}.hero-copy>p{margin-left:auto;margin-right:auto}.hero-actions,.mini-points{justify-content:center}.hero-visual{min-height:430px;max-width:540px;width:100%;margin:auto}.product-grid{grid-template-columns:1fr}.occasion-grid{grid-template-columns:repeat(2,1fr)}.features-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.container{width:min(100% - 24px,1160px)}.nav-wrap{height:70px}.brand-copy span{display:none}.hero{padding-top:38px}.hero h1{font-size:48px}.hero-copy>p{font-size:16px}.hero-actions .btn{width:100%}.hero-visual{min-height:330px}.magnet-card{width:175px;padding:8px}.magnet-card .image-placeholder{height:165px;min-height:0}.card-a{right:6px}.card-b{left:5px}.stamp-note{font-size:10px;top:53%}.section{padding:64px 0}.product-card{grid-template-columns:1fr}.image-placeholder.large{min-height:260px}.product-info{padding:24px}.occasion-grid{grid-template-columns:1fr}.occasion-card .occasion-media{height:210px}.wedding-card{padding:14px;border-radius:20px}.wedding-copy{padding:18px}.features-grid{grid-template-columns:1fr 1fr;gap:10px}.feature{padding:18px 12px}.feature h3{font-size:15px}.footer-grid{grid-template-columns:1fr}.site-footer{padding-top:48px}}

/* Header actions: Admin + Cart */
.icon-action{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fffaf2;color:var(--olive);font-weight:700;font-size:13px;transition:.2s}.icon-action:hover{border-color:var(--gold);transform:translateY(-1px)}.action-icon{font-size:17px;line-height:1}.cart-count{position:absolute;top:-7px;left:-5px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--gold);color:#19251f;display:grid;place-items:center;font-size:11px;font-weight:800;border:2px solid var(--paper)}.mobile-cart-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-right:5px;border-radius:999px;background:var(--gold);color:#19251f;font-size:11px;font-weight:800}
@media(max-width:900px){.action-label{display:none}.icon-action{width:42px;height:42px;padding:0;justify-content:center}.nav-actions{gap:7px}}
@media(max-width:580px){.icon-action{width:38px;height:38px;min-height:38px}.action-icon{font-size:16px}.cart-count{top:-6px;left:-6px}.nav-actions{gap:5px}}

/* v3: header actions + cart/admin pages */
.icon-action{position:relative;display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 10px;border-radius:12px;color:var(--olive);font-size:13px;font-weight:700}.icon-action:hover{background:#ece3d0}.action-icon{font-size:18px;line-height:1}.cart-count{position:absolute;top:-4px;left:-2px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--gold);color:#1f2d26;display:grid;place-items:center;font-size:10px;font-weight:800}.mobile-cart-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-inline-start:4px;background:var(--gold);color:#1f2d26;border-radius:999px;font-size:10px}.simple-header{background:rgba(248,243,232,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.simple-header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px}.compact-btn{min-height:40px;padding:0 17px}.dashboard-body{background:linear-gradient(180deg,#f8f3e8,#eee5d3)}.dashboard-main{padding:56px 0 90px}.dashboard-title{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:28px}.dashboard-title h1,.cart-heading h1{font-size:clamp(34px,4vw,52px);color:var(--olive);margin:0;line-height:1.2}.dashboard-title p,.cart-heading p{color:var(--muted);margin:10px 0 0}.draft-pill{white-space:nowrap;background:#e8ddc7;border:1px solid #d8c8a8;color:#6b5c3c;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.stat-card{background:#fffaf1;border:1px solid #e1d5bf;border-radius:16px;padding:20px}.stat-card span,.stat-card small{display:block;color:var(--muted)}.stat-card strong{display:block;font-size:32px;color:var(--olive);margin:6px 0 1px}.stat-card small{font-size:12px}.admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.admin-card{background:#fffaf1;border:1px solid #dfd2b9;border-radius:20px;padding:26px;display:grid;grid-template-columns:auto 1fr;gap:18px;box-shadow:0 10px 30px rgba(71,58,38,.06);transition:.2s}.admin-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.admin-card-icon{width:56px;height:56px;border-radius:16px;background:#e7ddc8;color:var(--olive);display:grid;place-items:center;font-size:24px;font-weight:800}.admin-card h2{margin:0 0 5px;color:var(--olive);font-size:23px}.admin-card p{margin:0;color:var(--muted);font-size:14px}.admin-card>span{grid-column:2;color:var(--gold);font-size:13px;font-weight:800}.admin-note{margin-top:22px;padding:16px 18px;border-radius:14px;background:#f0e7d5;border:1px dashed #cdbb97;color:#675e4f}.cart-heading{margin-bottom:28px}.cart-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:24px;align-items:start}.cart-items-panel,.cart-summary{background:#fffaf1;border:1px solid #dfd2b9;border-radius:22px;box-shadow:0 12px 34px rgba(76,62,39,.07)}.cart-items-panel{padding:28px}.empty-cart{text-align:center;padding:42px 20px}.empty-cart-icon{width:72px;height:72px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#eef1ea;font-size:30px}.empty-cart h2{margin:0 0 8px;color:var(--olive);font-size:28px}.empty-cart p{max-width:620px;margin:0 auto 22px;color:var(--muted)}.sample-order-note{display:flex;gap:8px;flex-wrap:wrap;background:#f3ead9;border-radius:14px;padding:15px 17px;color:#655e51;font-size:13px}.sample-order-note strong{color:var(--olive)}.cart-summary{padding:24px;position:sticky;top:102px}.cart-summary h2{margin:0 0 18px;color:var(--olive)}.summary-row,.summary-total{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #e9dfcc}.summary-row span{color:#635e54}.muted-row{font-size:13px}.summary-total{margin-top:5px;padding-top:18px;border-bottom:0}.summary-total strong{font-size:24px;color:var(--olive)}.full-btn{width:100%;margin-top:12px}.full-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.cart-summary small{display:block;text-align:center;color:var(--muted);margin-top:10px}
@media(max-width:1000px){.action-label{display:none}.icon-action{padding:0 8px}.admin-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.dashboard-title{display:block}.draft-pill{display:inline-block;margin-top:14px}.admin-grid,.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.simple-header-inner{min-height:70px}.admin-card{grid-template-columns:auto 1fr}.cart-page{padding-top:48px}}
@media(max-width:580px){.admin-stats{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:15px}.admin-grid{gap:12px}.admin-card{padding:18px;grid-template-columns:48px 1fr;gap:12px}.admin-card-icon{width:48px;height:48px}.admin-card h2{font-size:19px}.admin-card>span{grid-column:1/-1}.cart-items-panel{padding:16px}.empty-cart{padding:30px 8px}.simple-header .brand-copy{display:none}.compact-btn{font-size:13px}}

/* v4 catalog flow: occasion > branch > theme > designs */
.inner-body{background:linear-gradient(180deg,#f8f3e8,#efe5d2)}.catalog-main{min-height:75vh}.catalog-hero{padding:58px 0 30px;background:linear-gradient(180deg,#f7f1e5,#eee4d1);border-bottom:1px solid #e0d4bc}.catalog-hero.compact{padding-bottom:24px}.catalog-hero h1{margin:0;color:var(--olive);font-size:clamp(36px,5vw,58px);line-height:1.15}.catalog-hero p{max-width:720px;color:var(--muted);margin:13px 0 0}.breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#827969;font-size:13px;margin-bottom:15px}.breadcrumbs a:hover{color:var(--gold)}.branch-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;max-width:900px;margin:auto}.branch-card,.theme-card{display:block;background:#fffaf1;border:1px solid #dfd2b9;border-radius:24px;overflow:hidden;box-shadow:0 12px 34px rgba(76,62,39,.07);transition:.2s}.branch-card:hover,.theme-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.branch-media{height:330px;border:0;border-bottom:1px solid #e0d4bd}.branch-body,.theme-body{padding:24px}.branch-body h2,.theme-body h2{margin:2px 0 8px;color:var(--olive);font-size:27px}.branch-body p,.theme-body p{margin:0 0 15px;color:var(--muted)}.branch-body strong,.theme-body strong{color:var(--gold);font-size:14px}.mini-label{font-size:11px;font-weight:800;color:#8e7b55}.themes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.theme-media{height:220px;border:0;border-bottom:1px solid #e0d4bd}.theme-body{padding:20px}.theme-body h2{font-size:21px}.theme-body p{font-size:14px}.selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px;padding:18px 20px;border:1px solid #dfd2b9;background:#fffaf1;border-radius:18px}.product-choice{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.product-choice label{display:inline-flex;gap:7px;align-items:center;color:#5d5a52;font-size:14px}.product-choice input{accent-color:var(--olive)}.design-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding-bottom:100px}.design-card{position:relative;background:#fffaf1;border:2px solid transparent;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(70,58,38,.06);transition:.18s}.design-card.selected{border-color:var(--olive);box-shadow:0 12px 28px rgba(38,56,47,.14)}.design-select{display:block;width:100%;padding:0;border:0;background:none;color:inherit;cursor:pointer;text-align:right}.design-media{height:210px;border:0;border-bottom:1px solid #e5dac4;border-radius:0}.design-card h3{margin:0;padding:14px 15px 10px;color:var(--olive)}.checkmark{position:absolute;z-index:2;top:10px;right:10px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #d8caae;color:transparent;font-weight:800}.design-card.selected .checkmark{background:var(--olive);border-color:var(--olive);color:white}.qty-control{display:grid;grid-template-columns:38px 1fr 38px;gap:5px;padding:0 12px 14px}.qty-control button,.qty-control input{height:38px;border:1px solid #dfd3bd;background:#fffdf8;border-radius:10px;text-align:center;color:var(--olive);font:inherit}.qty-control button{cursor:pointer;font-size:18px}.qty-control input{width:100%;-moz-appearance:textfield}.qty-control input::-webkit-outer-spin-button,.qty-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.sticky-selection{position:fixed;z-index:40;bottom:18px;left:50%;transform:translateX(-50%);width:min(720px,calc(100% - 24px));display:flex;align-items:center;justify-content:space-between;gap:16px;background:rgba(38,56,47,.96);color:white;border:1px solid rgba(255,255,255,.15);box-shadow:0 18px 45px rgba(31,40,35,.28);border-radius:18px;padding:12px 14px 12px 20px;backdrop-filter:blur(12px)}.sticky-selection span{display:block;color:#d2ddd6;font-size:11px}.sticky-selection strong{font-size:17px}.sticky-selection .btn-primary{background:var(--gold);color:#213027}.sticky-selection .btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
@media(max-width:900px){.themes-grid{grid-template-columns:repeat(2,1fr)}.design-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:680px){.branch-grid{grid-template-columns:1fr}.branch-media{height:250px}.themes-grid{grid-template-columns:repeat(2,1fr);gap:12px}.theme-media{height:165px}.theme-body{padding:15px}.theme-body h2{font-size:18px}.theme-body p{font-size:12px}.selection-toolbar{align-items:stretch;flex-direction:column}.product-choice{display:grid;gap:8px}.design-grid{grid-template-columns:repeat(2,1fr);gap:10px}.design-media{height:160px}.sticky-selection{bottom:8px}.sticky-selection .btn{min-height:42px;padding:0 15px;font-size:13px}}
.cart-list{display:grid;gap:12px}.cart-line{display:grid;grid-template-columns:78px minmax(0,1fr) auto auto auto;gap:14px;align-items:center;border-bottom:1px solid #eadfcb;padding:12px 0}.cart-thumb{width:78px;height:78px;border-radius:12px;font-size:11px}.cart-line-copy span{font-size:11px;color:#97886d}.cart-line-copy h3{margin:2px 0;color:var(--olive)}.cart-line-copy p{margin:0;color:var(--muted);font-size:12px}.cart-line-qty{display:flex;align-items:center;gap:7px}.cart-line-qty button{width:30px;height:30px;border:1px solid #d9ccb4;background:#fff;border-radius:8px;cursor:pointer}.line-total{white-space:nowrap;color:var(--olive)}.remove-line{border:0;background:none;color:#916252;cursor:pointer;font:inherit;font-size:12px}@media(max-width:680px){.cart-line{grid-template-columns:60px 1fr auto}.cart-thumb{width:60px;height:60px}.cart-line-qty{grid-column:2}.line-total{grid-column:3;grid-row:2}.remove-line{grid-column:3;grid-row:1}.cart-line-copy h3{font-size:15px}}
/* v5 admin manager */
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.admin-tab{border:1px solid var(--line);background:#fffaf2;color:var(--olive);padding:10px 15px;border-radius:999px;cursor:pointer;font-weight:700}.admin-tab.active{background:var(--olive);color:#fff}.admin-panel{display:none}.admin-panel.active{display:block}.manager-layout{display:grid;grid-template-columns:260px 1fr;gap:18px}.manager-sidebar,.manager-content,.admin-placeholder{background:#fffaf2;border:1px solid var(--line);border-radius:18px;padding:18px}.manager-head,.editor-top,.design-admin-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.manager-head h2,.manager-head h3,.editor-top h2{margin:0;color:var(--olive)}.branch-admin-item{width:100%;display:grid;grid-template-columns:1fr auto;gap:2px 8px;text-align:right;border:1px solid #e3d7c1;background:#fff;padding:12px;border-radius:12px;margin-top:8px;cursor:pointer}.branch-admin-item.active{border-color:var(--gold);box-shadow:0 0 0 2px rgba(184,155,99,.12)}.branch-admin-item small{color:var(--muted)}.branch-admin-item i{grid-column:2;font-style:normal;font-size:11px;color:var(--gold)}.mini-btn,.tiny{border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 10px;cursor:pointer;color:var(--olive);font:inherit}.tiny{padding:5px 8px;font-size:12px}.danger{color:#9a4f45!important;border-color:#e2b9b3!important}.admin-theme-list{display:grid;gap:12px;margin-top:14px}.admin-theme-row{display:grid;grid-template-columns:95px 1fr auto;gap:14px;padding:14px;border:1px solid #e3d7c1;border-radius:14px;background:#fff}.admin-thumb{height:95px;border:1px dashed #c8b997;border-radius:10px;display:grid;place-items:center;color:var(--muted);overflow:hidden}.admin-thumb img{width:100%;height:100%;object-fit:cover}.admin-theme-copy input,.admin-theme-copy textarea,.design-admin-row input{width:100%;border:1px solid #dfd3bc;border-radius:9px;padding:9px;font:inherit;background:#fffdf8}.admin-theme-copy textarea{margin-top:7px;resize:vertical}.row-actions{display:flex;flex-direction:column;gap:6px}.design-admin-list{margin-top:9px;display:grid;gap:6px}.design-admin-row{display:grid;grid-template-columns:1fr auto auto;gap:6px}.admin-empty{padding:50px 10px;text-align:center;color:var(--muted)}.editor-actions{display:flex;gap:7px}.admin-note{margin-top:18px}
@media(max-width:800px){.manager-layout{grid-template-columns:1fr}.manager-sidebar{padding:14px}.admin-theme-row{grid-template-columns:70px 1fr}.admin-thumb{height:70px}.row-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}.editor-top{align-items:flex-start;flex-direction:column}.design-admin-row{grid-template-columns:1fr auto auto}}
/* v6 image manager */
.image-tools{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.upload-label{cursor:pointer}.hidden-file{display:none}.admin-thumb{position:relative;overflow:hidden}.admin-thumb img,.design-preview img{width:100%;height:100%;object-fit:cover;display:block}.cover-badge{position:absolute;right:5px;bottom:5px;background:#334236;color:#fff;border-radius:999px;padding:3px 7px;font-size:10px}.design-admin-row{grid-template-columns:56px 1fr auto auto auto!important}.design-preview{width:50px;height:50px;border-radius:10px;background:#eee7da;overflow:hidden;display:grid;place-items:center;font-size:10px;color:#7d776c}.tiny.file-btn{position:relative;overflow:hidden;cursor:pointer}.tiny.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.image-help{font-size:12px;color:#777;margin:4px 0 10px}.cover-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}
/* v7 explicit save + product manager */
.save-zone{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.save-zone .draft-pill{margin-top:0}.save-zone .btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.product-admin-list{display:grid;gap:14px;margin-top:18px}.product-admin-row{display:grid;grid-template-columns:150px 1fr auto;gap:16px;padding:16px;background:#fff;border:1px solid #e3d7c1;border-radius:16px}.product-admin-image{height:150px;border:1px dashed #c8b997;border-radius:12px;display:grid;place-items:center;overflow:hidden;color:var(--muted);background:#f6f0e4}.product-admin-image img{width:100%;height:100%;object-fit:cover}.product-fields{display:grid;gap:9px}.product-fields label{font-size:12px;color:var(--muted);font-weight:700}.product-fields input,.product-fields textarea{display:block;width:100%;margin-top:4px;border:1px solid #dfd3bc;border-radius:9px;padding:9px;font:inherit;background:#fffdf8;color:var(--ink)}.product-fields textarea{resize:vertical}.product-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}@media(max-width:760px){.dashboard-title{align-items:flex-start;gap:16px}.save-zone{width:100%;justify-content:space-between}.product-admin-row{grid-template-columns:90px 1fr}.product-admin-image{height:90px}.product-admin-row>.row-actions{grid-column:1/-1}.product-field-grid{grid-template-columns:1fr}}

/* v8 homepage image manager */
.front-image-manager{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.front-image-card{display:grid;grid-template-columns:150px 1fr;gap:15px;align-items:center;background:#fff;border:1px solid #e3d7c1;border-radius:16px;padding:14px}.front-image-preview{height:120px;border:1px dashed #c8b997;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:#f6f0e4;color:var(--muted);font-size:12px}.front-image-preview img{width:100%;height:100%;object-fit:cover;display:block}.front-image-copy h3{margin:0;color:var(--olive);font-size:17px}.front-image-copy p{margin:3px 0 8px;color:var(--muted);font-size:12px}.occasion-media img,.magnet-card img,.wedding-media img{border-radius:inherit}@media(max-width:820px){.front-image-manager{grid-template-columns:1fr}.front-image-card{grid-template-columns:100px 1fr}.front-image-preview{height:90px}}@media(max-width:520px){.front-image-card{grid-template-columns:1fr}.front-image-preview{height:180px}}
/* v9 saved orders */
.orders-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px;margin-top:18px}.order-stats{display:flex;gap:8px;flex-wrap:wrap}.order-stats span{background:#f4ecdd;border:1px solid #e2d6bf;border-radius:999px;padding:7px 11px;font-size:12px;color:var(--muted)}.order-stats strong{color:var(--olive)}.orders-list{display:grid;gap:8px;align-content:start;max-height:680px;overflow:auto;padding-left:3px}.order-list-item{width:100%;text-align:right;border:1px solid #e3d7c1;background:#fff;border-radius:13px;padding:12px;display:grid;gap:5px;cursor:pointer;color:var(--ink);font:inherit}.order-list-item.active{border-color:var(--gold);box-shadow:0 0 0 2px rgba(184,155,99,.12)}.order-list-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.order-list-item>span:not(.order-list-top),.order-list-item small{font-size:12px;color:var(--muted)}.status-pill{font-style:normal;font-size:10px;border-radius:999px;padding:4px 7px;background:#eee}.status-new{background:#fff1ca;color:#7a5b00}.status-confirmed{background:#e2eef8;color:#315b78}.status-preparing{background:#eee6fb;color:#67458a}.status-ready{background:#e0f1e6;color:#2e6541}.status-completed{background:#dde9df;color:#365e3e}.status-cancelled{background:#f4dfdc;color:#8a493f}.order-details{background:#fff;border:1px solid #e3d7c1;border-radius:16px;padding:18px;min-height:330px}.order-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border-bottom:1px solid #eadfcb;padding-bottom:14px}.order-detail-head h2{margin:2px 0;color:var(--olive)}.order-detail-head p{margin:0;color:var(--muted);font-size:12px}.order-detail-actions{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}.order-detail-actions label{font-size:11px;color:var(--muted);font-weight:700}.order-detail-actions select{display:block;margin-top:4px;border:1px solid #ddd0b8;border-radius:9px;background:#fffdf8;padding:7px 9px;font:inherit;color:var(--olive)}.customer-card{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.customer-card>div{background:#faf5eb;border:1px solid #ebdfca;border-radius:12px;padding:11px}.customer-card .wide{grid-column:1/-1}.customer-card span{display:block;font-size:10px;color:var(--muted)}.customer-card strong{color:var(--olive)}.customer-card p{margin:4px 0 0}.order-items-detail h3{color:var(--olive)}.order-item-detail{display:grid;grid-template-columns:54px 1fr auto;gap:10px;align-items:center;border-top:1px solid #eee4d2;padding:10px 0}.order-item-thumb{width:54px;height:54px;border-radius:9px;background:#f2eadc;overflow:hidden;display:grid;place-items:center;font-size:10px;color:var(--muted)}.order-item-thumb img{width:100%;height:100%;object-fit:cover}.order-item-detail span,.order-item-detail small{display:block;color:var(--muted);font-size:10px}.order-item-detail strong{display:block;color:var(--olive);margin:2px 0}.order-item-detail>b{white-space:nowrap;color:var(--olive);font-size:12px}.order-totals{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;border-top:1px solid #eadfcb;padding-top:14px;margin-top:8px}.order-totals span{background:#f4ecdd;border-radius:10px;padding:9px 12px}.checkout-form{margin-top:15px;padding-top:15px;border-top:1px solid #e4d7be;display:grid;gap:10px}.checkout-form[hidden]{display:none}.checkout-form label{font-size:12px;color:var(--muted);font-weight:700}.checkout-form input,.checkout-form textarea{display:block;width:100%;margin-top:4px;border:1px solid #ddd0b8;background:#fffdf8;border-radius:10px;padding:10px;font:inherit}.checkout-form textarea{resize:vertical}.order-message{border-radius:10px;padding:10px;text-align:center;font-size:12px}.order-message.success{background:#e4f1e7;color:#315f3e}.order-message.error{background:#f5e2df;color:#8e463e}.cart-thumb img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
@media(max-width:850px){.orders-layout{grid-template-columns:1fr}.orders-list{max-height:300px}.order-detail-head{flex-direction:column}.order-detail-actions{width:100%}}@media(max-width:560px){.customer-card{grid-template-columns:1fr}.customer-card .wide{grid-column:auto}.order-item-detail{grid-template-columns:46px 1fr}.order-item-detail>b{grid-column:2}.order-item-thumb{width:46px;height:46px}}


/* v11: theme/design image binding and clean captions */
.theme-card{display:flex!important;flex-direction:column;position:relative;background:#fffaf1!important;isolation:isolate}
.theme-media{position:relative;width:100%;height:auto!important;aspect-ratio:1/1;min-height:0!important;overflow:hidden;background:#eee6d6;border:0!important;border-bottom:1px solid #e0d4bd!important;z-index:1}
.theme-media img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.theme-media>span{position:relative;z-index:1}
.theme-body{position:relative!important;inset:auto!important;transform:none!important;margin:0!important;width:100%;background:#fffaf1!important;padding:18px 20px 20px!important;z-index:2;color:var(--ink);text-shadow:none!important}
.theme-body .mini-label,.theme-body h2,.theme-body p,.theme-body strong{position:static!important;display:block;text-shadow:none!important}
.theme-body h2{margin:3px 0 6px!important;color:var(--olive)!important}
.theme-body p{margin:0 0 12px!important;color:var(--muted)!important;min-height:48px}
.theme-body strong{color:var(--gold)!important}
.design-card{display:flex;flex-direction:column;background:#fffaf1}
.design-select{display:flex!important;flex-direction:column;background:#fffaf1!important}
.design-media{position:relative;width:100%;height:auto!important;aspect-ratio:1/1;min-height:0!important;overflow:hidden;background:#eee6d6}
.design-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.design-media>span{position:relative;z-index:1}
.design-caption{background:#fffaf1;border-top:1px solid #eee2cd;padding:12px 14px 9px;text-align:right;min-height:54px}
.design-card .design-caption h3{margin:0!important;padding:0!important;color:var(--olive);font-size:17px;line-height:1.4}
.design-card .qty-control{margin-top:auto;background:#fffaf1}
@media(max-width:680px){.theme-body{padding:13px 14px 15px!important}.theme-body p{min-height:0}.design-caption{padding:10px 11px 8px}.design-card .design-caption h3{font-size:14px}}


/* v12: full occasion cards + design lightbox */
.clickable-occasion{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.clickable-occasion:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(47,58,43,.11);border-color:#d4c29f}
.clickable-occasion:focus-visible{outline:3px solid rgba(184,155,99,.35);outline-offset:3px}
.design-media{cursor:zoom-in}
.zoom-hint{position:absolute!important;left:10px;bottom:10px;z-index:3!important;background:rgba(36,52,43,.86);color:#fff;border-radius:999px;padding:6px 9px;font-size:11px;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.13);pointer-events:none}
.design-caption small{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-weight:500}
body.viewer-open{overflow:hidden}
.image-viewer[hidden]{display:none!important}
.image-viewer{position:fixed;inset:0;z-index:9999;background:rgba(20,25,21,.94);display:grid;grid-template-columns:72px minmax(0,1fr) 72px;grid-template-rows:minmax(0,1fr) auto;align-items:center;padding:24px;direction:ltr}
.viewer-stage{grid-column:2;grid-row:1;display:block;width:100%;height:calc(100vh - 125px);overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;background:transparent;padding:10px;scrollbar-gutter:stable both-edges}.viewer-canvas{min-width:100%;min-height:100%;width:max-content;height:max-content;display:grid;place-items:center;padding:0}
.viewer-stage img{display:block;object-fit:contain;transition:width .16s ease,height .16s ease;box-shadow:0 18px 50px rgba(0,0,0,.35);border-radius:8px;cursor:zoom-in;user-select:none;-webkit-user-drag:none}
.viewer-close,.viewer-nav{position:relative;border:0;background:rgba(255,255,255,.12);color:white;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(6px)}
.viewer-close{position:absolute;top:18px;right:18px;width:44px;height:44px;border-radius:50%;font-size:30px;z-index:3}
.viewer-nav{width:48px;height:62px;border-radius:14px;font-size:42px;justify-self:center}
.viewer-prev{grid-column:1;grid-row:1}.viewer-next{grid-column:3;grid-row:1}
.viewer-bottom{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;color:white;padding-top:14px;direction:rtl}
.viewer-bottom strong{font-size:16px}.viewer-bottom>span{font-size:12px;opacity:.78}
.viewer-zoom{justify-self:start;display:flex;gap:6px;direction:ltr}.viewer-zoom button{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;border-radius:9px;min-width:38px;height:36px;padding:0 9px;font:inherit;cursor:pointer}
@media(max-width:680px){.image-viewer{grid-template-columns:46px minmax(0,1fr) 46px;padding:10px}.viewer-stage{height:calc(100vh - 115px)}.viewer-nav{width:38px;height:50px;font-size:34px}.viewer-close{top:10px;right:10px;width:40px;height:40px}.viewer-bottom{grid-template-columns:1fr auto;gap:8px}.viewer-bottom strong{font-size:14px}.viewer-bottom>span{justify-self:end}.viewer-zoom{grid-column:1/-1;justify-self:center}.zoom-hint{left:7px;bottom:7px;padding:5px 7px;font-size:10px}}


/* v15: hardened true fullscreen viewer overlay */
body.viewer-open{overflow:hidden!important;touch-action:none}
body.viewer-open .simple-header,body.viewer-open .sticky-selection{visibility:hidden!important}
.image-viewer[hidden]{display:none!important}
.image-viewer{position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100dvh!important;z-index:2147483000!important;background:#162019!important;display:grid!important;grid-template-columns:72px minmax(0,1fr) 72px!important;grid-template-rows:minmax(0,1fr) auto!important;align-items:center!important;padding:24px!important;margin:0!important;direction:ltr!important;overflow:hidden!important;isolation:isolate!important}
.image-viewer::before{content:"";position:absolute;inset:0;background:rgba(16,23,19,.98);z-index:-1;pointer-events:none}
.viewer-stage{position:relative!important;grid-column:2!important;grid-row:1!important;width:100%!important;height:calc(100dvh - 125px)!important;overflow:auto!important;display:block!important;background:transparent!important;padding:10px!important;margin:0!important;z-index:1!important}
.viewer-canvas{min-width:100%!important;min-height:100%!important;width:max-content!important;height:max-content!important;display:grid!important;place-items:center!important}
.viewer-close{position:absolute!important;top:18px!important;right:18px!important;z-index:10!important}
.viewer-nav,.viewer-bottom{position:relative!important;z-index:5!important}
@media(max-width:680px){.image-viewer{grid-template-columns:46px minmax(0,1fr) 46px!important;padding:10px!important}.viewer-stage{height:calc(100dvh - 118px)!important}.viewer-close{top:10px!important;right:10px!important}}
.occasion-admin-toolbar,.occasion-editor-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.occasion-admin-toolbar p{margin:4px 0 0;color:var(--muted)}.occasion-admin-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.occasion-admin-item{border:1px solid var(--line);background:rgba(255,255,255,.62);border-radius:18px;padding:14px;text-align:right;cursor:pointer;font:inherit;color:inherit;display:flex;flex-direction:column;gap:5px}.occasion-admin-item.active{border-color:var(--olive);box-shadow:0 0 0 2px rgba(47,67,43,.08)}.occasion-admin-item strong{font-size:1rem}.occasion-admin-item span{font-size:.82rem;color:var(--muted)}.occasion-admin-item i{font-style:normal;font-size:.76rem;color:var(--gold-dark)}.occasion-editor-bar{background:rgba(255,255,255,.55);border:1px solid var(--line);border-radius:18px;padding:14px 16px}.occasion-editor-bar h2{margin:3px 0 0}.branch-card{display:grid;grid-template-columns:110px 1fr;gap:18px;align-items:center;text-decoration:none;color:inherit;border:1px solid var(--line);background:rgba(255,255,255,.72);border-radius:22px;padding:16px;transition:.2s}.branch-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.branch-art{height:92px;border-radius:16px;background:linear-gradient(145deg,#efe5cf,#ddd0ae);display:grid;place-items:center;font-size:2rem;color:var(--olive)}
@media(max-width:780px){.occasion-admin-list{grid-template-columns:1fr 1fr}.occasion-admin-toolbar,.occasion-editor-bar{align-items:flex-start;flex-direction:column}.occasion-editor-bar .editor-actions{width:100%;display:flex;flex-wrap:wrap}.branch-card{grid-template-columns:80px 1fr}.branch-art{height:74px}}
@media(max-width:480px){.occasion-admin-list{grid-template-columns:1fr}}


/* v17: strict card separation + repaired themes grid */
.occasion-card{
  display:flex!important;
  flex-direction:column!important;
  position:relative!important;
  overflow:hidden!important;
  background:#fffaf2!important;
  isolation:isolate!important;
}
.occasion-card .occasion-media{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio: 4 / 3!important;
  min-height:0!important;
  overflow:hidden!important;
  flex:0 0 auto!important;
  border:0!important;
  border-bottom:1px solid #e1d5be!important;
  z-index:1!important;
}
.occasion-card .occasion-media img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block!important;
}
.occasion-card .occasion-body{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  width:100%!important;
  margin:0!important;
  padding:20px!important;
  background:#fffaf2!important;
  color:var(--ink)!important;
  z-index:2!important;
  flex:1 1 auto!important;
  text-shadow:none!important;
}
.occasion-card .occasion-body h3,
.occasion-card .occasion-body p,
.occasion-card .occasion-body .open-link{
  position:static!important;
  transform:none!important;
  text-shadow:none!important;
}
.theme-card .theme-body{
  position:relative!important;
  background:#fffaf1!important;
}
@media(max-width:580px){
  .occasion-card .occasion-media{aspect-ratio:1 / 1!important;}
}

/* v18 branch images */
.branch-card-visual{display:block;padding:0;overflow:hidden}.branch-card-visual .branch-media{height:280px}.branch-card-visual .branch-media img{width:100%;height:100%;object-fit:cover;display:block}.branch-card-visual .branch-body{padding:20px}.branch-image-editor{display:grid;grid-template-columns:150px 1fr;gap:16px;align-items:center;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.55)}.branch-image-preview{height:120px;border:1px dashed #c8b997;border-radius:12px;display:grid;place-items:center;overflow:hidden;color:var(--muted)}.branch-image-preview img{width:100%;height:100%;object-fit:cover}.branch-image-editor p{margin:5px 0 10px;color:var(--muted);font-size:13px}.branch-admin-thumb{width:42px;height:42px;border-radius:8px;object-fit:cover;grid-row:1/4}.branch-admin-thumb.empty{display:grid;place-items:center;background:#f0e7d5;color:var(--muted);font-size:10px}.branch-admin-item{grid-template-columns:42px 1fr auto}.branch-admin-item>span:not(.branch-admin-thumb),.branch-admin-item>small{grid-column:2}.branch-admin-item>i{grid-column:3;grid-row:1/3}@media(max-width:680px){.branch-card-visual .branch-media{height:220px}.branch-image-editor{grid-template-columns:1fr}.branch-image-preview{height:180px}}

.occasion-mode-box{margin:14px 0;padding:14px 16px;background:#fffaf1;border:1px solid #e3d7c1;border-radius:14px}.occasion-mode-box label{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.occasion-mode-box select{border:1px solid #d9ccb5;border-radius:10px;padding:9px 12px;background:#fff;font:inherit}.occasion-mode-box p{margin:7px 0 0;color:var(--muted);font-size:12px}.direct-mode .branch-image-editor{display:none}.direct-mode .editor-top{display:none}.direct-mode .admin-theme-row[data-id="__direct__"]>div:first-child,.direct-mode .admin-theme-row[data-id="__direct__"]>.row-actions,.direct-mode .admin-theme-row[data-id="__direct__"] .theme-name,.direct-mode .admin-theme-row[data-id="__direct__"] .theme-desc{display:none}.direct-mode .admin-theme-row[data-id="__direct__"]{grid-template-columns:1fr}.direct-mode .admin-theme-row[data-id="__direct__"] .admin-theme-copy{grid-column:1/-1}


/* v20: clean layouts for occasion display modes */
.manager-layout.single-column{
  grid-template-columns:minmax(0,1fr)!important;
}
.manager-layout.single-column .manager-content{
  grid-column:1/-1;
  width:100%;
  min-width:0;
}
.manager-layout.single-column #branchEditor{
  width:100%;
}
.manager-layout.single-column .admin-theme-list{
  width:100%;
}

/* Without branches: theme cards use the full available width */
.themes-only-mode .admin-theme-row{
  grid-template-columns:110px minmax(0,1fr) auto;
  width:100%;
}
.themes-only-mode .admin-theme-copy{
  min-width:0;
}

/* Direct designs: remove the fake theme shell and show one clean designs panel */
.designs-only-mode .admin-theme-row[data-id="__direct__"]{
  display:block!important;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
}
.designs-only-mode .admin-theme-row[data-id="__direct__"]>.admin-theme-copy{
  width:100%;
}
.designs-only-mode .admin-theme-row[data-id="__direct__"] .design-admin-head,
.designs-only-mode .admin-theme-row[data-id="__direct__"] .image-help{
  display:none;
}

/* Keep every design row aligned instead of squeezing controls into random columns */
.design-admin-row{
  grid-template-columns:56px minmax(160px,1fr) auto auto auto auto auto!important;
  align-items:center;
  gap:8px;
  padding:9px;
  border:1px solid #eee3cf;
  border-radius:12px;
  background:#fffdf8;
}
.design-admin-row .design-preview{
  width:50px;
  height:50px;
}
.design-admin-row .design-name{
  min-width:0;
}

@media(max-width:900px){
  .themes-only-mode .admin-theme-row{
    grid-template-columns:86px minmax(0,1fr);
  }
  .themes-only-mode .admin-theme-row>.row-actions{
    grid-column:1/-1;
    flex-direction:row;
    flex-wrap:wrap;
  }
  .design-admin-row{
    grid-template-columns:50px minmax(0,1fr) auto!important;
  }
  .design-admin-row .design-preview{grid-row:1/3}
  .design-admin-row .design-name{grid-column:2/4}
  .design-admin-row .file-btn{grid-column:2}
  .design-admin-row .move-design-up,
  .design-admin-row .move-design-down,
  .design-admin-row .toggle-design,
  .design-admin-row .delete-design{
    grid-row:auto;
  }
}

@media(max-width:600px){
  .manager-content{padding:12px}
  .occasion-mode-box label{align-items:stretch;flex-direction:column}
  .occasion-mode-box select{width:100%}
  .themes-only-mode .admin-theme-row{
    grid-template-columns:1fr;
    padding:12px;
  }
  .themes-only-mode .admin-theme-row>div:first-child{
    display:grid;
    grid-template-columns:90px minmax(0,1fr);
    gap:10px;
    align-items:start;
  }
  .themes-only-mode .admin-thumb{height:90px}
  .themes-only-mode .cover-actions{align-content:start;margin-top:0}
  .themes-only-mode .admin-theme-copy,
  .themes-only-mode .admin-theme-row>.row-actions{
    grid-column:1/-1;
  }
  .design-admin-row{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:7px;
  }
  .design-admin-row .design-preview{grid-column:1;grid-row:1/2;width:44px;height:44px}
  .design-admin-row .design-name{grid-column:2;grid-row:1}
  .design-admin-row .file-btn,
  .design-admin-row .move-design-up,
  .design-admin-row .move-design-down,
  .design-admin-row .toggle-design,
  .design-admin-row .delete-design{
    grid-column:auto!important;
    grid-row:auto!important;
  }
  .design-admin-row .file-btn{grid-column:1/3!important}
  .design-admin-row .move-design-up,
  .design-admin-row .move-design-down,
  .design-admin-row .toggle-design,
  .design-admin-row .delete-design{
    min-width:0;
  }
}

/* v21 site settings, delivery, larger cart/order previews */
.logo-placeholder.has-logo{padding:4px;background:transparent}.logo-placeholder.has-logo img{width:100%;height:100%;object-fit:contain;display:block}.footer-logo.has-logo{height:58px;width:130px}.footer-logo.has-logo img{width:100%;height:100%;object-fit:contain;object-position:right center}.site-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.settings-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:grid;gap:14px}.settings-card h3{margin:0;color:var(--olive)}.settings-card>label{font-size:13px;font-weight:700;color:var(--olive)}.settings-card input[type="text"],.settings-card input[type="email"],.settings-card input[type="number"]{display:block;width:100%;margin-top:6px;border:1px solid #d9ccb5;border-radius:10px;padding:10px 12px;background:#fffdf8;font:inherit}.logo-setting-row{display:grid;grid-template-columns:130px 1fr;gap:14px;align-items:center}.site-logo-preview{height:100px;border:1px dashed #c8b997;border-radius:14px;display:grid;place-items:center;overflow:hidden;background:#faf5eb;font-weight:800;color:var(--olive);font-size:28px}.site-logo-preview img{width:100%;height:100%;object-fit:contain}.toggle-setting{display:flex!important;align-items:center;gap:10px}.toggle-setting input{width:18px;height:18px}.settings-card small{display:block;color:var(--muted);font-weight:400;margin-top:6px}.disabled-setting{opacity:.5}.delivery-example,.free-delivery-note{background:#eef1e7;border:1px solid #d8dfce;border-radius:11px;padding:10px 12px;color:var(--olive);font-size:12px}.cart-line{grid-template-columns:128px minmax(0,1fr) auto auto auto}.cart-thumb{width:128px;height:128px}.remove-line{border:1px solid #e2cfc7;background:#fff8f5;border-radius:9px;padding:8px 10px;font-weight:700}.order-item-detail{grid-template-columns:110px 1fr auto;gap:14px}.order-item-thumb{width:110px;height:110px;border-radius:12px}.order-item-detail strong{font-size:16px}.order-item-detail span,.order-item-detail small{font-size:12px}
@media(max-width:800px){.site-settings-grid{grid-template-columns:1fr}.cart-line{grid-template-columns:92px minmax(0,1fr) auto;align-items:start}.cart-thumb{width:92px;height:92px}.cart-line-qty{grid-column:2}.line-total{grid-column:3;grid-row:2}.remove-line{grid-column:2/4;grid-row:3;justify-self:start}.order-item-detail{grid-template-columns:84px 1fr}.order-item-thumb{width:84px;height:84px}.order-item-detail>b{grid-column:2}}
@media(max-width:480px){.logo-setting-row{grid-template-columns:1fr}.site-logo-preview{height:130px}.cart-items-panel{padding:16px}.cart-line{grid-template-columns:84px 1fr}.cart-thumb{width:84px;height:84px}.line-total{grid-column:2;grid-row:auto}.remove-line{grid-column:2}.order-item-detail{grid-template-columns:76px 1fr}.order-item-thumb{width:76px;height:76px}}

/* v22 editable homepage content, product badges and WhatsApp */
.settings-card textarea,.home-content-fields textarea,.home-content-fields input[type="text"]{display:block;width:100%;margin-top:6px;border:1px solid #d9ccb5;border-radius:10px;padding:10px 12px;background:#fffdf8;font:inherit;resize:vertical}.home-content-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.home-content-fields label{font-size:13px;font-weight:700;color:var(--olive);background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px}.home-content-fields label:has(textarea){grid-column:span 2}.product-new-toggle{margin-top:2px}.product-admin-image{position:relative}.admin-new-badge,.new-product-badge{position:absolute;top:12px;right:12px;z-index:3;background:var(--olive);color:#fff;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:800;box-shadow:0 4px 12px rgba(0,0,0,.12)}.product-media{position:relative}.floating-whatsapp{position:fixed;left:18px;bottom:18px;z-index:9998;display:flex;align-items:center;gap:7px;padding:11px 14px;border-radius:999px;background:#173c35;color:#fff!important;text-decoration:none;font-weight:800;box-shadow:0 10px 28px rgba(0,0,0,.22)}.floating-whatsapp span{display:grid;place-items:center;width:24px;height:24px;border:2px solid currentColor;border-radius:50%;font-size:10px}.footer-grid [data-site-phone],.footer-grid [data-site-whatsapp],.footer-grid [data-site-email]{display:block;margin:7px 0;overflow-wrap:anywhere}
@media(max-width:700px){.home-content-fields{grid-template-columns:1fr}.home-content-fields label:has(textarea){grid-column:auto}.floating-whatsapp{left:12px;bottom:12px;padding:10px 12px}.floating-whatsapp b{font-size:12px}}
.simple-contact-footer{margin-top:auto;background:#25332d;color:#fff;padding:20px 0}.simple-contact-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}.simple-contact-brand{display:flex;align-items:center;gap:14px}.simple-contact-footer .footer-logo{font-weight:800}.simple-contact-footer .footer-logo.has-logo{width:110px;height:48px}.simple-contact-footer .footer-logo.has-logo img{width:100%;height:100%;object-fit:contain}.simple-contact-links{display:flex;gap:16px;flex-wrap:wrap}.simple-contact-links a{color:#fff;text-decoration:none;opacity:.95}.inner-body{min-height:100vh;display:flex;flex-direction:column}.inner-body main{flex:1 0 auto}@media(max-width:650px){.simple-contact-inner{align-items:flex-start;flex-direction:column}.simple-contact-links{flex-direction:column;gap:8px}}


/* v23: real contact actions, visible header logo, complete footer */
.logo-placeholder.has-logo{
  width:76px!important;height:56px!important;min-width:76px!important;
  border:0!important;background:transparent!important;padding:2px!important;
}
.logo-placeholder.has-logo img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
.site-header .brand:has(.logo-placeholder.has-logo),.simple-header .brand:has(.logo-placeholder.has-logo){gap:10px}
.site-footer [data-site-phone],.site-footer [data-site-whatsapp],.site-footer [data-site-email],
.simple-contact-footer [data-site-phone],.simple-contact-footer [data-site-whatsapp],.simple-contact-footer [data-site-email]{cursor:pointer}
.contact-disabled{opacity:.55;cursor:default!important;pointer-events:none}
.founded-line{margin-top:8px!important;color:#d6c49d!important;font-weight:700}
.simple-contact-brand>div:last-child{display:flex;flex-direction:column;line-height:1.45}
.simple-contact-brand small{color:#d6c49d;font-size:12px}
.simple-footer-bottom{border-top:1px solid rgba(255,255,255,.13);margin-top:18px;padding-top:14px;text-align:center;color:#aebbb4;font-size:13px}
.floating-whatsapp{display:flex!important;visibility:visible!important;opacity:1!important;width:auto!important;height:auto!important}
.floating-whatsapp[hidden]{display:none!important}
.floating-whatsapp span{font-size:17px!important;border:0!important;width:22px!important;height:22px!important}
@media(max-width:580px){
 .logo-placeholder.has-logo{width:64px!important;height:48px!important;min-width:64px!important}
 .simple-header .brand-copy{display:flex!important}
 .simple-header .brand-copy span{display:none!important}
}


/* v24: contact visibility hardening */
.site-footer .footer-grid>div:nth-child(3){display:block!important;visibility:visible!important;opacity:1!important}
.site-footer [data-site-phone],.site-footer [data-site-whatsapp],.site-footer [data-site-email],
.simple-contact-footer [data-site-phone],.simple-contact-footer [data-site-whatsapp],.simple-contact-footer [data-site-email]{
 display:block!important;visibility:visible!important;opacity:1!important;min-height:28px!important;color:#cfd8d2!important;
}
.simple-contact-links{display:flex!important;visibility:visible!important;opacity:1!important}
.floating-whatsapp{display:flex!important;visibility:visible!important;opacity:1!important;position:fixed!important;left:18px!important;bottom:18px!important;z-index:2147483000!important}
.floating-whatsapp.contact-disabled{opacity:.72!important;pointer-events:none!important}
@media(max-width:580px){.floating-whatsapp{left:12px!important;bottom:12px!important}}

/* v26 - Supabase authentication */
.dashboard-body:not(.admin-authenticated) > .simple-header,
.dashboard-body:not(.admin-authenticated) > .dashboard-main{visibility:hidden}
.mn-auth-gate{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:24px;background:#f4efe3}
.mn-auth-gate[hidden]{display:none!important}
.mn-login-card{width:min(440px,100%);background:#fffdf8;border:1px solid rgba(64,66,45,.16);border-radius:24px;padding:30px;box-shadow:0 22px 70px rgba(36,39,28,.16);display:grid;gap:16px;text-align:right}
.mn-login-logo{width:68px;height:54px;border-radius:14px;background:#353a2a;color:#fff;display:grid;place-items:center;font-weight:800;letter-spacing:1px;margin:auto}
.mn-login-card h1{margin:0;text-align:center;font-size:1.65rem}.mn-login-card p{margin:0;text-align:center;color:#6e705f}
.mn-login-card label{display:grid;gap:7px;font-weight:700}.mn-login-card input{width:100%;padding:12px 13px;border:1px solid #d8d2c2;border-radius:12px;font:inherit;background:#fff}
.mn-login-card>a{text-align:center;color:#6f6a4f}.mn-login-message{min-height:24px;text-align:center;color:#9a4e42;font-weight:700}.admin-header-actions{display:flex;gap:8px;align-items:center}.migration-needed{background:#fff4cc!important;color:#735f00!important}
@media(max-width:620px){.admin-header-actions{gap:5px}.admin-header-actions .btn{padding-inline:10px;font-size:.8rem}.mn-login-card{padding:22px}}

/* v29 visual refresh + product image galleries */
.hero-copy-hidden{visibility:hidden;pointer-events:none}.hero-copy-hidden *{visibility:hidden}
.product-gallery{padding:0!important;min-height:360px;background:#f3f5f1!important;overflow:hidden;cursor:grab}.product-gallery:active{cursor:grabbing}.product-gallery-track{position:relative;width:100%;height:100%;min-height:360px}.product-gallery-track img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .24s ease;display:block;background:#f7f8f5}.product-gallery-track img.active{opacity:1}.product-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:38px;height:38px;border-radius:50%;border:1px solid rgba(41,64,57,.22);background:rgba(255,255,255,.88);color:var(--olive);font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer}.product-gallery-nav.prev{right:12px}.product-gallery-nav.next{left:12px}.product-gallery-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:4;display:flex;gap:6px}.product-gallery-dots button{width:8px;height:8px;border:0;border-radius:50%;background:rgba(41,64,57,.3);padding:0}.product-gallery-dots button.active{background:var(--olive);transform:scale(1.2)}.product-zoom-btn{position:absolute;left:14px;top:14px;z-index:5;width:38px;height:38px;border-radius:50%;border:1px solid rgba(41,64,57,.2);background:rgba(255,255,255,.9);color:var(--olive);font-size:20px;cursor:pointer}.product-image-viewer{position:fixed;inset:0;background:rgba(18,25,22,.92);z-index:100000;display:none;place-items:center;padding:30px}.product-image-viewer.open{display:grid}.product-image-viewer img{max-width:min(92vw,1500px);max-height:88vh;object-fit:contain;box-shadow:0 20px 70px rgba(0,0,0,.35)}.product-viewer-close{position:fixed;top:20px;right:20px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:#1f2f29;font-size:30px;cursor:pointer}
.product-images-admin{display:grid;gap:10px}.product-images-strip{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px}.product-image-chip{min-width:126px;width:126px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:6px;display:grid;gap:5px}.product-image-chip.cover{outline:2px solid rgba(41,64,57,.26)}.product-image-chip img{width:100%;height:96px;object-fit:contain;background:#f5f6f2;border-radius:8px}.product-image-chip>span{font-size:11px;text-align:center;color:var(--muted)}.product-image-chip>div{display:flex;gap:4px;justify-content:center}.product-image-count{position:absolute;bottom:8px;right:8px;background:rgba(41,64,57,.86);color:#fff;border-radius:999px;padding:4px 8px;font-size:10px}.product-admin-gallery{position:relative}.hero-visibility-setting{grid-column:1/-1!important;background:#eef3ef!important}.hero-visibility-setting small{display:block;margin-top:7px;color:var(--muted);font-weight:400}
@media(max-width:760px){.product-gallery,.product-gallery-track{min-height:300px}.product-card{grid-template-columns:1fr}.product-gallery-nav{width:34px;height:34px}.product-image-viewer{padding:18px}.product-image-viewer img{max-width:96vw;max-height:84vh}}


.product-viewer-nav{position:fixed;top:50%;transform:translateY(-50%);z-index:100002;width:48px;height:48px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#1f2f29;font-size:34px;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18)}.product-viewer-nav.prev{right:22px}.product-viewer-nav.next{left:22px}.product-viewer-count{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:100002;background:rgba(255,255,255,.9);color:#1f2f29;border-radius:999px;padding:7px 12px;font-size:13px}.product-images-admin small{color:var(--muted);font-size:11px}.product-images-admin .cover-actions{align-items:center;flex-wrap:wrap}
@media(max-width:760px){.product-viewer-nav{width:40px;height:40px;font-size:28px}.product-viewer-nav.prev{right:10px}.product-viewer-nav.next{left:10px}}

/* v31 reference-inspired full homepage redesign */
.home-v31{--cream:#f6f0e4;--cream-2:#eee3cf;--paper:#faf6ed;--olive:#353927;--olive-2:#474b35;--gold:#b79a68;--ink:#292b23;--muted:#756d60;--line:#dfd2bc;--white:#fff;--shadow:0 18px 48px rgba(61,49,31,.10);background:#f6f0e4}
.home-v31::before{content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;opacity:.24;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E")}
.home-v31 .container{width:min(1240px,calc(100% - 40px))}
.reference-header{position:sticky;top:0;background:rgba(250,246,237,.94);border-bottom:1px solid rgba(85,68,44,.14);backdrop-filter:blur(10px)}
.reference-header .nav-wrap{height:70px;flex-direction:row}.reference-header .brand{order:3;min-width:230px}.reference-header .desktop-nav{order:2;margin:auto;gap:38px;font-size:15px}.reference-header .nav-actions{order:1;min-width:230px;justify-content:flex-end}.reference-header .brand-copy span{font-size:9px;letter-spacing:.2px}.reference-header .desktop-nav a{position:relative;padding:25px 0 20px}.reference-header .desktop-nav a.active::after,.reference-header .desktop-nav a:hover::after{content:"";position:absolute;height:2px;left:10%;right:10%;bottom:13px;background:var(--olive)}
.header-icon-btn{position:relative;width:38px;height:38px;display:grid;place-items:center}.header-icon-btn svg{width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.header-icon-btn .cart-count{position:absolute;top:-2px;right:-3px;min-width:17px;height:17px;border-radius:20px;background:var(--olive);color:#fff;display:grid;place-items:center;font-size:9px}.admin-dot{font-size:20px;color:#aaa292;width:20px;text-align:center}.reference-header .logo-placeholder{border:0;background:transparent;width:68px;height:54px}.reference-header .logo-placeholder:not(.has-logo){font-size:20px;border:1px solid #ccb890;background:#fff8!important}.reference-header .logo-placeholder.has-logo{width:88px!important;height:58px!important;min-width:88px!important}
.reference-hero{padding:0 0 72px;background:#f7f1e5;min-height:640px;isolation:isolate}.reference-hero::before{content:"";position:absolute;inset:0;opacity:.38;background:radial-gradient(circle at 12% 18%,rgba(98,76,41,.08),transparent 25%),radial-gradient(circle at 86% 40%,rgba(129,106,68,.07),transparent 28%);z-index:-2}.hero-paper-grain{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.35;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.55' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E")}.reference-hero .hero-grid{min-height:510px;grid-template-columns:.9fr 1.1fr;gap:0;max-width:none;width:100%}.reference-hero .hero-copy{padding:72px 8vw 42px 60px;align-self:stretch;display:flex;justify-content:center;flex-direction:column;position:relative}.reference-hero .hero-copy::after{content:"";position:absolute;left:-45px;top:0;bottom:0;width:95px;background:#f7f1e5;clip-path:polygon(35% 0,75% 8%,48% 18%,79% 29%,40% 42%,72% 55%,39% 67%,77% 80%,42% 91%,66% 100%,100% 100%,100% 0)}.reference-hero .eyebrow{display:none}.reference-hero h1{font-size:clamp(54px,6.4vw,88px);color:#353927;line-height:1.06;letter-spacing:-2.8px}.reference-hero h1 em{color:#353927}.reference-hero .hero-copy>p{font-size:20px;color:#3f3d34;margin:25px 0 26px;max-width:590px}.reference-hero .hero-actions{gap:10px}.reference-hero .hero-secondary{display:none}.hero-whatsapp{min-width:220px;background:linear-gradient(180deg,#484c35,#303420);box-shadow:0 10px 25px rgba(40,43,28,.13)}.hero-whatsapp svg{width:22px;height:22px;margin-inline-start:10px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.reference-hero .hero-visual{min-height:510px;overflow:hidden}.hero-photo-stage{position:absolute;inset:0;background:linear-gradient(100deg,rgba(35,40,28,.16),transparent 60%),linear-gradient(160deg,#9f9e91,#d9d5ca 55%,#8b8b80);overflow:hidden}.hero-fridge-panel{position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.08) 0 2px,transparent 2px 60px),linear-gradient(120deg,rgba(255,255,255,.35),transparent 35%)}.scribble{position:absolute;left:9%;bottom:15%;font-family:cursive;font-size:25px;line-height:1.03;color:#1f211d;transform:rotate(-6deg);text-align:left}.reference-hero .magnet-card{width:205px;padding:9px 9px 12px;border-radius:7px;background:#f7f4ed;box-shadow:0 8px 16px rgba(0,0,0,.23)}.reference-hero .magnet-card .image-placeholder{height:195px;min-height:0;border:0;background:#ded7c7}.reference-hero .magnet-card span{display:none}.reference-hero .card-a{right:18%;top:13%;transform:rotate(-5deg)}.reference-hero .card-b{right:42%;top:44%;left:auto;bottom:auto;transform:rotate(5deg);width:175px}.hero-mini-card{position:absolute;right:49%;top:14%;width:150px;height:150px;border:9px solid #f7f4ed;background:#d9d2bf;box-shadow:0 8px 16px rgba(0,0,0,.2);transform:rotate(3deg);display:grid;place-items:center;font-weight:800;color:#4a493f}.hero-service-strip{position:relative;margin-top:-2px;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:26px 20px 4px}.hero-service{display:flex;align-items:center;justify-content:center;gap:12px;color:#373a2b;font-size:13px;font-weight:700}.hero-service svg,.features-grid svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.paper-tear{position:absolute;left:0;right:0;height:38px;z-index:4;pointer-events:none}.paper-tear-bottom{bottom:-1px;background:#f7f1e5;clip-path:polygon(0 52%,3% 64%,7% 45%,11% 63%,15% 49%,19% 67%,23% 45%,28% 64%,32% 47%,37% 61%,42% 45%,47% 66%,52% 49%,57% 62%,62% 43%,67% 66%,72% 49%,77% 63%,82% 44%,87% 66%,92% 48%,97% 61%,100% 47%,100% 100%,0 100%)}.paper-layer{position:relative;background:#f7f1e5}.products-section{padding:58px 0 92px;background:linear-gradient(180deg,#f7f1e5,#f1e5d2)}.reference-heading{display:grid;grid-template-columns:minmax(35px,120px) auto minmax(35px,120px);align-items:center;justify-content:center;gap:16px;margin-bottom:8px}.reference-heading>span{height:1px;background:#766f61}.reference-heading h2{font-size:32px!important;color:#33362a;white-space:nowrap}.section-intro{text-align:center;margin:0 0 28px}.section-intro h3{display:none}.section-intro p{margin:0;color:#7a7164;font-size:14px}.home-v31 .product-grid{gap:22px}.home-v31 .product-card{grid-template-columns:1.05fr .95fr;background:rgba(255,252,245,.78);border:1px solid rgba(117,96,62,.13);border-radius:28px;box-shadow:0 10px 28px rgba(85,67,42,.07);padding:14px;min-height:320px}.home-v31 .product-media{border-radius:20px;background:#e9e2d6;overflow:hidden}.home-v31 .product-gallery,.home-v31 .product-gallery-track{min-height:290px}.home-v31 .product-gallery-track img{background:#ece5d9}.home-v31 .product-info{padding:26px 26px 26px 18px}.home-v31 .product-info h3{font-size:25px;color:#33362a}.home-v31 .product-info p{font-size:14px}.home-v31 .price-row{margin-bottom:18px}.home-v31 .price-row strong{font-size:24px}.home-v31 .product-info .text-link{display:inline-flex;align-self:flex-start;min-height:42px;padding:0 18px;border-radius:14px;background:#3a3e2b;color:#fff;align-items:center;font-size:13px}.home-v31 .size-badge{top:18px;right:18px;background:rgba(57,61,42,.88)}.occasions-section{padding:64px 0 90px;background:#f7f1e5}.home-v31 .occasion-grid{grid-template-columns:repeat(5,1fr);gap:16px}.home-v31 .occasion-card{background:transparent;border:0;border-radius:14px;box-shadow:none}.home-v31 .occasion-card:hover{box-shadow:none;transform:translateY(-4px)}.home-v31 .occasion-card .occasion-media{height:210px;border-radius:12px;border:0;box-shadow:0 10px 26px rgba(70,54,32,.08);background:#e7dcc8}.home-v31 .occasion-body{text-align:center;padding:14px 6px}.home-v31 .occasion-body h3{font-size:18px;color:#33362a}.home-v31 .occasion-body p{font-size:12px;min-height:38px;margin:4px 0 10px}.home-v31 .occasion-body .open-link{display:inline-flex;padding:8px 14px;background:#3b3f2d;color:#fff;border-radius:12px;font-size:12px}.wedding-section{position:relative;padding:55px 0;background:#e9dcc6;overflow:hidden}.wedding-section::before{content:"";position:absolute;inset:0;opacity:.26;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E")}.wedding-section .paper-tear-top{top:-1px;background:#f7f1e5;clip-path:polygon(0 0,100% 0,100% 40%,95% 62%,90% 45%,84% 64%,78% 43%,72% 61%,66% 45%,60% 65%,54% 43%,48% 62%,42% 46%,36% 64%,30% 44%,24% 61%,18% 42%,12% 64%,6% 45%,0 60%)}.home-v31 .wedding-card{position:relative;background:transparent;color:#2e3125;border-radius:0;padding:0;grid-template-columns:.85fr 1.15fr;gap:40px;box-shadow:none}.home-v31 .wedding-copy{padding:40px 20px}.home-v31 .wedding-copy h2{color:#313426;font-size:clamp(34px,4vw,52px)}.home-v31 .wedding-copy p{color:#665f54}.home-v31 .wedding-media{position:relative}.home-v31 .wedding-media .image-placeholder{min-height:390px;border:0;border-radius:0;background:#817a6d;box-shadow:0 12px 35px rgba(56,42,25,.13)}.live-note{position:absolute;left:18px;top:40px;font-family:cursive;font-size:25px;line-height:1.15;transform:rotate(-6deg);color:#292c25;text-align:left;background:rgba(247,241,229,.74);padding:12px 18px}.features-section{padding:30px 0 44px;background:#f7f1e5}.reference-heading.small{display:none}.home-v31 .features-grid{grid-template-columns:repeat(4,1fr);border-top:1px solid #d8cab1;border-bottom:1px solid #d8cab1;padding:22px 0;gap:0}.home-v31 .feature{background:transparent;border:0;border-radius:0;padding:8px 20px;display:flex;align-items:center;justify-content:center;gap:10px}.home-v31 .feature-icon{width:38px;height:38px;background:transparent;margin:0;color:#33362a}.home-v31 .feature h3{font-size:14px;margin:0}.home-v31 .feature p{display:none}.reference-footer{position:relative;background:linear-gradient(180deg,#3a3d2a,#2e3122);padding-top:80px}.footer-tear{top:-1px;height:50px;background:#f7f1e5;clip-path:polygon(0 0,100% 0,100% 45%,95% 62%,90% 43%,84% 64%,79% 45%,73% 61%,68% 43%,62% 64%,57% 46%,52% 63%,46% 42%,40% 64%,35% 45%,29% 62%,24% 43%,18% 65%,12% 44%,6% 63%,0 45%)}.reference-footer .footer-grid{grid-template-columns:1.4fr repeat(3,1fr);align-items:start}.footer-brand-block h3{font-size:26px;margin:10px 0 0;color:#f1e8d8}.reference-footer .footer-logo.has-logo{width:150px;height:72px}.reference-footer .footer-logo.has-logo img{width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1);opacity:.9}.reference-footer .footer-bottom{color:#c6c4b7}.home-v31 .floating-whatsapp{background:#39402b!important}
@media(max-width:1000px){.reference-header .desktop-nav{gap:22px}.reference-header .brand,.reference-header .nav-actions{min-width:160px}.home-v31 .occasion-grid{grid-template-columns:repeat(3,1fr)}.reference-hero .hero-copy{padding-right:5vw}.reference-hero h1{font-size:58px}}
@media(max-width:900px){.reference-header .brand,.reference-header .nav-actions{min-width:auto}.reference-hero .hero-grid{grid-template-columns:1fr;display:flex;flex-direction:column}.reference-hero .hero-copy{order:1;text-align:center;padding:48px 24px}.reference-hero .hero-copy::after{display:none}.reference-hero .hero-visual{order:2;width:100%;min-height:430px}.reference-hero .hero-actions{justify-content:center}.hero-service-strip{grid-template-columns:repeat(2,1fr);gap:18px}.home-v31 .product-card{grid-template-columns:1fr}.home-v31 .product-info{text-align:center}.home-v31 .product-info .text-link{align-self:center}.home-v31 .wedding-card{grid-template-columns:1fr}.reference-footer .footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.home-v31 .container{width:min(100% - 24px,1240px)}.reference-header .nav-wrap{height:64px}.reference-header .brand-copy{display:none}.reference-header .logo-placeholder.has-logo{width:68px!important;height:48px!important;min-width:68px!important}.reference-hero{padding-bottom:55px}.reference-hero h1{font-size:46px;letter-spacing:-1.5px}.reference-hero .hero-copy>p{font-size:16px}.reference-hero .hero-visual{min-height:350px}.reference-hero .magnet-card{width:145px;padding:7px}.reference-hero .magnet-card .image-placeholder{height:140px}.reference-hero .card-a{right:13%;top:12%}.reference-hero .card-b{right:49%;top:48%;width:125px}.hero-mini-card{right:52%;top:13%;width:105px;height:105px;border-width:7px}.scribble{font-size:18px}.hero-service-strip{padding-top:18px}.hero-service{font-size:11px;gap:7px}.hero-service svg{width:28px;height:28px}.reference-heading{grid-template-columns:40px auto 40px;gap:10px}.reference-heading h2{font-size:23px!important}.products-section,.occasions-section{padding-top:48px}.home-v31 .product-card{padding:9px;border-radius:20px}.home-v31 .product-gallery,.home-v31 .product-gallery-track{min-height:270px}.home-v31 .occasion-grid{grid-template-columns:repeat(2,1fr);gap:12px}.home-v31 .occasion-card .occasion-media{height:165px}.home-v31 .occasion-body h3{font-size:15px}.home-v31 .wedding-media .image-placeholder{min-height:270px}.live-note{font-size:18px}.home-v31 .features-grid{grid-template-columns:1fr 1fr;row-gap:12px}.home-v31 .feature{justify-content:flex-start}.reference-footer .footer-grid{grid-template-columns:1fr}.footer-brand-block h3{font-size:22px}}


/* ===== v39 clean homepage + repeating hero slider ===== */
.home-v31{background:#f6f7f3;color:#263129}
.home-v31 .reference-header{background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #e7e9e3}
.clean-slider-hero{position:relative;min-height:650px;background:#e9ece6;overflow:hidden;padding:0 0 0}
.clean-slider-hero .hero-slider{position:absolute;inset:0 0 98px;overflow:hidden;background:linear-gradient(135deg,#dfe5de,#f3f5f0)}
.clean-slider-hero .hero-slider.no-images{background:linear-gradient(135deg,#dfe5de,#f7f8f5)}
.clean-slider-hero .hero-slide{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat;opacity:0;transform:scale(1.02);transition:opacity .75s ease,transform 5s ease}
.clean-slider-hero .hero-slide.active{opacity:1;transform:scale(1.06)}
.clean-slider-hero .hero-slider-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(24,35,29,.06) 0%,rgba(24,35,29,.08) 42%,rgba(244,246,242,.42) 68%,rgba(244,246,242,.88) 100%)}
.clean-slider-hero .hero-slider-content{position:relative;z-index:3;min-height:552px;display:flex;align-items:center;justify-content:flex-start}
.clean-slider-hero .clean-hero-copy{width:min(560px,52%);margin-inline-start:auto;background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.62);box-shadow:0 18px 55px rgba(27,39,31,.12);backdrop-filter:blur(8px);border-radius:28px;padding:44px 48px}
.clean-slider-hero .clean-hero-copy .eyebrow{display:inline-flex;color:#6d785e;font-size:14px;font-weight:800;margin-bottom:10px}
.clean-slider-hero .clean-hero-copy h1{font-size:clamp(48px,5vw,74px);line-height:1.04;letter-spacing:-2px;margin:0;color:#28352d}
.clean-slider-hero .clean-hero-copy h1 em{font-style:normal;color:#536247}
.clean-slider-hero .clean-hero-copy>p{font-size:18px;line-height:1.9;color:#5c625d;margin:22px 0 26px}
.clean-slider-hero .hero-secondary{display:inline-flex;background:#fff;border-color:#cad0c8;color:#314036}
.clean-slider-hero .hero-slider-nav{position:absolute;z-index:4;top:44%;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.88);box-shadow:0 8px 24px rgba(28,36,31,.12);font-size:30px;line-height:1;color:#344238;cursor:pointer}
.clean-slider-hero .hero-slider-prev{left:22px}.clean-slider-hero .hero-slider-next{right:22px}
.clean-slider-hero .hero-slider-dots{position:absolute;z-index:4;bottom:120px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.clean-slider-hero .hero-slider-dots button{width:9px;height:9px;border:0;border-radius:50%;background:rgba(255,255,255,.65);box-shadow:0 0 0 1px rgba(38,49,41,.14);cursor:pointer;padding:0}
.clean-slider-hero .hero-slider-dots button.active{width:24px;border-radius:10px;background:#3d4b40}
.clean-slider-hero .hero-service-strip{position:absolute;z-index:5;left:0;right:0;bottom:0;max-width:none;width:100%;height:98px;margin:0;padding:0 max(24px,calc((100vw - 1240px)/2));background:#fff;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #e8ebe5}
.clean-slider-hero .hero-service{color:#334139}
.home-v31 .products-section,.home-v31 .occasions-section,.home-v31 .features-section{background:#f8f9f6}
.home-v31 .products-section{padding-top:70px}
.home-v31 .product-card{background:#fff;border:1px solid #e7eae4;box-shadow:0 10px 30px rgba(34,49,40,.06)}
.home-v31 .occasion-grid{align-items:start}
.home-v31 .occasion-card{display:flex;flex-direction:column;background:transparent!important;overflow:visible!important}
.home-v31 .occasion-card .occasion-media{position:relative;display:block;height:220px;border-radius:18px;overflow:hidden;background:#e8ece6;box-shadow:0 8px 26px rgba(36,52,43,.07)}
.home-v31 .occasion-card .occasion-media::after{display:none!important}
.home-v31 .occasion-body{position:static!important;display:block!important;background:transparent!important;color:#28332c!important;padding:14px 6px 0!important;text-align:center}
.home-v31 .occasion-body h3{color:#28332c!important;margin:0 0 4px}
.home-v31 .occasion-body p{color:#747b75!important;margin:0 0 10px;min-height:34px}
.home-v31 .occasion-body .open-link{position:static;background:transparent;color:#435247;border:1px solid #d8ded8;border-radius:999px;padding:7px 13px}
.home-v31 .paper-tear,.home-v31 .wedding-section::before{display:none!important}
.home-v31 .wedding-section{background:#eef1ec;padding:70px 0}
.home-v31 .reference-footer{padding-top:56px}

/* Single-size design viewer: one enlargement, arrows move through all designs */
.image-viewer .viewer-stage{overflow:hidden!important;display:flex;align-items:center;justify-content:center;padding:20px}
.image-viewer .viewer-canvas{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.image-viewer #viewerImage{max-width:min(88vw,1100px)!important;max-height:78vh!important;width:auto!important;height:auto!important;object-fit:contain!important;transform:none!important}
.image-viewer .viewer-bottom{justify-content:center;gap:14px}
.image-viewer .viewer-zoom{display:none!important}
.image-viewer .viewer-nav{z-index:5}

@media(max-width:760px){
 .clean-slider-hero{min-height:650px}
 .clean-slider-hero .hero-slider{inset:0 0 120px}
 .clean-slider-hero .hero-slider-shade{background:linear-gradient(180deg,rgba(30,40,33,.12),rgba(247,248,245,.76) 58%,rgba(247,248,245,.96))}
 .clean-slider-hero .hero-slider-content{min-height:530px;align-items:flex-end;padding-bottom:42px}
 .clean-slider-hero .clean-hero-copy{width:100%;padding:28px 24px;border-radius:22px;background:rgba(255,255,255,.9)}
 .clean-slider-hero .clean-hero-copy h1{font-size:46px}
 .clean-slider-hero .clean-hero-copy>p{font-size:15px;margin:14px 0 18px}
 .clean-slider-hero .hero-slider-nav{top:35%;width:40px;height:40px}.clean-slider-hero .hero-slider-prev{left:10px}.clean-slider-hero .hero-slider-next{right:10px}
 .clean-slider-hero .hero-slider-dots{bottom:136px}
 .clean-slider-hero .hero-service-strip{height:120px;padding:10px 12px;grid-template-columns:1fr 1fr;gap:4px}
 .clean-slider-hero .hero-service{font-size:11px;justify-content:flex-start;padding:0 10px}
 .home-v31 .occasion-card .occasion-media{height:170px}
}

/* v40 clean UX adjustments */
.clean-slider-hero .hero-slide{transform:none!important;transition:opacity .6s ease!important}
.clean-slider-hero .hero-slide.active{transform:none!important}
.clean-slider-hero .hero-slider-nav{display:none!important}
.clean-slider-hero .hero-slider-content{align-items:flex-end!important;padding-bottom:118px!important;pointer-events:none}
.clean-slider-hero .clean-hero-copy{pointer-events:auto;width:min(680px,64%);margin-inline:auto;background:rgba(255,255,255,.93)!important;border:1px solid rgba(42,56,48,.08);box-shadow:0 12px 38px rgba(27,39,31,.10)!important;border-radius:20px!important;padding:24px 32px!important;text-align:center}
.clean-slider-hero .clean-hero-copy h1{font-size:clamp(36px,4vw,58px)!important;line-height:1.08!important}
.clean-slider-hero .clean-hero-copy>p{font-size:15px!important;margin:12px 0 16px!important}
.clean-slider-hero .hero-actions{justify-content:center}
.clean-slider-hero .hero-slider-dots{bottom:108px!important}
.product-gallery-nav{display:none!important}
.product-gallery-track img{cursor:zoom-in}
.product-zoom-btn{display:grid;place-items:center}
.branch-card-visual,.theme-card{display:flex!important;flex-direction:column!important;overflow:visible!important}
.branch-card-visual .branch-media,.theme-card .theme-media{position:relative!important;overflow:hidden!important}
.branch-card-visual .branch-body,.theme-card .theme-body{position:static!important;transform:none!important;background:transparent!important;color:inherit!important;text-align:center!important;padding:14px 10px!important}
.branch-card-visual .branch-body *, .theme-card .theme-body *{position:static!important;color:inherit!important;text-shadow:none!important}
.branch-card-visual .branch-body .open-link,.theme-card .theme-body .open-link{color:var(--olive)!important}
.hero-admin-slides{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:14px}
.hero-admin-slide{border:1px solid #ddd6c8;border-radius:14px;padding:8px;background:#fff;display:grid;gap:7px}.hero-admin-slide img{width:100%;height:100px;object-fit:cover;border-radius:10px}.hero-admin-slide span{font-weight:700;font-size:12px}.hero-admin-slide>div{display:flex;gap:5px}.front-image-copy.wide{width:100%}.hero-slides-manager{grid-template-columns:1fr!important}
.product-watermark-toggle{margin-top:8px}
.viewer-order-tools{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:10px}.viewer-order-tools select,.viewer-order-tools input{min-height:40px;border:1px solid #d8ded9;border-radius:10px;background:#fff;padding:0 10px;font:inherit}.viewer-order-tools input{width:76px}.viewer-select-design.selected{background:#536247!important;color:#fff!important;border-color:#536247!important}
.viewer-bottom{flex-direction:column!important;align-items:center!important}
@media(max-width:700px){.clean-slider-hero .hero-slider-content{padding-bottom:130px!important}.clean-slider-hero .clean-hero-copy{width:calc(100% - 28px)!important;padding:18px 16px!important}.clean-slider-hero .clean-hero-copy h1{font-size:34px!important}.clean-slider-hero .hero-slider-dots{bottom:118px!important}}
/* v40: keep Hero copy completely separate from slider image */
.clean-slider-hero{position:relative;padding-top:520px!important;background:#fff!important}
.clean-slider-hero .hero-slider{top:0!important;left:0!important;right:0!important;bottom:auto!important;height:520px!important}
.clean-slider-hero .hero-slider-content{min-height:0!important;padding:28px 0 18px!important;display:block!important;pointer-events:auto!important}
.clean-slider-hero .clean-hero-copy{width:min(900px,100%)!important;margin:0 auto!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:8px 18px!important}
.clean-slider-hero .clean-hero-copy .eyebrow{margin-bottom:6px!important}
.clean-slider-hero .clean-hero-copy h1{font-size:clamp(34px,3.6vw,52px)!important}
.clean-slider-hero .clean-hero-copy>p{max-width:720px;margin:10px auto 14px!important}
.clean-slider-hero .hero-slider-dots{top:486px!important;bottom:auto!important}
.clean-slider-hero .hero-service-strip{position:relative;z-index:3;margin-top:4px}
@media(max-width:700px){.clean-slider-hero{padding-top:360px!important}.clean-slider-hero .hero-slider{height:360px!important}.clean-slider-hero .hero-slider-dots{top:328px!important}.clean-slider-hero .hero-slider-content{padding:20px 0 12px!important}.clean-slider-hero .clean-hero-copy{width:100%!important}.clean-slider-hero .clean-hero-copy h1{font-size:31px!important}.clean-slider-hero .clean-hero-copy>p{font-size:14px!important}}


/* v41 refinements */
.reference-header .brand{order:1!important}.reference-header .desktop-nav{order:2!important}.reference-header .nav-actions{order:3!important;justify-content:flex-start!important}.header-icon-btn{border:0;background:transparent;cursor:pointer;padding:0}.simple-header-inner .brand{order:1}.simple-header-inner .nav-actions{order:2}.search-inner{border:0;background:transparent;cursor:pointer;color:inherit}
.clean-slider-hero .hero-slide{background-size:cover;background-position:center;image-rendering:auto}.hero-ghost-btn{background:transparent!important;color:var(--olive)!important;border:1px solid rgba(43,58,48,.45)!important}.hero-ghost-btn:hover,.hero-ghost-btn:focus-visible{background:var(--olive)!important;color:#fff!important;border-color:var(--olive)!important}
.home-v31 .occasion-card .occasion-media,.branch-card-visual .branch-media,.theme-card .theme-media,.design-card .design-media{aspect-ratio:1/1!important;height:auto!important;min-height:0!important}.home-v31 .occasion-card .occasion-media img,.branch-card-visual .branch-media img,.theme-card .theme-media img,.design-card .design-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}.branch-card-visual .branch-body,.theme-card .theme-body,.design-caption{position:static!important;background:#fff!important;color:var(--ink)!important;text-align:center!important}.design-card{overflow:hidden}.design-caption h3{margin:0;color:var(--olive);font-size:16px}.design-caption small{color:var(--muted)}
.product-gallery-track img{cursor:zoom-in}.product-image-viewer{position:fixed!important;inset:0!important;z-index:10000!important;background:rgba(15,19,16,.92)!important;display:none!important;align-items:center!important;justify-content:center!important;padding:70px 70px 90px!important}.product-image-viewer.open{display:flex!important}.product-image-viewer>img{max-width:min(92vw,1200px)!important;max-height:82vh!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:16px;background:#fff}.product-viewer-close{position:absolute!important;top:18px!important;right:22px!important;z-index:4!important}.product-viewer-nav{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;z-index:4!important}.product-viewer-nav.prev{right:22px!important;left:auto!important}.product-viewer-nav.next{left:22px!important;right:auto!important}.product-viewer-count{position:absolute!important;bottom:28px!important;color:#fff!important;left:50%!important;transform:translateX(-50%)!important}.product-viewer-open{overflow:hidden}
.image-viewer[hidden]{display:none!important}.image-viewer:not([hidden]){display:flex!important;position:fixed!important;inset:0!important;z-index:10010!important;background:rgba(13,17,14,.94)!important;align-items:center!important;justify-content:center!important}.viewer-stage{position:relative!important;width:min(78vw,1050px)!important;height:min(76vh,850px)!important;display:grid!important;place-items:center!important}.viewer-canvas{width:100%!important;height:100%!important;display:grid!important;place-items:center!important}.viewer-canvas img{max-width:100%!important;max-height:100%!important;object-fit:contain!important}.viewer-nav{position:fixed!important;top:50%!important;transform:translateY(-50%)!important;z-index:10015!important;width:58px!important;height:58px!important;border-radius:50%!important;cursor:pointer!important}.viewer-prev{right:26px!important;left:auto!important}.viewer-next{left:26px!important;right:auto!important}.viewer-close{z-index:10016!important}.viewer-bottom{z-index:10016!important}.viewer-order-tools{display:flex!important;gap:10px!important;align-items:center!important;flex-wrap:wrap!important;justify-content:center!important}
.wedding-card{border-radius:22px!important;overflow:hidden!important}.wedding-media{overflow:hidden;border-radius:18px!important}.wedding-slider{position:relative;min-height:360px;border-radius:18px;overflow:hidden;background:#e8e8e2}.wedding-slider-track{position:absolute;inset:0}.wedding-slider img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .55s ease}.wedding-slider img.active{opacity:1}.wedding-slider-dots{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:7px;z-index:3}.wedding-slider-dots button{width:8px;height:8px;border-radius:50%;border:0;background:rgba(255,255,255,.68);padding:0}.wedding-slider-dots button.active{width:22px;border-radius:8px;background:#fff}
.site-footer [data-contact-icon],.simple-contact-links [data-contact-icon]{display:flex!important;align-items:center;gap:9px}.site-footer [data-contact-icon]::before,.simple-contact-links [data-contact-icon]::before{content:"";width:18px;height:18px;display:inline-block;background:currentColor;opacity:.88;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}.site-footer [data-contact-icon="phone"]::before,.simple-contact-links [data-contact-icon="phone"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a15.6 15.6 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.24c1.1.36 2.26.54 3.46.54A1.14 1.14 0 0 1 21 16.64V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.36A1.14 1.14 0 0 1 8.5 4.14c0 1.2.18 2.36.54 3.46a1 1 0 0 1-.24 1z'/%3E%3C/svg%3E")}.site-footer [data-contact-icon="whatsapp"]::before,.simple-contact-links [data-contact-icon="whatsapp"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a9.8 9.8 0 0 0-8.5 14.7L2 22l5.45-1.43A9.9 9.9 0 1 0 12 2m5.75 14.1c-.25.7-1.45 1.34-2 1.42-.52.08-1.18.12-1.9-.12-.44-.14-1-.32-1.72-.63-3.02-1.3-4.99-4.34-5.14-4.54-.15-.2-1.23-1.64-1.23-3.13 0-1.5.78-2.23 1.06-2.53.28-.3.61-.37.82-.37h.59c.19 0 .44-.07.68.52.25.6.84 2.05.91 2.2.08.15.13.33.03.53-.1.2-.15.33-.3.5-.15.18-.32.39-.46.52-.15.15-.31.31-.13.61.18.3.78 1.28 1.68 2.07 1.15 1.03 2.12 1.35 2.42 1.5.3.15.48.13.66-.08.18-.2.76-.89.96-1.2.2-.3.41-.25.69-.15.28.1 1.78.84 2.08.99.3.15.5.22.58.35.07.13.07.73-.18 1.43'/%3E%3C/svg%3E")}.site-footer [data-contact-icon="email"]::before,.simple-contact-links [data-contact-icon="email"]::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E")}
.site-search-overlay{position:fixed;inset:0;z-index:12000;background:rgba(21,27,23,.58);backdrop-filter:blur(6px);padding:7vh 18px}.site-search-overlay[hidden]{display:none}.site-search-panel{width:min(760px,100%);max-height:86vh;overflow:auto;margin:auto;background:#fff;border-radius:22px;box-shadow:0 28px 80px rgba(0,0,0,.25);padding:22px;position:relative}.site-search-close{position:absolute;top:12px;left:14px;border:0;background:transparent;font-size:32px;cursor:pointer}.site-search-box{display:flex;align-items:center;gap:10px;border:1px solid #d9ded7;border-radius:16px;padding:12px 16px;margin-top:26px}.site-search-box svg{width:22px;height:22px;fill:none;stroke:#344238;stroke-width:1.8}.site-search-box input{flex:1;border:0;outline:0;font:inherit;font-size:17px}.site-search-results{display:grid;gap:8px;margin-top:16px}.site-search-result{display:grid;grid-template-columns:70px 1fr;gap:2px 12px;padding:12px;border-radius:13px;border:1px solid #edf0eb}.site-search-result:hover{background:#f5f7f3}.site-search-result span{grid-row:1/3;color:#71806f;font-size:12px}.site-search-result strong{color:#26352f}.site-search-result small{color:#777}.site-search-empty{text-align:center;color:#777;padding:30px}.search-open{overflow:hidden}
.admin-design-serial{display:block;font-weight:800;color:#405044;margin-top:4px}
@media(max-width:700px){.reference-header .brand{order:1!important}.reference-header .nav-actions{order:2!important}.reference-header .desktop-nav{order:3!important}.product-image-viewer{padding:60px 12px 90px!important}.product-viewer-nav.prev{right:8px!important}.product-viewer-nav.next{left:8px!important}.viewer-stage{width:92vw!important;height:68vh!important}.viewer-prev{right:8px!important}.viewer-next{left:8px!important}.wedding-slider{min-height:270px}.site-search-result{grid-template-columns:58px 1fr}}

/* v42 UX refinements */
.catalog-hero{background:linear-gradient(135deg,#eef1e9 0%,#f5f1e7 58%,#ebe4d5 100%)!important}.catalog-hero:after{content:"";display:block;height:1px;background:linear-gradient(90deg,transparent,#c9b98f,transparent);margin-top:26px}.theme-card{border-radius:24px!important;overflow:hidden!important}.theme-card .theme-media{border-radius:22px 22px 0 0!important}.theme-card .theme-body{border-radius:0 0 22px 22px!important}
.product-choice{gap:10px!important}.product-choice>strong{width:100%;font-size:15px}.product-choice label{position:relative;cursor:pointer;border:1px solid #d8ccb6;border-radius:14px;padding:11px 14px;background:#fff;transition:.18s;font-weight:700;color:var(--olive)!important}.product-choice label:has(input:checked){background:var(--olive);color:#fff!important;border-color:var(--olive);box-shadow:0 6px 18px rgba(38,56,47,.18)}.product-choice input{position:absolute;opacity:0;pointer-events:none}.product-choice label:before{content:"◇";margin-left:7px}.product-choice label:has(input:checked):before{content:"✓"}
.viewer-order-tools{display:flex!important;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;background:rgba(255,255,255,.1);padding:12px 14px;border-radius:16px}.viewer-order-tools select,.viewer-order-tools input{height:44px;border:1px solid rgba(255,255,255,.35);border-radius:11px;padding:0 12px;background:#fff;color:#24372e;font:inherit}.viewer-order-tools label{display:flex;align-items:center;gap:7px;color:#fff}.viewer-select-design.selected{background:#d6bd88!important;color:#213027!important;border-color:#d6bd88!important}.viewer-bottom{max-width:820px!important}
.cart-line{grid-template-columns:120px minmax(0,1fr) 150px 120px auto!important}.cart-thumb{width:120px!important;height:120px!important;aspect-ratio:1/1}.cart-line-qty{display:grid!important;grid-template-columns:36px 66px 36px;gap:6px;align-items:center}.cart-line-qty button,.cart-line-qty input{width:100%!important;height:38px;border:1px solid #d9ccb4;background:#fff;border-radius:9px;text-align:center;font:inherit;color:var(--olive)}.line-total{min-width:110px;text-align:center}.order-item-thumb{cursor:zoom-in}.admin-order-viewer{position:fixed;inset:0;z-index:10050;background:rgba(10,14,12,.92);display:grid;place-items:center;padding:30px}.admin-order-viewer[hidden]{display:none}.admin-order-viewer img{max-width:min(900px,90vw);max-height:88vh;object-fit:contain;border-radius:16px}.admin-order-viewer button{position:absolute;top:20px;right:20px;width:44px;height:44px;border:0;border-radius:50%;font-size:28px;cursor:pointer}
.front-size-hint{display:block;margin-top:6px;color:#776b58;font-size:12px;font-weight:700}.new-product-badge{background:#b89b63!important;color:#fff!important;padding:8px 13px!important;box-shadow:0 6px 16px rgba(86,63,25,.28)!important}.new-product-badge:before{content:"✦ ";}.product-quick-order{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.product-quick-order input{width:72px;height:42px;border:1px solid #d8ccb6;border-radius:10px;text-align:center;font:inherit}.product-quick-order .btn{min-height:42px;padding:0 16px}
@media(max-width:800px){.cart-line{grid-template-columns:90px 1fr!important}.cart-thumb{width:90px!important;height:90px!important}.cart-line-qty,.line-total,.remove-line{grid-column:2!important}.line-total{text-align:right}.viewer-order-tools{width:100%}}
.image-viewer .viewer-bottom{grid-column:2!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;background:rgba(22,32,25,.9)!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:18px!important;padding:10px 14px!important;margin:0 auto 6px!important;width:min(900px,94%)!important}.image-viewer .viewer-bottom strong{white-space:nowrap}.image-viewer .viewer-order-tools{margin:0!important;background:transparent!important;padding:0!important}.theme-card .theme-body{background:#f8f6f0!important}.catalog-hero h1{background:transparent!important}

/* v43 selection flow */
.branch-card-visual{border-radius:24px!important;overflow:hidden!important;background:#f8f6f0!important;border:1px solid #e7dfd1!important;box-shadow:0 10px 28px rgba(39,52,43,.07)!important}.branch-card-visual .branch-media{border-radius:22px 22px 0 0!important}.branch-card-visual .branch-body{background:#f8f6f0!important;border-radius:0 0 22px 22px!important;padding:18px 14px!important}.branch-card-visual .branch-body h2{margin:0 0 7px!important;color:var(--olive)!important}.branch-card-visual .branch-body p{margin:0 0 9px!important;color:var(--muted)!important}
.selection-help{display:flex;flex-direction:column;gap:3px}.selection-help strong{color:var(--olive);font-size:17px}.selection-help span{color:var(--muted);font-size:13px}
.design-product-modal[hidden]{display:none!important}.design-product-modal{position:fixed;inset:0;z-index:13000;background:rgba(14,20,16,.62);backdrop-filter:blur(5px);display:grid;place-items:center;padding:18px}.design-product-panel{position:relative;width:min(560px,100%);background:#fbfaf6;border-radius:24px;padding:28px;box-shadow:0 28px 90px rgba(0,0,0,.28)}.design-product-panel h2{margin:6px 0 18px;color:var(--olive)}.design-product-close{position:absolute;left:15px;top:12px;border:0;background:transparent;font-size:32px;cursor:pointer}.design-product-options,.viewer-product-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-pick{position:relative;border:1px solid #d8ccb6;background:#fff;border-radius:16px;padding:14px;cursor:pointer;text-align:right;color:var(--olive);display:grid;gap:4px;transition:.18s}.product-pick small{color:#746b5c}.product-pick .pick-check{position:absolute;left:10px;top:10px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#edf0e9;color:transparent;font-weight:900}.product-pick.selected{background:var(--olive);border-color:var(--olive);color:#fff;box-shadow:0 8px 22px rgba(38,56,47,.22)}.product-pick.selected small{color:#ece9df}.product-pick.selected .pick-check{background:#d6bd88;color:#203128}.picker-qty{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0;font-weight:800}.picker-qty input{width:100px;height:44px;border:1px solid #d8ccb6;border-radius:11px;text-align:center;font:inherit}.picker-open{overflow:hidden}
.image-viewer .viewer-product-picks{min-width:330px}.image-viewer .product-pick{padding:9px 38px 9px 10px;text-align:right;border-color:rgba(255,255,255,.3)}.image-viewer .product-pick .pick-check{left:auto;right:8px;top:50%;transform:translateY(-50%);width:22px;height:22px}.image-viewer .product-pick.selected{background:#d6bd88;color:#203128;border-color:#d6bd88}.image-viewer .product-pick.selected small{color:#405044}
@media(max-width:620px){.design-product-options,.viewer-product-picks{grid-template-columns:1fr}.image-viewer .viewer-product-picks{min-width:0;width:100%}.design-product-panel{padding:24px 16px}}
/* v44 cart feedback */
.design-cart-status{display:inline-flex;margin:0 15px 12px;padding:6px 10px;border-radius:999px;background:#e8f0e9;color:var(--olive);font-size:12px;font-weight:800;border:1px solid #cbd9ce}.design-card.in-cart{box-shadow:0 0 0 2px rgba(38,56,47,.16),0 10px 26px rgba(38,56,47,.10)}.viewer-select-design.selected{background:#e8f0e9!important;color:var(--olive)!important;border-color:#9fb5a5!important}.viewer-nav{pointer-events:auto!important;touch-action:manipulation!important}
/* v45 selection flow */
.design-cart-status[hidden]{display:none!important}
.selection-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.selection-actions .btn{white-space:nowrap}
.card-product-choice{padding:10px 12px 12px;border-top:1px solid #ece4d5;background:#fffaf1}.card-product-label{display:block;font-size:12px;font-weight:800;color:var(--olive);margin-bottom:8px}.card-product-options{display:grid;grid-template-columns:1fr 1fr;gap:7px}.card-product-options .product-pick{padding:9px 8px;border-radius:11px;text-align:center;gap:2px}.card-product-options .product-pick strong{font-size:12px}.card-product-options .product-pick small{font-size:10px}.card-product-options .pick-check{width:18px;height:18px;left:5px;top:5px;font-size:10px}.design-card.in-cart .design-cart-status{display:inline-flex!important}.design-card:not(.in-cart) .design-cart-status{display:none!important}.design-card .checkmark{cursor:pointer}.sticky-selection{display:none!important}
@media(max-width:680px){.selection-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.selection-actions .btn{padding-inline:10px}.card-product-options{grid-template-columns:1fr}.card-product-options .product-pick{padding:8px 26px 8px 6px;text-align:right}}
/* v46: centered fullscreen design viewer + cart-linked quantities */
.image-viewer:not([hidden]){display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) auto!important;place-items:center!important;padding:54px 86px 22px!important;overflow:auto!important}
.image-viewer .viewer-stage{grid-row:1!important;grid-column:1!important;width:min(78vw,980px)!important;height:min(66vh,720px)!important;margin:auto!important;padding:0!important}
.image-viewer .viewer-bottom{grid-row:2!important;grid-column:1!important;position:relative!important;inset:auto!important;transform:none!important;width:min(720px,92vw)!important;max-width:720px!important;margin:14px auto 0!important;padding:14px 16px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;background:rgba(22,32,25,.92)!important}
.image-viewer .viewer-order-tools{width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:10px!important}
.image-viewer .viewer-product-picks{width:min(560px,100%)!important;min-width:0!important;margin:0 auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.image-viewer .viewer-order-tools label{justify-content:center!important}
.image-viewer .viewer-select-design{min-width:190px!important}
.image-viewer .viewer-nav{top:42%!important;display:grid!important;place-items:center!important;background:#fff!important;color:var(--olive)!important;border:0!important;box-shadow:0 8px 30px rgba(0,0,0,.25)!important}
.image-viewer .viewer-prev{right:22px!important}.image-viewer .viewer-next{left:22px!important}
.design-cart-status{font-variant-numeric:tabular-nums}
@media(max-width:700px){.image-viewer:not([hidden]){padding:52px 54px 16px!important}.image-viewer .viewer-stage{width:82vw!important;height:55vh!important}.image-viewer .viewer-product-picks{grid-template-columns:1fr!important}.image-viewer .viewer-prev{right:6px!important}.image-viewer .viewer-next{left:6px!important}.image-viewer .viewer-nav{width:44px!important;height:44px!important}}


/* v47: compact design controls, true below-image viewer tools, framed rounded hero slider */
.design-card .design-select{position:relative}
.design-card .checkmark{width:26px!important;height:26px!important;min-width:26px!important;border-radius:50%!important;font-size:13px!important;display:grid!important;place-items:center!important}
.design-card.selected .checkmark{background:var(--olive)!important;color:#fff!important}
.design-card .design-caption{padding:9px 10px 7px!important}
.design-card .design-caption h3{font-size:14px!important;margin:0 0 2px!important}
.design-card .design-caption small{font-size:10px!important}
.card-product-choice{padding:8px 10px 9px!important}
.card-product-label{font-size:11px!important;margin-bottom:6px!important}
.card-product-options{gap:5px!important}
.card-product-options .product-pick{padding:6px 6px!important;border-radius:9px!important;min-height:44px!important}
.card-product-options .product-pick strong{font-size:11px!important}.card-product-options .product-pick small{font-size:9px!important}
.card-product-options .product-pick .pick-check{width:15px!important;height:15px!important;font-size:9px!important;left:4px!important;top:4px!important}
.design-card .qty-control{padding:7px 10px 10px!important;gap:5px!important}
.design-card .qty-control button,.design-card .qty-control input{height:30px!important;min-height:30px!important;font-size:12px!important;border-radius:8px!important}
.design-cart-status{font-size:10px!important;padding:4px 8px!important;margin:0 10px 8px!important}
.design-card.needs-product,.viewer-product-picks.needs-product{box-shadow:0 0 0 2px #b88b54!important;border-radius:14px!important}

.image-viewer:not([hidden]){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;padding:48px 72px 20px!important;overflow-y:auto!important}
.image-viewer .viewer-stage{flex:0 0 auto!important;width:min(74vw,900px)!important;height:min(64vh,680px)!important;margin:0 auto!important;display:grid!important;place-items:center!important;overflow:visible!important;padding:0!important}
.image-viewer .viewer-canvas{width:100%!important;height:100%!important;display:grid!important;place-items:center!important}
.image-viewer #viewerImage{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:12px!important}
.image-viewer .viewer-bottom{position:static!important;transform:none!important;flex:0 0 auto!important;width:min(620px,92vw)!important;max-width:620px!important;margin:12px auto 0!important;padding:8px 10px!important;background:transparent!important;border:0!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;gap:6px!important;color:#fff!important}
.image-viewer .viewer-bottom>strong{font-size:13px!important}.image-viewer .viewer-bottom>span{font-size:10px!important;opacity:.8}
.image-viewer .viewer-order-tools{width:100%!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex-wrap:wrap!important;background:transparent!important;padding:0!important}
.image-viewer .viewer-product-picks{width:auto!important;min-width:0!important;display:flex!important;gap:5px!important;margin:0!important}
.image-viewer .product-pick{min-width:125px!important;padding:6px 8px 6px 28px!important;border-radius:9px!important;gap:1px!important;text-align:right!important;min-height:40px!important}
.image-viewer .product-pick strong{font-size:11px!important}.image-viewer .product-pick small{font-size:9px!important}
.image-viewer .product-pick .pick-check{right:auto!important;left:7px!important;width:16px!important;height:16px!important;font-size:9px!important}
.image-viewer .viewer-order-tools label{font-size:11px!important;gap:4px!important}.image-viewer .viewer-order-tools input{width:58px!important;height:32px!important;min-height:32px!important;padding:0 5px!important;border-radius:8px!important;font-size:11px!important}
.image-viewer .viewer-select-design{min-width:118px!important;padding:7px 10px!important;font-size:11px!important;border-radius:9px!important}
.image-viewer .viewer-nav{top:42%!important;width:46px!important;height:46px!important;font-size:28px!important}
.image-viewer .viewer-prev{right:18px!important}.image-viewer .viewer-next{left:18px!important}

/* Slider is a fixed framed image area rather than a full-bleed strip */
.clean-slider-hero{padding-top:500px!important}
.clean-slider-hero .hero-slider{top:20px!important;left:max(18px,calc((100vw - 1240px)/2))!important;right:max(18px,calc((100vw - 1240px)/2))!important;width:auto!important;height:450px!important;border-radius:26px!important;border:1px solid #e1e5de!important;box-shadow:0 12px 34px rgba(31,45,37,.09)!important;background:#f2f4ef!important;overflow:hidden!important}
.clean-slider-hero .hero-slide{background-size:contain!important;background-position:center!important;background-color:#f2f4ef!important}
.clean-slider-hero .hero-slider-shade{display:none!important}
.clean-slider-hero .hero-slider-dots{top:444px!important}
.cart-thumb img{object-fit:contain!important;background:#f7f5ef!important}

@media(max-width:700px){
 .image-viewer:not([hidden]){padding:48px 48px 14px!important}
 .image-viewer .viewer-stage{width:82vw!important;height:min(54vh,520px)!important}
 .image-viewer .viewer-product-picks{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important}
 .image-viewer .product-pick{min-width:0!important}
 .image-viewer .viewer-order-tools{gap:5px!important}
 .image-viewer .viewer-prev{right:5px!important}.image-viewer .viewer-next{left:5px!important}
 .clean-slider-hero{padding-top:330px!important}
 .clean-slider-hero .hero-slider{top:12px!important;left:12px!important;right:12px!important;height:290px!important;border-radius:20px!important}
 .clean-slider-hero .hero-slider-dots{top:286px!important}
}

/* v48: viewer controls are a true panel BELOW the image */
.image-viewer:not([hidden]){
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) 64px!important;
  grid-template-rows:minmax(260px,1fr) auto!important;
  align-items:center!important;
  justify-items:center!important;
  gap:12px!important;
  padding:52px 18px 18px!important;
  overflow-y:auto!important;
}
.image-viewer .viewer-stage{
  grid-column:2!important;
  grid-row:1!important;
  position:relative!important;
  width:min(78vw,900px)!important;
  height:min(58vh,650px)!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
}
.image-viewer .viewer-canvas{width:100%!important;height:100%!important;display:grid!important;place-items:center!important}
.image-viewer #viewerImage{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:14px!important}
.image-viewer .viewer-bottom{
  grid-column:2!important;
  grid-row:2!important;
  position:static!important;
  width:min(620px,100%)!important;
  margin:0 auto!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#263a31!important;
  border:1px solid rgba(255,255,255,.35)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.18)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:6px!important;
}
.image-viewer .viewer-bottom>strong{font-size:12px!important;color:#263a31!important}
.image-viewer .viewer-bottom>span{font-size:10px!important;color:#6d776f!important;opacity:1!important}
.image-viewer .viewer-order-tools{width:100%!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:6px!important;flex-wrap:wrap!important;background:transparent!important;padding:0!important}
.image-viewer .viewer-product-picks{display:flex!important;width:auto!important;gap:5px!important;margin:0!important}
.image-viewer .product-pick{min-width:120px!important;min-height:36px!important;padding:5px 7px 5px 26px!important;border-radius:9px!important;background:#faf9f5!important;color:#33463d!important;border:1px solid #ddd8cc!important}
.image-viewer .product-pick strong{font-size:10px!important}.image-viewer .product-pick small{font-size:8px!important}
.image-viewer .product-pick .pick-check{left:6px!important;right:auto!important;width:15px!important;height:15px!important;font-size:8px!important}
.image-viewer .viewer-order-tools label{font-size:10px!important;color:#33463d!important}.image-viewer .viewer-order-tools input{width:52px!important;height:30px!important;min-height:30px!important;font-size:10px!important}
.image-viewer .viewer-select-design{min-width:110px!important;padding:6px 9px!important;font-size:10px!important;border-radius:9px!important}
.image-viewer .viewer-nav{position:static!important;transform:none!important;grid-row:1!important;align-self:center!important;width:44px!important;height:44px!important;font-size:27px!important;background:#fff!important;color:#31483d!important;border:0!important;border-radius:50%!important;box-shadow:0 7px 24px rgba(0,0,0,.25)!important}
.image-viewer .viewer-prev{grid-column:1!important}.image-viewer .viewer-next{grid-column:3!important}
@media(max-width:700px){
 .image-viewer:not([hidden]){grid-template-columns:42px minmax(0,1fr) 42px!important;padding:48px 5px 10px!important;gap:5px!important}
 .image-viewer .viewer-stage{width:100%!important;height:min(50vh,500px)!important}
 .image-viewer .viewer-bottom{width:100%!important;padding:8px!important}
 .image-viewer .viewer-product-picks{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important}
 .image-viewer .product-pick{min-width:0!important}
 .image-viewer .viewer-nav{width:38px!important;height:38px!important;font-size:24px!important}
}

/* v49: preserve full design size; ultra-compact controls below */
.image-viewer .viewer-stage{height:min(72vh,820px)!important;overflow:visible!important}
.image-viewer #viewerImage{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
.image-viewer .viewer-bottom{width:min(560px,100%)!important;padding:6px 8px!important;gap:4px!important}
.image-viewer .viewer-product-picks{gap:4px!important}
.image-viewer .product-pick{min-width:105px!important;min-height:31px!important;padding:4px 6px 4px 22px!important;border-radius:8px!important}
.image-viewer .product-pick strong{font-size:9px!important}.image-viewer .product-pick small{font-size:7px!important}
.image-viewer .product-pick .pick-check{width:13px!important;height:13px!important;left:5px!important;font-size:7px!important}
.image-viewer .viewer-order-tools label{font-size:9px!important}.image-viewer .viewer-order-tools input{width:46px!important;height:27px!important;min-height:27px!important;font-size:9px!important}
.image-viewer .viewer-select-design{min-width:96px!important;padding:5px 7px!important;font-size:9px!important}
#commitSelected[hidden]{display:none!important}
@media(max-width:700px){.image-viewer .viewer-stage{height:min(64vh,650px)!important}.image-viewer .viewer-bottom{padding:5px 6px!important}.image-viewer .product-pick{min-height:29px!important}}

/* v50 CLEAN FIX — square cart frame + genuinely separate viewer controls */
.cart-line .cart-thumb{
  width:120px!important;
  height:120px!important;
  min-width:120px!important;
  min-height:120px!important;
  max-width:120px!important;
  max-height:120px!important;
  aspect-ratio:1 / 1!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:14px!important;
  display:grid!important;
  place-items:center!important;
  background:#f7f5ef!important;
}
.cart-line .cart-thumb img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:0!important;
}

.image-viewer:not([hidden]){
  display:grid!important;
  grid-template-columns:64px minmax(0,900px) 64px!important;
  grid-template-rows:auto auto!important;
  align-content:center!important;
  justify-content:center!important;
  align-items:center!important;
  gap:14px 12px!important;
  padding:54px 18px 24px!important;
  overflow-y:auto!important;
}
.image-viewer .viewer-stage{
  grid-column:2!important;
  grid-row:1!important;
  position:relative!important;
  width:min(78vw,900px)!important;
  height:min(62vh,680px)!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  display:grid!important;
  place-items:center!important;
}
.image-viewer .viewer-canvas{
  width:100%!important;
  height:100%!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
}
.image-viewer #viewerImage{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  border-radius:14px!important;
}
.image-viewer .viewer-bottom{
  grid-column:2!important;
  grid-row:2!important;
  position:static!important;
  inset:auto!important;
  transform:none!important;
  width:min(660px,100%)!important;
  max-width:660px!important;
  margin:0 auto!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  background:#fff!important;
  color:#263a31!important;
  border:1px solid #e5dfd3!important;
  box-shadow:0 10px 30px rgba(0,0,0,.18)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  z-index:2!important;
}
.image-viewer .viewer-bottom>strong{font-size:14px!important;color:#263a31!important}
.image-viewer .viewer-bottom>span{font-size:11px!important;color:#6d776f!important;opacity:1!important}
.image-viewer .viewer-order-tools{
  width:100%!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
.image-viewer .viewer-product-picks{
  width:auto!important;
  min-width:0!important;
  display:flex!important;
  grid-template-columns:none!important;
  gap:8px!important;
  margin:0!important;
}
.image-viewer .product-pick{
  position:relative!important;
  min-width:155px!important;
  min-height:48px!important;
  padding:8px 10px 8px 34px!important;
  border-radius:12px!important;
  background:#faf9f5!important;
  color:#33463d!important;
  border:1px solid #d8d2c6!important;
  text-align:right!important;
  display:grid!important;
  gap:2px!important;
}
.image-viewer .product-pick strong{font-size:12px!important;line-height:1.25!important}
.image-viewer .product-pick small{font-size:10px!important;line-height:1.2!important}
.image-viewer .product-pick .pick-check{
  position:absolute!important;
  left:9px!important;
  right:auto!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  width:20px!important;
  height:20px!important;
  font-size:11px!important;
}
.image-viewer .viewer-product-picks .product-pick.selected{
  background:var(--olive)!important;
  color:#fff!important;
  border-color:var(--olive)!important;
}
.image-viewer .viewer-product-picks .product-pick.selected small{color:#eee9df!important}
.image-viewer .viewer-order-tools label{
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  font-size:12px!important;
  color:#33463d!important;
  font-weight:800!important;
}
.image-viewer .viewer-order-tools input{
  width:62px!important;
  height:40px!important;
  min-height:40px!important;
  padding:0 6px!important;
  border-radius:10px!important;
  font-size:13px!important;
  text-align:center!important;
}
.image-viewer .viewer-select-design{
  min-width:140px!important;
  min-height:42px!important;
  padding:9px 13px!important;
  font-size:12px!important;
  border-radius:11px!important;
}
.image-viewer .viewer-nav{
  position:static!important;
  transform:none!important;
  grid-row:1!important;
  align-self:center!important;
  width:48px!important;
  height:48px!important;
  font-size:30px!important;
  z-index:3!important;
}
.image-viewer .viewer-prev{grid-column:1!important}
.image-viewer .viewer-next{grid-column:3!important}

@media(max-width:700px){
  .cart-line .cart-thumb{width:92px!important;height:92px!important;min-width:92px!important;min-height:92px!important}
  .image-viewer:not([hidden]){grid-template-columns:42px minmax(0,1fr) 42px!important;gap:10px 5px!important;padding:48px 5px 14px!important;align-content:start!important}
  .image-viewer .viewer-stage{width:100%!important;height:min(55vh,520px)!important}
  .image-viewer .viewer-bottom{width:100%!important;padding:10px!important}
  .image-viewer .viewer-product-picks{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important}
  .image-viewer .product-pick{min-width:0!important;min-height:46px!important}
  .image-viewer .viewer-nav{width:40px!important;height:40px!important;font-size:25px!important}
}

/* v51: true single-card design viewer — image and controls are siblings, never overlaid */
.image-viewer:not([hidden]){
  display:grid!important;
  grid-template-columns:64px minmax(0,920px) 64px!important;
  grid-template-rows:1fr!important;
  place-content:center!important;
  align-items:center!important;
  gap:0 16px!important;
  padding:58px 18px 24px!important;
  overflow:auto!important;
}
.image-viewer .viewer-card{
  grid-column:2!important;
  grid-row:1!important;
  width:min(78vw,860px)!important;
  max-height:calc(100vh - 90px)!important;
  margin:auto!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.2)!important;
  border-radius:22px!important;
  overflow:hidden!important;
  box-shadow:0 28px 80px rgba(0,0,0,.38)!important;
  display:flex!important;
  flex-direction:column!important;
}
.image-viewer .viewer-stage{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1/1!important;
  margin:0!important;
  padding:14px!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  background:#f8f7f3!important;
}
.image-viewer .viewer-canvas{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.image-viewer #viewerImage{
  position:static!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:12px!important;
  display:block!important;
}
.image-viewer .viewer-bottom{
  position:static!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:14px 18px 16px!important;
  border:0!important;
  border-top:1px solid #e6e0d5!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  color:#263a31!important;
  display:flex!important;
  flex-direction:column!important;
  gap:11px!important;
}
.image-viewer .viewer-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important}
.image-viewer .viewer-meta strong{font-size:15px!important;color:#263a31!important}.image-viewer .viewer-meta span{font-size:12px!important;color:#7a817b!important}
.image-viewer .viewer-order-tools{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:12px!important;padding:0!important;margin:0!important;background:transparent!important}
.image-viewer .viewer-product-picks{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;gap:10px!important;margin:0!important}
.image-viewer .product-pick{min-width:0!important;min-height:58px!important;padding:10px 12px 10px 38px!important;border-radius:13px!important}
.image-viewer .product-pick strong{font-size:13px!important}.image-viewer .product-pick small{font-size:11px!important}
.image-viewer .product-pick .pick-check{width:23px!important;height:23px!important;font-size:12px!important;left:10px!important}
.image-viewer .viewer-order-tools label{font-size:13px!important;white-space:nowrap!important}.image-viewer .viewer-order-tools input{width:68px!important;height:44px!important;font-size:14px!important}
.image-viewer .viewer-select-design{min-width:155px!important;min-height:46px!important;padding:10px 15px!important;font-size:13px!important}
.image-viewer .viewer-nav{position:static!important;grid-row:1!important;align-self:center!important;width:50px!important;height:50px!important;font-size:31px!important;transform:none!important;z-index:3!important}.image-viewer .viewer-prev{grid-column:1!important}.image-viewer .viewer-next{grid-column:3!important}
@media(max-width:700px){
 .image-viewer:not([hidden]){grid-template-columns:42px minmax(0,1fr) 42px!important;gap:0 5px!important;padding:48px 4px 12px!important}
 .image-viewer .viewer-card{width:100%!important;max-height:calc(100vh - 64px)!important;border-radius:16px!important}
 .image-viewer .viewer-stage{padding:8px!important;aspect-ratio:1/1!important}
 .image-viewer .viewer-bottom{padding:10px!important;gap:8px!important}
 .image-viewer .viewer-order-tools{grid-template-columns:1fr!important;gap:8px!important}
 .image-viewer .viewer-product-picks{grid-template-columns:1fr 1fr!important}
 .image-viewer .product-pick{min-height:50px!important;padding:8px 9px 8px 34px!important}
 .image-viewer .viewer-order-tools label{justify-content:center!important}.image-viewer .viewer-select-design{width:100%!important}
 .image-viewer .viewer-nav{width:40px!important;height:40px!important;font-size:25px!important}
}
/* v52 — direct design choice flow */
.selection-toolbar{align-items:center!important}.selection-help span{display:block;margin-top:4px}.choose-design-btn{display:block;width:calc(100% - 20px);margin:8px 10px 12px;min-height:42px}.design-card .design-media{width:100%;border:0;padding:0;background:transparent;cursor:zoom-in}.design-card .design-caption{padding-bottom:4px!important}.design-cart-status{display:block;margin-top:5px;color:var(--olive);font-weight:700;font-size:12px}.design-choice-modal{position:fixed;inset:0;z-index:1200;background:rgba(13,20,17,.72);display:grid;place-items:center;padding:18px}.design-choice-modal[hidden]{display:none!important}.design-choice-card{position:relative;width:min(460px,94vw);background:#fff;border-radius:20px;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.3);display:grid;gap:18px}.choice-close{position:absolute;left:12px;top:10px;width:36px;height:36px;border:0;border-radius:50%;background:#f0eee8;font-size:25px;cursor:pointer}.design-choice-card>strong{font-size:20px;color:#263a31;padding-left:38px}.choice-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice-products .product-pick{min-height:72px}.choice-qty{display:flex;align-items:center;justify-content:space-between;gap:15px;font-weight:700}.choice-qty .qty-control{display:grid;grid-template-columns:42px 70px 42px;gap:6px}.choice-qty .qty-control button,.choice-qty .qty-control input{height:42px;border-radius:10px;text-align:center}.choice-products.needs-product{outline:2px solid #b88b54;outline-offset:5px;border-radius:12px}.selection-actions [data-cart-count]{margin-inline-start:5px}
@media(max-width:560px){.choice-products{grid-template-columns:1fr}.design-choice-card{padding:20px 16px}.selection-toolbar{gap:14px!important}.selection-actions{width:100%}.selection-actions .btn{width:100%}}

/* v53 flow polish */
#occasions{scroll-margin-top:96px}.design-cart-status{line-height:1.55!important;white-space:normal}.selection-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.theme-choice-note{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.theme-product-qtys{display:grid;gap:10px}.theme-product-qty{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #e4d9c7;border-radius:14px;padding:12px;background:#fffaf3}.theme-product-qty>span{display:grid;gap:3px}.theme-product-qty small{color:var(--muted)}.theme-product-qty .qty-control{display:grid;grid-template-columns:40px 62px 40px;gap:5px}.theme-product-qty .qty-control button,.theme-product-qty .qty-control input{height:40px;border:1px solid #d9ccb4;border-radius:9px;background:#fff;text-align:center;font:inherit}.theme-product-qtys.needs-product{outline:2px solid #b88b54;outline-offset:5px;border-radius:12px}.customize-product{display:block!important}.customize-product .btn{width:100%;text-align:center}@media(max-width:600px){.selection-actions{width:100%}.selection-actions>*{flex:1}.theme-product-qty{align-items:flex-start;flex-direction:column}.theme-product-qty .qty-control{width:100%;grid-template-columns:42px 1fr 42px}}

/* v54 fixes */
.cart-thumb{border:0;padding:0;cursor:zoom-in;overflow:hidden}
.cart-image-viewer{position:fixed;inset:0;z-index:1400;background:rgba(10,14,12,.92);display:grid;place-items:center;padding:70px 24px 34px}
.cart-image-viewer[hidden]{display:none!important}
.cart-image-viewer img{max-width:min(920px,92vw);max-height:78vh;object-fit:contain;border-radius:16px;background:#fff}
.cart-image-viewer strong{color:#fff;margin-top:14px;font-size:16px}
.cart-image-viewer button{position:absolute;top:20px;right:20px;width:46px;height:46px;border:0;border-radius:50%;background:#fff;font-size:30px;cursor:pointer}
.design-card.in-cart .design-cart-status{display:block!important}

/* v56: mouse/touch drag for the homepage slider + calm default occasion symbols */
.clean-slider-hero .hero-slider{cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.clean-slider-hero .hero-slider.dragging{cursor:grabbing}
.occasion-media.has-symbol{display:grid!important;place-items:center!important;background:linear-gradient(145deg,#f7f3e9,#eef0e8)!important;color:#435448!important;overflow:hidden!important}
.occasion-symbol{width:42%;max-width:118px;aspect-ratio:1;display:grid;place-items:center;border-radius:28px;background:rgba(255,255,255,.62);border:1px solid rgba(67,84,72,.10);box-shadow:0 10px 28px rgba(43,58,48,.06)}
.occasion-symbol svg{width:58%;height:58%;display:block}
@media(max-width:700px){.occasion-symbol{width:38%;max-width:92px;border-radius:22px}}
.storage-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.storage-stats .settings-card{display:flex;flex-direction:column;gap:8px}.storage-stats strong{font-size:1.65rem;color:#26352f}.storage-clean-card{margin-top:14px}.storage-clean-card .btn{margin-top:10px}@media(max-width:760px){.storage-stats{grid-template-columns:1fr}}
/* v61 — bulk theme design upload */
.design-upload-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bulk-design-label{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.bulk-design-label input{display:none}
.bulk-design-progress{margin:10px 0 6px;padding:10px 12px;border:1px solid rgba(84,91,62,.16);border-radius:12px;background:#faf8f1}
.bulk-design-progress[hidden]{display:none!important}
.bulk-design-progress-bar{height:7px;border-radius:99px;background:rgba(84,91,62,.12);overflow:hidden;margin-bottom:7px}
.bulk-design-progress-bar i{display:block;width:0;height:100%;background:#596044;border-radius:inherit;transition:width .18s ease}
.bulk-design-progress span{font-size:12px;color:#5b604d}
@media(max-width:700px){.design-admin-head{align-items:flex-start}.design-upload-actions{width:100%}.design-upload-actions .mini-btn{flex:1;min-height:38px}}
/* v64 responsive catalog + exact slider framing */
.clean-slider-hero .hero-slider{left:0!important;right:0!important;width:100%!important;background:#fff!important}
.clean-slider-hero .hero-slide{background-size:100% 100%!important;background-repeat:no-repeat!important;background-position:center!important}
.content-visibility-box{grid-column:1/-1;border:1px solid #ded6c8;border-radius:16px;padding:16px;background:#faf8f3;display:grid;gap:10px}.content-visibility-box h3{margin:0 0 4px}
@media(max-width:680px){.branch-grid{grid-template-columns:repeat(2,1fr)!important;gap:12px!important;max-width:none!important}.branch-card-visual .branch-media{height:auto!important;aspect-ratio:1/1!important}.branch-card-visual .branch-body{padding:15px!important}.branch-card-visual .branch-body h2{font-size:18px!important}.branch-card-visual .branch-body p{font-size:12px!important}.branch-card-visual .open-link{font-size:12px!important}.clean-slider-hero .hero-slide{background-size:cover!important}}

/* v65 — restore framed hero width; image fills frame edge-to-edge */
[hidden]{display:none!important}
.clean-slider-hero .hero-slider{top:20px!important;left:max(18px,calc((100vw - 1240px)/2))!important;right:max(18px,calc((100vw - 1240px)/2))!important;width:auto!important;height:450px!important;border-radius:26px!important;border:1px solid #e1e5de!important;box-shadow:0 12px 34px rgba(31,45,37,.09)!important;background:#f2f4ef!important;overflow:hidden!important}
.clean-slider-hero .hero-slide{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.hero-copy.hero-copy-hidden{display:none!important}
@media(max-width:700px){.clean-slider-hero .hero-slider{top:12px!important;left:12px!important;right:12px!important;width:auto!important;height:290px!important;border-radius:20px!important}.clean-slider-hero .hero-slide{background-size:cover!important}}
/* v66: two product cards side-by-side on mobile */
@media(max-width:620px){
  .home-v31 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .home-v31 .product-card{display:flex!important;flex-direction:column!important;min-width:0!important;padding:7px!important;border-radius:18px!important;min-height:0!important}
  .home-v31 .product-gallery,.home-v31 .product-gallery-track{min-height:150px!important;height:150px!important}
  .home-v31 .product-info{padding:12px 7px 10px!important;text-align:center!important}
  .home-v31 .product-info h3{font-size:17px!important;margin-bottom:5px!important}
  .home-v31 .product-info p{font-size:11px!important;line-height:1.55!important;min-height:34px!important}
  .home-v31 .price-row{margin:7px 0!important;justify-content:center!important}
  .home-v31 .price-row strong{font-size:17px!important}
  .home-v31 .size-badge{top:9px!important;right:9px!important;font-size:10px!important;padding:5px 7px!important}
}
.hero-slide-editor{height:auto!important;align-items:stretch!important;gap:8px!important;padding:10px!important}.hero-slide-editor>img{height:100px!important;object-fit:cover!important;border-radius:10px}.hero-slide-editor label{font-size:12px;text-align:right}.hero-slide-editor input,.hero-slide-editor textarea{width:100%;margin-top:4px}.hero-slide-editor .toggle-setting{display:flex!important}

.home-loading-veil{position:fixed;inset:0;z-index:99999;background:#f7f1e5;display:grid;place-items:center}.home-loading-mark{width:68px;height:68px;border:1px solid #b89b63;display:grid;place-items:center;color:#35483d;font-weight:800;letter-spacing:2px;background:#fffaf2}.home-data-loading{overflow:hidden}
/* v68 slider campaign controls */
.hero-collection-row{margin-top:14px;padding:14px;border:1px solid #ded8ca;border-radius:14px;background:#faf8f2}.collection-products{display:flex;flex-wrap:wrap;gap:10px 18px;margin:10px 0}.collection-products label{display:flex!important;align-items:center;gap:6px}.hero-slide-editor select{width:100%;min-height:40px;border:1px solid #d8d2c5;border-radius:10px;background:#fff;padding:7px}
@media(max-width:700px){.home-v31 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.home-v31 .product-card{min-width:0!important}.home-v31 .product-info{padding:12px 8px!important}.home-v31 .product-info h3{font-size:16px!important}.home-v31 .product-info p{font-size:11px!important}.home-v31 .price-row strong{font-size:17px!important}}

/* v69 theme full-order manager */
.theme-order-panel{margin:0 0 18px;padding:16px;border:1px solid var(--line,#ddd);border-radius:16px;background:#fff}.theme-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.theme-order-head p{margin:4px 0 0;color:var(--muted,#777);font-size:13px}.theme-order-list{display:grid;gap:8px}.theme-order-item{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line,#e3e0d8);border-radius:12px;background:var(--surface,#faf9f5)}.theme-order-number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;border:1px solid var(--line,#ddd);font-size:12px}.theme-order-actions{display:flex;gap:6px}@media(max-width:640px){.theme-order-head{align-items:center}.theme-order-item{grid-template-columns:30px 1fr auto;padding:9px}.theme-order-actions{gap:3px}}

.theme-sort-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.theme-sort-actions .mini-btn{flex:1;min-width:180px}

/* v69 customer catalog: compact cards + customer theme sorting */
.customer-sort-bar{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 16px}.customer-sort-bar label{font-size:13px;font-weight:800;color:var(--olive)}.customer-sort-bar select{min-width:150px;height:38px;border:1px solid #d9d1c3;border-radius:10px;background:#fff;padding:0 10px;color:var(--olive);font:inherit;font-size:13px}
.branch-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;max-width:1040px!important}.branch-card-visual .branch-body{padding:12px 9px!important}.branch-card-visual .branch-body h2{font-size:19px!important}.branch-card-visual .branch-body p{font-size:12px!important;line-height:1.5}.branch-card-visual .open-link{font-size:12px!important}
.themes-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important}.theme-card .theme-body{padding:11px 9px 12px!important}.theme-card .theme-body h2{font-size:17px!important}.theme-card .theme-body p{font-size:11px!important;line-height:1.5}.theme-card .theme-body small,.theme-card .open-link{font-size:11px!important}
.design-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}.design-card .design-caption h3{font-size:13px!important}.choose-design-btn{min-height:36px!important;font-size:12px!important;margin:6px 8px 9px!important;width:calc(100% - 16px)!important}
@media(max-width:1000px){.branch-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.themes-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.design-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:680px){.customer-sort-bar{justify-content:space-between;margin-bottom:12px}.customer-sort-bar select{min-width:140px;height:36px}.branch-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.branch-card-visual .branch-body{padding:10px 7px!important}.branch-card-visual .branch-body h2{font-size:15px!important}.branch-card-visual .branch-body p{font-size:10px!important;margin-bottom:6px!important}.branch-card-visual .open-link{font-size:10px!important}.themes-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.theme-card{border-radius:15px!important}.theme-card .theme-media{border-radius:14px 14px 0 0!important}.theme-card .theme-body{padding:8px 6px 9px!important}.theme-card .theme-body h2{font-size:13px!important;margin:2px 0 4px!important}.theme-card .theme-body p{font-size:9px!important;line-height:1.4}.theme-card .theme-body small,.theme-card .open-link{font-size:9px!important}.design-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.design-card{border-radius:12px!important}.design-card .design-caption{padding:6px!important}.design-card .design-caption h3{font-size:11px!important}.design-cart-status{font-size:9px!important}.choose-design-btn{min-height:32px!important;font-size:10px!important;padding:0 5px!important;margin:5px 6px 7px!important;width:calc(100% - 12px)!important}}

/* v69: keep MN Gallery logo visible in the top bar on all customer pages */
.reference-header .brand,
.simple-header-inner .brand{display:flex!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important;min-width:48px!important}
.reference-header .logo-placeholder,
.simple-header-inner .logo-placeholder{display:grid!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important}
.logo-placeholder.has-logo{overflow:hidden;padding:3px;background:#fff!important}
.logo-placeholder.has-logo img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
@media(max-width:700px){
  .reference-header .brand,
  .simple-header-inner .brand{min-width:40px!important;gap:7px!important}
  .reference-header .logo-placeholder,
  .simple-header-inner .logo-placeholder{width:40px!important;height:40px!important;min-width:40px!important}
  .reference-header .brand-copy,
  .simple-header-inner .brand-copy{display:none!important}
  .reference-header .nav-wrap,
  .simple-header-inner{gap:7px!important}
  .reference-header .nav-actions,
  .simple-header-inner .nav-actions{margin-inline-start:auto!important;min-width:0!important}
}

/* v69 fix: customer header logo must stay transparent (no white tile) */
.reference-header .logo-placeholder.has-logo,
.simple-header-inner .logo-placeholder.has-logo{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  padding:0!important;
}
.reference-header .logo-placeholder.has-logo img,
.simple-header-inner .logo-placeholder.has-logo img{
  background:transparent!important;
  object-fit:contain!important;
}

/* v69: easier slider administration on phones */
.hero-slide-editor{position:relative}
.hero-slide-editor .hero-replace-btn{display:inline-flex;justify-content:center;align-items:center}
@media (max-width:700px){
  #frontImageManager .front-grid{grid-template-columns:1fr!important}
  #frontImageManager .hero-admin-slide.hero-slide-editor{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;padding:12px!important;min-width:0!important;width:100%!important}
  #frontImageManager .hero-slide-editor>img{grid-column:1/-1;width:100%!important;height:auto!important;max-height:240px;object-fit:cover;border-radius:14px}
  #frontImageManager .hero-slide-editor>span{grid-column:1/2;align-self:center}
  #frontImageManager .hero-slide-editor>.hero-replace-btn{grid-column:2/3}
  #frontImageManager .hero-slide-editor>label{min-width:0;margin:0!important}
  #frontImageManager .hero-slide-editor>label:not(.toggle-setting):not(.hero-replace-btn){grid-column:1/-1}
  #frontImageManager .hero-slide-editor>.toggle-setting{grid-column:1/-1;display:flex!important;align-items:center;justify-content:flex-start;gap:10px}
  #frontImageManager .hero-slide-editor input:not([type=checkbox]),#frontImageManager .hero-slide-editor select,#frontImageManager .hero-slide-editor textarea{width:100%!important;box-sizing:border-box}
  #frontImageManager .hero-slide-editor>div{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
}
.branch-admin-item{position:relative}
.branch-order-actions{display:inline-flex;gap:4px;margin-inline-start:auto}
.branch-order-actions .branch-order-btn{padding:5px 8px;min-width:34px}
