:root{--primary:#a9432d;--paper:#f7f4ed;--ink:#242720;--radius:16px;--line:#dedfd6;--muted:#74766d}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.5}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,.button{border:0;background:var(--primary);color:#fff;border-radius:9px;padding:12px 18px;cursor:pointer;font-weight:600;display:inline-block;text-align:center}
button:hover,.button:hover{filter:brightness(.94)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d9a24d;outline-offset:3px}
input,select,textarea{width:100%;min-width:0;background:#fff;border:1px solid #d6d9ce;border-radius:8px;padding:10px 12px;color:#292c24}
input[type=checkbox]{width:18px;height:18px;accent-color:var(--primary)}
input[type=color]{height:46px}
input[type=hidden]{display:none}
label{display:grid;gap:6px;font-size:13px;font-weight:600}
form{margin:0}
h1,h2,h3,p{margin-top:0}
h1{font-size:36px;letter-spacing:-1.3px;line-height:1.1}
h2{font-size:22px;letter-spacing:-.5px}
small{font-size:12px}
.muted{color:var(--muted)}
.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--primary);margin-bottom:12px}
.brand{font-size:31px;line-height:.9;font-weight:900;letter-spacing:-1.8px;display:inline-flex;flex-direction:column;align-items:center}
.brand span{font-size:9px;letter-spacing:4.8px;margin-top:7px;margin-left:4px}
.menu-top{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:28px 32px}
.menu-tag,.edition{font-size:10px;letter-spacing:2px;font-weight:700}
.edition{color:var(--primary)}
.hero{max-width:1176px;height:340px;margin:0 auto;border-radius:20px;overflow:hidden;position:relative;background:#444834}
.hero>img,.hero>video{width:100%;height:100%;object-fit:cover;object-position:50% 47%;filter:brightness(.54)}
.hero-content{position:absolute;inset:36px 48px;color:#fff}
.hero-content p{font-size:10px;letter-spacing:2px}
.hero-content h1{font-family:inherit;font-size:65px;font-weight:400;letter-spacing:-2px;line-height:1.02;margin-bottom:16px}
.hero-subtitle{font-size:13px}
.hero-logo{max-width:100px;max-height:50px;object-fit:contain;float:right}
.hero-seal{position:absolute;right:40px;bottom:35px;border:1px solid #ffffff90;border-radius:50%;width:90px;height:90px;display:grid;place-content:center;text-align:center;color:white;font-size:11px;letter-spacing:2px;transform:rotate(-12deg)}
.menu-main{max-width:1240px;padding:40px 32px 0;margin:auto}
.menu-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}
.menu-heading h1{font-family:inherit;font-size:38px;font-weight:400;margin-bottom:24px}
.back{font-size:13px;color:var(--primary);white-space:nowrap}
.menu-search{display:flex;align-items:center;gap:10px;border-bottom:1px solid #cecec2;margin-bottom:28px}
.menu-search>span{font-size:30px}
.menu-search input{background:transparent;border:0;padding-left:0}
.menu-search button{background:transparent;color:var(--primary);padding-right:0}
.category-grid,.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}
.category-card{position:relative;border-radius:var(--radius);overflow:hidden;aspect-ratio:1}
.category-card>img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.category-card:hover>img{transform:scale(1.035)}
.category-card>span{position:absolute;inset:0;background:linear-gradient(transparent 30%,#000b);color:white;padding:22px;display:flex;justify-content:flex-end;flex-direction:column}
.category-card small{font-size:9px;letter-spacing:2px;opacity:.8}
.category-card b{font-family:inherit;font-size:28px;font-weight:400}
.category-card i{position:absolute;right:20px;bottom:27px;font-size:24px;font-style:normal}
.category-tabs{display:flex;gap:10px;overflow-x:auto;padding:0 0 20px;margin-bottom:10px;scrollbar-width:thin}
.category-tabs a{border:1px solid var(--line);padding:9px 16px;border-radius:30px;white-space:nowrap;font-size:13px}
.category-tabs a.selected{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.product-card{min-width:0}
.product-card>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:var(--radius);display:block}
.product-title{display:flex;align-items:flex-start;gap:8px;margin-top:14px;min-height:44px}
.product-title h2{font-size:16px;line-height:1.35;margin:0;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.info{flex:0 0 32px;width:32px;height:32px;background:transparent;color:var(--ink);border:1px solid #b8bbad;border-radius:50%;padding:0;font-family:inherit;font-size:17px;margin-top:-4px}
.price{color:var(--primary);font-size:19px;font-weight:700;margin:6px 0 0}
.menu-footer{border-top:1px solid var(--line);margin-top:60px;padding:35px 0;display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;font-size:13px}
.menu-footer p{margin:0}
.menu-footer .footer-links{display:flex;gap:20px;margin-left:auto}
.footer-prices{width:100%;color:var(--muted);font-size:10px}
.modal-open{overflow:hidden}
dialog{border:0;border-radius:20px;padding:0;width:min(480px,calc(100% - 32px));max-height:90dvh;background:var(--paper);color:var(--ink);overscroll-behavior:contain}
dialog::backdrop{background:#151a16a8;backdrop-filter:blur(4px)}
.dialog-body{padding:24px}
.detail-image{width:calc(100% + 48px);margin:-24px -24px 24px;aspect-ratio:1.25;object-fit:cover;height:auto}
.dialog-close{position:sticky;top:12px;float:right;margin:12px 12px -52px 0;z-index:1;width:40px;height:40px;padding:0;border-radius:50%;background:#fff;color:#222;font-size:28px}
.dialog-body h2{font-family:inherit;font-size:30px}
.dialog-body h3{font-size:13px}
.dialog-body p:not(.price):not(.eyebrow){font-size:14px;color:var(--muted)}
.empty{text-align:center;padding:60px 20px}
.admin{background:#f4f5f0}
.sidebar{width:230px;position:fixed;inset:0 auto 0 0;background:#242d25;color:#e9ebdf;padding:38px 22px;display:flex;flex-direction:column;gap:25px;overflow:auto}
.sidebar .brand{align-self:flex-start;margin-bottom:14px}
.sidebar .eyebrow{color:#aeb9a5;margin:0}
.sidebar nav{display:grid;gap:5px}
.sidebar nav a{padding:11px 13px;font-size:13px;border-radius:8px;color:#bac4b6}
.sidebar nav a.selected{background:#3b4938;color:#fff}
.sidebar>a:not(.brand){font-size:12px;margin-top:auto}
.ghost{background:transparent;border:1px solid #60735a;color:#e6e9df;width:100%;text-align:left}
.workspace{margin-left:230px;padding:36px 42px;max-width:1800px}
.admin-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.admin-header h1{font-size:30px;margin:0}
.admin-header .eyebrow{font-size:9px}
.status{font-size:10px;color:#507047}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0}
.toolbar p{margin:0;font-size:13px}
.filters{display:flex;gap:10px;max-width:650px}
.filters input{flex:1}
.filters select{width:180px}
.secondary{background:#fff;border:1px solid #d3d7ca;color:#3b4536;font-size:12px;padding:10px 14px}
.view-switch{display:flex;gap:6px}
.view-switch [aria-pressed=true]{background:#35462f;color:white}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:28px 0 40px}
.stats article{background:white;border:1px solid #e3e5dc;border-radius:14px;padding:24px}
.stats span{font-size:12px;color:var(--muted)}
.stats strong{display:block;font-size:40px;font-weight:500;margin-top:15px}
.recent{background:white;border-radius:12px;border:1px solid var(--line);padding:0 20px}
.recent a{display:flex;align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid #eee}
.recent img{width:60px;height:60px;border-radius:8px;object-fit:cover}
.recent small{display:block;color:var(--muted);margin-top:5px}
.recent b{margin-left:auto;font-size:14px}
.admin-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.edit-card{background:#fff;border:1px solid #dfe3d6;border-radius:12px;overflow:hidden;min-width:0}
.card-top{display:flex;align-items:center;gap:6px;padding:10px 14px}
.check{display:flex;align-items:center;gap:6px;font-size:11px}
.pill{margin-left:auto;background:#edf2e8;color:#597143;border-radius:5px;padding:3px 7px;font-size:10px}
.pill.inactive{background:#f2ede6;color:#886949}
.drag{cursor:grab;padding:4px 6px;color:#8c9883;touch-action:none}
.order{padding:2px 7px;font-size:12px;background:#f1f3ec;color:#5a6852}
.product-photo{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block}
.quick-fields{padding:18px;display:grid;gap:12px}
.quick-fields>small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:1px}
.quick-fields input{padding:8px 10px}
.file-label{font-size:11px;color:#597143}
.file-label input{font-size:10px;padding:6px;max-width:100%}
.quick-fields button{font-size:12px;padding:10px}
.dirty{font-size:10px;color:#a46a29;min-height:15px}
.card-actions{display:flex;gap:14px;border-top:1px solid #edf0e7;align-items:center;padding:12px 16px;font-size:11px}
.card-actions>form:last-child{margin-left:auto}
.text-button{border:0;background:transparent;color:#5e6d51;padding:0;font-size:11px}
.danger{color:#a9432d}
.bulk-bar{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:12px}
.sort-form{display:flex;align-items:center;gap:10px;margin:18px 0}
.sort-form small{color:var(--muted)}
.table-view{display:flex;flex-direction:column;gap:10px}
.table-view .quick-form{display:flex;align-items:center}
.table-view .product-photo{width:90px;height:90px;margin-left:14px;border-radius:8px}
.table-view .quick-fields{display:flex;flex:1;align-items:center;flex-wrap:wrap}
.table-view .quick-fields>small{width:100%}
.table-view .quick-fields label{flex:1;min-width:100px}
.table-view .quick-fields .file-label{max-width:200px}
.table-view .dirty{width:100%}
.panel{background:#fff;border:1px solid #dde1d4;border-radius:14px;padding:26px;margin-bottom:26px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.form-grid input[type=hidden]{position:absolute}
.form-grid>label:has(input[type=hidden]){display:none}
.form-grid textarea{min-height:110px;resize:vertical}
.form-grid>button{align-self:end;justify-self:start}
.form-grid video,.media-preview{width:100%;max-height:240px;object-fit:contain;margin-top:16px;border-radius:12px}
.category-admin{display:grid;gap:12px}
.category-admin>article{display:flex;gap:18px;align-items:center;background:white;border:1px solid var(--line);border-radius:12px;padding:14px}
.category-admin img{object-fit:cover;border-radius:8px}
.category-admin div{flex:1}
.category-admin small{display:block;color:var(--muted)}
.category-admin a{font-size:12px}
.error,.success{padding:14px 18px;border-radius:8px;font-size:13px}
.error{background:#f8e5df;color:#943522}
.success{background:#e3eedc;color:#466233}
.login{min-height:100dvh;display:grid;place-items:center;padding:24px;background:#263529}
.login-box{max-width:420px;width:100%;border-radius:20px;padding:40px;background:var(--paper)}
.login-box .brand{margin-bottom:40px}
.login-box form{display:grid;gap:18px;margin:26px 0}
.login-box h1{font-family:Georgia,serif;font-weight:400}
.login-box>a:last-child{font-size:12px;color:var(--muted)}

@media(min-width:1500px){.admin-products{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:1050px){.admin-products{grid-template-columns:repeat(2,minmax(0,1fr))}
.workspace{padding:28px 24px}
.sidebar{width:200px}
.workspace{margin-left:200px}
.toolbar{flex-wrap:wrap}
.status{display:none}
.category-grid,.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.hero{margin:0 24px}
.stats{gap:10px}
.stats article{padding:15px}
}

@media(max-width:700px){.menu-top{padding:22px 18px}
.menu-tag{display:none}
.edition{font-size:8px;letter-spacing:1.2px}
.brand{font-size:27px}
.hero{margin:0 14px;height:190px;border-radius:14px}
.hero-content{inset:20px 24px}
.hero-content h1{font-size:38px;margin-bottom:8px}
.hero-content p{font-size:8px;margin-bottom:10px}
.hero-subtitle{font-size:10px}
.hero-seal{width:62px;height:62px;right:22px;bottom:22px;font-size:8px}
.hero-logo{max-width:65px;max-height:32px}
.menu-main{padding:28px 16px 0}
.menu-heading h1{font-size:30px;margin-bottom:20px}
.menu-heading .eyebrow{font-size:8px}
.desktop-note{display:none}
.back{font-size:10px;white-space:normal;text-align:right;max-width:100px}
.category-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
.category-card>span{padding:14px}
.category-card b{font-size:23px}
.category-card small{font-size:7px;letter-spacing:1px}
.category-card i{right:12px;bottom:14px;font-size:20px}
.product-title{gap:4px;margin-top:12px;min-height:44px}
.product-title h2{font-size:14px;line-height:1.45}
.info{width:32px;height:32px;flex-basis:32px}
.price{font-size:17px;margin-top:4px}
.menu-search{margin-bottom:22px}
.menu-search input{font-size:13px}
.menu-search button{font-size:12px}
.menu-footer{margin-top:40px;gap:22px;padding:28px 0}
.menu-footer .footer-links{margin-left:0;width:100%}
.footer-prices{line-height:1.7}
dialog{width:100%;max-width:none;max-height:90dvh;border-radius:22px 22px 0 0;margin:auto 0 0}
.dialog-body{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
.sidebar{position:static;width:100%;padding:20px;gap:16px}
.sidebar .brand{margin-bottom:0}
.sidebar .eyebrow{display:none}
.sidebar nav{display:flex;overflow-x:auto;gap:6px}
.sidebar nav a{white-space:nowrap;padding:9px 12px}
.sidebar>a:not(.brand){align-self:flex-end;margin-top:-46px}
.sidebar>form{position:absolute;right:20px;top:58px}
.sidebar .ghost{padding:4px 10px;font-size:10px}
.workspace{margin:0;padding:24px 16px}
.admin-header h1{font-size:28px}
.admin-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.card-top{padding:8px;gap:3px;flex-wrap:wrap}
.card-top .check{font-size:9px}
.card-top .drag{padding:0}
.order{padding:2px 5px}
.quick-fields{padding:12px;gap:10px}
.quick-fields label{font-size:11px}
.quick-fields input{font-size:12px;padding:8px}
.quick-fields button{font-size:10px;padding:10px 5px}
.card-actions{padding:10px;gap:8px;flex-wrap:wrap;font-size:10px}
.card-actions .text-button{font-size:10px}
.card-actions>form:last-child{margin-left:0}
.filters{width:100%;flex-wrap:wrap}
.filters input{flex-basis:100%}
.filters select{flex:1}
.stats{grid-template-columns:repeat(2,1fr)}
.form-grid{grid-template-columns:1fr}
.panel{padding:20px}
.sort-form{align-items:flex-start;flex-direction:column}
.table-view .quick-form{align-items:flex-start}
.table-view .product-photo{width:60px;height:60px;margin-top:20px}
.table-view .quick-fields{padding:12px}
.category-admin>article{gap:8px;flex-wrap:wrap}
.category-admin img{width:40px;height:40px}
.category-admin div{min-width:100px}
.recent b{font-size:12px}
.recent span{font-size:13px}
.bulk-bar{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}
}

/* Customer-only typography: admin layout and interactions keep their existing fonts. */
.customer{font-family:Montserrat,Arial,Helvetica,sans-serif}
.customer .brand{font-weight:800}
.customer .menu-heading h1{font-weight:300}
.customer .category-card b,.customer .product-title h2{font-weight:600}
.customer .dialog-body h2{font-weight:700}
.hero-title-line{display:block;overflow-wrap:anywhere}
.title-light{font-weight:300}
.title-bold{font-weight:700}
.site-logo{display:block;width:var(--logo-width,120px);height:auto;max-width:100%;max-height:80px;object-fit:contain}
.hero-logo{width:var(--logo-width,120px);max-width:180px;height:auto;max-height:70px}
.logo-preview{display:block;max-width:min(240px,100%);max-height:140px;object-fit:contain;margin-bottom:20px}
.visibility-options{display:grid;gap:12px;border:1px solid var(--line);border-radius:8px;padding:16px;margin:0;min-width:0}
.visibility-options legend{font-size:13px;font-weight:600;padding:0 6px}
@media(max-width:700px){.site-logo{max-width:36vw;max-height:60px}.hero-logo{max-width:85px;max-height:40px}.hero-copy{max-width:100%}.hero-content h1{font-size:38px}}

.footer-description{max-width:100%;overflow-wrap:anywhere}
.menu-footer .footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;width:100%;align-items:end}
.footer-prices{min-width:0;overflow-wrap:anywhere;line-height:1.7}
.design-credit{grid-column:2;justify-self:end;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:10px;color:var(--muted);font-weight:300;line-height:1.7}
.design-heart{display:block;width:15px;height:15px;flex:0 0 15px}
.design-credit a{font-weight:500;transition:color .18s}
.design-credit a:hover{color:var(--primary)}
/* Keep desktop footer unchanged; stack only the mobile footer. */
.footer-price-break{display:none}
.menu-footer .footer-links:empty{display:none}
@media(max-width:768px){
.menu-footer{flex-direction:column;align-items:center;text-align:center;margin-top:28px;padding:22px 0 18px;gap:10px}
.menu-footer>.brand{max-width:150px;justify-content:center;margin:0}
.menu-footer .site-logo{width:var(--logo-width,120px);max-width:150px;height:auto;max-height:none;object-fit:contain}
.menu-footer .footer-description{width:100%;font-size:12px;line-height:1.5}
.menu-footer .footer-links{width:auto;max-width:100%;margin:0;justify-content:center;flex-wrap:wrap;gap:8px 16px}
.menu-footer .footer-bottom{grid-template-columns:minmax(0,1fr);align-items:center;gap:10px}
.footer-prices{font-size:11px;line-height:1.5;text-align:center}
.footer-price-break{display:block}
.design-credit{grid-column:1;justify-self:center;font-size:10px;line-height:1.5}
}
