:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1e1917;background:#f5f1ea}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.hidden{display:none!important}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.hero{min-height:560px;color:#fff;background:radial-gradient(circle at 75% 30%,rgba(255,255,255,.12),transparent 22%),linear-gradient(135deg,#321d25,#6f2838 60%,#91564b);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:12%;top:125px;width:230px;height:600px;border-radius:45% 45% 20% 20% / 15% 15% 8% 8%;background:linear-gradient(90deg,rgba(0,0,0,.24),rgba(255,255,255,.1),rgba(0,0,0,.2));transform:rotate(8deg);opacity:.35}.nav{display:flex;align-items:center;justify-content:space-between;padding:26px 0;position:relative;z-index:2}.brand,.admin-brand{font-family:Georgia,serif;font-size:24px;font-weight:700;text-decoration:none}.nav-actions{display:flex;gap:10px;align-items:center}.age-pill{border:1px solid rgba(255,255,255,.5);border-radius:999px;padding:7px 10px;font-size:13px}.cart-button{border:0;border-radius:999px;padding:10px 15px;background:#fff;color:#3a2028}.cart-button strong{background:#6d2638;color:#fff;border-radius:999px;padding:2px 7px;margin-left:5px}.hero-content{padding-top:88px;position:relative;z-index:2}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:800;color:#edd8c6;margin:0 0 12px}.eyebrow.dark{color:#825965}.hero h1,.shop-heading h2,.modal h2,.admin-top h1,.admin-login h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-.03em}.hero h1{font-size:clamp(44px,6vw,76px);line-height:.98;margin:0 0 28px;max-width:760px}.hero-content>p:not(.eyebrow){max-width:620px;font-size:18px;line-height:1.65;color:rgba(255,255,255,.82)}.primary-link,.primary,.secondary,.small-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;text-decoration:none;font-weight:800}.primary-link{background:#f2dec5;color:#4a202b;padding:14px 22px;margin-top:12px}.primary{background:#672738;color:#fff;padding:13px 18px}.primary:disabled{opacity:.4;cursor:not-allowed}.secondary{background:#fff;border:1px solid #ddd3c8;padding:10px 14px}.small-button{background:#332529;color:#fff;padding:8px 12px;font-size:13px}.shop-heading{padding:72px 0 28px;display:flex;justify-content:space-between;align-items:end;gap:22px}.shop-heading h2{font-size:52px;margin:0}.filters{display:flex;flex-wrap:wrap;gap:8px}.filters button{border:1px solid #d8cec3;background:transparent;color:#675955;border-radius:999px;padding:9px 14px}.filters button.active{background:#332529;color:#fff;border-color:#332529}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-bottom:155px}.product-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 30px rgba(60,45,38,.07)}.bottle-visual{height:250px;background:linear-gradient(145deg,#e7dfd4,#faf7f2);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.bottle-visual img{width:100%;height:100%;object-fit:cover}.bottle-placeholder{width:78px;height:205px;border-radius:28px 28px 12px 12px;background:linear-gradient(90deg,#243d32,#405947 50%,#1b3028);box-shadow:12px 10px 20px rgba(0,0,0,.18);position:relative}.bottle-placeholder:before{content:"";width:34px;height:52px;background:#314a3c;position:absolute;left:22px;top:-32px;border-radius:6px}.bottle-placeholder span{position:absolute;left:8px;right:8px;top:86px;background:#f1e7d4;color:#5a4036;padding:15px 3px;text-align:center;font-family:Georgia,serif;font-size:11px}.vintage{position:absolute;top:14px;right:14px;background:rgba(255,255,255,.92);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.product-body{padding:20px}.product-meta{text-transform:uppercase;letter-spacing:.07em;color:#8a7670;font-size:11px;font-weight:800}.product-body h3{font-family:Georgia,serif;font-size:26px;font-weight:500;margin:8px 0}.product-body p{color:#716762;line-height:1.55;min-height:48px}.product-buy{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.product-buy strong{font-size:20px}.product-buy>button{border:0;border-radius:9px;background:#6a2738;color:#fff;padding:10px 15px;font-weight:800}.stepper{display:grid;grid-template-columns:36px 36px 36px;border:1px solid #d8cec3;border-radius:9px;overflow:hidden}.stepper button{border:0;background:#f2ece4}.stepper span{display:grid;place-items:center;background:#fff;font-weight:800}.cart-dock{position:fixed;left:0;right:0;bottom:0;z-index:20;background:rgba(250,248,244,.97);backdrop-filter:blur(14px);border-top:1px solid #ded4ca;box-shadow:0 -10px 30px rgba(60,45,40,.08)}.cart-dock-inner{min-height:82px;display:grid;grid-template-columns:1fr 1fr auto;gap:24px;align-items:center}.cart-dock-inner>div:first-child{display:flex;flex-direction:column}.muted{font-size:12px;color:#8d7f79}.box-status{font-size:14px;font-weight:800;color:#7a5860}.box-status.ok{color:#2f704d}.modal{width:min(760px,calc(100% - 30px));max-height:calc(100vh - 40px);overflow:auto;border:0;border-radius:20px;padding:28px;background:#faf8f4;box-shadow:0 30px 80px rgba(0,0,0,.35)}.modal::backdrop{background:rgba(25,16,18,.68)}.modal h2{font-size:36px;margin:0 0 20px}.close{position:absolute;right:18px;top:16px;width:36px;height:36px;border-radius:50%;border:1px solid #d9d0c6;background:transparent;font-size:24px}.checkout-summary{display:grid;grid-template-columns:1fr auto;gap:6px 16px;background:#eee7dd;padding:15px;border-radius:12px;margin-bottom:18px}.checkout-form,.create-grid,.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}label{display:flex;flex-direction:column;gap:6px;color:#584d49;font-size:13px;font-weight:750}input,select,textarea{width:100%;border:1px solid #d8d0c7;border-radius:8px;background:#fff;padding:10px 11px;color:#241c1b;outline:none}input:focus,select:focus,textarea:focus{border-color:#8e5964;box-shadow:0 0 0 3px rgba(113,45,61,.08)}textarea{min-height:74px;resize:vertical}.wide{grid-column:1/-1}.optional{color:#978b87;font-weight:400}.check{flex-direction:row;align-items:center}.check input{width:auto}.alert,.success-note,.info-box{padding:12px 14px;border-radius:10px;margin:12px 0}.alert{background:#f6dedb;color:#7a2c2c;border:1px solid #edc3bd}.success-note{background:#dff1e6;color:#285e40;border:1px solid #c1dfcd}.info-box{background:#eee8df;color:#5f504a;border:1px solid #ddd3c8}.payment-modal{text-align:center;max-width:520px}.success-icon{width:54px;height:54px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#dcefe3;color:#28734c;font-size:26px;font-weight:800}.payment-total{font-family:Georgia,serif;font-size:44px;margin:12px 0}.discount-ok{color:#2f6e4c;font-weight:800}.qr{width:min(360px,100%);background:#fff;border-radius:14px;padding:8px;margin:4px auto 18px}.payment-details{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;text-align:left;background:#eee7dd;border-radius:12px;padding:16px;margin-bottom:18px}.payment-details span{color:#7c6c66}footer{background:#302326;color:#e9e0d8;padding:54px 0 120px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-grid p{color:#bfb2ad;line-height:1.6}
.admin-page{background:#f3f0ea}.admin-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.admin-sidebar{background:#292024;color:#fff;padding:28px 18px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.admin-sidebar .admin-brand{padding:0 10px}.admin-label{color:#a89b9f;font-size:11px;text-transform:uppercase;letter-spacing:.15em;padding:7px 10px 26px}.admin-sidebar nav{display:flex;flex-direction:column;gap:4px}.admin-sidebar nav button,.logout{border:0;text-align:left;border-radius:8px;padding:11px 12px;background:transparent;color:#d6cdd0}.admin-sidebar nav button.active{background:#493039;color:#fff;font-weight:800}.logout{margin-top:auto;color:#a89b9f}.admin-main{padding:34px;min-width:0}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.admin-top h1{font-size:42px;margin:2px 0 0}.admin-card{background:#fff;border:1px solid #e2dbd2;border-radius:14px;padding:20px;margin-bottom:20px;box-shadow:0 6px 20px rgba(60,45,40,.04)}.card-title{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:16px}.card-title h2{margin:0;font-size:20px}.card-title p,.card-title span{margin:5px 0 0;color:#887b76;font-size:13px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;min-width:850px}th,td{padding:10px;text-align:left;border-bottom:1px solid #eee8e1;vertical-align:middle;font-size:13px}th{color:#847571;font-size:11px;text-transform:uppercase;letter-spacing:.05em}td small{display:block;color:#948884;margin-top:4px}td select{min-width:130px}.empty{text-align:center;color:#8a7d78;padding:32px}.create-grid{grid-template-columns:repeat(4,1fr);align-items:end}.stack-list{display:flex;flex-direction:column;gap:10px}.edit-card{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr)) auto;gap:8px;align-items:end;padding:12px;border:1px solid #e9e2da;border-radius:10px}.product-edit{grid-template-columns:repeat(6,minmax(110px,1fr))}.product-edit .wide{grid-column:span 3}.settings-section{display:grid;grid-template-columns:240px 1fr;gap:28px;padding:12px 0 28px;border-bottom:1px solid #eee8e1;margin-bottom:24px}.settings-section h2{margin:0 0 6px}.settings-section p{color:#887b76;font-size:13px;line-height:1.5;margin:0}.settings-save{margin-left:268px}.admin-login{min-height:100vh;display:grid;place-items:center;padding:20px;background:#2c2226}.admin-login form{width:min(440px,100%);background:#f8f5f0;border-radius:18px;padding:32px}.admin-login h1{font-size:42px;margin:4px 0 12px}.admin-login p{color:#756763;line-height:1.55}.admin-login input{margin:8px 0 12px}.admin-login .primary{width:100%}.back-link{display:inline-block;margin-bottom:24px;color:#76545b}code{background:#ebe3da;border-radius:5px;padding:2px 5px;font-size:.9em}
@media(max-width:1000px){.product-grid{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static;height:auto}.admin-sidebar nav{display:grid;grid-template-columns:repeat(2,1fr)}.logout{margin-top:14px}.edit-card,.product-edit{grid-template-columns:repeat(2,1fr)}.product-edit .wide{grid-column:1/-1}.create-grid{grid-template-columns:repeat(2,1fr)}.settings-section{grid-template-columns:1fr;gap:14px}.settings-save{margin-left:0}}
@media(max-width:650px){.wrap{width:calc(100% - 24px)}.hero{min-height:520px}.hero:after{right:-80px;opacity:.25}.hero-content{padding-top:70px}.hero h1{font-size:46px}.shop-heading{padding-top:48px;align-items:start;flex-direction:column}.shop-heading h2{font-size:42px}.product-grid{grid-template-columns:1fr;gap:14px}.cart-dock-inner{grid-template-columns:1fr;gap:5px;padding:10px 0}.cart-dock-inner .primary{width:100%}.checkout-form,.create-grid,.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.footer-grid{grid-template-columns:1fr;gap:18px}.modal{padding:22px 16px}.admin-main{padding:18px 12px}.admin-top{align-items:start;flex-direction:column}.admin-top h1{font-size:34px}.admin-sidebar nav{grid-template-columns:1fr}.edit-card,.product-edit{grid-template-columns:1fr}.product-edit .wide{grid-column:auto}.settings-section{padding-bottom:18px}}

.order-edit{grid-template-columns:minmax(240px,2fr) minmax(160px,1fr) minmax(160px,1fr) auto}.order-summary{display:flex;flex-direction:column;gap:4px}.order-summary small{color:#8b7d78}.order-summary strong{font-size:16px}@media(max-width:700px){.order-edit{grid-template-columns:1fr}}

/* Vinařství Jakub Jambor — brand layer v0.4 */
:root{--jj-gold:#9b7e30;--jj-ink:#151515;--jj-cream:#f5f1e8;--jj-paper:#fbf9f4;--jj-muted:#706b62;--jj-line:#ded7c9;color:#1d1c19;background:var(--jj-cream)}
body{background:var(--jj-cream);color:#1d1c19}
.jj-hero{min-height:680px;background:radial-gradient(circle at 73% 32%,rgba(155,126,48,.22),transparent 24%),linear-gradient(125deg,#101010 0%,#1c1c1a 58%,#2a261d 100%)}
.jj-hero:after{display:none}
.jj-nav{border-bottom:1px solid rgba(255,255,255,.16);padding:20px 0}
.brand-logo img{display:block;width:66px;height:60px;object-fit:contain}
.nav-links{display:flex;gap:30px;margin-left:auto;margin-right:30px}.nav-links a{text-decoration:none;color:rgba(255,255,255,.78);font-size:14px;letter-spacing:.04em}.nav-links a:hover{color:#fff}
.jj-hero-content{padding-top:105px;padding-bottom:125px}.jj-hero h1{font-size:clamp(54px,7.4vw,96px);max-width:900px;line-height:.94}.jj-hero-content>p:not(.eyebrow){max-width:620px;color:rgba(255,255,255,.76)}
.eyebrow{color:#c5ac63}.eyebrow.dark{color:var(--jj-gold)}
.primary-link,.primary{background:var(--jj-gold);color:#fff;border-radius:0}.primary-link{padding:15px 24px}.primary:hover,.primary-link:hover{filter:brightness(.94)}
.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.hero-actions span{font-size:13px;color:rgba(255,255,255,.55);letter-spacing:.04em}
.hero-signature{position:absolute;right:max(3vw,35px);bottom:55px;width:min(360px,32vw);height:auto;opacity:.12;pointer-events:none}
.cart-button{border-radius:0;background:#fff;color:#151515}.cart-button strong{background:var(--jj-gold)}.age-pill{border-radius:0;border-color:rgba(197,172,99,.65);color:#d8c588}
.shop-heading{padding-top:88px}.shop-heading h2{font-size:clamp(46px,5vw,66px)}.section-lead{max-width:560px;color:var(--jj-muted);font-size:16px;line-height:1.65}
.filters button{border-radius:0;border-color:#cfc6b4}.filters button.active{background:#171715;border-color:#171715}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-bottom:80px}.product-card{border-radius:0;box-shadow:none;border:1px solid #e1d9ca;background:var(--jj-paper)}
.bottle-visual{height:330px;background:linear-gradient(145deg,#e9e3d6,#faf8f2)}.bottle-visual>img{object-fit:contain;padding:16px}.vintage{border-radius:0;background:#171715;color:#fff;top:12px;right:12px}
.bottle-placeholder{width:92px;height:245px;background:linear-gradient(90deg,#17231c,#2d4032 48%,#132018);border-radius:30px 30px 10px 10px}.bottle-placeholder:before{width:38px;height:58px;left:27px;background:#213126}.bottle-placeholder img{position:absolute!important;width:62px!important;height:58px!important;object-fit:contain!important;padding:0!important;left:15px;top:60px;opacity:.95}.bottle-placeholder span{top:135px;background:#f5efe1;color:#2b2923;padding:16px 4px;font-family:Georgia,serif}
.product-body{padding:20px 20px 22px}.product-meta{color:#81765d}.product-body h3{font-size:28px}.product-body h3 span{color:#9b8d6a;font-size:.78em}.product-body p{min-height:44px}.stock-line{font-size:12px;color:#756f63;margin-top:8px}.product-buy>button,.small-button{background:#1c1c1a;border-radius:0}.stepper{border-radius:0}.stepper button{background:#ece5d7}
.info-section{border-top:1px solid var(--jj-line);border-bottom:1px solid var(--jj-line);padding:58px 0 170px;display:grid;grid-template-columns:1fr 1fr;gap:48px}.info-section h2{font-family:Georgia,serif;font-weight:500;font-size:48px;margin:0}.info-section-copy{color:var(--jj-muted);font-size:16px;line-height:1.7}
.cart-dock{background:rgba(247,243,234,.96);border-color:#d7cfbd}.box-status{color:#7d6c45}.box-status.ok{color:#3f704f}
.modal{border-radius:0;background:var(--jj-paper)}.close{border-radius:0}.checkout-summary{border-radius:0;background:#eee8db}.delivery-choice{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-choice legend{font-weight:800;font-size:13px;margin-bottom:8px}.choice-card{border:1px solid #d8d0bf;background:#fff;padding:13px;display:flex;flex-direction:row;align-items:center;gap:10px;cursor:pointer}.choice-card input{width:auto}.choice-card span{display:flex;flex-direction:column;gap:3px}.choice-card small{color:#857d6d;font-weight:400}.choice-card:has(input:checked){border-color:var(--jj-gold);box-shadow:inset 0 0 0 1px var(--jj-gold)}.nested-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkout-notice{background:#eee8db;border-left:3px solid var(--jj-gold);padding:12px 14px;color:#635d51;font-size:13px;line-height:1.55}.payment-details{border-radius:0;background:#eee8db}.qr{border-radius:0}
.jj-footer{background:#11110f;padding-top:48px}.footer-brand{display:flex;align-items:center;justify-content:space-between;padding-bottom:38px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:36px}.footer-brand img:first-child{width:74px;height:68px}.footer-brand img:last-child{width:230px;height:auto;opacity:.65}.footer-grid a{color:#c7ad62}
.admin-sidebar{background:#151513}.admin-sidebar nav button.active{background:#3b3422}.admin-brand{color:#c7ad62}.admin-login{background:#151513}.info-box{background:#eee8db;border-color:#ddd2bc}.secondary{border-radius:0}.admin-card{border-radius:0}.form-grid input,.form-grid select,.create-grid input,.edit-card input,.edit-card select{border-radius:0}
@media(max-width:850px){.nav-links{display:none}.product-grid{grid-template-columns:repeat(2,1fr)}.hero-signature{width:48vw}.info-section{grid-template-columns:1fr;gap:18px}.delivery-choice{grid-template-columns:1fr}}
@media(max-width:650px){.jj-hero{min-height:610px}.brand-logo img{width:58px;height:53px}.jj-hero-content{padding-top:75px;padding-bottom:110px}.jj-hero h1{font-size:54px}.hero-actions span{display:none}.hero-signature{right:18px;bottom:40px;width:68vw}.product-grid{grid-template-columns:1fr}.bottle-visual{height:360px}.info-section{padding-bottom:165px}.nested-grid{grid-template-columns:1fr}.footer-brand img:last-child{width:170px}}
.admin-logo{display:block;padding:2px 10px 12px!important}.admin-logo img{width:64px;height:60px;object-fit:contain;display:block}

.danger-button{background:#7b2f2b!important}.discount-edit{grid-template-columns:repeat(6,minmax(110px,1fr)) auto auto}.discount-edit .wide{grid-column:span 3}@media(max-width:1000px){.discount-edit{grid-template-columns:repeat(2,1fr)}.discount-edit .wide{grid-column:1/-1}}@media(max-width:650px){.discount-edit{grid-template-columns:1fr}.discount-edit .wide{grid-column:auto}}

/* =========================================================
   Vinařství Jakub Jambor — v0.6 redesign from jakubjambor.cz
   Visual language only; no Bootstrap/jQuery/SAL dependencies.
   ========================================================= */
:root{--gold:#daa520;--teal:#64a19d;--black:#000;--ink:#181818;--paper:#fff;--light:#f8f9fa;--muted:#6c757d;--line:#e6e6e6;--admin-bg:#f5f5f3;font-family:'Nunito',Arial,sans-serif;color:var(--ink);background:#fff}
html{scroll-behavior:smooth}body{font-family:'Nunito',Arial,sans-serif;background:#fff;color:var(--ink);line-height:1.5}.wrap{width:min(1140px,calc(100% - 40px));margin-inline:auto}.shop-page{padding-bottom:82px}.shop-page h1,.shop-page h2,.shop-page h3,.admin-page h1,.admin-page h2{font-family:'Nunito',Arial,sans-serif;letter-spacing:normal}.eyebrow{font-size:.74rem;text-transform:uppercase;letter-spacing:.16rem;font-weight:700;color:var(--gold);margin:0 0 12px}.eyebrow.dark{color:var(--gold)}

/* Header copied in spirit from the original masthead */
.masthead-shop{position:relative;min-height:100vh;background:url('/assets/site/hp/viticulture.webp') center center/cover no-repeat;color:#fff;overflow:hidden;display:flex;align-items:center}.masthead-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(4,32,52,.25) 0,rgba(0,0,0,.5) 72%,#000 100%);z-index:0}.masthead-content{position:relative;z-index:2;text-align:center;display:flex;flex-direction:column;align-items:center;padding:150px 0 110px}.masthead-logo{width:min(620px,88vw);height:auto;filter:drop-shadow(0 8px 24px rgba(0,0,0,.2))}.masthead-quote{max-width:680px;margin:48px auto 30px;color:var(--gold);font-size:clamp(1.05rem,2vw,1.3rem);font-weight:400}.masthead-rule{font-size:.82rem;color:rgba(255,255,255,.58);margin:22px 0 0;letter-spacing:.02em}.hero-cta,.primary,.primary-link,.small-button,.secondary,.danger-button{border-radius:0;text-transform:uppercase;letter-spacing:.14rem;font-size:.76rem;font-weight:700;transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease}.hero-cta{display:inline-flex;align-items:center;justify-content:center;padding:1.15rem 1.8rem;background:var(--teal);color:#fff;text-decoration:none;border:0;box-shadow:0 .1875rem .1875rem rgba(0,0,0,.1)}.hero-cta:hover{background:#4f837f;transform:translateY(-1px)}

/* Original-site nav behavior: transparent over hero, white after scroll */
.site-nav{position:fixed;top:0;left:0;right:0;z-index:50;background:transparent;transition:background-color .3s ease,box-shadow .3s ease}.nav-inner{min-height:78px;display:flex;align-items:center}.site-brand{display:flex;align-items:center;width:64px;opacity:0;transform:translateY(-4px);transition:opacity .25s ease,transform .25s ease;margin-right:auto}.site-brand img{display:block;width:60px;height:54px;object-fit:contain}.site-links{display:flex;align-items:stretch}.site-links a{position:relative;display:flex;align-items:center;min-height:78px;padding:0 22px;color:rgba(255,255,255,.58);text-decoration:none;font-size:.9rem;transition:color .2s ease}.site-links a:hover,.site-links a.active{color:#fff}.site-links a.active:after{content:'';position:absolute;left:22px;right:22px;bottom:0;height:4px;background:transparent}.nav-actions{display:flex;align-items:center;gap:9px;margin-left:14px}.age-pill{padding:7px 9px;border:1px solid rgba(255,255,255,.35);color:rgba(255,255,255,.72);font-size:.72rem}.cart-button{border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.18);color:#fff;padding:10px 13px;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:700}.cart-button strong{background:var(--gold);color:#fff;padding:2px 7px;margin-left:5px}.site-nav.navbar-shrink{background:#fff;box-shadow:0 4px 20px rgba(0,0,0,.06)}.site-nav.navbar-shrink .site-brand{opacity:1;transform:none}.site-nav.navbar-shrink .site-links a{color:#111}.site-nav.navbar-shrink .site-links a:hover,.site-nav.navbar-shrink .site-links a.active{color:var(--gold)}.site-nav.navbar-shrink .site-links a.active:after{background:var(--gold)}.site-nav.navbar-shrink .age-pill{color:var(--gold);border-color:var(--gold)}.site-nav.navbar-shrink .cart-button{background:#111;color:#fff;border-color:#111}

/* Store section uses the original grapes pattern and roomy project rhythm */
.shop-intro{position:relative;overflow:hidden;background:var(--light);padding:0 0 90px}.shop-intro:before{content:'';position:absolute;inset:0;opacity:.055;background:linear-gradient(to top,rgba(255,255,255,.9) 0,transparent 18%),url('/assets/site/hp/grapes.svg') center top/cover no-repeat;pointer-events:none}.shop-intro>.wrap{position:relative;z-index:1}.shop-heading{padding:9rem 0 3.2rem;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);gap:50px;align-items:end}.shop-heading h1{font-size:clamp(2.5rem,5vw,4.2rem);line-height:1.05;font-weight:400;margin:0 0 18px;color:#111}.section-lead{max-width:650px;font-size:1.06rem;line-height:1.75;color:rgba(0,0,0,.55);margin:0}.filters{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.filters button{border:0;border-bottom:3px solid transparent;background:transparent;color:#555;padding:11px 13px;text-transform:uppercase;letter-spacing:.1rem;font-weight:700;font-size:.68rem}.filters button:hover{color:var(--gold)}.filters button.active{background:transparent;color:var(--gold);border-bottom-color:var(--gold)}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:0}.product-card{background:#fff;border:0;border-bottom:4px solid transparent;box-shadow:0 .2rem .5rem rgba(0,0,0,.06);overflow:hidden;transition:transform .45s ease,box-shadow .45s ease,border-color .3s ease}.product-card:hover{transform:translateY(-5px);box-shadow:0 .8rem 2rem rgba(0,0,0,.11);border-bottom-color:var(--gold)}.bottle-visual{height:365px;background:linear-gradient(145deg,#efefed,#fff);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.bottle-visual>img{width:100%;height:100%;object-fit:contain;padding:20px;transition:transform .6s ease}.product-card:hover .bottle-visual>img{transform:scale(1.045)}.vintage{position:absolute;top:16px;right:16px;padding:7px 9px;border:0;background:#000;color:#fff;text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;font-weight:700}.bottle-placeholder{width:92px;height:245px;background:linear-gradient(90deg,#17231c,#2d4032 48%,#132018);border-radius:30px 30px 10px 10px;position:relative;box-shadow:10px 18px 26px rgba(0,0,0,.15)}.bottle-placeholder:before{content:'';width:38px;height:58px;left:27px;top:-38px;background:#213126;position:absolute;border-radius:5px}.bottle-placeholder img{position:absolute!important;width:62px!important;height:58px!important;object-fit:contain!important;padding:0!important;left:15px;top:55px;opacity:.95}.bottle-placeholder span{position:absolute;top:132px;left:8px;right:8px;background:#f5efe1;color:#2b2923;padding:16px 4px;text-align:center;font-size:.65rem}.product-body{padding:28px 28px 26px}.product-meta{text-transform:uppercase;letter-spacing:.12rem;color:var(--gold);font-size:.67rem;font-weight:700}.product-body h3{font-size:1.6rem;font-weight:400;margin:8px 0 10px;color:#111}.product-body h3 span{font-size:.78em;color:#888}.product-body p{color:rgba(0,0,0,.55);line-height:1.6;min-height:52px;margin-bottom:10px}.stock-line{font-size:.73rem;color:#888}.product-buy{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px}.product-buy strong{font-size:1.2rem;font-weight:700}.product-buy>button,.small-button{border:0;background:#111;color:#fff;padding:12px 15px}.product-buy>button:hover,.small-button:hover{background:var(--gold)}.stepper{display:grid;grid-template-columns:38px 38px 38px;border:1px solid #ddd;overflow:hidden}.stepper button{border:0;background:#f3f3f3;color:#111;font-size:1.1rem}.stepper button:hover{background:#e5e5e5}.stepper span{display:grid;place-items:center;background:#fff;font-weight:700}

.shipping-story{background:#fff;padding:8rem 0 9rem}.shipping-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:start}.shipping-story-title{border-left:.5rem solid var(--gold);padding-left:2rem}.shipping-story-title h2{font-size:clamp(2.6rem,5vw,4rem);font-weight:400;line-height:1.05;margin:0}.shipping-story-copy{font-size:1.05rem;line-height:1.8;color:rgba(0,0,0,.58)}.shipping-story-copy p{margin:0 0 1.3rem}.shipping-note{font-size:.9rem;color:#777;border-top:1px solid #eee;padding-top:1.3rem}
.brand-bridge{position:relative;min-height:520px;background:url('/assets/site/footer/bg.webp') center center/cover no-repeat;display:grid;place-items:center;text-align:center;color:#fff}.brand-bridge-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(255,255,255,.05),rgba(0,0,0,.45) 45%,#000 100%)}.brand-bridge-content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}.brand-bridge-content img{width:min(360px,70vw);opacity:.95}.brand-bridge-content p{margin:20px 0 24px;font-size:1.1rem;color:rgba(255,255,255,.75)}.brand-bridge-content a{color:var(--gold);text-transform:uppercase;letter-spacing:.15rem;font-size:.75rem;font-weight:700;text-decoration:none;border-bottom:1px solid var(--gold);padding-bottom:4px}

/* Cart / checkout remain intentionally pragmatic */
.cart-dock{background:rgba(255,255,255,.97);border-top:1px solid #e5e5e5;box-shadow:0 -8px 28px rgba(0,0,0,.06);backdrop-filter:blur(12px)}.cart-dock-inner{min-height:82px}.muted{color:#888}.box-status{color:#777}.box-status.ok{color:#34734f}.primary{background:var(--teal);color:#fff;border:0;padding:14px 18px}.primary:hover:not(:disabled){background:#4f837f}.primary:disabled{opacity:.38}.secondary{background:#fff;border:1px solid #ddd;color:#111;padding:11px 14px}.secondary:hover{border-color:var(--gold);color:var(--gold)}.modal{border-radius:0;background:#fff;border:0;box-shadow:0 30px 90px rgba(0,0,0,.32)}.modal h2{font-weight:400}.close{border-radius:0;border:1px solid #ddd}.checkout-summary,.payment-details{border-radius:0;background:#f5f5f3}.checkout-form label{color:#555}.checkout-form input,.checkout-form select,.checkout-form textarea,.admin-page input,.admin-page select,.admin-page textarea{border-radius:0;border:1px solid #d8d8d8}.checkout-form input:focus,.checkout-form select:focus,.checkout-form textarea:focus,.admin-page input:focus,.admin-page select:focus,.admin-page textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(218,165,32,.10)}.delivery-choice{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.delivery-choice legend{font-weight:700;font-size:.8rem;margin-bottom:8px}.choice-card{border:1px solid #ddd;background:#fff;padding:14px;display:flex;flex-direction:row;align-items:center;gap:10px;cursor:pointer}.choice-card input{width:auto}.choice-card span{display:flex;flex-direction:column;gap:3px}.choice-card small{color:#888;font-weight:400}.choice-card:has(input:checked){border-color:var(--gold);box-shadow:inset 0 0 0 1px var(--gold)}.nested-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checkout-notice{background:#f6f4ee;border-left:4px solid var(--gold);padding:13px 15px;color:#666;font-size:.83rem;line-height:1.55}.success-icon{background:#e5f0ec;color:var(--teal)}.payment-total{font-family:'Nunito',Arial,sans-serif;font-size:2.8rem;font-weight:400}.qr{border-radius:0}

/* Footer follows the photographic original-site ending */
.jj-footer{position:relative;background:#000 url('/assets/site/footer/bg.webp') center bottom/cover no-repeat;color:#fff;padding:80px 0 125px;overflow:hidden}.footer-backdrop{position:absolute;inset:0;background:linear-gradient(to bottom,#000 0,rgba(0,0,0,.78) 25%,rgba(0,0,0,.82) 100%)}.footer-layout{position:relative;z-index:1;display:grid;grid-template-columns:290px 1fr;gap:70px;align-items:end}.footer-portrait{align-self:end}.footer-portrait img{display:block;width:100%;max-height:420px;object-fit:cover;object-position:center top;filter:saturate(.8)}.footer-content{padding-bottom:12px}.footer-logo{width:150px;height:auto}.footer-signature{display:block;width:min(330px,70%);margin:24px 0 34px;opacity:.75}.footer-grid{display:grid;grid-template-columns:1.35fr .9fr .9fr 1.25fr;gap:32px;padding-top:30px;border-top:1px solid rgba(255,255,255,.15)}.footer-grid strong{font-size:.78rem;text-transform:uppercase;letter-spacing:.12rem;color:#fff}.footer-grid p{color:rgba(255,255,255,.52);line-height:1.7;font-size:.88rem}.footer-grid a{color:var(--gold);text-decoration:none}.footer-grid a:hover{text-decoration:underline}

/* Reveal animation inspired by SAL, implemented natively */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .85s cubic-bezier(.2,.7,.2,1),transform .85s cubic-bezier(.2,.7,.2,1)}.reveal.delay-1{transition-delay:.12s}.reveal.delay-2{transition-delay:.22s}.reveal.is-visible{opacity:1;transform:none}.product-card.reveal:nth-child(3n+2){transition-delay:.07s}.product-card.reveal:nth-child(3n+3){transition-delay:.14s}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.product-card,.bottle-visual>img,.hero-cta{transition:none}}

/* Admin: same brand, deliberately more utilitarian */
.admin-page{background:var(--admin-bg);font-family:'Nunito',Arial,sans-serif}.admin-sidebar{background:#000;color:#fff}.admin-sidebar nav button,.logout{border-radius:0}.admin-sidebar nav button.active{background:var(--gold);color:#000}.admin-brand img{width:64px}.admin-label{color:#777}.admin-top h1,.admin-login h1{font-family:'Nunito',Arial,sans-serif;font-weight:400}.admin-card{border-radius:0;box-shadow:none;border:1px solid #e0e0dd}.info-box{border-radius:0;background:#fffaf0;border-color:#eadba7}.admin-login{background:#000 url('/assets/site/hp/viticulture.webp') center/cover no-repeat;position:relative}.admin-login:before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.76)}.admin-login form{position:relative;z-index:1;border-radius:0;background:#fff}.back-link{color:#666}.danger-button{background:#7d2d2d!important;color:#fff}.danger-button:hover{background:#632020!important}

@media(max-width:1050px){.site-links a{padding-inline:13px}.shop-heading{grid-template-columns:1fr;gap:28px}.filters{justify-content:flex-start}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-layout{grid-template-columns:230px 1fr;gap:40px}}
@media(max-width:820px){.site-links{display:flex}.site-links a{padding-inline:10px;font-size:.78rem}.site-brand{opacity:1;transform:none}.site-nav{background:rgba(0,0,0,.2)}.site-nav.navbar-shrink{background:#fff}.masthead-shop{min-height:760px}.shipping-story-grid{grid-template-columns:1fr;gap:44px}.shipping-story-title{padding-left:1.5rem}.footer-layout{grid-template-columns:1fr}.footer-portrait{display:none}.footer-grid{grid-template-columns:1fr 1fr}.delivery-choice{grid-template-columns:1fr}}
@media(max-width:650px){.wrap{width:calc(100% - 28px)}.shop-page{padding-bottom:136px}.nav-inner{min-height:68px}.site-brand{width:52px}.site-brand img{width:50px;height:46px}.age-pill{display:none}.cart-button{padding:9px 10px}.masthead-shop{min-height:690px}.masthead-content{padding:130px 0 80px}.masthead-logo{width:92vw}.masthead-quote{margin-top:35px;font-size:1rem}.masthead-rule{max-width:300px}.shop-heading{padding:6.5rem 0 2.2rem}.shop-heading h1{font-size:2.7rem}.product-grid{grid-template-columns:1fr;gap:18px}.bottle-visual{height:390px}.product-body{padding:24px}.shipping-story{padding:6rem 0 7rem}.shipping-story-title h2{font-size:2.8rem}.brand-bridge{min-height:430px}.cart-dock-inner{grid-template-columns:1fr;gap:5px;padding:10px 0}.cart-dock-inner .primary{width:100%}.checkout-form,.nested-grid{grid-template-columns:1fr}.wide{grid-column:auto}.footer-grid{grid-template-columns:1fr}.jj-footer{padding-top:65px}.footer-signature{width:85%}.admin-main{padding:18px 12px}}

/* v0.6.1 – product image upload in admin */
.product-image-upload{display:grid;grid-template-columns:120px minmax(220px,1fr);gap:16px;align-items:center;padding:12px;background:#faf9f5;border:1px solid #e5e1d7}
.product-image-preview{width:120px;height:150px;display:grid;place-items:center;background:#fff;border:1px solid #dedbd4;overflow:hidden;color:#8a8580;font-size:12px;text-align:center}
.product-image-preview img{display:block;width:100%;height:100%;object-fit:contain}
.product-image-controls{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.product-image-controls label{width:100%}.product-image-controls input[type=file]{background:#fff;padding:8px}
.product-image-controls small{color:#7f7a73;line-height:1.45}.image-clear{background:#6b625d}.image-clear:disabled{opacity:.35;cursor:not-allowed}
@media(max-width:650px){.product-image-upload{grid-template-columns:1fr}.product-image-preview{width:100%;height:220px}}

.footer-info-links p{display:flex;flex-direction:column;gap:7px}.footer-info-links p br{display:none}

/* v0.6.3 – information / legal pages */
.info-page{background:#fff;color:#181818;font-family:'Nunito',Arial,sans-serif;padding:0}.info-page .site-nav{background:#fff;box-shadow:0 4px 20px rgba(0,0,0,.06)}.info-page .site-brand{opacity:1;transform:none}.info-page .site-links a{color:#111}.info-page .site-links a:hover{color:var(--gold)}.info-hero{background:#000 url('/assets/site/hp/viticulture.webp') center 58%/cover no-repeat;color:#fff;position:relative;margin-top:0}.info-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.58),rgba(0,0,0,.86))}.info-hero-inner{position:relative;z-index:1;padding:155px 0 78px}.info-hero .eyebrow{color:var(--gold)}.info-hero h1{font-size:clamp(2.7rem,6vw,5rem);font-weight:400;line-height:1.02;margin:0;max-width:900px}.info-back{display:inline-block;margin-top:28px;color:rgba(255,255,255,.72);text-decoration:none;font-size:.82rem;text-transform:uppercase;letter-spacing:.12rem}.info-back:hover{color:var(--gold)}.info-main{background:#fff}.info-article{max-width:960px;padding:72px 0 105px;line-height:1.78}.info-article-narrow{max-width:820px}.info-article section+section{margin-top:58px;padding-top:50px;border-top:1px solid #e7e3db}.info-article h2{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:400;line-height:1.2;margin:2.4rem 0 1rem;color:#111}.info-article>h2:first-of-type{margin-top:2rem}.info-article h3{font-size:1.05rem;margin:1.8rem 0 .5rem;color:#111}.info-article p{margin:.7rem 0 1.2rem;color:#555}.info-article ul,.info-article ol{color:#555;padding-left:1.5rem}.info-article li{margin:.35rem 0}.legal-intro{background:#f7f5ef;border-left:5px solid var(--gold);padding:22px 24px;margin:0 0 42px;line-height:1.75}.legal-text h2{border-top:1px solid #e7e3db;padding-top:34px;margin-top:44px;font-size:1.55rem;letter-spacing:.02em}.legal-text h2:first-of-type{border-top:0;padding-top:0}.legal-text p strong:first-child{color:#222}.info-callout{margin:28px 0;background:#f7f5ef;border-left:5px solid var(--gold);padding:18px 20px;color:#555}.table-wrap{overflow-x:auto;margin:24px 0}.info-table{width:100%;border-collapse:collapse;min-width:520px}.info-table th,.info-table td{text-align:left;padding:16px 14px;border-bottom:1px solid #e4e0d8}.info-table th{background:#111;color:#fff;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem}.info-table td:last-child{font-weight:700}.info-note{font-size:.84rem!important;color:#888!important}.info-footer{padding-bottom:80px}.info-footer .footer-info-links p{display:flex;flex-direction:column;gap:7px}.checkout-form .check a{color:var(--gold);text-decoration:underline}.checkout-form .check a:hover{color:#111}@media(max-width:650px){.info-hero-inner{padding:125px 0 58px}.info-article{padding:48px 0 78px}.info-article h2{font-size:1.65rem}.legal-text h2{font-size:1.35rem}.legal-intro{padding:18px}.info-page .site-links a{font-size:.72rem}}


/* v0.6.5 – age gate and order packing detail */
.age-gate{width:min(590px,calc(100% - 30px));border:0;padding:0;background:#fff;color:#111;box-shadow:0 35px 110px rgba(0,0,0,.55)}
.age-gate::backdrop{background:rgba(0,0,0,.88);backdrop-filter:blur(4px)}
.age-gate-inner{padding:44px;text-align:center}.age-gate-inner>img{width:92px;margin:0 auto 28px}.age-gate h2{font-size:clamp(2rem,5vw,3.2rem);font-weight:400;margin:.5rem 0 1rem}.age-gate p:not(.eyebrow){color:#666;line-height:1.7;max-width:430px;margin:0 auto 28px}.age-gate-actions{display:grid;grid-template-columns:1fr;gap:10px;max-width:360px;margin:auto}.age-gate .secondary{color:#333}
.order-detail-toggle{border:0;background:transparent;color:#8a6919;padding:6px 0 0;text-align:left;font-weight:700;text-decoration:underline;text-underline-offset:3px}.order-detail{margin-top:14px;padding-top:18px;border-top:1px solid #e2ded5}.order-detail-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.8fr);gap:28px}.order-detail h3{margin:0 0 8px;font-size:.82rem;text-transform:uppercase;letter-spacing:.09em;color:#777}.order-detail p{margin:0 0 18px;line-height:1.65;color:#45413e}.order-detail a{color:#8a6919}.order-items-wrap{overflow-x:auto}.order-items-table{width:100%;border-collapse:collapse;min-width:520px}.order-items-table th,.order-items-table td{padding:10px 9px;border-bottom:1px solid #ece8df;text-align:left}.order-items-table th{font-size:.72rem;text-transform:uppercase;letter-spacing:.07em;color:#777}.order-items-table td:nth-child(n+2),.order-items-table th:nth-child(n+2){text-align:right}.order-totals{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:flex-end;margin-top:18px;padding-top:14px;border-top:1px solid #ece8df}.order-totals span{color:#777}.order-totals strong{color:#111;margin-left:6px}
@media(max-width:760px){.age-gate-inner{padding:34px 22px}.order-detail-grid{grid-template-columns:1fr}.order-items-table{min-width:480px}}

/* v0.6.7 – okamžitý náhled slevového kódu */
.discount-code-block{display:flex;flex-direction:column;gap:6px}
.discount-code-row{display:grid;grid-template-columns:1fr auto;gap:10px}
.discount-code-row .secondary{min-width:104px}
.discount-preview{margin:2px 0 0;font-size:.86rem;line-height:1.45;color:#666}
.discount-preview-ok{color:#2f6e4c;font-weight:700}
.discount-preview-error{color:#8a302a;font-weight:700}
.checkout-summary .summary-discount{color:#2f6e4c;font-weight:700}
.checkout-summary .summary-total{font-size:1.02rem;font-weight:800;border-top:1px solid #ddd8cd;padding-top:8px;margin-top:3px}
@media(max-width:650px){.discount-code-row{grid-template-columns:1fr}.discount-code-row .secondary{width:100%}}

/* v0.6.8 – katalog: filtry cukernatosti/ročníku a řazení */
.catalog-controls{display:flex;flex-direction:column;align-items:flex-end;gap:18px;min-width:min(100%,520px)}
.catalog-selects{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;width:100%}
.catalog-control{min-width:150px;flex:1 1 150px;gap:7px!important;color:#666!important;font-size:.66rem!important;text-transform:uppercase;letter-spacing:.09rem;font-weight:700!important}
.catalog-control select{min-height:42px;background:#fff;border:1px solid #d5d1c8!important;color:#222;padding:9px 32px 9px 10px;text-transform:none;letter-spacing:0;font-size:.82rem;font-weight:600}
.catalog-control select:focus{border-color:var(--gold)!important;box-shadow:0 0 0 3px rgba(218,165,32,.10)!important}
.catalog-empty{grid-column:1/-1;padding:70px 20px;text-align:center;color:#777;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
@media(max-width:1050px){.catalog-controls{align-items:flex-start;min-width:0;width:100%}.catalog-selects{justify-content:flex-start}.catalog-control{max-width:220px}}
@media(max-width:620px){.catalog-selects{display:grid;grid-template-columns:1fr;width:100%}.catalog-control{max-width:none;width:100%}.catalog-control select{width:100%}}
/* v0.6.9 – přepínání mřížka / seznam */
.catalog-view-control{display:flex;flex-direction:column;gap:7px;flex:1 1 205px;min-width:205px;color:#666;font-size:.66rem;text-transform:uppercase;letter-spacing:.09rem;font-weight:700}
.view-toggle{display:grid;grid-template-columns:1fr 1fr;border:1px solid #d5d1c8;background:#fff;min-height:42px}
.view-toggle button{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:#fff;color:#555;padding:8px 12px;font-size:.76rem;font-weight:700;transition:background .2s ease,color .2s ease}
.view-toggle button+button{border-left:1px solid #d5d1c8}
.view-toggle button:hover{background:#f6f3ed;color:#111}
.view-toggle button.active{background:#111;color:#fff}
.view-icon{display:inline-grid;width:16px;height:16px;flex:0 0 16px}
.view-icon-grid{grid-template-columns:repeat(2,6px);grid-template-rows:repeat(2,6px);gap:2px;place-content:center}
.view-icon-grid i{display:block;background:currentColor}
.view-icon-list{grid-template-rows:repeat(3,3px);gap:2px;align-content:center}
.view-icon-list i{display:block;background:currentColor}
.product-grid.product-list{display:flex;flex-direction:column;gap:12px}
.product-grid.product-list .catalog-empty{width:100%}
.product-grid.product-list .product-card{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:170px;border:1px solid #e1ddd5;border-bottom:1px solid #e1ddd5;box-shadow:none;transform:none}
.product-grid.product-list .product-card:hover{transform:none;box-shadow:0 .35rem 1.1rem rgba(0,0,0,.07);border-bottom-color:#e1ddd5}
.product-grid.product-list .bottle-visual{height:170px;min-height:170px;border-right:1px solid #eee9df}
.product-grid.product-list .bottle-visual>img{padding:10px}
.product-grid.product-list .bottle-placeholder{transform:scale(.55)}
.product-grid.product-list .vintage{top:9px;right:9px;font-size:.58rem;padding:5px 7px}
.product-grid.product-list .product-body{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(180px,.85fr) auto;grid-template-areas:'meta desc buy' 'title desc buy' 'stock desc buy';column-gap:24px;align-content:center;padding:20px 24px}
.product-grid.product-list .product-meta{grid-area:meta;align-self:end}
.product-grid.product-list .product-body h3{grid-area:title;margin:5px 0;font-size:1.35rem}
.product-grid.product-list .product-body p{grid-area:desc;min-height:0;margin:0;align-self:center;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.product-grid.product-list .stock-line{grid-area:stock;align-self:start}
.product-grid.product-list .product-buy{grid-area:buy;min-width:165px;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;margin:0;gap:12px}
.product-grid.product-list .product-buy strong{white-space:nowrap}
.product-grid.product-list .stepper{grid-template-columns:36px 36px 36px}
@media(max-width:850px){.product-grid.product-list .product-card{grid-template-columns:125px minmax(0,1fr)}.product-grid.product-list .bottle-visual{height:155px;min-height:155px}.product-grid.product-list .product-body{grid-template-columns:1fr auto;grid-template-areas:'meta buy' 'title buy' 'desc buy' 'stock buy';column-gap:16px;padding:16px 18px}.product-grid.product-list .product-body p{-webkit-line-clamp:2}.product-grid.product-list .product-buy{min-width:132px}}
@media(max-width:620px){.catalog-view-control{min-width:0;width:100%}.view-toggle{width:100%}.product-grid.product-list{gap:10px}.product-grid.product-list .product-card{grid-template-columns:96px minmax(0,1fr);min-height:138px}.product-grid.product-list .bottle-visual{height:138px;min-height:138px}.product-grid.product-list .bottle-visual>img{padding:7px}.product-grid.product-list .product-body{display:flex;flex-direction:column;align-items:stretch;padding:12px 13px;gap:4px}.product-grid.product-list .product-meta{font-size:.58rem}.product-grid.product-list .product-body h3{font-size:1.12rem;margin:1px 0}.product-grid.product-list .product-body p{display:none}.product-grid.product-list .stock-line{font-size:.65rem}.product-grid.product-list .product-buy{min-width:0;flex-direction:row;align-items:center;justify-content:space-between;margin-top:5px;gap:8px}.product-grid.product-list .product-buy strong{font-size:1rem}.product-grid.product-list .product-buy>button{padding:8px 10px}.product-grid.product-list .stepper{grid-template-columns:31px 31px 31px}}

/* v0.6.10 — extra compact list view */
.product-grid.product-list{gap:6px}
.product-grid.product-list .product-card{grid-template-columns:88px minmax(0,1fr);min-height:104px}
.product-grid.product-list .bottle-visual{height:104px;min-height:104px}
.product-grid.product-list .bottle-visual>img{padding:5px}
.product-grid.product-list .bottle-placeholder{transform:scale(.34)}
.product-grid.product-list .vintage{display:none}
.product-grid.product-list .product-body{grid-template-columns:minmax(170px,1fr) auto minmax(210px,auto);grid-template-areas:'meta stock buy' 'title stock buy';column-gap:16px;row-gap:2px;align-content:center;padding:9px 13px}
.product-grid.product-list .product-meta{grid-area:meta;font-size:.58rem;line-height:1.2;align-self:end}
.product-grid.product-list .product-body h3{grid-area:title;margin:2px 0 0;font-size:1.08rem;line-height:1.15;align-self:start}
.product-grid.product-list .product-body p{display:none}
.product-grid.product-list .stock-line{grid-area:stock;margin:0;font-size:.66rem;white-space:nowrap;align-self:center}
.product-grid.product-list .product-buy{grid-area:buy;min-width:210px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin:0;gap:9px}
.product-grid.product-list .product-buy strong{font-size:1rem;min-width:68px;text-align:right}
.product-grid.product-list .product-buy>button{padding:7px 10px;font-size:.72rem}
.product-grid.product-list .stepper{grid-template-columns:28px 28px 28px;height:30px}
.product-grid.product-list .stepper button{font-size:.95rem}
.product-grid.product-list .stepper span{font-size:.78rem}
@media(max-width:850px){
  .product-grid.product-list{gap:6px}
  .product-grid.product-list .product-card{grid-template-columns:76px minmax(0,1fr);min-height:92px}
  .product-grid.product-list .bottle-visual{height:92px;min-height:92px}
  .product-grid.product-list .product-body{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'meta buy' 'title buy' 'stock buy';column-gap:10px;row-gap:1px;padding:7px 10px}
  .product-grid.product-list .product-buy{min-width:185px;gap:7px}
  .product-grid.product-list .stock-line{white-space:normal}
}
@media(max-width:620px){
  .product-grid.product-list{gap:5px}
  .product-grid.product-list .product-card{grid-template-columns:64px minmax(0,1fr);min-height:82px}
  .product-grid.product-list .bottle-visual{height:82px;min-height:82px}
  .product-grid.product-list .bottle-visual>img{padding:3px}
  .product-grid.product-list .product-body{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'meta buy' 'title buy' 'stock buy';padding:6px 8px;gap:1px 7px}
  .product-grid.product-list .product-meta{font-size:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .product-grid.product-list .product-body h3{font-size:.93rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .product-grid.product-list .stock-line{font-size:.56rem;white-space:nowrap}
  .product-grid.product-list .product-buy{min-width:104px;flex-direction:column;align-items:flex-end;justify-content:center;gap:4px}
  .product-grid.product-list .product-buy strong{font-size:.9rem;min-width:0}
  .product-grid.product-list .product-buy>button{padding:5px 8px;font-size:.65rem}
  .product-grid.product-list .stepper{grid-template-columns:25px 25px 25px;height:26px}
  .product-grid.product-list .stepper button{font-size:.88rem}
  .product-grid.product-list .stepper span{font-size:.7rem}
}

/* v0.6.12 – jednotné fotografie produktů */
.card-title-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.card-title-actions .small-button{white-space:nowrap}@media(max-width:650px){.card-title-actions{width:100%;justify-content:flex-start}.card-title-actions .small-button{width:100%}}

/* v0.6.14 – editovatelný obsah košíku */
.checkout-cart-items{grid-column:1/-1;background:#fff;border:1px solid #e2ded5;margin:-2px -2px 8px;padding:0}
.checkout-cart-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:11px 13px;border-bottom:1px solid #e8e4dc}
.checkout-cart-heading strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}
.checkout-cart-heading span{font-size:.7rem;color:#888}
.checkout-cart-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto auto;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #eeeae2}
.checkout-cart-row:last-child{border-bottom:0}
.checkout-cart-thumb{width:42px;height:52px;display:flex;align-items:center;justify-content:center;background:#f7f5f0;overflow:hidden}
.checkout-cart-thumb img{width:100%;height:100%;object-fit:contain;padding:3px}
.checkout-cart-product{display:flex;flex-direction:column;min-width:0;gap:2px}
.checkout-cart-product strong{font-size:.84rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.checkout-cart-product small{font-size:.67rem;color:#888}
.checkout-cart-stepper{display:grid;grid-template-columns:28px 30px 28px;height:30px;border:1px solid #d9d5cc}
.checkout-cart-stepper button{border:0;background:#f5f3ed;color:#222;padding:0;font-size:.9rem}
.checkout-cart-stepper button:hover:not(:disabled){background:#ebe7dd}
.checkout-cart-stepper button:disabled{opacity:.3;cursor:not-allowed}
.checkout-cart-stepper span{display:grid;place-items:center;background:#fff;font-size:.76rem;font-weight:800}
.checkout-cart-line-total{font-size:.82rem;white-space:nowrap;min-width:72px;text-align:right}
.checkout-cart-remove{border:0;background:transparent;color:#8b4b4b;padding:5px 3px;font-size:.66rem;text-decoration:underline;text-underline-offset:2px}
.checkout-cart-remove:hover{color:#5f2424}
.checkout-cart-empty{padding:18px 13px;text-align:center;color:#777;font-size:.8rem}
.checkout-cart-notice{grid-column:1/-1;background:#fff5db;border-left:3px solid var(--gold);padding:9px 11px;margin-bottom:5px;color:#6c5b31;font-size:.75rem;line-height:1.4}
@media(max-width:620px){
  .checkout-cart-heading{align-items:flex-start;flex-direction:column;gap:2px}
  .checkout-cart-row{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:'thumb product total' 'thumb stepper remove';gap:5px 8px;padding:7px 8px}
  .checkout-cart-thumb{grid-area:thumb;width:38px;height:48px}
  .checkout-cart-product{grid-area:product}
  .checkout-cart-product strong{font-size:.78rem}
  .checkout-cart-stepper{grid-area:stepper;justify-self:start;grid-template-columns:26px 28px 26px;height:28px}
  .checkout-cart-line-total{grid-area:total;min-width:0;font-size:.76rem}
  .checkout-cart-remove{grid-area:remove;justify-self:end}
}

.messenger-actions{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}.messenger-actions .small-button{white-space:nowrap}

/* v0.6.27 – admin security, notification recipients and Messenger test visibility */
.messenger-card{margin-top:20px;padding:18px;background:#f7f4ed;border:1px solid #ded7c9;border-left:3px solid var(--jj-gold)}
.messenger-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}
.messenger-card-head h3{margin:4px 0 0!important;font-size:1rem!important;color:#151515!important;letter-spacing:0!important;text-transform:none!important}
.messenger-eyebrow{display:block;color:#8a6919;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em}
.messenger-status{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 11px;border-radius:999px;font-size:.78rem;font-weight:800;white-space:nowrap;background:#e9e5dc;color:#514b42}
.messenger-status.is-success{background:#dfeee3;color:#286342}.messenger-status.is-info{background:#e2ebf2;color:#31566e}.messenger-status.is-danger{background:#f1dfdc;color:#8a3430}
.messenger-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px}
.messenger-field{display:flex;flex-direction:column;gap:4px;min-width:0}.messenger-field span{font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;color:#81796f}.messenger-field strong{font-size:.88rem;color:#24211e;overflow-wrap:anywhere}.messenger-field-wide{grid-column:1/-1}
.messenger-card-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #e4ded4}.messenger-card-actions>.small-button{background:#111;color:#fff;padding:10px 13px}
.messenger-technical{font-size:.8rem}.messenger-technical summary{cursor:pointer;color:#78601d;font-weight:700;text-decoration:underline;text-underline-offset:3px}.messenger-technical pre{margin:10px 0 0;padding:12px;max-width:100%;overflow:auto;background:#1b1917;color:#eee9df;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;word-break:break-word}
@media(max-width:900px){.messenger-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.messenger-grid{grid-template-columns:1fr}.messenger-field-wide{grid-column:auto}.messenger-card{padding:15px}.messenger-card-head{align-items:flex-start;flex-direction:column}.messenger-status{align-self:flex-start}}

.form-grid .field-wide{grid-column:1/-1}.form-grid textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:84px}

.invoice-card{margin-top:18px;padding:16px;border:1px solid rgba(0,0,0,.1);border-radius:12px;background:#faf9f6}
.invoice-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.invoice-card h3{margin:3px 0 0}
.invoice-card p{margin:8px 0;color:#666}
.invoice-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}


/* v0.6.41 – order list refined to reference layout */
.orders-page{width:100%;max-width:100%}
.orders-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:22px}
.orders-head-left{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}
.orders-heading-row{display:flex;align-items:center;gap:12px}.orders-heading-row h2{margin:0;font-size:30px;font-weight:500;line-height:1.15}.orders-count{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:#eef0f2;color:#222;font-size:.9rem;font-weight:800}
.orders-tabs{display:flex;gap:8px}.orders-tab{border:0;background:#eceff2;color:#25282b;padding:12px 18px;font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.orders-tab span{margin-left:5px;color:#73787d}.orders-tab.active{background:#171717;color:#fff}.orders-tab.active span{color:#fff}
.orders-search{width:min(430px,42vw);min-height:46px;display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dfe2e5;border-radius:10px;padding:0 13px;box-sizing:border-box;box-shadow:0 3px 12px rgba(30,30,30,.04)}.orders-search span{font-size:1.55rem;line-height:1;color:#626a70;transform:rotate(-15deg)}.orders-search input{border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:0!important;width:100%;min-height:44px;color:#25282b;font-size:.86rem}.orders-search input::placeholder{color:#8b9196}
.orders-list{gap:16px}.order-card{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(480px,1.35fr) minmax(190px,.55fr);grid-template-areas:'main status actions' 'detail detail detail';align-items:stretch;padding:0;gap:0;background:#fff;border:1px solid #e0e2e3;border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(20,20,20,.025)}
.order-main{grid-area:main;padding:22px 24px 18px;min-width:0}.order-summary{display:flex;flex-direction:column;gap:9px}.order-number{font-size:21px;letter-spacing:.01em;color:#111}.order-customer{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#303438;font-size:.88rem}.order-customer a{color:#62686d;text-decoration:none}.order-customer a:hover{text-decoration:underline}.order-icon{font-size:1.05rem;color:#6b7074}.order-facts{display:flex;flex-wrap:wrap;gap:6px 16px;color:#666d72;font-size:.78rem}.order-facts span{white-space:nowrap}.order-facts em{font-style:normal;color:#8d3838}.order-email-line{font-size:.76rem;color:#28734c}.order-detail-toggle{align-self:flex-start;border:0;border-bottom:1px solid #bba968;background:transparent;color:#8b6d1f;padding:4px 0 3px;font-size:.76rem;font-weight:800;cursor:pointer}.order-detail-toggle span{font-size:1rem;margin-left:5px}
.order-status-area{grid-area:status;display:grid;grid-template-columns:1fr 1fr;gap:18px;align-content:center;padding:22px 22px;border-left:1px solid #e5e6e7}.status-block{min-width:0}.status-label{display:block;margin-bottom:8px;font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#747a7f}.order-status-badge{display:flex;align-items:center;gap:9px;min-height:52px;padding:8px 11px;background:#f0f2f4;color:#30363a}.order-status-badge .status-dot{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#dfe3e6;color:#555;font-size:.8rem;font-weight:900}.order-status-badge>span:last-child{display:flex;flex-direction:column;min-width:0}.order-status-badge strong{font-size:.74rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-status-badge small{margin-top:2px;color:#6d7479;font-size:.69rem}.order-status-badge.is-success{background:#e2f1e7;color:#21643e}.order-status-badge.is-success .status-dot{background:#1c9a5a;color:#fff}.order-status-badge.is-success small{color:#397653}.order-status-badge.is-info{background:#e7eef5;color:#315a7a}.order-status-badge.is-info .status-dot{background:#527fa5;color:#fff}.order-status-badge.is-pending{background:#f2f0e9;color:#685a32}.order-status-badge.is-pending .status-dot{background:#d7c89b;color:#554a2a}.order-status-badge.is-danger{background:#f4e2e0;color:#87352f}.order-status-badge.is-danger .status-dot{background:#a94b43;color:#fff}
.order-card-actions{grid-area:actions;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;padding:22px 20px;min-width:0}.order-card-actions .small-button{width:100%;min-height:44px;padding:11px 14px;box-sizing:border-box}.paid-button{background:var(--teal)!important;color:#fff!important}.paid-button:hover{background:#4f837f!important}.retry-button{background:#111!important}.archive-order-button,.restore-order-button{background:#f5efe1!important;color:#7c611d!important;border:1px solid #decfa9!important}.archive-order-button:hover,.restore-order-button:hover{background:#eee4ca!important}.delete-order-button{background:#fff!important;color:#9a2f37!important;border:1px solid #e1a0a4!important}.delete-order-button:hover{background:#fff4f4!important;color:#7d2028!important}
.order-detail{grid-area:detail;border-top:1px solid #e5e6e7;padding:20px 24px}.order-detail-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:24px}.order-detail-grid section{min-width:0}.orders-page .empty{border:1px solid #e0e2e3;background:#fff}
@media(max-width:1250px){.order-card{grid-template-columns:minmax(0,1.55fr) minmax(400px,1.25fr) minmax(170px,.55fr)}.order-status-area{gap:12px;padding-inline:16px}.order-card-actions{padding-inline:14px}}
@media(max-width:1050px){.orders-page-head{align-items:flex-start}.orders-search{width:min(430px,48vw)}.order-card{grid-template-columns:minmax(0,1fr) minmax(400px,.9fr);grid-template-areas:'main status' 'actions actions' 'detail detail'}.order-card-actions{flex-direction:row;justify-content:flex-end;border-top:1px solid #e5e6e7;padding:14px 20px}.order-card-actions .small-button{width:auto;min-width:150px}.order-status-area{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.orders-page-head{flex-direction:column;gap:16px}.orders-search{width:100%}.orders-heading-row h2{font-size:25px}.order-card{grid-template-columns:1fr;grid-template-areas:'main' 'status' 'actions' 'detail'}.order-main{padding:18px 16px 16px}.order-status-area{grid-template-columns:1fr;padding:16px;border-left:0;border-top:1px solid #e5e6e7;gap:12px}.order-card-actions{padding:12px 16px;flex-wrap:wrap}.order-card-actions .small-button{flex:1;min-width:130px}.order-detail-grid{grid-template-columns:1fr}.orders-tabs{overflow:auto}.orders-tab{white-space:nowrap}}

/* v0.6.42 – objednávky: levá informační část podle schváleného návrhu */
.order-main{padding:22px 24px 18px;display:flex;align-items:flex-start}
.order-summary{width:100%;gap:11px}
.order-number{font-size:21px;line-height:1.15;font-weight:800;color:#111;margin-bottom:2px}
.order-customer{display:grid;grid-template-columns:20px max-content 20px minmax(0,1fr);align-items:center;column-gap:8px;row-gap:3px;color:#4c5358;font-size:16px;line-height:1.35;min-height:24px}
.order-customer-name{font-weight:500;white-space:nowrap}
.order-customer a{font-size:15px;color:#62686d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.order-person-icon,.order-mail-icon{display:grid;place-items:center;color:#53616b;font-size:17px;line-height:1}
.order-mail-icon{font-size:16px}
.order-facts{display:flex;flex-wrap:wrap;align-items:center;color:#5d656b;line-height:1.35}
.order-facts-primary{gap:7px 22px;font-size:15px;margin-top:1px}
.order-facts-secondary{gap:7px 22px;font-size:15px;margin-top:-1px}
.order-facts span{display:inline-flex;align-items:center;white-space:nowrap}
.order-facts i{font-style:normal;display:inline-block;width:19px;margin-right:4px;text-align:center;color:#56636c;font-size:14px}
.order-facts-primary em{font-size:14px}
.order-email-line{font-size:14px;line-height:1.3;margin-top:-1px}
.order-detail-toggle{font-size:14px;margin-top:1px;padding:4px 0 3px}
@media(max-width:1250px){
  .order-customer{font-size:15px;grid-template-columns:19px max-content 19px minmax(0,1fr)}
  .order-customer a{font-size:14px}
  .order-facts-primary,.order-facts-secondary{font-size:14px;gap:7px 16px}
}
@media(max-width:760px){
  .order-main{padding:18px 16px 16px}
  .order-customer{grid-template-columns:19px minmax(0,1fr);font-size:15px}
  .order-customer .order-mail-icon{display:none}
  .order-customer a{grid-column:2;font-size:14px}
  .order-facts-primary,.order-facts-secondary{font-size:14px;gap:7px 14px}
}

/* v0.6.43 – exact order-card reference layout */
.order-card{grid-template-columns:minmax(0,48.2%) minmax(0,31.0%) minmax(0,20.8%);}
.order-main{padding:19px 24px 17px;display:flex;align-items:flex-start;min-width:0;}
.order-summary{width:100%;gap:12px;}
.order-number{font-size:29px;line-height:1.05;font-weight:800;letter-spacing:.005em;margin:0 0 3px;color:#111;}
.order-customer{display:grid;grid-template-columns:21px max-content 21px minmax(0,1fr);align-items:center;column-gap:9px;row-gap:0;color:#4f5860;font-size:17px;line-height:1.35;min-height:25px;}
.order-customer-name{font-weight:500;white-space:nowrap;}
.order-customer a{font-size:16px;color:#56616a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;text-decoration:none;}
.order-person-icon,.order-mail-icon{display:grid;place-items:center;color:#4e5a64;font-size:18px;line-height:1;}
.order-mail-icon{font-size:17px;}
.order-facts{display:flex;flex-wrap:wrap;align-items:center;color:#59636b;line-height:1.35;}
.order-facts-primary{gap:7px 25px;font-size:17px;margin-top:0;}
.order-facts-secondary{gap:7px 25px;font-size:17px;margin-top:0;}
.order-facts span{display:inline-flex;align-items:center;white-space:nowrap;}
.order-facts i{font-style:normal;display:inline-grid;place-items:center;width:21px;height:21px;margin-right:5px;text-align:center;color:#52606a;font-size:15px;}
.order-facts-primary em{font-size:16px;}
.order-email-line{font-size:16px;line-height:1.35;margin-top:-2px;}
.order-detail-toggle{align-self:flex-start;border:0;border-bottom:1px solid #b9a35d;background:transparent;color:#8a6a1c;padding:2px 0 4px;font-size:17px;font-weight:800;line-height:1.25;margin-top:-1px;}
.order-detail-toggle span{font-size:20px;margin-left:7px;}
.order-status-area{padding:22px 35px;gap:28px;}
.order-card-actions{flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;padding:22px 22px;}
.order-card-actions .small-button{width:auto;min-height:63px;padding:0 22px;font-size:16px;letter-spacing:.07em;white-space:nowrap;}
.order-card-actions .paid-button{min-width:225px;}
.order-card-actions .delete-order-button{min-width:178px;}
.order-card-actions .archive-order-button,.order-card-actions .restore-order-button,.order-card-actions .retry-button{min-width:178px;}
@media(max-width:1450px){
  .order-card{grid-template-columns:minmax(0,48.2%) minmax(0,31%) minmax(0,20.8%);}
  .order-main{padding-inline:20px;}
  .order-customer{font-size:16px;grid-template-columns:20px max-content 20px minmax(0,1fr);}
  .order-customer a{font-size:15px;}
  .order-facts-primary,.order-facts-secondary{font-size:16px;gap:7px 17px;}
  .order-email-line{font-size:15px;}
  .order-detail-toggle{font-size:16px;}
  .order-status-area{padding-inline:24px;gap:18px;}
  .order-card-actions{padding-inline:16px;gap:9px;}
  .order-card-actions .small-button{padding-inline:14px;font-size:14px;}
  .order-card-actions .paid-button{min-width:180px;}
  .order-card-actions .delete-order-button{min-width:145px;}
}
@media(max-width:1050px){
  .order-card{grid-template-columns:minmax(0,1fr) minmax(400px,.9fr);grid-template-areas:'main status' 'actions actions' 'detail detail';}
  .order-card-actions{flex-direction:row;justify-content:flex-end;border-top:1px solid #e5e6e7;padding:14px 20px;}
}
@media(max-width:760px){
  .order-card{grid-template-columns:1fr;grid-template-areas:'main' 'status' 'actions' 'detail';}
  .order-main{padding:18px 16px 16px;}
  .order-number{font-size:23px;}
  .order-customer{grid-template-columns:19px minmax(0,1fr);font-size:15px;}
  .order-customer .order-mail-icon{display:none;}
  .order-customer a{grid-column:2;font-size:14px;}
  .order-facts-primary,.order-facts-secondary{font-size:14px;gap:7px 14px;}
  .order-email-line{font-size:14px;}
  .order-detail-toggle{font-size:14px;}
  .order-status-area{grid-template-columns:1fr;padding:16px;border-left:0;border-top:1px solid #e5e6e7;gap:12px;}
  .order-card-actions{padding:12px 16px;flex-wrap:wrap;}
  .order-card-actions .small-button{flex:1;min-width:130px;}
}

/* v0.6.45 – order list: pixel-close reference layout and real outline icons */
.orders-page{font-family:Arial,"Helvetica Neue",sans-serif;color:#20262b}
.orders-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin:0 0 24px;padding:0 0 0 0}
.orders-head-left{gap:14px}
.orders-heading-row{gap:12px}
.orders-heading-row h2{font-family:Arial,"Helvetica Neue",sans-serif;font-size:30px;line-height:36px;font-weight:700;letter-spacing:-.02em;color:#111;margin:0}
.orders-count{min-width:34px;height:34px;font-size:16px;background:#f0f2f4;color:#222}
.orders-tabs{gap:10px}
.orders-tab{height:48px;padding:0 18px;background:#e9edf1;color:#20252a;font-family:Arial,"Helvetica Neue",sans-serif;font-size:14px;line-height:48px;font-weight:800;letter-spacing:.08em}
.orders-tab.active{background:#171717;color:#fff}
.orders-search{width:464px;height:46px;min-height:46px;border:1px solid #dfe3e7;border-radius:9px;padding:0 14px;box-shadow:0 2px 9px rgba(0,0,0,.04)}
.orders-search span{font-size:0;transform:none;width:19px;height:19px;position:relative;flex:0 0 19px}
.orders-search span:before{content:"";position:absolute;width:9px;height:9px;border:2px solid #5b6570;border-radius:50%;left:1px;top:1px}
.orders-search span:after{content:"";position:absolute;width:7px;height:2px;background:#5b6570;transform:rotate(-48deg);left:10px;top:12px;border-radius:2px}
.orders-search input{font-family:Arial,"Helvetica Neue",sans-serif;font-size:16px;min-height:44px}
.orders-list{gap:16px}
.order-card{grid-template-columns:minmax(0,47.2%) minmax(0,29.5%) minmax(0,23.3%);grid-template-areas:'main status actions' 'detail detail detail';min-height:240px;background:#fff;border:1px solid #e0e3e5;border-radius:10px;box-shadow:none;overflow:hidden}
.order-main{padding:18px 20px 14px;display:flex;align-items:flex-start;min-width:0}
.order-summary{gap:11px}
.order-number{font-family:Arial,"Helvetica Neue",sans-serif;font-size:29px;line-height:34px;font-weight:700;letter-spacing:-.015em;color:#101418;margin:0}
.order-customer{display:grid;grid-template-columns:20px max-content 20px minmax(0,1fr);column-gap:8px;row-gap:0;color:#4d5963;font-size:18px;line-height:25px;min-height:25px}
.order-customer-name{font-weight:500}
.order-customer a{font-family:Arial,"Helvetica Neue",sans-serif;font-size:17px;color:#4d5963}
.order-person-icon,.order-mail-icon{display:grid;place-items:center;color:#52616d;font-size:0;width:20px;height:20px}
.order-svg-icon{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.order-facts{gap:7px 24px;color:#56616a;line-height:24px}
.order-facts-primary,.order-facts-secondary{font-size:17px;margin:0}
.order-facts span{display:inline-flex;align-items:center;white-space:nowrap}
.order-facts i{display:grid;place-items:center;width:20px;height:20px;margin-right:6px;font-size:0;color:#53616d}
.order-facts i .order-svg-icon{width:18px;height:18px}
.order-facts-primary em{font-size:16px;color:#59636b}
.order-email-line{font-size:16px;line-height:22px;color:#21854f;margin:-1px 0 0}
.order-detail-toggle{align-self:flex-start;border:0;border-bottom:1px solid #c4ad69;background:transparent;color:#8a6919;padding:2px 0 3px;font-family:Arial,"Helvetica Neue",sans-serif;font-size:17px;font-weight:700;line-height:22px;margin-top:-1px;cursor:pointer}
.order-detail-toggle span{font-size:22px;margin-left:8px}
.order-status-area{padding:30px 35px;gap:42px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-content:center;border-left:1px solid #e2e4e6}
.status-block{min-width:0}
.status-label{display:block;margin:0 0 9px;font-family:Arial,"Helvetica Neue",sans-serif;font-size:18px;line-height:22px;text-transform:none;letter-spacing:0;font-weight:700;color:#15191d}
.order-status-badge{display:flex;align-items:center;gap:10px;min-height:70px;padding:9px 15px;background:#eef1f3;color:#30373d}
.order-status-badge .status-dot{width:32px;height:32px;flex:0 0 32px;font-size:17px;background:#dfe4e8;color:#4e5962}
.order-status-badge>span:last-child{gap:1px}
.order-status-badge strong{font-size:16px;line-height:20px}
.order-status-badge small{font-size:15px;line-height:19px;margin:0;color:#68737b}
.order-status-badge.is-success{background:#e2f2e8;color:#17643e}
.order-status-badge.is-success .status-dot{background:#20a45f;color:#fff}
.order-status-badge.is-success small{color:#39785a}
.order-status-badge.is-pending{background:#eef1f4;color:#36414a}
.order-status-badge.is-pending .status-dot{background:transparent;color:#27333d;border:2px solid #26333e}
.order-card-actions{flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;padding:0 22px;min-width:0}
.order-card-actions .small-button{width:auto;min-height:63px;padding:0 22px;font-family:Arial,"Helvetica Neue",sans-serif;font-size:17px;line-height:20px;letter-spacing:.07em;font-weight:800;white-space:nowrap;border-radius:9px}
.order-card-actions .paid-button{min-width:226px;background:#1da263!important;color:#fff!important}
.order-card-actions .delete-order-button{min-width:176px;background:#fff!important;color:#d52c36!important;border:2px solid #ef8790!important}
.order-card-actions .archive-order-button,.order-card-actions .restore-order-button,.order-card-actions .retry-button{min-width:178px}
.order-card-actions .archive-order-button,.order-card-actions .restore-order-button{background:#fbf4e4!important;color:#80631d!important;border:1px solid #ddcba3!important}
.order-card-actions .retry-button{background:#111!important;color:#fff!important}
@media(max-width:1250px){.order-card{grid-template-columns:minmax(0,47.2%) minmax(0,29.5%) minmax(0,23.3%)}.order-status-area{padding-inline:22px;gap:18px}.order-card-actions{padding-inline:12px}.order-card-actions .small-button{padding-inline:14px;font-size:14px}.order-card-actions .paid-button{min-width:180px}.order-card-actions .delete-order-button{min-width:145px}}
@media(max-width:1050px){.order-card{grid-template-columns:minmax(0,1fr) minmax(400px,.9fr);grid-template-areas:'main status' 'actions actions' 'detail detail'}.order-card-actions{flex-direction:row;justify-content:flex-end;border-top:1px solid #e2e4e6;padding:14px 20px}.order-card-actions .small-button{width:auto;min-width:150px}.order-status-area{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.orders-page-head{flex-direction:column;gap:16px}.orders-search{width:100%}.orders-heading-row h2{font-size:25px}.order-card{grid-template-columns:1fr;grid-template-areas:'main' 'status' 'actions' 'detail';min-height:0}.order-main{padding:18px 16px 16px}.order-customer{grid-template-columns:19px minmax(0,1fr);font-size:15px}.order-customer .order-mail-icon{display:none}.order-customer a{grid-column:2;font-size:14px}.order-facts-primary,.order-facts-secondary{font-size:14px;gap:7px 14px}.order-email-line{font-size:14px}.order-detail-toggle{font-size:14px}.order-status-area{grid-template-columns:1fr;padding:16px;border-left:0;border-top:1px solid #e2e4e6;gap:12px}.order-card-actions{padding:12px 16px;flex-wrap:wrap}.order-card-actions .small-button{flex:1;min-width:130px}}

/* v0.6.45 – final reference alignment */
.orders-head-left{gap:20px}
.orders-search{flex-direction:row}
.order-detail-toggle{margin-top:7px}

/* v0.6.45 – final pixel alignment against reference */
.order-summary strong.order-number{font-size:29px!important;line-height:34px!important;font-weight:700!important}
.order-card{grid-template-columns:minmax(0,47.3%) minmax(0,29.4%) minmax(0,23.3%)}
.order-main{padding-top:18px;padding-bottom:14px}
.order-detail-toggle{margin-top:7px}
.order-status-area{grid-template-columns:216px 180px;gap:42px;padding-left:36px;padding-right:20px}
.order-card-actions{padding-left:33px;padding-right:22px;gap:16px}

/* v0.6.45 – vertical rhythm matching reference */
.order-summary{gap:9px}
.order-customer{margin:0}
.order-facts-primary{margin-top:6px}
.order-facts-secondary{margin-top:7px}
.order-detail-toggle{margin-top:5px}

/* v0.6.45 – compact order cards, preserving the v0.6.44 reference design */
.orders-page{font-family:Arial,"Helvetica Neue",sans-serif}
.orders-page-head{margin-bottom:18px;gap:24px}
.orders-head-left{gap:12px}
.orders-heading-row{gap:10px}
.orders-heading-row h2{font-size:26px;line-height:31px}
.orders-count{min-width:30px;height:30px;font-size:14px}
.orders-tabs{gap:8px}
.orders-tab{height:42px;padding:0 16px;line-height:42px;font-size:13px}
.orders-search{width:430px;height:42px;min-height:42px;padding:0 12px}
.orders-search input{font-size:14px;min-height:40px}
.orders-list{gap:14px}
.order-card{grid-template-columns:minmax(0,46%) minmax(0,30%) minmax(0,24%);min-height:208px;border-radius:9px}
.order-main{padding:16px 20px 12px}
.order-summary{gap:7px}
.order-summary strong.order-number,.order-number{font-size:24px!important;line-height:29px!important}
.order-customer{grid-template-columns:17px max-content 17px minmax(0,1fr);column-gap:7px;font-size:15px;line-height:21px;min-height:21px}
.order-person-icon,.order-mail-icon{width:17px;height:17px}
.order-svg-icon{width:15px;height:15px;stroke-width:1.65}
.order-customer a{font-size:14px}
.order-facts{gap:5px 18px;line-height:21px}
.order-facts-primary,.order-facts-secondary{font-size:14px}
.order-facts i{width:17px;height:17px;margin-right:5px}
.order-facts i .order-svg-icon{width:15px;height:15px}
.order-facts-primary em{font-size:13px}
.order-email-line{font-size:13px;line-height:19px}
.order-detail-toggle{font-size:14px;line-height:19px;padding:1px 0 2px;margin-top:3px}
.order-detail-toggle span{font-size:18px;margin-left:6px}
.order-status-area{padding:24px 20px;gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.status-label{margin-bottom:7px;font-size:15px;line-height:19px}
.order-status-badge{gap:8px;min-height:56px;padding:7px 12px}
.order-status-badge .status-dot{width:28px;height:28px;flex-basis:28px;font-size:15px}
.order-status-badge strong{font-size:14px;line-height:18px}
.order-status-badge small{font-size:12px;line-height:16px}
.order-card-actions{gap:10px;padding:0 12px;align-items:center;justify-content:flex-start}
.order-card-actions .small-button{min-height:52px;height:52px;padding:0 14px;font-size:13px;line-height:18px;letter-spacing:.065em;border-radius:8px;min-width:0}
.order-card-actions .paid-button{min-width:178px}
.order-card-actions .delete-order-button{min-width:126px}
.order-card-actions .archive-order-button,.order-card-actions .restore-order-button{min-width:142px}
.order-card-actions .retry-button{min-width:150px}
@media(max-width:1250px){
  .order-card{grid-template-columns:minmax(0,46%) minmax(0,30%) minmax(0,24%)}
  .order-main{padding-inline:16px}
  .order-status-area{padding-inline:14px;gap:14px}
  .order-card-actions{padding-inline:10px;gap:8px}
  .order-card-actions .small-button{padding-inline:10px;font-size:12px}
  .order-card-actions .paid-button{min-width:150px}
  .order-card-actions .delete-order-button{min-width:108px}
  .order-card-actions .archive-order-button,.order-card-actions .restore-order-button{min-width:120px}
}
@media(max-width:1050px){
  .order-card{grid-template-columns:minmax(0,1fr) minmax(360px,.82fr);grid-template-areas:'main status' 'actions actions' 'detail detail'}
  .order-card-actions{justify-content:flex-end;border-top:1px solid #e2e4e6;padding:10px 16px}
}
@media(max-width:760px){
  .orders-page-head{gap:12px}
  .orders-heading-row h2{font-size:23px;line-height:28px}
  .orders-tab{height:40px;line-height:40px}
  .orders-search{width:100%}
  .order-card{grid-template-columns:1fr;grid-template-areas:'main' 'status' 'actions' 'detail';min-height:0}
  .order-main{padding:16px 14px 14px}
  .order-status-area{grid-template-columns:1fr;padding:14px;border-left:0;border-top:1px solid #e2e4e6;gap:10px}
  .order-card-actions{padding:10px 14px;flex-wrap:wrap}
  .order-card-actions .small-button{flex:1;min-width:120px}
}

/* v0.6.46 — compact order action column: keep every action inside the card */
@media (min-width: 1051px){
  .order-card{
    grid-template-columns:minmax(0,46%) minmax(0,34%) minmax(150px,20%);
    min-height:208px;
  }
  .order-card-actions{
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    gap:8px;
    padding:16px 12px;
    min-width:0;
    overflow:hidden;
  }
  .order-card-actions .small-button,
  .order-card-actions .paid-button,
  .order-card-actions .delete-order-button,
  .order-card-actions .archive-order-button,
  .order-card-actions .restore-order-button,
  .order-card-actions .retry-button{
    width:100%;
    min-width:0;
    max-width:180px;
    height:40px;
    min-height:40px;
    margin:0 auto;
    padding:0 10px;
    font-size:11px;
    line-height:1;
    letter-spacing:.055em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    border-radius:7px;
  }
  .order-main{padding:16px 20px 12px}
  .order-status-area{padding:22px 16px;gap:18px}
}

/* v0.6.48 – compact Messenger status next to payment and order status */
.order-status-area{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.order-status-badge.is-neutral{background:#eef1f3;color:#4a5258}
.order-status-badge.is-neutral .status-dot{background:#dfe4e8;color:#4e5962;border:0}
.order-status-badge.is-info{background:#e7eef5;color:#315a7a}
.order-status-badge.is-info .status-dot{background:#527fa5;color:#fff;border:0}
.order-status-badge.is-danger{background:#f4e2e0;color:#87352f}
.order-status-badge.is-danger .status-dot{background:#a94b43;color:#fff;border:0}
@media(min-width:1051px){
  .order-card{grid-template-columns:minmax(0,38%) minmax(280px,42%) minmax(150px,20%)}
  .order-status-area{padding:18px 12px;gap:10px}
}
@media(max-width:1050px){
  .order-status-area{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .order-status-area{grid-template-columns:1fr}
}
