:root{--ink:#2d261e;--muted:#74695d;--line:#e7dfd5;--gold:#d6a84f;--paper:#fbf8f3;--brown:#6b4f2a}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}.nav{height:76px;display:flex;align-items:center;justify-content:center;position:relative;padding:0 6%;border-bottom:1px solid var(--line);background:#fff}.brand{position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap;z-index:2;font-family:Georgia,serif;letter-spacing:2px;font-weight:700}.brand span{font-weight:400}.menu-toggle{position:absolute;right:6%;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;display:grid;place-content:center;gap:3px;padding:0;cursor:pointer;z-index:4}.menu-toggle span{display:block;width:4px;height:4px;border-radius:50%;background:var(--ink)}.site-menu{position:absolute;right:6%;top:calc(100% + 10px);display:flex;flex-direction:column;gap:0;min-width:190px;padding:8px;background:#fff;border:1px solid var(--line);box-shadow:0 14px 35px rgba(45,38,30,.12);border-radius:8px;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;z-index:9999}.site-menu.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.site-menu a{display:block;padding:11px 13px;border-radius:5px;font-size:14px}.site-menu a:hover{background:var(--paper)}.hero{min-height:620px;padding:100px 8%;display:flex;align-items:center;background:linear-gradient(120deg,#f1e8d8,#fbf8f3 58%,#e8d8bd)}.hero h1{font:700 clamp(48px,7vw,90px)/.98 Georgia,serif;margin:12px 0}.hero em{font-weight:400}.eyebrow{text-transform:uppercase;letter-spacing:3px;font-size:11px;color:var(--brown);font-weight:700}.hero p:not(.eyebrow){max-width:550px;color:var(--muted);font-size:18px}.btn{display:inline-block;border:0;background:var(--ink);color:white;padding:13px 23px;margin-top:12px;cursor:pointer;border-radius:2px}.btn.secondary{background:white;color:var(--ink);border:1px solid var(--line)}.section{padding:80px 7%}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.section h1,.section h2{font-family:Georgia,serif;font-weight:400}.section h1{font-size:54px}.section h2{font-size:38px}.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cat{padding:28px;border:1px solid var(--line);background:#fff;display:flex;justify-content:space-between;font:22px Georgia,serif}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product{background:#fff;border:1px solid var(--line)}.product img,.placeholder{width:100%;aspect-ratio:1;object-fit:cover}.placeholder,.detail-placeholder{display:grid;place-items:center;background:#e8dcc8;color:#6b4f2a;font:20px Georgia,serif;letter-spacing:2px}.pbody{padding:18px}.pbody small{color:var(--muted)}.pbody h3{font:22px Georgia,serif;margin:4px 0 8px}.empty{padding:40px;border:1px dashed var(--line);background:#fff}.filters{display:flex;gap:10px;margin:30px 0}.filters input,.filters select,.admin-form input,.admin-form select,.admin-form textarea,.checkout input,.checkout select,.checkout textarea,.auth input{padding:13px;border:1px solid var(--line);background:#fff;width:100%;font:inherit}.filters input{max-width:500px}.detail,.checkout{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:80px 8%;max-width:1300px;margin:auto}.detail h1,.checkout h1{font:50px Georgia,serif}.detail-img,.detail-placeholder{width:100%;aspect-ratio:1;object-fit:cover}.price{font:28px Georgia,serif;margin:20px 0}.qty{width:80px;padding:11px;border:1px solid var(--line);margin-right:10px}.cart-row{display:grid;grid-template-columns:1fr 100px 150px;gap:20px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.cart-row small{display:block;color:var(--muted)}.summary{margin:35px 0 0 auto;max-width:450px;display:grid;grid-template-columns:1fr auto;gap:12px;padding:25px;background:#fff;border:1px solid var(--line)}.summary .btn{grid-column:1/-1;text-align:center}.checkout{grid-template-columns:1.2fr .8fr}.checkout form,.admin-form{display:grid;gap:12px}.checkout label,.admin-form label{font-weight:700;font-size:14px}.checkout textarea,.admin-form textarea{min-height:120px}.auth{min-height:100vh;display:grid;place-items:center;padding:20px}.card{width:min(430px,100%);padding:40px;background:#fff;border:1px solid var(--line)}.notice{padding:12px;background:#f3e5d2;margin:15px 0}.muted{color:var(--muted)}footer{padding:50px 7%;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted)}.admin-nav{padding:18px 4%;background:#211c17;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:20px}.admin-nav nav{flex-wrap:wrap}.admin{padding:50px 5%}.admin h1{font:45px Georgia,serif}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:25px 0 50px}.stats div{background:#fff;border:1px solid var(--line);padding:25px}.stats b{display:block;font:36px Georgia,serif}.stats span{color:var(--muted)}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);margin:25px 0}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line);white-space:nowrap}.admin-form{max-width:700px;background:#fff;padding:25px;border:1px solid var(--line)}@media(max-width:800px){.nav{height:68px;padding:0 5%;align-items:center}.menu-toggle{right:5%}.site-menu{right:5%;top:calc(100% + 8px)}.hero{min-height:500px;padding:70px 7%}.cat-grid,.products,.stats{grid-template-columns:repeat(2,1fr)}.detail,.checkout{grid-template-columns:1fr;padding:45px 6%;gap:30px}.section{padding:55px 6%}.checkout{display:grid}.admin-nav{align-items:flex-start;flex-direction:column}.admin-nav nav{gap:12px}.cart-row{grid-template-columns:1fr 70px 100px}}@media(max-width:500px){.brand{font-size:14px;letter-spacing:1.5px}.site-menu{min-width:175px}.cat-grid,.products,.stats{grid-template-columns:1fr}.section h1{font-size:42px}.hero h1{font-size:54px}.filters{flex-direction:column}footer{flex-direction:column;gap:10px}}
.admin-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.admin-page-head h1{margin-bottom:5px}.category-form{margin-bottom:45px}.form-help{margin:-4px 0 2px;font-size:13px}.admin-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.admin-section-head h2{margin-bottom:0}.inline-form{display:inline}.action-links{white-space:nowrap}.link-button{border:0;background:none;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;padding:0}.error-notice{background:#f6dddd;color:#7a2020}@media(max-width:600px){.admin-page-head,.admin-section-head{align-items:flex-start;flex-direction:column}.admin-page-head .btn,.admin-section-head .btn{margin-top:0}}
/* Admin slide-out navigation */
.admin-header{height:64px;position:relative;padding:0 24px;background:#211c17;color:#fff;display:flex;align-items:center;justify-content:center;z-index:1001}
.admin-brand{font-family:Georgia,serif;letter-spacing:2px;font-size:16px;white-space:nowrap}
.admin-menu-toggle{position:absolute;left:24px;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:rgba(255,255,255,.06);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;padding:0;z-index:1004}
.admin-menu-toggle span{display:block;width:4px;height:4px;border-radius:50%;background:#fff}
.admin-menu-toggle:hover{background:rgba(255,255,255,.13)}
.admin-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease;z-index:1090}
.admin-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
.admin-sidebar{position:fixed;left:0;top:0;bottom:0;width:min(310px,86vw);background:#fff;box-shadow:12px 0 35px rgba(0,0,0,.18);transform:translateX(-105%);transition:transform .25s ease;z-index:1100;overflow-y:auto}
.admin-sidebar.is-open{transform:translateX(0)}
.admin-sidebar-head{height:64px;padding:0 18px 0 22px;background:#211c17;color:#fff;display:flex;align-items:center;justify-content:space-between;font-family:Georgia,serif;font-size:17px;letter-spacing:.5px}
.admin-sidebar-close{width:36px;height:36px;border:0;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer;border-radius:6px}
.admin-sidebar-close:hover{background:rgba(255,255,255,.1)}
.admin-sidebar-nav{padding:12px}
.admin-sidebar-nav a{display:flex;align-items:center;gap:13px;padding:12px 14px;margin:3px 0;border-radius:8px;color:var(--ink);font-size:15px;font-weight:600;transition:background .15s ease,transform .15s ease}
.admin-sidebar-nav a:hover{background:var(--paper);transform:translateX(2px)}
.admin-sidebar-nav a svg{width:21px;height:21px;flex:0 0 21px;fill:currentColor}
body.admin-menu-open{overflow:hidden}
.admin-nav nav{display:none!important}
@media(max-width:600px){.admin-header{height:60px;padding:0 16px}.admin-menu-toggle{left:16px}.admin-brand{font-size:14px;letter-spacing:1.5px}.admin-sidebar{width:min(300px,88vw)}}
.site-footer{margin-top:0;padding:60px 7% 24px;background:#211c17;color:#f8f3eb;border-top:1px solid #3b3229}.site-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,minmax(130px,1fr));gap:42px;max-width:1400px;margin:auto}.site-footer-brand{max-width:330px}.site-footer-logo{display:block;font:700 25px Georgia,serif;letter-spacing:2px;margin-bottom:12px}.site-footer p{color:#c9bfb3;margin:0 0 18px}.site-footer-col h3{margin:0 0 14px;font:600 17px Georgia,serif;color:#fff}.site-footer-col a,.site-footer-contact a{display:block;color:#c9bfb3;padding:4px 0;font-size:14px}.site-footer-col a:hover,.site-footer-contact a:hover,.site-footer-social a:hover{color:#fff}.site-footer-contact{margin-top:14px}.site-footer-social{display:flex;gap:15px;margin-top:14px}.site-footer-social a{color:#d6a84f;font-size:14px}.site-footer-bottom{max-width:1400px;margin:45px auto 0;padding-top:18px;border-top:1px solid #3b3229;display:flex;justify-content:space-between;gap:15px;color:#9f9488;font-size:13px}.page-content{padding:70px 7%;min-height:55vh}.page-wrap{max-width:900px;margin:auto;background:#fff;border:1px solid var(--line);padding:45px}.page-wrap h1{font:48px Georgia,serif;margin:10px 0 30px}.page-body{color:#4c4339}.page-body h2,.page-body h3{font-family:Georgia,serif}.page-body img{max-width:100%;height:auto}.page-body a{text-decoration:underline}@media(max-width:800px){.site-footer-grid{grid-template-columns:1fr 1fr;gap:30px}.site-footer-brand{grid-column:1/-1}.site-footer-bottom{flex-direction:column}.page-content{padding:45px 6%}.page-wrap{padding:30px 22px}}@media(max-width:500px){.site-footer-grid{grid-template-columns:1fr}.site-footer-brand{grid-column:auto}.page-wrap h1{font-size:38px}}

/* Refined storefront footer inspired by the supplied reference */
.site-footer{margin-top:0;padding:56px 6% 22px;background:#fff;color:#4b453e;border-top:1px solid #ece7df}
.site-footer-inner{max-width:1380px;margin:0 auto}
.site-footer-grid{display:grid;grid-template-columns:minmax(270px,1.65fr) repeat(4,minmax(130px,1fr));gap:42px;align-items:start}
.site-footer-brand{max-width:390px}
.site-footer-logo{display:inline-flex;align-items:center;color:#c98528;font:700 24px Georgia,serif;letter-spacing:1.5px;margin-bottom:12px}
.site-footer-logo:before{content:"";width:34px;height:34px;margin-right:10px;border:2px solid #e6a23c;border-radius:9px;display:inline-block;background:linear-gradient(135deg,#fffaf1,#f4e3c2);box-shadow:inset 0 0 0 5px #fff}
.site-footer-tagline{color:#77716a!important;max-width:360px;margin:0 0 18px!important;font-size:14px;line-height:1.75}
.site-footer-contact{display:grid;gap:7px;margin-top:12px}
.footer-contact-row{display:flex!important;align-items:flex-start;gap:9px;color:#77716a!important;font-size:13px!important;padding:0!important;line-height:1.5}
.footer-contact-row:hover{color:#b87922!important}
.footer-contact-icon{width:18px;flex:0 0 18px;color:#a49b91;text-align:center;font-size:15px;line-height:1.4}
.site-footer-social{display:flex;gap:10px;margin-top:19px}
.social-icon{width:34px;height:34px;border-radius:50%;display:inline-flex!important;align-items:center;justify-content:center;padding:0!important;background:#faf7f2;color:#8b8176!important;border:1px solid #eee7dd;font-size:16px!important;font-weight:700}
.social-icon:hover{background:#f5ead7;color:#b87922!important;border-color:#ead5b5}
.social-icon.facebook{font-family:Arial,sans-serif}.social-icon.instagram{font-size:19px!important}.social-icon.youtube{font-size:13px!important}.social-icon.tiktok{font-size:18px!important}.social-icon.x{font-size:14px!important}
.site-footer-col{min-width:0}
.site-footer-col h3{margin:0 0 14px;color:#3f3932;font:600 15px Arial,Helvetica,sans-serif}
.site-footer-col a{display:block;color:#77716a!important;padding:4px 0;font-size:13px!important;line-height:1.55}
.site-footer-col a:hover{color:#b87922!important;transform:translateX(2px)}
.site-footer-bottom{max-width:none;margin:38px 0 0;padding-top:17px;border-top:1px solid #eee9e2;display:flex;justify-content:center;gap:10px;color:#8e877f;font-size:12px;text-align:center}
.site-footer-bottom span:last-child{display:none}

/* Footer CMS admin */
.footer-admin-page{max-width:1500px;margin:auto}
.footer-admin-card{background:#fff;border:1px solid var(--line);padding:28px;margin:24px 0 30px;border-radius:10px;box-shadow:0 6px 20px rgba(45,38,30,.035)}
.footer-admin-section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.footer-admin-section-title h2{margin:0 0 4px;font:30px Georgia,serif}
.footer-admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.footer-admin-form-grid label,.social-admin-grid label,.footer-link-form-grid label{display:grid;gap:7px;font-size:13px;font-weight:700}
.footer-admin-form-grid textarea{resize:vertical}
.footer-admin-subtitle{font:22px Georgia,serif;margin:30px 0 14px;color:var(--ink)}
.social-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:20px}
.social-admin-grid label span{display:flex;align-items:center;gap:8px}
.social-admin-icon{width:25px;height:25px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#f5efe6;color:#806b50;font-size:13px}
.footer-link-form{max-width:none;margin-bottom:25px}
.footer-link-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.footer-checks{display:flex;gap:22px;flex-wrap:wrap;margin:4px 0 5px}
.footer-checks label{display:flex;align-items:center;gap:7px;font-weight:600;font-size:13px}
.footer-checks input{width:auto}
.status-pill{display:inline-block;padding:3px 8px;border-radius:20px;background:#f1ece5;color:#81776d;font-size:11px;font-weight:700}
.status-pill.active{background:#e8f5e9;color:#35753a}

@media(max-width:1100px){
  .site-footer-grid{grid-template-columns:1.5fr repeat(3,minmax(125px,1fr));gap:32px}
  .site-footer-brand{grid-column:1/-1;max-width:600px}
}
@media(max-width:800px){
  .site-footer{padding:46px 6% 20px}
  .site-footer-grid{grid-template-columns:1fr 1fr;gap:28px 24px}
  .site-footer-brand{grid-column:1/-1}
  .footer-admin-form-grid,.social-admin-grid,.footer-link-form-grid{grid-template-columns:1fr}
  .footer-admin-card{padding:20px}
}
@media(max-width:520px){
  .site-footer{padding:38px 20px 18px}
  .site-footer-grid{grid-template-columns:1fr;gap:26px}
  .site-footer-brand{grid-column:auto;max-width:none}
  .site-footer-logo{font-size:22px}
  .site-footer-col h3{margin-bottom:9px}
  .site-footer-col a{padding:5px 0}
  .site-footer-bottom{margin-top:28px;justify-content:center}
  .footer-admin-section-title{align-items:flex-start;flex-direction:column}
}


/* Checkout coupon + product discount UI */
.coupon-row{display:flex;gap:10px;align-items:stretch}.coupon-row input{flex:1;min-width:0}.coupon-row .btn{white-space:nowrap}.coupon-success{margin-top:10px}.item-discount{display:block;margin-top:4px;font-size:.82rem;opacity:.8}.summary .grand-total{font-size:1.1rem;border-top:1px solid rgba(0,0,0,.12);padding-top:10px}@media(max-width:640px){.coupon-row{flex-direction:column}.coupon-row .btn{width:100%}}

/* Order tracking */
.order-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:25px 0}
.order-card,.tracking-lookup,.tracking-result{background:#fff;border:1px solid var(--line);padding:26px;margin:25px 0;border-radius:10px}
.order-card h2,.tracking-result h2{font:28px Georgia,serif;margin-top:0}
.tracking-progress{display:flex;align-items:flex-start;gap:0;margin:22px 0 10px;overflow-x:auto;padding-bottom:8px}
.tracking-step{position:relative;flex:1;min-width:115px;text-align:center;color:#9a9187;font-size:13px;padding:0 8px}
.tracking-step:not(:last-child):after{content:"";position:absolute;top:15px;left:50%;width:100%;height:2px;background:#e8e0d6;z-index:0}
.tracking-step.done:not(:last-child):after{background:var(--gold)}
.tracking-dot{position:relative;z-index:1;width:30px;height:30px;border-radius:50%;display:inline-grid;place-items:center;background:#eee8df;color:#887d70;margin-bottom:7px;font-weight:700}
.tracking-step.done,.tracking-step.current{color:var(--brown)}
.tracking-step.done .tracking-dot,.tracking-step.current .tracking-dot{background:var(--gold);color:#fff}
.tracking-step.current b{font-weight:800}
.tracking-cancelled{padding:9px 13px;background:#f7dfdf;color:#8b2d2d;border-radius:6px;margin-left:12px;white-space:nowrap}
.tracking-history{display:grid;gap:0;margin-top:20px;border-left:2px solid #e6ddcf;padding-left:22px}
.tracking-event{position:relative;padding:0 0 22px}
.tracking-event:before{content:"";position:absolute;left:-30px;top:3px;width:13px;height:13px;border-radius:50%;background:var(--gold);border:3px solid #fff;box-shadow:0 0 0 1px #e6ddcf}
.tracking-event-status{font-weight:800;color:var(--brown)}
.tracking-event-date{font-size:12px;color:var(--muted);margin-top:2px}
.tracking-event p{margin:6px 0 0;color:#5d554c}
.tracking-lookup{max-width:760px;margin:0 auto 30px}
.tracking-lookup-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-top:20px}
.tracking-lookup-form label{font-weight:700;font-size:14px;display:grid;gap:7px}
.tracking-lookup-form input{padding:13px;border:1px solid var(--line);background:#fff;font:inherit;width:100%}
.tracking-result-head{display:flex;justify-content:space-between;gap:25px;align-items:flex-start}
.tracking-meta{text-align:right;color:var(--muted);line-height:1.9}
.tracking-summary{margin-left:0;margin-right:0}
.status-badge{display:inline-block;padding:4px 9px;border-radius:20px;font-size:11px;font-weight:800;background:#eee8df;color:#71675d}
.status-pending{background:#f3eadc;color:#8a6b35}.status-confirmed{background:#e8f1fb;color:#35658d}.status-processing{background:#eee8fb;color:#654f8b}.status-shipped{background:#e7f4ed;color:#36734f}.status-delivered{background:#def2df;color:#2e7135}.status-cancelled{background:#f8dfdf;color:#8c2d2d}
.small-btn{padding:8px 12px;margin-top:0;font-size:12px}
@media(max-width:850px){.order-admin-grid{grid-template-columns:1fr}.tracking-lookup-form{grid-template-columns:1fr}.tracking-result-head{flex-direction:column}.tracking-meta{text-align:left}.tracking-progress{padding-bottom:12px}}
@media(max-width:520px){.order-card,.tracking-lookup,.tracking-result{padding:19px}.tracking-step{min-width:105px;font-size:11px}.tracking-summary{display:grid}.tracking-lookup h1{font-size:38px}}
.bulk-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 16px;background:#fff;border:1px solid var(--line);margin:20px 0 0;position:sticky;top:0;z-index:20;box-shadow:0 6px 20px rgba(45,38,30,.06)}
.bulk-select{display:flex;align-items:center;gap:14px;white-space:nowrap}.select-all-label{display:flex;align-items:center;gap:7px;font-weight:700}.bulk-select span{color:var(--muted);font-size:13px}.bulk-controls{display:flex;align-items:center;gap:8px}.bulk-controls select{min-width:150px;padding:10px;border:1px solid var(--line);background:#fff;font:inherit}.bulk-controls .btn{margin-top:0}.row-selected{background:#fff9ed}.btn.danger{background:#9b2c2c;color:#fff}.small-btn{padding:7px 11px;margin-top:0;font-size:13px}.inline-form{margin-left:5px}.action-links{display:flex;align-items:center;gap:5px}.table-wrap input[type=checkbox]{width:17px;height:17px;accent-color:var(--brown)}
@media(max-width:800px){.bulk-toolbar{align-items:stretch;flex-direction:column;position:static}.bulk-controls{flex-wrap:wrap}.bulk-controls select,.bulk-controls .btn{flex:1;min-width:130px}.action-links{flex-direction:column;align-items:stretch}}
.admin-header-actions{position:absolute;right:24px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:8px;z-index:1004}.admin-icon-btn,.admin-profile-btn{width:40px;height:40px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.06);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;position:relative}.admin-icon-btn:hover,.admin-profile-btn:hover{background:rgba(255,255,255,.14)}.admin-icon-btn svg,.admin-profile-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.admin-profile-btn svg{fill:currentColor;stroke:none}.admin-notification-badge{position:absolute;right:-3px;top:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#e53935;color:#fff;font:700 10px/18px Arial;text-align:center;border:2px solid #211c17}.admin-notification-panel{position:absolute;right:0;top:48px;width:min(380px,calc(100vw - 24px));background:#fff;color:#222;border:1px solid #e8e0d6;border-radius:12px;box-shadow:0 16px 45px rgba(0,0,0,.2);overflow:hidden}.admin-notification-head{display:flex;justify-content:space-between;align-items:center;padding:13px 14px;border-bottom:1px solid #eee}.admin-notification-head button{border:0;background:none;color:#8a6428;font-size:12px;cursor:pointer}.admin-notification-list{max-height:390px;overflow:auto}.admin-notification-item{display:flex;gap:10px;padding:12px 14px;border-bottom:1px solid #f1eee9;color:#333;text-decoration:none}.admin-notification-item:hover{background:#faf7f1}.admin-notification-item.unread{background:#fffaf0}.admin-notification-item .notification-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#c09937;margin-top:6px}.admin-notification-item:not(.unread) .notification-dot{background:#ccc}.admin-notification-item span:last-child{min-width:0}.admin-notification-item b,.admin-notification-item small,.admin-notification-item time{display:block}.admin-notification-item b{font-size:13px}.admin-notification-item small{font-size:12px;color:#666;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-notification-item time{font-size:10px;color:#999;margin-top:4px}.notification-empty{padding:28px 14px;text-align:center;color:#888;font-size:13px}.notification-view-all{display:block;padding:11px;text-align:center;text-decoration:none;border-top:1px solid #eee;color:#8a6428;font-weight:600;font-size:13px}@media(max-width:600px){.admin-header-actions{right:16px;gap:5px}.admin-icon-btn,.admin-profile-btn{width:36px;height:36px}.admin-notification-panel{right:-4px;top:44px;width:min(350px,calc(100vw - 20px))}}
.footer-newsletter{max-width:1400px;margin:34px auto 0;padding:22px 0;border-top:1px solid #3b3229;display:flex;justify-content:space-between;gap:24px;align-items:center}.footer-newsletter h3{margin:0 0 6px;font:600 19px Georgia,serif;color:#fff}.footer-newsletter p{margin:0;color:#9f9488}.footer-newsletter-form{display:flex;gap:10px;min-width:min(520px,100%)}.footer-newsletter-form input{flex:1;min-width:0;background:#fff;color:#222;border:0;border-radius:6px;padding:12px 14px}.footer-newsletter-form .btn{margin:0;white-space:nowrap}.site-footer-social .social-icon{width:36px;height:36px;border:1px solid rgba(214,168,79,.45);border-radius:50%;display:inline-flex;align-items:center;justify-content:center}.site-footer-social .social-icon svg{width:18px;height:18px;fill:currentColor}.site-footer-social .instagram svg{fill:none}.site-footer-social .instagram circle{fill:none}.site-footer-social .youtube svg{fill:currentColor}.site-footer-social .tiktok svg{fill:currentColor}@media(max-width:700px){.footer-newsletter{display:block}.footer-newsletter-form{margin-top:15px;min-width:0;flex-direction:column}.footer-newsletter-form .btn{width:100%}}
.admin-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.admin .card{background:#fff;border:1px solid var(--line);padding:24px;border-radius:10px;margin:20px 0}.admin .card h2{margin-top:0;font:24px Georgia,serif}@media(max-width:800px){.admin-grid-2{grid-template-columns:1fr}}
.verify-row{display:flex;gap:10px;align-items:stretch}.verify-row input{flex:1}.segmented{display:flex;gap:8px;margin:8px 0 14px}.segmented label{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #ddd;border-radius:8px}.btn.secondary{white-space:nowrap}.notice.success{border-color:#86b98b}

/* Mini Honey Nuts branded customer auth - mobile first */
.auth-page{background:linear-gradient(180deg,#fbf8f2 0%,#f5efe4 100%);min-height:100vh;color:#2f2a24}.auth-nav{background:#fff!important;color:var(--brown);border-bottom:1px solid var(--line)}.auth-nav .brand{color:var(--brown)}
.auth-shell{width:min(680px,calc(100% - 28px));margin:38px auto 55px}.auth-hero{display:flex;align-items:center;gap:18px;margin:0 8px 22px}.auth-hero h1{margin:0;color:#6b4f2a;font-size:32px;line-height:1.15}.auth-hero p{margin:6px 0 0;color:#786f64;font-size:17px}.auth-brand-icon{width:76px;height:76px;flex:0 0 76px;border-radius:22px;background:#6b4f2a;display:grid;place-items:center;box-shadow:0 10px 24px rgba(107,79,42,.18)}.auth-brand-icon svg{width:48px;height:48px;fill:none;stroke:#f6e8c7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.auth-card{background:rgba(255,255,255,.96);border:1px solid #e7ddcf;border-radius:24px;padding:28px;box-shadow:0 12px 34px rgba(72,54,35,.08);margin:0 0 18px}.auth-card h2{margin:0 0 18px;color:#3e3328;font-size:22px}.auth-verify-card{background:#f4eee5}.auth-field{display:block;margin:0 0 14px}.auth-field>span{display:block;font-weight:700;color:#5d5145;margin:0 0 7px;font-size:14px}.auth-input-wrap{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e4d9c9;border-radius:14px;min-height:56px;padding:0 14px;box-shadow:0 3px 10px rgba(65,49,32,.04)}.auth-input-wrap:focus-within{border-color:#b98b3d;box-shadow:0 0 0 3px rgba(185,139,61,.12)}.auth-input-wrap input,.auth-input-wrap textarea{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;min-width:0;flex:1;font:inherit;color:#332c25;padding:0}.auth-input-wrap input{height:52px}.auth-input-wrap textarea{height:90px;padding:14px 0;resize:vertical}.textarea-wrap{align-items:flex-start}.auth-input-icon{width:25px;text-align:center;color:#b88735;font-size:22px;flex:0 0 25px}.eye-btn{border:0;background:none;color:#9a8c7b;cursor:pointer;font-size:18px}.auth-method-switch{display:flex;gap:8px;align-items:center;margin:10px 0 14px;flex-wrap:wrap}.auth-method{border:1px solid #d8cbb8;background:#fff;color:#6b4f2a;border-radius:999px;padding:9px 14px;cursor:pointer;font-weight:700}.auth-method.active{background:#6b4f2a;color:#fff;border-color:#6b4f2a}.auth-btn{display:flex;justify-content:center;align-items:center;width:100%;border:0;border-radius:14px;background:var(--gold);color:#fff;padding:15px 18px;font:700 16px inherit;cursor:pointer;box-shadow:0 8px 18px rgba(107,79,42,.18);text-decoration:none}.auth-btn:hover{background:#b98b3d}.auth-btn.secondary{background:var(--brown);box-shadow:none}.auth-btn.secondary:hover{background:#513b22}.auth-otp-row{display:flex;gap:10px}.auth-otp-row input{flex:1}.otp-block{margin-top:16px;padding-top:16px;border-top:1px solid #e1d7c8}.otp-block label{display:block;font-weight:700;margin-bottom:7px;color:#5d5145}.otp-block small{display:block;margin-top:7px;color:#857a6d}.verified-pill{margin-top:14px;padding:10px 13px;border-radius:10px;background:#e7f3e7;color:#2e6b39;font-weight:700}.verified-mini{font-size:11px;font-weight:700;color:#2f6b37;white-space:nowrap}.auth-or{height:54px;display:flex;align-items:center;justify-content:center;position:relative;margin:2px 0}.auth-or:before{content:"";position:absolute;left:0;right:0;height:1px;background:#ded5c8}.auth-or span{position:relative;background:#f8f4ed;border:1px solid #e5ddd1;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;color:#786e62;font-weight:700}.auth-alert{padding:13px 15px;border-radius:12px;margin:0 0 16px;border:1px solid #e4d8c7;background:#fff}.auth-alert.error{color:#8c352f;border-color:#e6bcb8;background:#fff6f5}.auth-alert.success{color:#2e6b39;border-color:#bcd8bd;background:#f5fbf5}.consent-line{display:flex!important;align-items:center;gap:8px;color:#6f665c!important;font-size:13px!important;margin:10px 0}.consent-line input{accent-color:#6b4f2a}.login-options{display:flex;justify-content:space-between;gap:12px;margin:8px 0 18px;color:#6d6358;font-size:13px}.login-options label{display:flex;gap:7px;align-items:center}.login-options input{accent-color:#6b4f2a}.login-options a,.auth-signup-link a{color:#9a6e2b;font-weight:700}.auth-signup-link{text-align:center;color:#5f574e;margin:24px 0 10px;font-size:15px}
@media(max-width:520px){.auth-shell{width:calc(100% - 20px);margin:24px auto 38px}.auth-hero{gap:13px;margin-left:4px}.auth-brand-icon{width:62px;height:62px;flex-basis:62px;border-radius:18px}.auth-brand-icon svg{width:39px;height:39px}.auth-hero h1{font-size:25px}.auth-hero p{font-size:15px}.auth-card{padding:20px;border-radius:20px}.auth-card h2{font-size:19px}.auth-otp-row{flex-direction:column}.auth-method-switch{justify-content:center}.auth-method-switch .auth-btn{width:100%}.login-options{align-items:flex-start;flex-direction:column}.auth-nav .brand{font-size:15px}}
/* Mini Honey Nuts auth icons: consistent line icons, no emoji glyphs. */
.auth-input-icon svg,.method-icon svg,.eye-btn svg{width:21px;height:21px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.auth-input-icon{display:inline-flex;align-items:center;justify-content:center;color:#b88735}
.auth-input-icon svg{width:20px;height:20px}
.method-icon{display:inline-flex;vertical-align:middle;margin-right:6px;color:currentColor}
.method-icon svg{width:17px;height:17px}
.auth-method{display:inline-flex;align-items:center;justify-content:center;gap:2px}
.eye-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px;color:#9a8c7b;min-width:30px}
.eye-btn svg{width:21px;height:21px}
.auth-otp-row{align-items:center}
.auth-otp-row>.otp-icon{flex:0 0 25px}
.auth-otp-row input{min-width:0}

/* Global theme system / editable brand palette */
.nav{background:var(--surface,#fff);color:var(--ink);border-color:var(--line)}
.menu-toggle{background:var(--surface,#fff);color:var(--ink)}
.site-menu,.cat,.product,.empty,.summary,.card,.admin-form,.table-wrap,.stats div,.order-card,.tracking-lookup,.tracking-result,.bulk-toolbar{background:var(--surface,#fff);color:var(--ink)}
.filters input,.filters select,.admin-form input,.admin-form select,.admin-form textarea,.checkout input,.checkout select,.checkout textarea,.auth input,.tracking-lookup-form input,.bulk-controls select{background:var(--surface,#fff);color:var(--ink)}
.btn{background:var(--secondary);color:var(--text-on-primary,#fff)}
.btn:hover{filter:brightness(.94)}
.btn.secondary{background:var(--surface,#fff);color:var(--secondary);border-color:var(--line)}
.hero{background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 20%,var(--paper)),var(--paper) 58%,color-mix(in srgb,var(--primary) 12%,var(--paper)))}
.eyebrow,.tracking-step.done,.tracking-step.current,.tracking-event-status{color:var(--primary)}
.auth-page{background:linear-gradient(180deg,var(--paper) 0%,color-mix(in srgb,var(--paper) 88%,var(--primary)) 100%);color:var(--ink)}
.auth-nav{background:var(--surface,#fff)!important;color:var(--primary);border-color:var(--line)}
.auth-nav .brand,.auth-hero h1{color:var(--primary)}
.auth-brand-icon{background:var(--primary)}
.auth-card{background:color-mix(in srgb,var(--surface,#fff) 96%,var(--paper));border-color:var(--line)}
.auth-verify-card{background:color-mix(in srgb,var(--paper) 92%,var(--surface,#fff))}
.auth-card h2,.auth-field>span,.otp-block label{color:var(--ink)}
.auth-input-wrap{background:var(--surface,#fff);border-color:var(--line);color:var(--ink)}
.auth-input-wrap input,.auth-input-wrap textarea{color:var(--ink)!important}
.auth-input-icon{color:var(--accent)}
.auth-method{background:var(--surface,#fff);color:var(--primary);border-color:var(--line)}
.auth-method.active,.auth-btn.secondary{background:var(--primary);border-color:var(--primary)}
.auth-btn{background:var(--accent)}
.auth-btn:hover{background:color-mix(in srgb,var(--accent) 82%,#000)}
.auth-signup-link a{color:var(--primary)}
.auth-or span{background:var(--paper);border-color:var(--line);color:var(--muted)}
.auth-or:before{background:var(--line)}
.auth-alert,.notice{background:var(--surface,#fff);border-color:var(--line);color:var(--ink)}
.consent-line,.login-options{color:var(--muted)!important}
.consent-line input,.login-options input{accent-color:var(--primary)}

.home-banner-card{background:var(--surface,#fff);border:1px solid var(--line);overflow:hidden;display:flex;flex-direction:column}
.home-banner-card img{width:100%;aspect-ratio:16/7;object-fit:cover;display:block}
.home-banner-copy{padding:24px}
.home-banner-copy h2{font-family:Georgia,serif;font-weight:400;margin:8px 0 12px}

/* Visual themes saved from Admin > Website Settings */
html[data-site-theme="classic"] body{font-family:Georgia,"Times New Roman",serif}
html[data-site-theme="classic"] .hero{background:var(--paper);border-bottom:1px solid var(--line)}
html[data-site-theme="classic"] .btn{border-radius:5px}
html[data-site-theme="minimal"] body{font-family:Arial,Helvetica,sans-serif}
html[data-site-theme="minimal"] .hero{background:var(--paper)}
html[data-site-theme="minimal"] .hero h1,html[data-site-theme="minimal"] .section h2{font-family:Arial,Helvetica,sans-serif;font-weight:700}
html[data-site-theme="minimal"] .cat,html[data-site-theme="minimal"] .product{border-radius:12px}
html[data-site-theme="minimal"] .btn{border-radius:8px}

/* Day / night mode */
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .nav,html[data-theme="dark"] .site-menu,html[data-theme="dark"] .cat,html[data-theme="dark"] .product,html[data-theme="dark"] .empty,html[data-theme="dark"] .summary,html[data-theme="dark"] .card,html[data-theme="dark"] .admin-form,html[data-theme="dark"] .table-wrap,html[data-theme="dark"] .stats div,html[data-theme="dark"] .order-card,html[data-theme="dark"] .tracking-lookup,html[data-theme="dark"] .tracking-result,html[data-theme="dark"] .bulk-toolbar,html[data-theme="dark"] .home-banner-card{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .site-menu a:hover{background:#332c25}
html[data-theme="dark"] .filters input,html[data-theme="dark"] .filters select,html[data-theme="dark"] .admin-form input,html[data-theme="dark"] .admin-form select,html[data-theme="dark"] .admin-form textarea,html[data-theme="dark"] .checkout input,html[data-theme="dark"] .checkout select,html[data-theme="dark"] .checkout textarea,html[data-theme="dark"] .auth input,html[data-theme="dark"] .tracking-lookup-form input,html[data-theme="dark"] .bulk-controls select{background:#211c18;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .hero{background:linear-gradient(120deg,#30271f,#171411 60%,#2a2119)}
html[data-theme="dark"] .auth-page{background:#171411}
html[data-theme="dark"] .auth-nav{background:#211c18!important}
html[data-theme="dark"] .auth-card{background:#211c18;border-color:var(--line)}
html[data-theme="dark"] .auth-verify-card{background:#2a241e}
html[data-theme="dark"] .auth-input-wrap{background:#171411;border-color:var(--line)}
html[data-theme="dark"] .auth-method{background:#211c18;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .auth-or span{background:#171411}
html[data-theme="dark"] .auth-alert,html[data-theme="dark"] .notice{background:#211c18;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] th,html[data-theme="dark"] td{border-color:var(--line)}
html[data-theme="dark"] .admin-sidebar{background:#211c18;color:var(--ink)}
html[data-theme="dark"] .admin-sidebar-nav a{color:var(--ink)}
html[data-theme="dark"] .admin-sidebar-nav a:hover{background:#332c25}
html[data-theme="dark"] .admin-notification-panel{background:#211c18;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .admin-notification-item{color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .admin-notification-item:hover{background:#332c25}
html[data-theme="dark"] .footer-newsletter-form input{background:#fff;color:#222}

.mhn-theme-toggle{position:fixed;right:18px;bottom:18px;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface,#fff);color:var(--primary);display:grid;place-items:center;z-index:1200;box-shadow:0 8px 22px rgba(0,0,0,.14);cursor:pointer}
.mhn-theme-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mhn-theme-toggle .mhn-moon{display:none}.mhn-theme-toggle .mhn-sun{display:block}
html[data-theme="dark"] .mhn-theme-toggle .mhn-moon{display:block}html[data-theme="dark"] .mhn-theme-toggle .mhn-sun{display:none}
.admin-asset-preview{width:72px;height:72px;object-fit:contain;border:1px solid var(--line);background:var(--surface,#fff);padding:6px;border-radius:10px}
.share-preview{max-width:420px;width:100%;aspect-ratio:1200/630;object-fit:cover;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff)}
@media(max-width:520px){.mhn-theme-toggle{right:12px;bottom:12px;width:42px;height:42px}.home-banner-copy{padding:18px}}
/* Keep admin chrome and footer tied to the editable brand palette. */
.admin-header,.admin-sidebar-head{background:var(--secondary)!important}
.admin-notification-badge{border-color:var(--secondary)}
.site-footer{background:var(--secondary);color:var(--ink);border-top-color:var(--line)}
.site-footer-logo{color:var(--accent)!important}
.site-footer-logo:before{border-color:var(--accent);background:color-mix(in srgb,var(--paper) 80%,var(--accent))}
.site-footer-social a{color:var(--accent)!important}
html[data-theme="dark"] .site-footer{background:#211c18;color:#f4eee5;border-top-color:var(--line)}
html[data-theme="dark"] .site-footer-col h3{color:#f4eee5}
html[data-theme="dark"] .site-footer-col a,html[data-theme="dark"] .site-footer-contact a{color:#c7bdb0!important}
html[data-theme="dark"] .page-wrap{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .page-body{color:var(--muted)}


/* Footer brand identity and semantic contact icons */
.site-footer-logo{color:var(--primary)!important}
.site-footer-logo:before{border-color:var(--primary);background:color-mix(in srgb,var(--paper) 80%,var(--primary))}
.footer-contact-icon{width:18px;flex:0 0 18px;color:var(--primary);display:inline-flex;align-items:center;justify-content:center;line-height:1}
.footer-contact-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-footer-contact a:hover .footer-contact-icon{color:var(--accent)}
.site-footer-social a{color:var(--primary)!important}
.social-icon:hover{color:var(--accent)!important}


/* ============================================================
   COMPLETE DARK MODE OVERRIDE
   Dark mode keeps the brand as an accent, but all surfaces and
   text are contrast-safe and no light cards/fields remain.
   ============================================================ */
html[data-theme="dark"]{
  --ink:#f7f7f7;
  --muted:#c7c7c7;
  --line:#343434;
  --paper:#0d0d0d;
  --surface:#151515;
  --surface-2:#1d1d1d;
  --white:#151515;
  --text-on-primary:#ffffff;
  --primary:#f1f1f1;
  --secondary:#0b0b0b;
  --accent:#d6a84f;
  color-scheme:dark;
}
html[data-theme="dark"] body{
  background:#0d0d0d!important;
  color:#f7f7f7!important;
}
html[data-theme="dark"] body *{
  border-color:var(--line);
}
html[data-theme="dark"] .nav,
html[data-theme="dark"] .site-menu,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] .cat,
html[data-theme="dark"] .product,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .summary,
html[data-theme="dark"] .card,
html[data-theme="dark"] .admin-form,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .stats div,
html[data-theme="dark"] .order-card,
html[data-theme="dark"] .tracking-lookup,
html[data-theme="dark"] .tracking-result,
html[data-theme="dark"] .bulk-toolbar,
html[data-theme="dark"] .home-banner-card,
html[data-theme="dark"] .page-wrap,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .auth-verify-card,
html[data-theme="dark"] .auth-alert,
html[data-theme="dark"] .notice{
  background:#151515!important;
  color:#f7f7f7!important;
  border-color:#343434!important;
}
html[data-theme="dark"] .nav{
  background:#0b0b0b!important;
}
html[data-theme="dark"] .brand,
html[data-theme="dark"] .section h1,
html[data-theme="dark"] .section h2,
html[data-theme="dark"] .hero h1,
html[data-theme="dark"] .pbody h3,
html[data-theme="dark"] .detail h1,
html[data-theme="dark"] .checkout h1,
html[data-theme="dark"] .admin h1,
html[data-theme="dark"] .admin-page-head h1{
  color:#fff!important;
}
html[data-theme="dark"] .hero{
  background:linear-gradient(135deg,#111 0%,#0d0d0d 60%,#17130d 100%)!important;
  color:#fff!important;
}
html[data-theme="dark"] .hero p:not(.eyebrow),
html[data-theme="dark"] .muted,
html[data-theme="dark"] .pbody small,
html[data-theme="dark"] .page-body,
html[data-theme="dark"] footer{
  color:#c7c7c7!important;
}
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .tracking-step.done,
html[data-theme="dark"] .tracking-step.current,
html[data-theme="dark"] .tracking-event-status{
  color:#d6a84f!important;
}
html[data-theme="dark"] a{
  color:#f1f1f1;
}
html[data-theme="dark"] .site-menu a:hover,
html[data-theme="dark"] .admin-sidebar-nav a:hover{
  background:#242424!important;
  color:#fff!important;
}
html[data-theme="dark"] .filters input,
html[data-theme="dark"] .filters select,
html[data-theme="dark"] .admin-form input,
html[data-theme="dark"] .admin-form select,
html[data-theme="dark"] .admin-form textarea,
html[data-theme="dark"] .checkout input,
html[data-theme="dark"] .checkout select,
html[data-theme="dark"] .checkout textarea,
html[data-theme="dark"] .auth input,
html[data-theme="dark"] .tracking-lookup-form input,
html[data-theme="dark"] .bulk-controls select,
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{
  background:#101010!important;
  color:#fff!important;
  border-color:#454545!important;
  caret-color:#fff;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{
  color:#9e9e9e!important;
  opacity:1;
}
html[data-theme="dark"] option{
  background:#151515!important;
  color:#fff!important;
}
html[data-theme="dark"] .btn{
  background:#f0f0f0!important;
  color:#0b0b0b!important;
  border-color:#f0f0f0!important;
}
html[data-theme="dark"] .btn:hover{
  background:#fff!important;
  color:#000!important;
}
html[data-theme="dark"] .btn.secondary{
  background:#151515!important;
  color:#fff!important;
  border-color:#555!important;
}
html[data-theme="dark"] .btn.secondary:hover{
  background:#242424!important;
}
html[data-theme="dark"] .auth-page{
  background:linear-gradient(180deg,#0d0d0d 0%,#151515 100%)!important;
  color:#fff!important;
}
html[data-theme="dark"] .auth-nav{
  background:#0b0b0b!important;
  color:#fff!important;
  border-color:#343434!important;
}
html[data-theme="dark"] .auth-nav .brand,
html[data-theme="dark"] .auth-hero h1{
  color:#fff!important;
}
html[data-theme="dark"] .auth-brand-icon{
  background:#242424!important;
  color:#fff!important;
}
html[data-theme="dark"] .auth-input-wrap{
  background:#101010!important;
  color:#fff!important;
  border-color:#454545!important;
}
html[data-theme="dark"] .auth-method{
  background:#151515!important;
  color:#fff!important;
  border-color:#454545!important;
}
html[data-theme="dark"] .auth-method.active,
html[data-theme="dark"] .auth-btn.secondary{
  background:#d6a84f!important;
  color:#111!important;
  border-color:#d6a84f!important;
}
html[data-theme="dark"] .auth-signup-link a{
  color:#d6a84f!important;
}
html[data-theme="dark"] .placeholder,
html[data-theme="dark"] .detail-placeholder{
  background:#222!important;
  color:#ddd!important;
}
html[data-theme="dark"] .admin-nav,
html[data-theme="dark"] .admin-header,
html[data-theme="dark"] .admin-sidebar-head{
  background:#090909!important;
  color:#fff!important;
}
html[data-theme="dark"] .admin-sidebar{
  background:#111!important;
  color:#fff!important;
}
html[data-theme="dark"] .admin-sidebar-nav a{
  color:#f1f1f1!important;
}
html[data-theme="dark"] .admin-notification-panel{
  background:#151515!important;
  color:#fff!important;
  border-color:#343434!important;
}
html[data-theme="dark"] .admin-notification-item{
  color:#f1f1f1!important;
  border-color:#343434!important;
}
html[data-theme="dark"] .admin-notification-item:hover{
  background:#242424!important;
}
html[data-theme="dark"] table,
html[data-theme="dark"] th,
html[data-theme="dark"] td{
  color:#f1f1f1!important;
  border-color:#343434!important;
}
html[data-theme="dark"] th{
  background:#1b1b1b!important;
}
html[data-theme="dark"] .site-footer{
  background:#090909!important;
  color:#f1f1f1!important;
  border-top-color:#343434!important;
}
html[data-theme="dark"] .site-footer-logo{
  color:#d6a84f!important;
}
html[data-theme="dark"] .site-footer-logo:before{
  border-color:#d6a84f!important;
  background:#151515!important;
}
html[data-theme="dark"] .site-footer-col h3{
  color:#fff!important;
}
html[data-theme="dark"] .site-footer-col a,
html[data-theme="dark"] .site-footer-contact a{
  color:#d4d4d4!important;
}
html[data-theme="dark"] .site-footer-social a{
  color:#d6a84f!important;
}
html[data-theme="dark"] .footer-contact-icon{
  color:#d6a84f!important;
}
html[data-theme="dark"] .footer-newsletter-form input{
  background:#101010!important;
  color:#fff!important;
  border-color:#454545!important;
}
html[data-theme="dark"] .footer-newsletter-form input::placeholder{
  color:#9e9e9e!important;
}
html[data-theme="dark"] .mhn-theme-toggle{
  background:#171717!important;
  color:#fff!important;
  border-color:#454545!important;
}
html[data-theme="dark"] .admin-asset-preview,
html[data-theme="dark"] .share-preview{
  background:#111!important;
  border-color:#454545!important;
}
html[data-theme="dark"] .error-notice{
  background:#351818!important;
  color:#ffd5d5!important;
  border-color:#6a2a2a!important;
}
html[data-theme="dark"] .site-menu{
  box-shadow:0 14px 35px rgba(0,0,0,.55)!important;
}
html[data-theme="dark"] ::selection{
  background:#d6a84f;
  color:#111;
}



/* Storefront header/sidebar + premium homepage controls */
.nav{background:var(--paper)!important;color:var(--primary)!important;min-height:76px}
.nav .brand{color:var(--primary)!important}
.menu-toggle{left:24px;right:auto!important;background:var(--surface,#fff)!important;color:var(--primary)!important;border-color:var(--line)!important}
.menu-toggle span{background:var(--primary)!important}
.nav-actions{position:absolute;right:24px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:8px;z-index:10002}
.nav-account,.mhn-theme-toggle{position:static!important;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--surface,#fff);color:var(--primary);display:grid;place-items:center;box-shadow:none;cursor:pointer;text-decoration:none}
.nav-account svg,.mhn-theme-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.site-menu{position:fixed!important;left:0!important;right:auto!important;top:0!important;bottom:0!important;width:min(310px,86vw);min-width:0!important;height:100vh;padding:24px 16px 24px!important;border:0!important;border-radius:0!important;background:var(--surface,#fff)!important;box-shadow:16px 0 40px rgba(0,0,0,.18)!important;transform:translateX(-105%)!important;opacity:1!important;visibility:visible!important;pointer-events:none!important;transition:transform .25s ease!important;z-index:10001;overflow-y:auto}
.site-menu.is-open{transform:translateX(0)!important;pointer-events:auto!important}
.site-menu a{color:var(--ink)!important;padding:14px 16px!important;border-radius:8px!important;font-size:15px!important}
.site-menu a:hover{background:color-mix(in srgb,var(--primary) 8%,var(--surface))!important;color:var(--primary)!important}
.site-menu-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);opacity:0;visibility:hidden;pointer-events:none;z-index:10000;transition:opacity .2s ease}
.site-menu-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
body.site-menu-open{overflow:hidden}
.hero{background:linear-gradient(120deg,color-mix(in srgb,var(--accent) 16%,#f1e8d8),var(--paper) 56%,color-mix(in srgb,var(--primary) 10%,#ead9bf))!important}
html[data-site-theme="luxury"] .hero{min-height:620px;padding:100px 8%;background:linear-gradient(120deg,#f1e8d8 0%,#fbf8f3 58%,#e8d8bd 100%)!important}
.home-hero-title{font-size:var(--home-hero-size)!important}
.home-hero-subtitle{font-size:var(--home-hero-sub-size)!important}
.home-section-title{font-size:var(--home-section-size)!important}
.home-hero-eyebrow,.home-section-eyebrow,.eyebrow{font-size:var(--home-eyebrow-size)!important}
html[data-site-theme="editorial"] .hero h1,html[data-site-theme="luxury"] .hero h1,html[data-site-theme="editorial"] .section h2,html[data-site-theme="luxury"] .section h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.8px}
html[data-theme="dark"] .nav{background:#171411!important;color:#fff!important;border-color:#34302b!important}
html[data-theme="dark"] .brand{color:#fff!important}
html[data-theme="dark"] .menu-toggle,html[data-theme="dark"] .nav-account,html[data-theme="dark"] .mhn-theme-toggle{background:#211c18!important;color:#fff!important;border-color:#40382f!important}
html[data-theme="dark"] .menu-toggle span{background:#fff!important}
html[data-theme="dark"] .site-menu{background:#181614!important;color:#fff!important}
html[data-theme="dark"] .site-menu a{color:#f7f7f7!important}
html[data-theme="dark"] .site-menu a:hover{background:#2a2520!important}
html[data-theme="dark"] .hero{background:linear-gradient(120deg,#2b241d 0%,#171411 58%,#241d17 100%)!important}
html[data-theme="dark"] .hero h1,html[data-theme="dark"] .section h1,html[data-theme="dark"] .section h2{color:#fff!important}
html[data-theme="dark"] .hero p:not(.eyebrow),html[data-theme="dark"] .section p{color:#d2cbc3}
html[data-theme="dark"] .eyebrow{color:#e3b85c!important}
.mhn-theme-toggle{right:auto;bottom:auto}
@media(max-width:600px){.menu-toggle{left:16px}.nav-actions{right:16px}.nav-account,.mhn-theme-toggle{width:40px;height:40px}.nav .brand{font-size:14px}.site-menu{width:min(300px,88vw)!important}.hero{min-height:520px;padding:75px 7%!important}.home-hero-title{font-size:min(var(--home-hero-size),58px)!important}}
/* Keep the premium warm hero treatment across all visual themes; theme still changes typography and controls. */
html[data-site-theme="minimal"] .hero{background:linear-gradient(120deg,#f1e8d8 0%,#fbf8f3 58%,#e8d8bd 100%)!important}

/* Final UX overrides: OTP focus, customer sidebar, editable footer colors and contrast. */
.auth-otp-row{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;width:100%!important}
.auth-otp-row .otp-icon{display:none!important}
.auth-otp-row input{width:100%!important;min-height:56px!important;font-size:22px!important;letter-spacing:.24em!important;text-align:center!important;border:1px solid var(--line,#ddd)!important;border-radius:12px!important;box-sizing:border-box!important}
.auth-otp-row .auth-btn{width:100%!important;min-height:52px!important}
.site-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 8px 18px;margin-bottom:8px;border-bottom:1px solid var(--line,#ddd)}
.site-menu-brand{font-weight:800;font-size:18px;letter-spacing:.08em;color:var(--primary)!important;text-decoration:none!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-menu-close{width:38px;height:38px;border:1px solid var(--line,#ddd);border-radius:50%;background:var(--surface,#fff);color:var(--ink);font-size:25px;line-height:1;cursor:pointer}
.site-footer{background:var(--footer-bg,#fff)!important;color:var(--ink)!important}
html[data-theme="dark"] .site-footer{background:var(--footer-dark-bg,#111)!important;color:#f7f7f7!important}
html[data-theme="dark"] .site-footer .site-footer-tagline,html[data-theme="dark"] .site-footer .site-footer-col a,html[data-theme="dark"] .site-footer .site-footer-contact a,html[data-theme="dark"] .site-footer .footer-contact-row,html[data-theme="dark"] .site-footer .site-footer-bottom,html[data-theme="dark"] .site-footer .footer-newsletter p{color:#d5d5d5!important}
html[data-theme="dark"] .site-footer .site-footer-col h3,html[data-theme="dark"] .site-footer .footer-newsletter h3{color:#fff!important}
html[data-theme="dark"] .site-footer .footer-newsletter-form input{background:#fff!important;color:#111!important;border-color:#555!important}
@media(max-width:520px){.auth-otp-row input{min-height:58px!important;font-size:21px!important}.site-menu-head{padding-top:4px}}

/* Customer address book / checkout delivery selector */
.address-book .admin-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.address-card{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px;border:1px solid var(--line,#e4ddd2);border-radius:16px;background:var(--surface,#fff);margin:12px 0}
.address-card.is-default{border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 12%,transparent)}
.address-card-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.address-card p{margin:8px 0 0;line-height:1.65}
.address-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.address-actions form{margin:0}
.saved-addresses{margin:0 0 18px;padding:16px;border:1px solid var(--line,#e4ddd2);border-radius:16px;background:var(--surface-2,#f7f3ed)}
.saved-addresses-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.saved-addresses-head a{color:var(--primary);font-weight:700;text-decoration:none}
.saved-address-option{display:flex!important;align-items:flex-start;gap:12px;padding:13px 12px;margin:8px 0;border:1px solid var(--line,#ddd);border-radius:12px;background:var(--surface,#fff);cursor:pointer}
.saved-address-option:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 10%,transparent)}
.saved-address-option input{margin-top:4px;accent-color:var(--primary);flex:0 0 auto}
.saved-address-option span{display:flex;flex-direction:column;gap:3px;min-width:0}
.saved-address-option small{color:var(--muted,#777);line-height:1.4;overflow-wrap:anywhere}
.saved-address-option em{font-style:normal;font-size:11px;border-radius:999px;padding:3px 7px;background:color-mix(in srgb,var(--primary) 10%,var(--surface));color:var(--primary)}
.small-note{font-size:13px;margin:10px 0 0}
html[data-theme="dark"] .address-card,html[data-theme="dark"] .saved-addresses,html[data-theme="dark"] .saved-address-option{background:var(--surface-2)!important;color:var(--ink)!important;border-color:var(--line)!important}
html[data-theme="dark"] .saved-address-option small{color:#c8c2ba!important}
@media(max-width:600px){.address-card{flex-direction:column}.address-actions{justify-content:flex-start}.address-book .admin-page-head{align-items:flex-start;flex-direction:column}.saved-addresses-head{align-items:flex-start;flex-direction:column}}

/* OTP method state and input clarity */
.auth-method{min-width:120px;transition:.18s ease}
.auth-method.active{background:var(--primary)!important;color:#fff!important;border-color:var(--primary)!important;box-shadow:0 5px 14px color-mix(in srgb,var(--primary) 20%,transparent)}
.auth-method:not(.active){background:var(--surface,#fff)!important;color:var(--ink)!important}
.auth-otp-row input{letter-spacing:.18em!important;text-indent:.18em!important}


/* v13 shared storefront navigation + customer account UX */
.nav{padding:0 6%;background:var(--white,#fff);z-index:1000}
.menu-toggle{left:6%;right:auto;width:44px;height:44px;border-radius:50%;z-index:1003;background:var(--white,#fff);border:1px solid var(--line);box-shadow:0 4px 16px rgba(0,0,0,.05)}
.nav .brand{z-index:1002}
.nav-actions{position:absolute;right:6%;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:8px;z-index:1003}
.nav-account,.mhn-theme-toggle{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--white,#fff);color:var(--ink);padding:0}
.nav-account svg,.mhn-theme-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.nav-account-photo{width:100%;height:100%;object-fit:cover;border-radius:50%}
.site-menu{position:fixed;left:0;right:auto;top:0;height:100dvh;width:min(360px,88vw);min-width:0;padding:0 18px 28px;overflow:auto;background:var(--white,#fff);color:var(--ink);border:0;border-radius:0;box-shadow:20px 0 50px rgba(0,0,0,.18);opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-105%);transition:transform .22s ease,opacity .22s ease,visibility .22s ease;z-index:1005}
.site-menu.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0)}
.site-menu-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 4px 18px;background:var(--white,#fff);border-bottom:1px solid var(--line);z-index:2}
.site-menu-brand{font:700 18px Georgia,serif;letter-spacing:2px;color:var(--primary,var(--ink))}
.site-menu-close{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:28px;line-height:1;cursor:pointer}
.site-menu a{display:flex;align-items:center;justify-content:space-between;padding:13px 12px;margin:3px 0;border-radius:9px;font-size:15px;color:var(--ink)}
.site-menu a:hover,.site-menu a.active{background:var(--surface-2,var(--paper));color:var(--primary,var(--ink))}
.site-menu-section-label{padding:20px 12px 6px;font-size:10px;letter-spacing:2px;font-weight:700;color:var(--muted)}
.site-menu-divider{height:1px;background:var(--line);margin:14px 0}
.site-menu-badge{min-width:24px;padding:2px 7px;border-radius:999px;background:var(--primary,var(--ink));color:#fff;text-align:center;font-size:12px}
.site-menu-logout{color:#a33!important}
.site-menu-continue{font-weight:700}
.site-menu-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.42);opacity:0;visibility:hidden;pointer-events:none;transition:.2s;z-index:1004}
.site-menu-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
body.site-menu-open{overflow:hidden}
.account-menu-profile{display:flex;align-items:center;gap:12px;padding:20px 8px 12px}
.account-menu-profile strong{display:block;font-size:15px}
.account-menu-profile small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.account-menu-avatar{flex:0 0 56px!important;width:56px;height:56px!important;padding:0!important;border-radius:50%!important;overflow:hidden;background:var(--surface-2);border:1px solid var(--line)}
.account-menu-avatar img{width:100%;height:100%;object-fit:cover}
.account-menu-avatar svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}
.account-page{max-width:1200px;margin:auto}
.account-page h1{margin-top:0}
.account-page-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.account-profile-grid{display:grid;grid-template-columns:320px 1fr;gap:22px}
.profile-photo-card{text-align:center}
.profile-photo-preview{width:140px;height:140px;margin:10px auto 20px;border-radius:50%;overflow:hidden;background:var(--surface-2);border:1px solid var(--line);display:grid;place-items:center;color:var(--muted)}
.profile-photo-preview img{width:100%;height:100%;object-fit:cover}
.profile-photo-preview svg{width:60px;height:60px;fill:none;stroke:currentColor;stroke-width:1.5}
.address-list{display:grid;gap:14px;margin:20px 0 30px}
.address-card{display:flex;justify-content:space-between;gap:20px;padding:20px;background:var(--white,#fff);border:1px solid var(--line);border-radius:12px}
.address-card.is-default{border-color:var(--primary,var(--gold));box-shadow:0 0 0 1px color-mix(in srgb,var(--primary,var(--gold)) 15%,transparent)}
.address-card-head{display:flex;align-items:center;gap:10px}
.address-card p{margin:8px 0 0;color:var(--muted)}
.address-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.return-checkout-bar{margin-bottom:16px}.return-checkout-bar a{color:var(--primary);font-weight:700}
.checkout-address-card{padding:16px 18px;margin-bottom:18px;background:var(--white,#fff);border:1px solid var(--line);border-radius:12px}
.checkout-address-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
.checkout-address-head .eyebrow{margin:0 0 2px}.checkout-address-head strong{display:block;font-size:15px}
.checkout-address-change{color:var(--primary);font-weight:700;white-space:nowrap}
.checkout-address-card p{margin:8px 0 0;color:var(--muted)}
.category-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.category-card{display:flex;align-items:center;justify-content:space-between;padding:24px;background:var(--white,#fff);border:1px solid var(--line);border-radius:10px;font:24px Georgia,serif}
.category-card small{font:13px Arial,sans-serif;color:var(--muted)}
/* Make theme variables actually color common storefront surfaces */
html[data-theme="dark"] .nav,
html[data-theme="dark"] .site-menu,
html[data-theme="dark"] .site-menu-head,
html[data-theme="dark"] .card,
html[data-theme="dark"] .product,
html[data-theme="dark"] .cat,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .summary,
html[data-theme="dark"] .checkout-address-card,
html[data-theme="dark"] .address-card{background:var(--surface)!important;color:var(--ink)}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:var(--surface)!important;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .site-menu-backdrop{background:rgba(0,0,0,.65)}
@media(max-width:760px){
 .nav{height:74px;padding:0 70px}
 .menu-toggle{left:16px}.nav-actions{right:16px}.nav-account,.mhn-theme-toggle,.menu-toggle{width:42px;height:42px}
 .nav-actions{gap:6px}.brand{max-width:48vw;overflow:hidden;text-overflow:ellipsis}
 .site-menu{width:min(340px,90vw)}
 .account-profile-grid{grid-template-columns:1fr}
 .account-page-head{align-items:flex-start;flex-direction:column}
 .address-card{flex-direction:column}.address-actions{justify-content:flex-start}
 .category-list{grid-template-columns:1fr}
 .checkout-address-head{align-items:flex-start}
}

/* v13 auth OTP clarity */
.auth-method{background:var(--white,#fff);color:var(--ink);border-color:var(--line)}
.auth-method.active{background:var(--primary,var(--brown));color:#fff;border-color:var(--primary,var(--brown));box-shadow:0 5px 14px rgba(0,0,0,.10)}
.auth-otp-row{display:block}
.auth-otp-row .otp-input{width:100%;min-height:58px;padding:15px 18px;text-align:center;letter-spacing:.28em;font-size:22px;font-weight:600;border:1px solid var(--line);border-radius:12px;background:var(--white,#fff);color:var(--ink)}
.otp-block>.auth-btn{margin-top:10px}
html[data-theme="dark"] .auth-method{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .auth-method.active{background:var(--primary,var(--gold));color:#fff;border-color:var(--primary,var(--gold))}
html[data-theme="dark"] .auth-otp-row .otp-input{background:var(--surface);color:var(--ink);border-color:var(--line)}


/* Final sidebar stacking/navigation fix */
.nav{position:relative!important;z-index:10001!important;}
.nav .site-menu{z-index:10003!important;background:#fff!important;color:var(--ink)!important;}
.nav .site-menu-backdrop{z-index:10002!important;}
.nav .site-menu.is-open{pointer-events:auto!important;opacity:1!important;visibility:visible!important;}
.nav .site-menu a{pointer-events:auto!important;background:transparent!important;color:var(--ink)!important;}
.nav .site-menu a:hover,.nav .site-menu a.active{background:var(--surface-2,#f7f3ed)!important;color:var(--primary,var(--ink))!important;}
.nav .site-menu-head{background:#fff!important;}
.nav .site-menu-close{background:#fff!important;color:var(--ink)!important;}
html[data-theme="dark"] .nav .site-menu{background:#181614!important;color:#f7f7f7!important;}
html[data-theme="dark"] .nav .site-menu-head{background:#181614!important;}
html[data-theme="dark"] .nav .site-menu-close{background:#181614!important;color:#f7f7f7!important;}
html[data-theme="dark"] .nav .site-menu a{color:#f7f7f7!important;}
html[data-theme="dark"] .nav .site-menu a:hover,html[data-theme="dark"] .nav .site-menu a.active{background:#2a2520!important;color:#fff!important;}

/* Profile photo cropper + consistent circular header avatar */
.nav-account-photo,.account-menu-avatar img,.profile-photo-preview img{display:block!important;aspect-ratio:1/1!important;object-fit:cover!important;border-radius:50%!important;overflow:hidden!important}
.nav-account-photo{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
.account-menu-avatar img{width:100%!important;height:100%!important}
.profile-photo-preview{aspect-ratio:1/1!important}
.profile-crop-help{font-size:13px;line-height:1.5;margin:0 0 12px}
.profile-crop-modal{position:fixed;inset:0;background:rgba(0,0,0,.62);z-index:20000;display:grid;place-items:center;padding:18px}
.profile-crop-modal[hidden]{display:none!important}
.profile-crop-dialog{width:min(440px,94vw);background:var(--white,#fff);color:var(--ink,#222);border:1px solid var(--line,#ddd);border-radius:18px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.3)}
.profile-crop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.profile-crop-head strong{display:block;font-size:18px}.profile-crop-head small{display:block;color:var(--muted,#777);margin-top:4px;line-height:1.4}.profile-crop-close{width:38px;height:38px;border-radius:50%;border:1px solid var(--line,#ddd);background:transparent;color:var(--ink,#222);font-size:25px;line-height:1;cursor:pointer}
.profile-crop-stage{position:relative;width:min(320px,82vw);height:min(320px,82vw);margin:8px auto 16px;overflow:hidden;border-radius:12px;background:transparent;touch-action:none}.profile-crop-stage canvas{display:block;width:100%;height:100%;cursor:grab}.profile-crop-stage canvas:active{cursor:grabbing}.profile-crop-ring{position:absolute;inset:0;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 999px rgba(0,0,0,.38);pointer-events:none}
.profile-crop-zoom{display:flex;align-items:center;gap:12px;font-weight:600}.profile-crop-zoom input{flex:1}.profile-crop-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
html[data-theme="dark"] .profile-crop-dialog{background:#211c18;color:#f4eee5;border-color:#40382f}.profile-crop-dialog .btn:disabled{opacity:.45;cursor:not-allowed}

/* Final profile crop / sidebar close interaction fixes */
.profile-crop-stage canvas{background:transparent!important;}
.site-menu-close{position:relative!important;z-index:20!important;pointer-events:auto!important;touch-action:manipulation!important;}
.site-menu-head{position:sticky!important;z-index:20!important;}

/* Customer avatar / profile photo reliability */
.nav-account-photo,.account-menu-avatar img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;object-position:center;}
.profile-photo-preview img{width:100%;height:100%;display:block;border-radius:50%;object-fit:cover;object-position:center;}
.profile-photo-preview{overflow:hidden;border-radius:50%;}

/* Marketing communication navigation */
.marketing-menu-card{display:flex;align-items:center;gap:18px;position:relative;transition:transform .15s ease,box-shadow .15s ease;}
.marketing-menu-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(45,38,30,.10);}
.marketing-menu-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:12px;background:var(--paper);font-size:13px;font-weight:700;letter-spacing:.5px;flex:0 0 46px;}
.marketing-menu-card h2{margin:0 0 4px;font-size:20px;}
.marketing-menu-card p{margin:0;max-width:520px;}
.marketing-menu-arrow{margin-left:auto;font-size:24px;color:var(--primary);}
.setting-toggle{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:10px;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--surface);}.switch-control{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;}.switch-control input{position:absolute;opacity:0;width:1px;height:1px;}.switch-track{width:48px;height:28px;border-radius:999px;background:#b8b8b8;position:relative;transition:background .2s ease;display:block;cursor:pointer;}.switch-track::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.22);transition:transform .2s ease;}.switch-control input:checked + .switch-track{background:var(--primary);}.switch-control input:checked + .switch-track::after{transform:translateX(20px);}.switch-control input:focus-visible + .switch-track{outline:2px solid var(--primary);outline-offset:2px;}.switch-label{display:flex;flex-direction:column;gap:3px;}.switch-label strong{font-size:14px;}

.setting-toggle small{width:100%;padding-left:25px;}
.template-vars{background:var(--paper);border-radius:8px;padding:10px;color:var(--muted);line-height:2;}
.template-vars code{margin-right:6px;}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}

/* Each admin setting group is independently editable and saved. */
.option-card{border:1px solid var(--line,#e5dfd6);border-radius:16px;padding:20px;margin-bottom:18px}
.option-card>h2{margin-top:0}
.option-card .btn{margin-top:4px}

/* Product editor responsive layout and bounded image previews */
.admin .product-editor-card{width:100%;max-width:1000px;min-width:0;margin:0 0 22px;padding:24px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:14px;}
.admin .product-editor-card>.product-editor-form{width:100%;max-width:none;min-width:0;padding:0;border:0;background:transparent;}
.product-editor-form label{display:grid;gap:7px;min-width:0;}
.product-editor-form input,.product-editor-form select,.product-editor-form textarea{width:100%;max-width:100%;min-width:0;}
.product-editor-form input[type="file"]{display:block;width:100%;max-width:100%;min-width:0;padding:10px;font-size:13px;}
.product-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;}
.product-editor-subcard{border:1px solid var(--line);border-radius:12px;padding:18px;margin:8px 0;background:var(--surface-2,#fcfaf7);min-width:0;}
.product-editor-subcard h2{margin:0 0 5px;font-size:21px;}
.product-editor-subcard p{margin:0 0 14px;}
.product-image-preview{width:min(280px,100%);max-width:100%;max-height:280px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff;padding:8px;margin:10px 0 16px;}
.product-image-preview img{display:block;width:100%;height:260px;max-width:100%;object-fit:contain;object-position:center;}
@media(max-width:600px){.admin{padding:24px 14px;overflow-x:hidden}.admin .product-editor-card{padding:16px}.product-editor-grid{grid-template-columns:minmax(0,1fr)}.product-editor-subcard{padding:14px}.product-image-preview{width:min(240px,100%)}.product-image-preview img{height:220px}.admin .product-editor-form .btn{width:100%;}}

/* Product editor image preview hard limit; inline styles in products.php reinforce this on mobile/cache-stale browsers. */
.admin .product-image-preview{
  display:block!important;
  width:240px!important;
  max-width:100%!important;
  height:240px!important;
  max-height:240px!important;
  min-width:0!important;
  overflow:hidden!important;
  contain:layout paint!important;
  box-sizing:border-box!important;
}
.admin .product-image-preview img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
@media(max-width:600px){
  .admin .product-image-preview{
    width:180px!important;
    height:180px!important;
    max-height:180px!important;
  }
}


/* Homepage product cards: two compact columns on mobile to reduce scrolling. */
@media(max-width:500px){
  .home-products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch;
  }
  .home-products .product{min-width:0;overflow:hidden;border-radius:4px;}
  .home-products .product>a{display:block;min-width:0;height:100%;}
  .home-products .product img,
  .home-products .product .placeholder{
    display:block;width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;
  }
  .home-products .pbody{padding:10px;overflow-wrap:anywhere;}
  .home-products .pbody small{font-size:11px;line-height:1.35;display:block;}
  .home-products .pbody h3{font:16px/1.35 Georgia,serif;margin:5px 0 7px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;}
  .home-products .pbody strong{font-size:14px;line-height:1.4;}
}


/* Homepage products grouped by category. */
.home-category-products{margin:0 0 42px;}
.home-category-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;padding-bottom:10px;border-bottom:1px solid var(--line);}
.home-category-head h3{font:28px/1.25 Georgia,serif;margin:0;}
.home-category-head a{font-size:14px;white-space:nowrap;color:var(--brown);}
.home-category-products .home-products{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(max-width:800px){.home-category-products .home-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}}
@media(max-width:500px){.home-category-head h3{font-size:22px;}.home-category-products{margin-bottom:32px;}.home-category-products .home-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}



/* Clear active navigation state for admin and storefront menus */
.admin-sidebar-nav a.active,
.admin-sidebar-nav a[aria-current="page"]{
  background:linear-gradient(100deg,rgba(214,168,79,.24),rgba(214,168,79,.08));
  color:#6b4b16;
  border:1px solid rgba(192,153,55,.52);
  box-shadow:inset 4px 0 0 #c09937;
  font-weight:800;
  transform:none;
}
.admin-sidebar-nav a.active svg,
.admin-sidebar-nav a[aria-current="page"] svg{color:#a87513;fill:currentColor}
.admin-nav-current{
  margin-left:auto;
  padding:3px 7px;
  border-radius:999px;
  background:#c09937;
  color:#211c17;
  font-size:10px;
  font-weight:800;
  letter-spacing:.2px;
  line-height:1.4;
}
html[data-theme="dark"] .admin-sidebar-nav a.active,
html[data-theme="dark"] .admin-sidebar-nav a[aria-current="page"]{
  background:rgba(192,153,55,.18);
  color:#f5d98d;
  border-color:rgba(214,168,79,.55);
  box-shadow:inset 4px 0 0 #d6a84f;
}
html[data-theme="dark"] .admin-sidebar-nav a.active svg,
html[data-theme="dark"] .admin-sidebar-nav a[aria-current="page"] svg{color:#f5d98d}
.site-menu a.active,
.site-menu a[aria-current="page"]{
  position:relative;
  background:rgba(192,153,55,.16)!important;
  color:#76520d!important;
  font-weight:800!important;
  box-shadow:inset 4px 0 0 #c09937;
}
.site-menu a.active::after,
.site-menu a[aria-current="page"]::after{
  content:"Current";
  float:right;
  margin-left:10px;
  padding:2px 6px;
  border-radius:999px;
  background:#c09937;
  color:#211c17;
  font-size:9px;
  font-weight:800;
  line-height:1.5;
}
html[data-theme="dark"] .site-menu a.active,
html[data-theme="dark"] .site-menu a[aria-current="page"]{
  background:rgba(192,153,55,.2)!important;
  color:#f5d98d!important;
  box-shadow:inset 4px 0 0 #d6a84f;
}



/* Simple active navigation: subtle neutral background only, no badges or gold accents. */
.admin-sidebar-nav a.active,
.admin-sidebar-nav a[aria-current="page"]{
  background:#f1f1f1!important;
  color:var(--ink)!important;
  border:1px solid transparent!important;
  box-shadow:none!important;
  font-weight:700;
  transform:none;
}
.admin-sidebar-nav a.active svg,
.admin-sidebar-nav a[aria-current="page"] svg{color:inherit;fill:currentColor}
html[data-theme="dark"] .admin-sidebar-nav a.active,
html[data-theme="dark"] .admin-sidebar-nav a[aria-current="page"]{
  background:#302e2b!important;
  color:var(--ink)!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
.nav .site-menu a.active,
.nav .site-menu a[aria-current="page"]{
  position:relative;
  background:#f1f1f1!important;
  color:var(--ink)!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.nav .site-menu a.active::after,
.nav .site-menu a[aria-current="page"]::after{content:none!important;display:none!important}
html[data-theme="dark"] .nav .site-menu a.active,
html[data-theme="dark"] .nav .site-menu a[aria-current="page"]{
  background:#302e2b!important;
  color:var(--ink)!important;
  box-shadow:none!important;
}

/* Consistent product grid for Shop: 4 desktop, 3 tablet, 2 mobile. */
.shop-product-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:22px!important;
  align-items:stretch;
}
.shop-product-grid .product{
  min-width:0;
  overflow:hidden;
  height:100%;
  border-radius:8px;
}
.shop-product-grid .product>a{display:flex;flex-direction:column;height:100%;min-width:0}
.shop-product-grid .product img,
.shop-product-grid .product .placeholder{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  height:auto;
  object-fit:cover;
}
.shop-product-grid .pbody{padding:14px;min-width:0;overflow-wrap:anywhere}
.shop-product-grid .pbody small{display:block;font-size:12px;line-height:1.4}
.shop-product-grid .pbody h3{
  font-size:clamp(16px,1.5vw,21px);
  line-height:1.35;
  margin:5px 0 8px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.7em;
}
.shop-product-grid .pbody strong{font-size:15px;line-height:1.4}
@media(max-width:1000px){
  .shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
}
@media(max-width:650px){
  .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .shop-product-grid .product{border-radius:6px}
  .shop-product-grid .pbody{padding:10px}
  .shop-product-grid .pbody small{font-size:10px}
  .shop-product-grid .pbody h3{font-size:15px;line-height:1.3;margin:4px 0 6px;min-height:2.6em}
  .shop-product-grid .pbody strong{font-size:13px}
  .filters{display:grid;grid-template-columns:1fr;gap:10px}
  .filters .btn{width:100%;margin-top:0}
}
/* Category cards remain compact and balanced on small screens. */
@media(max-width:650px){
  .category-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
  .category-card{padding:14px;font-size:17px;gap:8px;min-width:0}
  .category-card span{overflow-wrap:anywhere}
  .category-card small{font-size:11px;white-space:nowrap}
}


/* Footer newsletter sits immediately above the Follow Us social icons. */
.site-footer-brand .footer-newsletter-in-brand{
  display:block;max-width:none;width:100%;margin:24px 0 20px;padding:18px 0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);align-items:initial;
}
.site-footer-brand .footer-newsletter-in-brand h3{margin:0 0 8px;font:600 21px Georgia,serif;color:var(--ink)}
.site-footer-brand .footer-newsletter-in-brand p{margin:0 0 14px;color:var(--muted,#777);line-height:1.5}
.site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form{display:flex;flex-direction:column;gap:10px;min-width:0;width:100%;margin:0}
.site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form input{width:100%;min-height:48px;box-sizing:border-box;border:1px solid var(--line);border-radius:7px;padding:12px 14px}
.site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form .btn{width:100%;min-height:48px}
.footer-follow-heading{margin:8px 0 12px;font-size:17px;font-weight:600;color:var(--ink)}
.footer-payment-image-wrap{max-width:1380px;margin:36px auto 0;padding:22px 0 0;border-top:1px solid var(--line);display:flex;justify-content:center;align-items:center}
.footer-payment-image-wrap img{display:block;width:auto;max-width:min(100%,560px);max-height:100px;height:auto;object-fit:contain}
.footer-payment-admin-preview{padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2,#fafafa);margin:12px 0;display:flex;justify-content:center;align-items:center;min-height:90px}
.footer-payment-admin-preview img{display:block;max-width:100%;max-height:140px;width:auto;height:auto;object-fit:contain}
@media(max-width:800px){.site-footer-brand .footer-newsletter-in-brand{margin:22px 0 18px}.footer-payment-image-wrap{margin-top:26px;padding-top:18px}.footer-payment-image-wrap img{max-height:80px}}


/* Keep uploaded payment gateway artwork compact on the storefront and in admin preview. */
.site-footer .footer-payment-image-wrap img{
  display:block!important;
  width:auto!important;
  max-width:min(100%,360px)!important;
  height:auto!important;
  max-height:64px!important;
  object-fit:contain!important;
}
.footer-payment-admin-preview img{
  display:block!important;
  width:auto!important;
  max-width:min(100%,480px)!important;
  max-height:110px!important;
  height:auto!important;
  object-fit:contain!important;
}
@media(max-width:700px){
  .site-footer .footer-payment-image-wrap{padding:14px 0 0;margin-top:22px}
  .site-footer .footer-payment-image-wrap img{
    max-width:min(100%,320px)!important;
    max-height:48px!important;
  }
  .footer-payment-admin-preview img{
    max-width:100%!important;
    max-height:90px!important;
  }
}

/* Admin customer editor and per-order delivery details */
.admin-actions-inline{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-width:150px}
.admin-actions-inline form{margin:0}
.admin .admin-page-head{gap:16px}
.admin .order-card hr{border:0;border-top:1px solid var(--line);margin:22px 0}
.admin .order-card .admin-form{margin-top:14px}
@media(max-width:650px){.admin-actions-inline{min-width:0}.admin-actions-inline .btn{font-size:12px;padding:8px 10px}}

/* Admin phone order creation */
.admin-create-order-form{display:grid;gap:18px;max-width:1100px}
.create-order-section{padding:22px}
.create-order-section-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}
.create-order-section-head h2{margin:0 0 5px}
.create-order-section-head p{margin:0}
.create-order-step{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid var(--line);border-radius:11px;font-weight:700;color:var(--accent)}
.create-order-product-list{display:grid;gap:0}
.create-order-product-row{display:grid;grid-template-columns:minmax(0,1fr) 100px 130px;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}
.create-order-product-row:first-child{border-top:1px solid var(--line)}
.create-order-product-info{display:grid;gap:5px;min-width:0}
.create-order-product-info strong{overflow-wrap:anywhere}
.create-order-product-info small{color:var(--muted)}
.create-order-product-row label{display:grid;gap:5px;font-size:13px}
.create-order-product-row input{width:100%;min-width:0}
.create-order-line-total{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.create-order-summary{margin-top:22px;padding:16px;background:var(--surface-2,var(--paper));border:1px solid var(--line);border-radius:12px;display:grid;gap:10px}
.create-order-summary>div{display:flex;justify-content:space-between;gap:18px}
.create-order-grand-total{padding-top:12px;border-top:1px solid var(--line);font-size:18px}
.create-order-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}
@media(max-width:650px){
 .create-order-section{padding:15px}
 .create-order-product-row{grid-template-columns:minmax(0,1fr) 74px;gap:8px}
 .create-order-line-total{grid-column:1/-1;text-align:right;font-size:13px}
 .create-order-product-row label{font-size:12px}
 .create-order-actions .btn{flex:1;text-align:center}
}


/* Create Order: compact, aligned, mobile-first admin form. */
.admin-create-order-form{max-width:1000px;gap:14px}
.admin-create-order-form .create-order-section{padding:clamp(14px,2.4vw,24px);margin:0}
.admin-create-order-form .create-order-section-head{gap:12px;margin-bottom:16px}
.admin-create-order-form .create-order-section-head h2{font-size:clamp(22px,3vw,30px);line-height:1.2}
.admin-create-order-form .create-order-section-head p{font-size:14px;line-height:1.5}
.admin-create-order-form label{display:grid;gap:7px;align-content:start;min-width:0;font-size:14px;font-weight:600}
.admin-create-order-form input:not([type=checkbox]),.admin-create-order-form select,.admin-create-order-form textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;padding:11px 12px;min-height:44px;font:inherit;font-weight:400}
.admin-create-order-form textarea{min-height:86px;resize:vertical}
.admin-create-order-form .create-order-address-field{display:grid;margin-top:14px}
.admin-create-order-form .create-order-customer-grid{gap:14px 18px;margin:14px 0 0}
.create-order-product-picker{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin:4px 0 16px}
.create-order-product-picker label{margin:0}
.create-order-add-product{min-height:44px;white-space:nowrap}
.create-order-product-list{display:grid;gap:0}
.create-order-product-row{grid-template-columns:minmax(0,1fr) 86px minmax(92px,120px) auto;gap:12px;align-items:center}
.create-order-product-row:first-child{border-top:1px solid var(--line)}
.create-order-product-row label{font-size:12px}
.create-order-product-row input{padding:9px!important;min-height:40px!important}
.create-order-remove-product{border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:7px;padding:8px 10px;cursor:pointer}
.create-order-remove-product:hover{border-color:#b44;color:#b44}
.create-order-empty-products{padding:14px;border:1px dashed var(--line);border-radius:9px;text-align:center;font-size:13px}
.create-order-empty-products[hidden]{display:none}
.create-order-summary{margin-top:16px;padding:14px}
.create-order-actions .btn{min-width:130px}
@media(max-width:700px){
 .admin-create-order-form{gap:12px}
 .admin-create-order-form .create-order-section{padding:14px}
 .admin-create-order-form .create-order-section-head{margin-bottom:12px}
 .admin-create-order-form .create-order-section-head h2{font-size:22px}
 .admin-create-order-form .create-order-step{width:34px;height:34px;flex-basis:34px}
 .admin-create-order-form .create-order-customer-grid{grid-template-columns:1fr;gap:12px;margin-top:10px}
 .create-order-product-picker{grid-template-columns:1fr;gap:10px}
 .create-order-add-product{width:100%}
 .create-order-product-row{grid-template-columns:minmax(0,1fr) 74px;gap:8px;padding:12px 0}
 .create-order-product-info strong{font-size:14px}
 .create-order-product-info small{font-size:12px;line-height:1.4}
 .create-order-line-total{grid-column:1;text-align:left;font-size:13px}
 .create-order-remove-product{grid-column:2;grid-row:2;justify-self:stretch;padding:7px 8px}
 .create-order-product-row label{grid-column:2;grid-row:1}
 .create-order-product-row label input{font-size:14px}
 .create-order-actions{display:grid;grid-template-columns:1fr 1.4fr}
 .create-order-actions .btn{width:100%;min-width:0}
}
@media(min-width:701px){
 .admin-create-order-form .create-order-address-field textarea{max-width:100%}
}
/* Newsletter submit should fit its label rather than stretching full-width. */
.site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form .btn{
 width:auto!important;min-width:0!important;min-height:42px;padding:10px 18px;align-self:flex-start;flex:0 0 auto
}
.site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form{align-items:stretch}
.site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form input{flex:1 1 auto}
.footer-payment-image-wrap{flex-direction:column;gap:12px}
.footer-payment-heading{margin:0;text-align:center;font-size:14px;line-height:1.4;font-weight:600;color:var(--muted,#777)}
.site-footer-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 12px;min-height:24px;line-height:1.6;overflow-wrap:anywhere}
.site-footer-bottom .footer-copyright-text{display:block;max-width:100%}
.site-footer-bottom .footer-copyright-brand{display:none}
@media(max-width:600px){
 .site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form .btn{width:auto!important}
 .site-footer .footer-payment-image-wrap img{max-width:min(100%,320px)!important;max-height:56px!important}
 .site-footer-bottom{font-size:12px;margin-top:24px;padding-top:14px}
}


/* Final footer width/alignment correction: use the full available mobile width. */
.site-footer{width:100%;box-sizing:border-box}
.site-footer-inner{width:100%;max-width:1380px;margin-inline:auto;box-sizing:border-box}
.site-footer-grid{width:100%;box-sizing:border-box}
.footer-payment-image-wrap{width:100%;box-sizing:border-box}
.site-footer-bottom{width:100%;box-sizing:border-box}
@media(max-width:800px){
 .site-footer{padding-left:20px!important;padding-right:20px!important}
 .site-footer-inner{width:100%;max-width:none;margin:0}
 .site-footer-grid{grid-template-columns:minmax(0,1fr);gap:26px}
 .site-footer-brand{grid-column:auto;width:100%;max-width:none;min-width:0}
 .site-footer-col{width:100%;min-width:0}
 .site-footer-brand .footer-newsletter-in-brand{width:100%;box-sizing:border-box}
 .site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form{width:100%;box-sizing:border-box}
 .site-footer-brand .footer-newsletter-in-brand .footer-newsletter-form input{width:100%;min-width:0;box-sizing:border-box}
 .footer-payment-image-wrap{width:100%;margin-left:0;margin-right:0;align-items:center}
 .site-footer-bottom{width:100%;margin-left:0;margin-right:0;text-align:center;justify-content:center}
}
@media(max-width:500px){
 .site-footer{padding-left:16px!important;padding-right:16px!important}
 .site-footer-logo{max-width:100%;overflow-wrap:anywhere}
 .site-footer-contact,.site-footer-contact .footer-contact-row{max-width:100%;overflow-wrap:anywhere}
 .site-footer-bottom .footer-copyright-text{overflow-wrap:anywhere}
}


/* Product wishlist controls on homepage, shop and product details. */
.product{position:relative}
.product-card-link{display:block;color:inherit;text-decoration:none;height:100%}
.wishlist-toggle-form{position:absolute;top:9px;right:9px;z-index:5;margin:0}
.wishlist-toggle{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(0,0,0,.10);border-radius:50%;background:rgba(255,255,255,.96);color:#34302b;box-shadow:0 2px 10px rgba(0,0,0,.10);cursor:pointer;padding:9px;transition:transform .15s ease,background .15s ease,color .15s ease}
.wishlist-toggle svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wishlist-toggle:hover{transform:scale(1.06)}
.wishlist-toggle.is-saved{color:#b52842}
.wishlist-toggle.is-saved svg{fill:#b52842;stroke:#b52842}
.product-detail-actions{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-top:18px}
.product-cart-form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}
.product-cart-form label{display:grid;gap:6px}
.product-cart-form .qty{max-width:100px}
.product-detail-wishlist{margin:0}
.product-detail-wishlist .btn{min-height:44px}
.wishlist-products{align-items:stretch}
.wishlist-remove-wrap{padding:0 12px 14px}
.wishlist-remove{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;padding:8px 12px;font-size:13px;color:var(--ink);text-decoration:none}
.wishlist-remove:hover{border-color:#b52842;color:#b52842}
@media(max-width:600px){
 .wishlist-toggle{width:34px;height:34px;padding:8px}
 .wishlist-toggle-form{top:7px;right:7px}
 .product-detail-actions,.product-cart-form{align-items:stretch;width:100%}
 .product-cart-form{display:grid;grid-template-columns:90px minmax(0,1fr)}
 .product-cart-form label{grid-column:1}
 .product-cart-form .btn{grid-column:2;align-self:end;white-space:nowrap}
 .product-detail-wishlist{width:100%}
 .product-detail-wishlist .btn{width:100%}
}


/* Wishlist: icon only, no badge/circle background. */
.wishlist-toggle{
  width:28px!important;
  height:28px!important;
  padding:3px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--ink,#28231f)!important;
}
.wishlist-toggle:hover{transform:scale(1.08);background:transparent!important}
.wishlist-toggle svg{width:24px!important;height:24px!important}
.wishlist-toggle.is-saved{color:#b52842!important}
.wishlist-toggle.is-saved svg{fill:#b52842;stroke:#b52842}
.wishlist-toggle:focus-visible{outline:2px solid var(--accent,#c09937);outline-offset:3px;border-radius:3px}


/* Wishlist saved-product grid: consistent card layout on customer Wishlist page. */
.wishlist-products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch;
}
.wishlist-products .product{min-width:0;display:flex;flex-direction:column;overflow:hidden}
.wishlist-products .product-card-link{display:flex;flex:1;flex-direction:column;min-width:0}
.wishlist-products .product-card-link img,
.wishlist-products .product-card-link .placeholder{display:block;width:100%;aspect-ratio:1/1;height:auto;object-fit:cover}
.wishlist-products .pbody{padding:12px;min-width:0}
.wishlist-products .pbody h3{font-size:17px;line-height:1.35;overflow-wrap:anywhere}
.wishlist-products .wishlist-remove-wrap{padding:0 12px 12px}
@media(max-width:900px){
  .wishlist-products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
}
@media(max-width:600px){
  .wishlist-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .wishlist-products .pbody{padding:9px}
  .wishlist-products .pbody h3{font-size:14px;line-height:1.3}
  .wishlist-products .pbody strong{font-size:13px}
  .wishlist-products .wishlist-remove-wrap{padding:0 9px 9px}
  .wishlist-products .wishlist-remove{width:100%;box-sizing:border-box;padding:7px 5px;font-size:12px}
}


/* Admin order management — clean, scannable layout */
.order-management-page{max-width:1440px}
.order-page-heading{align-items:center;gap:18px;margin-bottom:22px}
.order-page-heading h1{font-size:clamp(25px,3vw,34px);letter-spacing:-.035em;margin:2px 0 10px}
.order-heading-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--muted,#777);font-size:13px}
.order-status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 11px;font-weight:700;font-size:12px;background:#f3f0e8;color:#67562b}
.order-status-pill.status-delivered{background:#e6f5eb;color:#176b3a}
.order-status-pill.status-cancelled{background:#fde9e9;color:#a12626}
.order-status-pill.status-shipped{background:#e7f1ff;color:#245ca8}
.order-status-pill.status-processing{background:#fff1dd;color:#975800}
.order-status-pill.status-confirmed{background:#e8f6f4;color:#176b64}
.order-admin-grid.order-management-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.order-management-page .order-card.order-panel{padding:22px;border:1px solid var(--line,#e8e5df);border-radius:15px;background:var(--card,#fff);box-shadow:0 5px 20px rgba(22,20,15,.035);margin:0 0 20px;min-width:0}
.order-management-page .order-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:15px;border-bottom:1px solid var(--line,#eee)}
.order-management-page .order-panel-heading h2{font-size:18px;margin:0;line-height:1.3}
.order-management-page .order-panel-heading p{font-size:12px;color:var(--muted,#777);margin:5px 0 0}
.order-management-page .order-subheading{margin:20px 0 10px;padding-top:16px;border-top:1px solid var(--line,#eee)}
.order-management-page .order-subheading h3{font-size:15px;margin:0}
.order-management-page .order-panel hr{border:0;border-top:1px solid var(--line,#eee);margin:20px 0}
.order-customer-summary{padding:14px 15px;border:1px solid var(--line,#eee);border-radius:11px;background:var(--surface,#faf9f6);overflow-wrap:anywhere}
.order-customer-summary>strong{display:block;font-size:16px;margin-bottom:12px}
.order-customer-summary>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;margin-top:8px;font-size:13px;line-height:1.5}
.order-info-label{color:var(--muted,#777)}
.order-management-page .admin-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
.order-management-page .admin-form label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:var(--ink,#28231f);min-width:0}
.order-management-page .admin-form label:has(textarea),.order-management-page .admin-form button{grid-column:1/-1}
.order-management-page .admin-form input,.order-management-page .admin-form select,.order-management-page .admin-form textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--line,#dedbd5);border-radius:9px;padding:11px 12px;background:var(--input-bg,#fff);color:var(--ink,#28231f);font:inherit;font-size:14px;line-height:1.4;outline:none;transition:border-color .15s,box-shadow .15s}
.order-management-page .admin-form textarea{resize:vertical;min-height:90px}
.order-management-page .admin-form input:focus,.order-management-page .admin-form select:focus,.order-management-page .admin-form textarea:focus{border-color:#b99a55;box-shadow:0 0 0 3px rgba(192,153,55,.13)}
.order-management-page .admin-form .btn{justify-self:start;min-height:42px;padding:10px 17px;border-radius:9px;font-weight:700}
.order-management-page .customer-edit-link{margin:13px 0 0}
.order-management-page .order-shipping-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}
.order-management-page .order-shipping-summary>div{padding:11px;border:1px solid var(--line,#eee);border-radius:9px;min-width:0}
.order-management-page .order-shipping-summary span,.order-management-page .order-shipping-summary b{display:block;overflow-wrap:anywhere}
.order-management-page .order-shipping-summary span{font-size:11px;color:var(--muted,#777);margin-bottom:5px}
.order-management-page .order-shipping-summary b{font-size:12px}
.order-management-page .order-progress-panel{margin-top:0}
.order-management-page .tracking-progress{gap:8px}
.order-management-page .tracking-step{min-width:0}
.order-management-page .order-items-panel{margin-top:0}
.order-management-page .order-items-table{overflow-x:auto;border:1px solid var(--line,#eee);border-radius:10px}
.order-management-page .order-items-table table{width:100%;min-width:650px;border-collapse:collapse}
.order-management-page .order-items-table th{font-size:11px;text-transform:uppercase;letter-spacing:.035em;background:var(--surface,#f8f7f4);color:var(--muted,#777);white-space:nowrap}
.order-management-page .order-items-table td,.order-management-page .order-items-table th{padding:13px 14px;border-bottom:1px solid var(--line,#eee);text-align:left}
.order-management-page .order-items-table tr:last-child td{border-bottom:0}
.order-management-page .order-total-lines>p{line-height:2;font-size:13px}
.order-management-page .order-grand-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:17px 18px;border-radius:11px;background:var(--surface,#f8f7f4)}
.order-management-page .order-grand-total span{font-size:14px;font-weight:700}
.order-management-page .order-grand-total strong{font-size:24px;letter-spacing:-.03em}
.order-management-page .tracking-history{display:grid;gap:0}
.order-management-page .tracking-event{padding:13px 0;border-bottom:1px solid var(--line,#eee)}
.order-management-page .tracking-event:last-child{border-bottom:0}
.order-management-page .order-bottom-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin:5px 0 28px}
.order-management-page .order-bottom-actions .btn{border-radius:9px}
@media(max-width:900px){
 .order-admin-grid.order-management-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .order-management-page .order-card.order-panel{padding:18px}
}
@media(max-width:600px){
 .order-page-heading{align-items:flex-start;flex-direction:column}
 .order-management-page .order-card.order-panel{padding:15px;border-radius:12px;margin-bottom:14px}
 .order-management-page .admin-form{grid-template-columns:minmax(0,1fr);gap:12px}
 .order-management-page .admin-form label:has(textarea),.order-management-page .admin-form button{grid-column:auto}
 .order-management-page .admin-form .btn{width:100%;justify-self:stretch}
 .order-customer-summary>div{grid-template-columns:1fr;gap:2px}
 .order-management-page .order-shipping-summary{grid-template-columns:1fr}
 .order-management-page .order-panel-heading{margin-bottom:14px;padding-bottom:12px}
 .order-management-page .order-grand-total strong{font-size:21px}
 .order-management-page .order-bottom-actions{display:grid;grid-template-columns:1fr}
 .order-management-page .order-bottom-actions .btn{width:100%;text-align:center}
}


/* Floating cart: vertically centered at the right edge, never pinned over the bottom navigation. */
.mhn-floating-cart{position:fixed;right:22px;top:50%;bottom:auto;transform:translateY(-50%);z-index:1200;display:inline-flex;align-items:center;justify-content:center;min-width:96px;min-height:58px;padding:9px 15px;border-radius:16px;background:var(--surface,#fff);color:var(--ink,#171717);border:1px solid var(--line,#e7e7e7);box-shadow:0 10px 32px rgba(0,0,0,.18);text-decoration:none;font-weight:750;letter-spacing:.01em;transition:transform .18s ease,box-shadow .18s ease}
.mhn-floating-cart:hover{transform:translateY(calc(-50% - 2px));box-shadow:0 14px 36px rgba(0,0,0,.22)}
.mhn-floating-cart:focus-visible{outline:3px solid var(--accent,#c09937);outline-offset:3px}
.mhn-floating-cart-info{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1.1}
.mhn-floating-cart-top{display:flex;align-items:center;justify-content:center;gap:7px}
.mhn-floating-cart-label{font-size:15px;line-height:1}
.mhn-floating-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 6px;border-radius:8px;background:var(--accent,#c09937);color:#fff;font-size:13px;font-weight:800;line-height:1;box-sizing:border-box;font-variant-numeric:tabular-nums}
.mhn-floating-cart-total{font-size:14px;font-weight:800;white-space:nowrap;color:var(--accent,#c09937);font-variant-numeric:tabular-nums}
html[data-theme="dark"] .mhn-floating-cart{background:#151515;color:#fff;border-color:#343434}
@media(max-width:600px){.mhn-floating-cart{right:10px;top:50%;min-width:88px;min-height:52px;padding:8px 12px}.mhn-floating-cart-label{font-size:14px}.mhn-floating-cart-count{min-width:23px;height:23px;border-radius:7px;font-size:12px}.mhn-floating-cart-total{font-size:13px}}

/* Customer account dashboard */
.account-dashboard{max-width:1160px;padding-top:52px;padding-bottom:76px}
.account-welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:clamp(22px,4vw,42px);border:1px solid var(--line);border-radius:20px;background:linear-gradient(125deg,var(--surface,#fff),var(--surface-2,#f4eee5));margin-bottom:22px}
.account-welcome .eyebrow{margin:0 0 8px}
.account-welcome h1{font-size:clamp(34px,5vw,54px);line-height:1.1;margin:0 0 8px;letter-spacing:-.025em;overflow-wrap:anywhere}
.account-welcome-mark{color:var(--accent,#c09937)}
.account-welcome-name{font-size:17px;font-weight:700;margin:0 0 4px;overflow-wrap:anywhere}
.account-welcome-note{color:var(--muted);margin:0;max-width:560px;font-size:14px}
.account-profile-shortcut{display:flex;align-items:center;gap:12px;flex:0 0 auto;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:var(--surface,#fff);min-width:210px}
.account-profile-shortcut-icon,.account-summary-icon,.account-quick-icon{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--accent,#c09937) 14%,transparent);color:var(--accent,#c09937)}
.account-profile-shortcut-icon svg,.account-summary-icon svg,.account-quick-icon svg,.account-empty-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.account-profile-shortcut strong,.account-profile-shortcut small{display:block}.account-profile-shortcut strong{font-size:14px}.account-profile-shortcut small{font-size:12px;color:var(--muted)}
.account-arrow{font-size:24px;line-height:1;margin-left:auto;color:var(--muted)}
.account-notice{border-radius:12px}
.account-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 22px}
.account-summary-card{display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto auto;column-gap:14px;align-items:center;padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.account-summary-card:hover{transform:translateY(-2px);border-color:var(--accent,#c09937);box-shadow:0 10px 24px rgba(0,0,0,.05)}
.account-summary-icon{grid-row:1/4;width:52px;height:52px;border-radius:14px}.account-summary-value{font-size:32px;line-height:1.1;font-weight:750;font-variant-numeric:tabular-nums}.account-summary-label{font-weight:700;font-size:14px}.account-summary-hint{font-size:12px;color:var(--muted)}.account-summary-hint span{color:var(--accent,#c09937);font-weight:700}
.account-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 48px}
.account-quick-links>a{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff);transition:border-color .18s ease,transform .18s ease}
.account-quick-links>a:hover{border-color:var(--accent,#c09937);transform:translateY(-1px)}
.account-quick-icon{width:40px;height:40px;border-radius:11px}.account-quick-links strong,.account-quick-links small{display:block}.account-quick-links strong{font-size:13px;line-height:1.4}.account-quick-links small{font-size:11px;color:var(--muted);line-height:1.4;margin-top:3px}.account-quick-links .account-arrow{font-size:22px}
.account-section-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px}.account-section-heading .eyebrow{margin:0 0 5px}.account-section-heading h2{font-size:clamp(30px,4vw,40px);line-height:1.15;margin:0 0 7px}.account-section-subtitle{margin:0;color:var(--muted);font-size:14px}.account-text-link{font-size:13px;font-weight:700;white-space:nowrap;color:var(--primary,var(--brown))}.account-orders-desktop{border-radius:14px;margin:0;overflow:auto}.account-orders-table th{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);background:var(--surface-2,#f8f5f0)}.account-orders-table td{vertical-align:middle;font-size:13px}.account-order-number{font-weight:750;color:var(--primary,var(--brown));font-variant-numeric:tabular-nums}.account-order-total{font-weight:750;white-space:nowrap}.account-status-pill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:750;background:var(--surface-2,#f4f0e9);color:var(--ink)}
.account-status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px}.account-status-pill.status-pending{background:#fff3d5;color:#8a5b00}.account-status-pill.status-confirmed,.account-status-pill.status-processing{background:#e8f1ff;color:#245aa8}.account-status-pill.status-shipped{background:#eee8ff;color:#6541a5}.account-status-pill.status-delivered{background:#e5f6e9;color:#26713b}.account-status-pill.status-cancelled,.account-status-pill.status-returned,.account-status-pill.status-refunded{background:#fde8e8;color:#a12d2d}
.account-order-actions{display:flex;align-items:center;gap:6px}.account-order-actions .btn{margin:0}.account-cancel-form{display:inline;margin:0}.account-cancel-btn{color:#a12d2d!important}
.account-orders-mobile{display:none}.account-empty-orders{display:flex;flex-direction:column;align-items:center;text-align:center;padding:42px 20px;border:1px dashed var(--line);border-radius:16px;background:var(--surface,#fff)}.account-empty-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:color-mix(in srgb,var(--accent,#c09937) 14%,transparent);color:var(--accent,#c09937)}.account-empty-icon svg{width:29px;height:29px}.account-empty-orders h3{font:600 23px Georgia,serif;margin:17px 0 5px}.account-empty-orders p{color:var(--muted);margin:0 0 10px;font-size:14px}.account-empty-orders .btn{border-radius:9px;margin-top:12px}
html[data-theme="dark"] .account-welcome,html[data-theme="dark"] .account-profile-shortcut,html[data-theme="dark"] .account-summary-card,html[data-theme="dark"] .account-quick-links>a,html[data-theme="dark"] .account-empty-orders{background:#151515;color:#f7f7f7;border-color:#343434}
html[data-theme="dark"] .account-orders-table th{background:#1d1d1d;color:#c7c7c7}
html[data-theme="dark"] .account-status-pill.status-pending{background:#473716;color:#ffe3a1}html[data-theme="dark"] .account-status-pill.status-confirmed,html[data-theme="dark"] .account-status-pill.status-processing{background:#1d3455;color:#c6dcff}html[data-theme="dark"] .account-status-pill.status-shipped{background:#33264d;color:#decaff}html[data-theme="dark"] .account-status-pill.status-delivered{background:#193c26;color:#b9f0c8}html[data-theme="dark"] .account-status-pill.status-cancelled,html[data-theme="dark"] .account-status-pill.status-returned,html[data-theme="dark"] .account-status-pill.status-refunded{background:#4b2222;color:#ffc5c5}
@media(max-width:800px){.account-dashboard{padding-top:30px;padding-bottom:54px}.account-welcome{align-items:flex-start;flex-direction:column}.account-profile-shortcut{width:100%;min-width:0}.account-quick-links{grid-template-columns:1fr;gap:9px;margin-bottom:38px}.account-quick-links>a{padding:13px}.account-section-heading{align-items:flex-start;flex-direction:column}.account-summary-grid{gap:12px}.account-summary-card{padding:17px;grid-template-columns:42px 1fr;column-gap:11px}.account-summary-icon{width:42px;height:42px}.account-summary-value{font-size:28px}.account-orders-desktop{display:none}.account-orders-mobile{display:grid;gap:12px}.account-order-card{padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff)}.account-order-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:13px;border-bottom:1px solid var(--line)}.account-order-card-top small,.account-order-card-meta small{display:block;color:var(--muted);font-size:10px;letter-spacing:.07em;margin-bottom:4px}.account-order-card-top .account-order-number{display:block;font-size:17px}.account-order-card-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:13px 0}.account-order-card-meta strong{font-size:14px;display:block}.account-order-card-actions{display:flex;gap:8px;flex-wrap:wrap}.account-order-card-actions .btn{flex:1;text-align:center;margin:0;padding:10px 12px;border-radius:8px;font-size:12px}.account-order-card-actions form{display:flex;flex:1}.account-order-card-actions form button{width:100%}}
@media(max-width:420px){.account-welcome{padding:21px 18px;border-radius:15px}.account-welcome h1{font-size:34px}.account-summary-grid{grid-template-columns:1fr}.account-summary-card{grid-template-columns:48px 1fr}.account-summary-icon{width:48px;height:48px}.account-status-pill{padding:4px 7px;font-size:10px}.account-order-card{padding:13px}}

/* Admin form usability refresh: product editor and transactional templates */
.admin .product-editor-card{box-shadow:0 4px 18px rgba(20,20,20,.035);}
.admin .product-editor-card>h2{font-size:22px;line-height:1.3;margin:0 0 18px;padding-bottom:13px;border-bottom:1px solid var(--line);}
.product-editor-form{gap:17px!important;}
.product-editor-form>label,.product-editor-form>.admin-grid-2{margin:0;}
.product-editor-form label{font-weight:600;line-height:1.4;}
.product-editor-form label small{font-weight:400;line-height:1.55;}
.product-editor-form input:not([type=checkbox]),.product-editor-form select,.product-editor-form textarea{border-radius:10px;padding:12px 13px;}
.product-editor-form textarea{line-height:1.65;resize:vertical;}
.product-editor-form .switch-row{padding:14px 15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2,#fcfaf7);}
.product-editor-form>.btn{min-height:46px;padding:12px 20px;justify-self:start;}
.admin .template-editor-card{width:100%;max-width:1000px;margin:0 0 20px;padding:22px 24px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff);box-shadow:0 4px 18px rgba(20,20,20,.035);}
.template-editor-form{width:100%;max-width:none;padding:0;border:0;background:transparent;display:grid;gap:17px;}
.template-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:15px;border-bottom:1px solid var(--line);}
.template-card-heading h2{font-size:21px;line-height:1.3;margin:5px 0 6px;overflow-wrap:anywhere;}
.template-card-heading p{margin:0;line-height:1.5;}
.template-kind{font-size:10px;letter-spacing:.13em;font-weight:800;color:var(--muted);}
.template-heading-icon{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:42px;padding:0 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2,#fcfaf7);font-size:11px;font-weight:800;letter-spacing:.06em;}
.template-editor-form>label{display:grid;gap:8px;font-weight:650;min-width:0;}
.template-editor-form input:not([type=checkbox]),.template-editor-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;border:1px solid var(--line);border-radius:10px;padding:12px 13px;background:var(--surface,#fff);color:var(--text);font:inherit;}
.template-editor-form input:focus,.template-editor-form textarea:focus{outline:2px solid color-mix(in srgb,var(--accent,#c09937) 32%,transparent);outline-offset:1px;}
.template-editor-form textarea{line-height:1.65;resize:vertical;}
.template-editor-form .template-body-field textarea{min-height:145px;}
.template-email-card .template-body-field textarea{min-height:230px;}
.template-vars{border:1px solid var(--line);border-radius:12px;padding:15px;background:var(--surface-2,#fcfaf7);line-height:1.6;}
.template-vars>strong{display:block;margin-bottom:3px;color:var(--text);}
.template-vars>p{margin:0 0 10px;font-size:13px;line-height:1.5;}
.template-var-list{display:flex;flex-wrap:wrap;gap:7px;}
.template-var-list code{display:inline-flex;align-items:center;padding:5px 8px;margin:0;border:1px solid var(--line);border-radius:7px;background:var(--surface,#fff);font-size:12px;line-height:1.4;overflow-wrap:anywhere;}
.template-card-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:14px;border-top:1px solid var(--line);}
.template-card-actions .muted{font-size:12px;line-height:1.5;}
.template-card-actions .btn{flex:0 0 auto;min-height:42px;padding:10px 18px;}
.template-sms-card .switch-row{padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:var(--surface-2,#fcfaf7);}
@media(max-width:600px){.admin .template-editor-card{padding:16px;margin-bottom:15px;border-radius:13px}.template-card-heading{gap:10px}.template-card-heading h2{font-size:19px}.template-heading-icon{min-width:44px;height:36px;font-size:10px}.template-editor-form{gap:14px}.template-card-actions{align-items:stretch;flex-direction:column}.template-card-actions .btn{width:100%}.template-card-actions .muted{font-size:12px}.template-vars{padding:12px}.template-var-list code{font-size:11px}.admin .product-editor-card>h2{font-size:20px}}

/* Product page sharing controls and long-form product details */
.product-short-description{margin:0 0 18px;line-height:1.8;color:var(--muted);white-space:normal}
.product-share{margin:22px 0 24px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.product-share>strong{display:block;margin-bottom:12px;font-size:14px;letter-spacing:.2px}
.product-share-actions{display:flex;flex-wrap:wrap;gap:9px}
.share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:9px 13px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#2d261e;font:600 13px/1.2 Arial,Helvetica,sans-serif;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.share-button:hover{transform:translateY(-1px);box-shadow:0 5px 15px rgba(45,38,30,.08);border-color:#c09937}
.share-button>span:first-child{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#f5efe5;font-weight:700;font-size:16px}
.share-facebook>span:first-child{background:#e9efff;color:#1877f2}.share-whatsapp>span:first-child{background:#e6f8ec;color:#168344}.share-social>span:first-child{background:#eee9fa;color:#6542a6}.copy-product-link.is-copied{border-color:#24864a;color:#176b37}
.copy-link-feedback{display:block;min-height:20px;margin-top:7px;color:#24864a;font-size:12px;overflow-wrap:anywhere}
.product-full-details{padding:0 8% 75px;max-width:1300px;margin:0 auto}
.product-full-details-inner{background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px clamp(20px,4vw,48px)}
.product-full-details h2{font:400 clamp(27px,3vw,36px)/1.2 Georgia,serif;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.product-full-details-content{line-height:1.9;color:var(--ink);overflow-wrap:anywhere}
@media(max-width:800px){.product-full-details{padding:0 6% 48px}.product-full-details-inner{padding:22px 18px}.product-share-actions{gap:7px}.share-button{padding:8px 10px;min-height:40px}}
@media(max-width:420px){.share-button{flex:1 1 calc(50% - 7px)}.product-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Smart Related Products */
.related-products-section{padding:0 8% 76px;max-width:1300px;margin:0 auto}.related-products-inner{border-top:1px solid var(--line);padding-top:34px}.related-products-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}.related-products-heading .eyebrow{margin:0 0 8px}.related-products-heading h2{font:400 clamp(27px,3vw,36px)/1.2 Georgia,serif;margin:0 0 8px}.related-products-heading .muted{margin:0}.related-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.related-product-card{display:block;min-width:0;color:inherit;text-decoration:none;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--paper,#fff);transition:transform .18s ease,box-shadow .18s ease}.related-product-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.08)}.related-product-image{aspect-ratio:1/1;background:#f7f5f0;overflow:hidden}.related-product-image img{display:block;width:100%;height:100%;object-fit:contain;padding:8px}.related-product-info{padding:14px}.related-product-info h3{font-size:15px;line-height:1.45;margin:0 0 9px;font-weight:600}.related-product-price{display:flex;gap:9px;align-items:center;font-weight:700}.related-product-price del{font-size:13px;font-weight:400;color:var(--muted,#777)}.related-stock-note{display:inline-block;margin-top:8px;font-size:12px;color:var(--muted,#777)}
.related-products-settings-card{margin:0 0 26px;padding:24px}.related-settings-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}.related-settings-heading h2{margin:0 0 7px}.related-settings-heading p{margin:0;max-width:680px}.related-auto-badge{display:inline-flex;align-items:center;padding:6px 11px;border-radius:999px;background:#e9f6ed;color:#237342;font-size:12px;font-weight:700;white-space:nowrap}.related-settings-form{display:grid;gap:18px}.related-settings-form .switch-row{margin:0}.related-settings-fields{gap:16px}.related-settings-note{display:grid;gap:4px;border:1px solid var(--line);border-radius:10px;padding:13px 15px;background:var(--surface-secondary,rgba(128,128,128,.06));font-size:14px}.related-settings-note span{color:var(--muted,#777);line-height:1.6}.related-settings-form>.btn{justify-self:start}
@media(max-width:900px){.related-products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.related-products-section{padding:0 6% 52px}}
@media(max-width:600px){.related-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.related-product-info{padding:11px}.related-product-info h3{font-size:14px}.related-products-section{padding:0 5% 42px}.related-settings-heading{flex-direction:column}.related-products-settings-card{padding:17px}.related-settings-fields{grid-template-columns:1fr}}

/* Refined, customer-friendly product detail layout */
.product-detail-layout{align-items:start;gap:clamp(28px,5vw,68px);padding-top:54px;padding-bottom:58px}
.product-gallery-panel{position:relative;min-width:0}
.product-main-image-wrap{position:sticky;top:24px;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,#fff,#f3ede3);padding:clamp(12px,2vw,24px);box-shadow:0 12px 34px rgba(45,38,30,.045)}
.product-detail-layout .detail-img,.product-detail-layout .detail-placeholder{display:block;width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:12px}
.product-detail-layout .detail-placeholder{display:grid;place-items:center}
.product-info-panel{min-width:0;padding:5px 0}
.product-meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.product-category-label{margin:0;letter-spacing:2px}
.product-stock-badge{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.product-stock-badge>span{width:7px;height:7px;border-radius:50%;background:currentColor}
.product-stock-badge.in-stock{background:#e9f6ed;color:#237342}.product-stock-badge.out-of-stock{background:#fae9e7;color:#a3382b}
.product-detail-layout .product-info-panel h1{font:400 clamp(32px,4vw,48px)/1.14 Georgia,serif;margin:0 0 18px;overflow-wrap:anywhere}
.product-price-block{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:16px 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.product-price-label{font-size:13px;color:var(--muted)}.product-price-block .price{font:700 clamp(28px,3vw,36px)/1.2 Arial,Helvetica,sans-serif;color:var(--brown);margin:0}
.product-compare-price{font-size:16px;color:var(--muted)}
.product-short-description{margin:21px 0 22px;color:var(--muted);font-size:15px;line-height:1.85;overflow-wrap:anywhere}
.product-short-description h2{font:700 15px/1.4 Arial,Helvetica,sans-serif;color:var(--ink);margin:0 0 7px}
.product-purchase-card{display:grid;grid-template-columns:1fr;gap:12px;margin:22px 0 20px;padding:18px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.72)}
.product-cart-form{display:grid;gap:9px}.product-cart-form>label{font-size:13px;font-weight:700;color:var(--muted)}
.product-buy-row{display:flex;align-items:stretch;gap:10px}.product-buy-row .qty{width:82px;min-width:72px;margin:0;border-radius:9px;background:#fff;text-align:center;font:600 16px Arial,Helvetica,sans-serif}.product-add-cart-btn{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;margin:0;min-height:48px;border-radius:9px;background:#2d261e;font-weight:700}.product-add-cart-btn svg,.product-wishlist-btn svg,.product-share-heading svg,.native-share-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.product-detail-wishlist{margin:0}.product-wishlist-btn{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;margin:0;min-height:44px;border-radius:9px;font-weight:700}.product-wishlist-btn svg{width:17px;height:17px}.product-wishlist-btn:hover{border-color:#c09937;color:#8d6726}
.product-share-panel{margin:18px 0 0;padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff}
.product-share-heading{display:flex;align-items:center;gap:11px;margin-bottom:14px}.product-share-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:11px;background:#f6efe2;color:#76551f}.product-share-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.product-share-heading strong{display:block;margin:0;font-size:14px;letter-spacing:0}.product-share-heading p{margin:2px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.native-share-button{display:flex;width:100%;min-height:45px;margin:0 0 10px;background:#f8f3ea;border-color:#e9dcc5;color:#5c421b;font-size:13px}
.product-share-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.product-share-actions .share-button{min-width:0;padding:9px 7px;min-height:43px;border-radius:9px;font-size:12px;white-space:nowrap}
.share-brand-icon{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#f3eee7;color:#4d443a;font-weight:700;font-size:15px;flex-shrink:0}
.share-facebook .share-brand-icon{background:#e9efff;color:#1877f2}.share-whatsapp .share-brand-icon{background:#e6f8ec;color:#168344}.share-telegram .share-brand-icon{background:#e5f5ff;color:#1688bd}.share-x .share-brand-icon{background:#f0f0f0;color:#111}.share-email .share-brand-icon{background:#fbece7;color:#9a4e36}
.product-share-note{margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.copy-link-feedback{min-height:0;margin-top:8px;font-size:12px;line-height:1.5}
.product-full-details{padding-top:0}.product-full-details-inner{box-shadow:0 8px 24px rgba(45,38,30,.035)}
@media(max-width:800px){.product-detail-layout{padding-top:28px;padding-bottom:35px;gap:26px}.product-main-image-wrap{position:static;border-radius:16px;padding:10px}.product-info-panel{padding:0}.product-detail-layout .product-info-panel h1{font-size:34px}.product-purchase-card{padding:14px}.product-share-panel{padding:14px}.product-share-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.product-detail-layout .product-info-panel h1{font-size:29px}.product-meta-row{align-items:flex-start}.product-buy-row{gap:8px}.product-buy-row .qty{width:68px;min-width:68px;padding:8px}.product-add-cart-btn{padding:12px 10px;font-size:13px}.product-share-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.product-share-actions .share-button{justify-content:flex-start;padding:9px 10px}.product-share-actions .share-button>span:last-child{overflow:hidden;text-overflow:ellipsis}}


/* Product details page: complete dark-theme contrast fix */
html[data-theme="dark"] .product-detail-page,
html[data-theme="dark"] .product-detail-layout{
  color:#f5f5f5!important;
}
html[data-theme="dark"] .product-info-panel h1,
html[data-theme="dark"] .product-info-panel .product-price-label,
html[data-theme="dark"] .product-info-panel .product-price-block .price,
html[data-theme="dark"] .product-info-panel .product-compare-price,
html[data-theme="dark"] .product-short-description,
html[data-theme="dark"] .product-short-description h2,
html[data-theme="dark"] .product-short-description>div,
html[data-theme="dark"] .product-meta-row,
html[data-theme="dark"] .product-category-label{
  color:#f1f1f1!important;
}
html[data-theme="dark"] .product-purchase-card{
  background:#191919!important;
  color:#f5f5f5!important;
  border-color:#3b3b3b!important;
}
html[data-theme="dark"] .product-purchase-card label,
html[data-theme="dark"] .product-cart-form label{
  color:#d8d8d8!important;
}
html[data-theme="dark"] .product-buy-row .qty{
  background:#101010!important;
  color:#ffffff!important;
  border:1px solid #484848!important;
}
html[data-theme="dark"] .product-add-cart-btn{
  background:#f0f0f0!important;
  color:#111111!important;
  border-color:#f0f0f0!important;
}
html[data-theme="dark"] .product-detail-wishlist .product-wishlist-btn,
html[data-theme="dark"] .product-detail-wishlist .product-wishlist-btn.btn.secondary{
  background:#101010!important;
  color:#f5f5f5!important;
  border-color:#454545!important;
}
html[data-theme="dark"] .product-share-panel{
  background:#171717!important;
  color:#f5f5f5!important;
  border:1px solid #3a3a3a!important;
}
html[data-theme="dark"] .product-share-heading,
html[data-theme="dark"] .product-share-heading strong,
html[data-theme="dark"] .product-share-heading p,
html[data-theme="dark"] .product-share-note{
  color:#f0f0f0!important;
}
html[data-theme="dark"] .product-share-heading p,
html[data-theme="dark"] .product-share-note{
  color:#bdbdbd!important;
}
html[data-theme="dark"] .product-share-icon{
  background:#302719!important;
  color:#e1b95f!important;
}
html[data-theme="dark"] .product-share-panel .native-share-button{
  background:#292216!important;
  color:#f5e6c4!important;
  border-color:#705b30!important;
}
html[data-theme="dark"] .product-share-panel .share-button{
  background:#101010!important;
  color:#f5f5f5!important;
  border-color:#454545!important;
}
html[data-theme="dark"] .product-share-panel .share-button:hover{
  background:#242424!important;
  border-color:#c09937!important;
}
html[data-theme="dark"] .product-share-panel .share-brand-icon,
html[data-theme="dark"] .product-share-panel .share-button>span:first-child{
  background:#292929!important;
  color:#f2f2f2!important;
}
html[data-theme="dark"] .product-share-panel .copy-product-link.is-copied,
html[data-theme="dark"] .product-share-panel .copy-link-feedback{
  color:#8fe0a6!important;
}
html[data-theme="dark"] .product-full-details-inner{
  background:#171717!important;
  color:#f5f5f5!important;
  border-color:#3a3a3a!important;
}
html[data-theme="dark"] .product-full-details h2{
  color:#ffffff!important;
  border-bottom-color:#454545!important;
}
html[data-theme="dark"] .product-full-details-content{
  color:#e2e2e2!important;
}
html[data-theme="dark"] .related-product-card{
  background:#171717!important;
  color:#f5f5f5!important;
  border-color:#383838!important;
}
html[data-theme="dark"] .related-product-image{
  background:#202020!important;
}
html[data-theme="dark"] .related-product-info h3,
html[data-theme="dark"] .related-product-price{
  color:#f5f5f5!important;
}
.account-all-orders .account-section-heading{align-items:center}
.account-all-orders .account-view-order-btn{display:block;text-align:center;margin:0;border-radius:8px}
@media(max-width:800px){.account-all-orders .account-section-heading{align-items:flex-start}.account-all-orders .account-view-order-btn{width:100%}}


/* ================================================================
   Admin usability refresh — desktop-first layout + complete dark mode
   Scoped to the admin area so storefront styling remains unchanged.
   ================================================================ */
main.admin{
  width:100%;
  max-width:1840px;
  margin-inline:auto;
  padding:clamp(28px,2.8vw,52px) clamp(22px,3.1vw,64px);
}
.admin h1{font-size:clamp(32px,2.4vw,45px);line-height:1.18;}
.admin .admin-page-head{margin-bottom:28px;}
.admin .card,.admin .option-card,.admin .template-editor-card,.admin .product-editor-card{
  min-width:0;
}
.admin .table-wrap{max-width:100%;}
.admin .table-wrap table{min-width:720px;}
.admin .admin-form{width:100%;max-width:none;min-width:0;}
/* Most basic admin forms become a proper desktop two-column form rather than a narrow mobile stack. */
@media(min-width:801px){
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form){
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    gap:18px 22px;
  }
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>h2,
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>.admin-grid-2,
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>button,
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>.action-links,
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>label:has(textarea){grid-column:1/-1;}
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>label{min-width:0;}
}
.admin .admin-form input:not([type=checkbox]):not([type=radio]):not([type=color]),
.admin .admin-form select,
.admin .admin-form textarea{min-width:0;max-width:100%;border-radius:8px;}
.admin .admin-form textarea{resize:vertical;}
.admin .admin-form .btn{justify-self:start;}
.admin .admin-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;}

/* Footer Management: theme-aware cards, controls, previews and tables. */
.footer-admin-page{max-width:1760px;padding-top:clamp(28px,2.8vw,48px);}
.footer-admin-card{
  background:var(--surface,#fff);
  color:var(--ink);
  border-color:var(--line);
  padding:clamp(20px,2vw,34px);
  border-radius:14px;
  box-shadow:0 8px 28px rgba(25,20,14,.055);
  min-width:0;
}
.footer-admin-section-title h2{color:var(--ink);font-size:clamp(23px,1.8vw,30px);}
.footer-admin-card .muted,.footer-admin-card small{color:var(--muted);}
.footer-admin-card label{color:var(--ink);}
.footer-admin-card input:not([type=checkbox]):not([type=radio]):not([type=file]),
.footer-admin-card select,
.footer-admin-card textarea,
.footer-admin-card input[type=file]{
  width:100%;max-width:100%;min-width:0;min-height:44px;padding:11px 13px;
  color:var(--ink);background:var(--surface,#fff);border:1px solid var(--line);
  border-radius:8px;font:inherit;box-shadow:none;
}
.footer-admin-card textarea{min-height:96px;}
.footer-admin-card input::placeholder,.footer-admin-card textarea::placeholder{color:var(--muted);opacity:.82;}
.footer-admin-card input:focus,.footer-admin-card select:focus,.footer-admin-card textarea:focus{outline:2px solid color-mix(in srgb,var(--gold) 55%,transparent);outline-offset:1px;}
.footer-admin-card input[type=checkbox]{accent-color:var(--gold);width:17px;height:17px;}
.footer-admin-card .btn{border-radius:8px;min-height:42px;}
.footer-admin-card .btn.secondary{background:var(--surface-2,#f6f0e8);color:var(--ink);border:1px solid var(--line);}
.footer-admin-card .table-wrap{background:var(--surface,#fff);border-color:var(--line);border-radius:10px;}
.footer-admin-card table{min-width:900px;}
.footer-admin-card th{background:var(--surface-2,#f6f0e8);color:var(--ink);}
.footer-admin-card td{color:var(--ink);border-color:var(--line);}
.footer-admin-card .action-links a,.footer-admin-card .link-button{color:var(--ink);}
.footer-admin-card .footer-payment-admin-preview{display:inline-flex;max-width:100%;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2,#f6f0e8);}
.footer-admin-card .footer-payment-admin-preview img{display:block;max-width:min(100%,560px);max-height:180px;object-fit:contain;}
.footer-admin-card .footer-admin-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;}
.footer-admin-card .social-admin-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;}
.footer-admin-card .footer-link-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px;}
.footer-admin-card .footer-settings-form,.footer-admin-card .footer-link-form{max-width:none;background:transparent;border:0;box-shadow:none;padding:0;}
.footer-admin-card .footer-payment-heading-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:14px 18px;max-width:100%;background:transparent;border:0;box-shadow:none;padding:0;}
.footer-admin-card .footer-payment-heading-form .btn{margin:0;}
.footer-admin-card .footer-checks{gap:22px;}
html[data-theme="dark"] .footer-admin-card{background:#211c18;color:#f4eee5;border-color:#40382f;box-shadow:0 8px 28px rgba(0,0,0,.18);}
html[data-theme="dark"] .footer-admin-card .footer-admin-section-title h2,
html[data-theme="dark"] .footer-admin-card .footer-admin-subtitle,
html[data-theme="dark"] .footer-admin-card label,
html[data-theme="dark"] .footer-admin-card th,
html[data-theme="dark"] .footer-admin-card td{color:#f4eee5;}
html[data-theme="dark"] .footer-admin-card input:not([type=checkbox]):not([type=radio]):not([type=file]),
html[data-theme="dark"] .footer-admin-card select,
html[data-theme="dark"] .footer-admin-card textarea,
html[data-theme="dark"] .footer-admin-card input[type=file]{background:#171411;color:#f4eee5;border-color:#51473b;color-scheme:dark;}
html[data-theme="dark"] .footer-admin-card input::placeholder,
html[data-theme="dark"] .footer-admin-card textarea::placeholder{color:#b9afa2;}
html[data-theme="dark"] .footer-admin-card .social-admin-icon{background:#332c25;color:#f4eee5;}
html[data-theme="dark"] .footer-admin-card .table-wrap{background:#211c18;border-color:#40382f;}
html[data-theme="dark"] .footer-admin-card th{background:#2a241e;}
html[data-theme="dark"] .footer-admin-card td{border-color:#40382f;}
html[data-theme="dark"] .footer-admin-card .status-pill{background:#332c25;color:#d8cec1;}
html[data-theme="dark"] .footer-admin-card .status-pill.active{background:#193c26;color:#b9f0c8;}
html[data-theme="dark"] .footer-admin-card .btn.secondary{background:#2a241e;color:#f4eee5;border-color:#51473b;}
html[data-theme="dark"] .footer-admin-card .footer-payment-admin-preview{background:#171411;border-color:#40382f;}
html[data-theme="dark"] .footer-admin-card .footer-admin-section-title p{color:#c7bdb0;}
@media(min-width:1600px){main.admin{padding-left:72px;padding-right:72px}.footer-admin-card .footer-admin-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:1100px) and (min-width:801px){.footer-admin-card .footer-admin-form-grid,.footer-admin-card .social-admin-grid,.footer-admin-card .footer-link-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:800px){
  main.admin{padding:28px 20px 44px;}
  .admin .admin-grid-2{grid-template-columns:1fr;}
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form){grid-template-columns:1fr;}
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>h2,
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>.admin-grid-2,
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>button,
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>.action-links,
  .admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.footer-settings-form):not(.footer-link-form):not(.category-form):not(.related-settings-form)>label:has(textarea){grid-column:auto;}
  .footer-admin-card .footer-admin-form-grid,.footer-admin-card .social-admin-grid,.footer-admin-card .footer-link-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .footer-admin-card .footer-payment-heading-form{grid-template-columns:1fr;}
  .footer-admin-card .footer-payment-heading-form .btn{justify-self:start;}
}
@media(max-width:560px){
  main.admin{padding:22px 14px 36px;}
  .footer-admin-card{padding:17px;border-radius:12px;}
  .footer-admin-card .footer-admin-form-grid,.footer-admin-card .social-admin-grid,.footer-admin-card .footer-link-form-grid{grid-template-columns:1fr;}
  .footer-admin-section-title h2{font-size:23px;}
}


/* Admin responsive form system — integrations, messaging, templates, related products and settings */
main.admin{width:100%;max-width:1920px;margin-inline:auto;padding:clamp(30px,3vw,58px) clamp(24px,4vw,76px);}
main.admin>.admin-page-head{max-width:100%;margin-bottom:30px;}
main.admin>.admin-page-head h1{font-size:clamp(30px,2.5vw,44px);}
main.admin>section.admin.card,main.admin>section.card{width:100%;max-width:none;min-width:0;margin:0 0 24px;padding:clamp(22px,2.2vw,34px);border-radius:14px;}
main.admin>section.admin.card>h2,main.admin>section.card>h2{margin-top:0;}
main.admin .admin-form{width:100%;max-width:none;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px 24px;padding:0;border:0;background:transparent;box-shadow:none;}
main.admin .admin-form>label{display:grid;align-content:start;gap:8px;min-width:0;font-size:13px;line-height:1.45;}
main.admin .admin-form>label:has(textarea),main.admin .admin-form>label:has(input[type=file]),main.admin .admin-form>label:has(input[type=checkbox]),main.admin .admin-form>label:has(input[type=radio]),main.admin .admin-form>.admin-grid-2,main.admin .admin-form>.action-links,main.admin .admin-form>.template-vars,main.admin .admin-form>.template-card-actions,main.admin .admin-form>details,main.admin .admin-form>button,main.admin .admin-form>.btn,main.admin .admin-form>p,main.admin .admin-form>h2{grid-column:1/-1;}
main.admin .admin-form input:not([type=checkbox]):not([type=radio]):not([type=color]),main.admin .admin-form select,main.admin .admin-form textarea{width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:9px;padding:11px 13px;background:var(--surface,#fff);color:var(--text,var(--ink));font:inherit;}
main.admin .admin-form textarea{min-height:120px;resize:vertical;}
main.admin .admin-form input[type=file]{max-width:100%;}
main.admin .admin-form>.btn,main.admin .admin-form>button{justify-self:start;min-height:44px;margin:0;}
main.admin .admin-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;width:100%;}
main.admin .related-settings-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;}
main.admin .related-settings-form>.switch-row,main.admin .related-settings-form>.related-settings-fields,main.admin .related-settings-form>.related-settings-note,main.admin .related-settings-form>.btn{grid-column:1/-1;}
main.admin .related-settings-form .related-settings-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
main.admin .template-editor-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;}
main.admin .template-editor-form>.template-card-heading,main.admin .template-editor-form>.template-body-field,main.admin .template-editor-form>.template-vars,main.admin .template-editor-form>.template-card-actions{grid-column:1/-1;}
main.admin .template-editor-form>label{min-width:0;}
main.admin .product-editor-form{max-width:none;}
main.admin .product-editor-form>.admin-grid-2{grid-column:1/-1;}
html[data-theme="dark"] main.admin>section.admin.card,html[data-theme="dark"] main.admin>section.card{background:#211c18;color:#f4eee5;border-color:#40382f;}
html[data-theme="dark"] main.admin .admin-form input:not([type=checkbox]):not([type=radio]):not([type=color]),html[data-theme="dark"] main.admin .admin-form select,html[data-theme="dark"] main.admin .admin-form textarea{background:#171411;color:#f4eee5;border-color:#51473b;color-scheme:dark;}
html[data-theme="dark"] main.admin .admin-form input::placeholder,html[data-theme="dark"] main.admin .admin-form textarea::placeholder{color:#b9afa2;}
html[data-theme="dark"] main.admin .admin-form label,html[data-theme="dark"] main.admin>section.admin.card>h2,html[data-theme="dark"] main.admin>section.card>h2{color:#f4eee5;}
@media(max-width:1100px){main.admin{padding:28px 28px 44px;}}
@media(max-width:800px){main.admin{padding:26px 20px 42px;}main.admin>section.admin.card,main.admin>section.card{padding:20px;}main.admin .admin-form,main.admin .related-settings-form,main.admin .template-editor-form,main.admin .admin-grid-2,main.admin .related-settings-form .related-settings-fields{grid-template-columns:minmax(0,1fr);}main.admin .admin-form>label:has(textarea),main.admin .admin-form>label:has(input[type=file]),main.admin .admin-form>label:has(input[type=checkbox]),main.admin .admin-form>label:has(input[type=radio]),main.admin .admin-form>.admin-grid-2,main.admin .admin-form>.action-links,main.admin .admin-form>.template-vars,main.admin .admin-form>.template-card-actions,main.admin .admin-form>details,main.admin .admin-form>button,main.admin .admin-form>.btn,main.admin .admin-form>p,main.admin .admin-form>h2,main.admin .related-settings-form>.switch-row,main.admin .related-settings-form>.related-settings-fields,main.admin .related-settings-form>.related-settings-note,main.admin .related-settings-form>.btn,main.admin .template-editor-form>.template-card-heading,main.admin .template-editor-form>.template-body-field,main.admin .template-editor-form>.template-vars,main.admin .template-editor-form>.template-card-actions{grid-column:auto;}}
@media(max-width:560px){main.admin{padding:22px 14px 34px;}main.admin>section.admin.card,main.admin>section.card{padding:16px;border-radius:12px;}main.admin .admin-form{gap:14px;}main.admin .admin-form>.btn,main.admin .admin-form>button{width:100%;justify-self:stretch;}}


/* Customer My Account > Security — desktop-first form layout */
.account-security-page{max-width:1440px;width:100%;}
.account-security-page>section.card{width:100%;max-width:none;margin:0 0 22px;padding:clamp(22px,2.4vw,36px);border-radius:14px;}
.account-security-page>section.card>h2{margin-top:0;}
.account-security-page .admin-form{width:100%;max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;padding:0;border:0;background:transparent;box-shadow:none;}
.account-security-page .admin-form>label{display:grid;gap:8px;min-width:0;}
.account-security-page .admin-form>button{grid-column:1/-1;justify-self:start;margin:0;}
.account-security-page .admin-form input:not([type=checkbox]),.account-security-page .admin-form select,.account-security-page .admin-form textarea{width:100%;max-width:100%;min-width:0;border-radius:9px;}
html[data-theme="dark"] .account-security-page>section.card{background:#211c18;color:#f4eee5;border-color:#40382f;}
html[data-theme="dark"] .account-security-page .admin-form input:not([type=checkbox]),html[data-theme="dark"] .account-security-page .admin-form select,html[data-theme="dark"] .account-security-page .admin-form textarea{background:#171411;color:#f4eee5;border-color:#51473b;color-scheme:dark;}
@media(max-width:800px){.account-security-page{padding:45px 6%;}.account-security-page>section.card{padding:20px;}.account-security-page .admin-form{grid-template-columns:1fr;}.account-security-page .admin-form>button{grid-column:auto;}}
@media(max-width:560px){.account-security-page{padding:30px 5%;}.account-security-page>section.card{padding:16px;}.account-security-page .admin-form>button{width:100%;}}

/* ================================================================
   Admin-wide compact desktop workspace (all admin menu pages)
   Consistent field density, full available width, responsive fallbacks.
   ================================================================ */
@media (min-width: 801px) {
  main.admin {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px clamp(18px, 1.7vw, 32px) 34px;
  }
  main.admin > .admin-page-head { margin-bottom: 18px; }
  main.admin > .admin-page-head h1,
  main.admin > h1 { font-size: clamp(25px, 1.7vw, 32px); line-height: 1.2; margin: 0 0 12px; }
  main.admin > section.admin.card,
  main.admin > section.card,
  main.admin .product-editor-card,
  main.admin .template-editor-card,
  main.admin .option-card {
    padding: 18px 20px;
    margin-bottom: 16px;
    border-radius: 12px;
  }
  main.admin > section.admin.card > h2,
  main.admin > section.card > h2,
  main.admin .product-editor-card > h2,
  main.admin .template-editor-card h2 { font-size: 19px; line-height: 1.3; margin: 0 0 13px; }

  /* Default form: 2 columns on laptop, 3 on wide desktop. */
  main.admin .admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px 18px;
    padding: 0;
    margin: 0 0 16px;
    max-width: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  main.admin .admin-form > input[type="hidden"] { display: none; }
  main.admin .admin-form > label,
  main.admin .admin-form > .field,
  main.admin .admin-form > .form-field {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
  }
  main.admin .admin-form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
  main.admin .admin-form select,
  main.admin .admin-form textarea,
  main.admin input.admin-control,
  main.admin select.admin-control,
  main.admin textarea.admin-control {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 37px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.4;
    box-sizing: border-box;
  }
  main.admin .admin-form textarea { min-height: 88px; }
  main.admin .admin-form input[type="file"] { width: 100%; min-width: 0; font-size: 12px; }
  main.admin .admin-form > label:has(textarea),
  main.admin .admin-form > label:has(input[type="file"]),
  main.admin .admin-form > .admin-grid-2,
  main.admin .admin-form > .action-links,
  main.admin .admin-form > .template-vars,
  main.admin .admin-form > .template-card-heading,
  main.admin .admin-form > .template-body-field,
  main.admin .admin-form > .template-card-actions,
  main.admin .admin-form > details,
  main.admin .admin-form > p,
  main.admin .admin-form > h2,
  main.admin .admin-form > .notice,
  main.admin .admin-form > .error,
  main.admin .admin-form > .success,
  main.admin .admin-form > button,
  main.admin .admin-form > .btn { grid-column: 1 / -1; }
  main.admin .admin-form > label:has(input[type="checkbox"]),
  main.admin .admin-form > label:has(input[type="radio"]) { display: flex; align-items: center; gap: 9px; min-height: 32px; }
  main.admin .admin-form > button,
  main.admin .admin-form > .btn,
  main.admin .admin-form button.btn { justify-self: start; min-height: 36px; padding: 8px 16px; margin: 0; font-size: 13px; }

  main.admin .admin-grid-2,
  main.admin .related-settings-form .related-settings-fields,
  main.admin .product-editor-grid,
  main.admin .create-order-customer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    width: 100%;
    min-width: 0;
  }
  main.admin .related-settings-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  main.admin .related-settings-form > .switch-row,
  main.admin .related-settings-form > .related-settings-fields,
  main.admin .related-settings-form > .related-settings-note,
  main.admin .related-settings-form > .btn { grid-column: 1 / -1; }
  main.admin .product-editor-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  main.admin .product-editor-form > .admin-grid-2,
  main.admin .product-editor-form > .product-editor-grid,
  main.admin .product-editor-form > .product-editor-subcard,
  main.admin .product-editor-form > .product-editor-actions,
  main.admin .product-editor-form > .btn { grid-column: 1 / -1; }
  main.admin .admin-create-order-form { max-width: none; width: 100%; gap: 12px; }
  main.admin .admin-create-order-form .create-order-section { padding: 16px 18px; }
  main.admin .admin-create-order-form .create-order-section-head { margin-bottom: 10px; }
  main.admin .admin-create-order-form .create-order-section-head h2 { font-size: 20px; }
  main.admin .admin-create-order-form .create-order-customer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
  main.admin .admin-create-order-form label { font-size: 12px; gap: 5px; }
  main.admin .admin-create-order-form input:not([type="checkbox"]),
  main.admin .admin-create-order-form select,
  main.admin .admin-create-order-form textarea { min-height: 37px; padding: 8px 10px; font-size: 13px; }
  main.admin .admin-create-order-form textarea { min-height: 68px; }
  main.admin .filters,
  main.admin .admin-search-form { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin: 12px 0 16px; }
  main.admin .filters > *,
  main.admin .admin-search-form > * { min-width: 140px; max-width: 260px; }
  main.admin .filters .btn,
  main.admin .admin-search-form .btn { min-height: 36px; padding: 8px 14px; margin: 0; }
  main.admin .table-wrap { margin: 16px 0 20px; }
  main.admin table th,
  main.admin table td { padding: 9px 11px; font-size: 12px; line-height: 1.4; }
  main.admin .stats { gap: 12px; margin: 18px 0 26px; }
  main.admin .stats div { padding: 16px; }
  main.admin .stats b { font-size: 27px; }
}
@media (min-width: 1500px) {
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > label:has(textarea),
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > label:has(input[type="file"]),
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > .admin-grid-2,
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > .action-links,
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > .template-vars,
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > details,
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > button,
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > .btn,
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > p,
  main.admin .admin-form:not(.template-editor-form):not(.product-editor-form):not(.related-settings-form) > h2 { grid-column: 1 / -1; }
}
@media (max-width: 1100px) and (min-width: 801px) {
  main.admin { padding: 20px 18px 30px; }
  main.admin .admin-form,
  main.admin .product-editor-form,
  main.admin .related-settings-form,
  main.admin .template-editor-form { gap: 11px 14px; }
  main.admin .admin-create-order-form .create-order-customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  main.admin { padding: 22px 16px 32px; }
  main.admin > section.admin.card,
  main.admin > section.card,
  main.admin .product-editor-card,
  main.admin .template-editor-card { padding: 16px; }
  main.admin .admin-form,
  main.admin .product-editor-form,
  main.admin .related-settings-form,
  main.admin .template-editor-form,
  main.admin .admin-grid-2,
  main.admin .related-settings-form .related-settings-fields,
  main.admin .product-editor-grid,
  main.admin .admin-create-order-form .create-order-customer-grid { grid-template-columns: minmax(0, 1fr); }
  main.admin .admin-form > label:has(textarea),
  main.admin .admin-form > label:has(input[type="file"]),
  main.admin .admin-form > .admin-grid-2,
  main.admin .admin-form > button,
  main.admin .admin-form > .btn,
  main.admin .admin-form > p,
  main.admin .admin-form > h2,
  main.admin .product-editor-form > .admin-grid-2,
  main.admin .product-editor-form > .product-editor-grid { grid-column: auto; }
  main.admin .admin-create-order-form { max-width: 100%; }
  main.admin .admin-create-order-form .create-order-section { padding: 14px; }
  main.admin .admin-create-order-form .create-order-customer-grid { grid-template-columns: minmax(0, 1fr); }
  main.admin .filters,
  main.admin .admin-search-form { display: grid; grid-template-columns: minmax(0, 1fr); }
  main.admin .filters > *,
  main.admin .admin-search-form > * { max-width: none; width: 100%; }
}


/* Mini Honey Nuts v4: compact phone-order workflow, reliable dark mode across visual themes, OTP timer */
@media (min-width: 801px) {
  main.admin .admin-create-order-form { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1.15fr); gap:12px; align-items:start; }
  main.admin .admin-create-order-form .create-order-section { padding:14px 16px; margin:0; min-width:0; }
  main.admin .admin-create-order-form .create-order-section:nth-of-type(1) { grid-column:1; }
  main.admin .admin-create-order-form .create-order-section:nth-of-type(2) { grid-column:2; grid-row:1 / span 2; }
  main.admin .admin-create-order-form .create-order-section:nth-of-type(3) { grid-column:1; }
  main.admin .admin-create-order-form .create-order-section-head h2 { font-size:17px; margin:0 0 4px; }
  main.admin .admin-create-order-form .create-order-section-head p { font-size:12px; margin:0; }
  main.admin .admin-create-order-form .create-order-customer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 12px; }
  main.admin .admin-create-order-form .create-order-address-field { margin-top:9px; }
  main.admin .admin-create-order-form .create-order-address-field textarea { min-height:54px; height:54px; }
  main.admin .admin-create-order-form .create-order-product-picker { grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:8px; align-items:end; }
  main.admin .admin-create-order-form .create-order-product-picker label { min-width:0; }
  main.admin .admin-create-order-form .create-order-product-row { grid-template-columns:minmax(0,1fr) 70px 100px auto; gap:8px; padding:9px 0; }
  main.admin .admin-create-order-form .create-order-summary { padding:10px 12px; margin-top:10px; }
  main.admin .admin-create-order-form .create-order-actions { margin-top:10px; }
}
@media (min-width: 1500px) { main.admin .admin-create-order-form { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); } }
@media (max-width: 1100px) and (min-width: 801px) {
  main.admin .admin-create-order-form { grid-template-columns:minmax(0,1fr); }
  main.admin .admin-create-order-form .create-order-section:nth-of-type(1),main.admin .admin-create-order-form .create-order-section:nth-of-type(2),main.admin .admin-create-order-form .create-order-section:nth-of-type(3) { grid-column:1; grid-row:auto; }
  main.admin .admin-create-order-form .create-order-product-picker { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
/* Dark mode must override theme-specific hardcoded backgrounds in every storefront visual theme. */
html[data-theme="dark"] body, html[data-theme="dark"] .section, html[data-theme="dark"] .account-page,
html[data-theme="dark"] .page-wrap, html[data-theme="dark"] .auth-shell, html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .auth-verify-card, html[data-theme="dark"] .auth-complete-card, html[data-theme="dark"] .tracking-lookup,
html[data-theme="dark"] .tracking-result, html[data-theme="dark"] .checkout, html[data-theme="dark"] .cart-layout,
html[data-theme="dark"] .order-card, html[data-theme="dark"] .product-detail-card { background-color:#171411; color:#f4eee5; border-color:#40382f; }
html[data-theme="dark"] .hero, html[data-theme="dark"][data-site-theme="luxury"] .hero,
html[data-theme="dark"][data-site-theme="minimal"] .hero, html[data-theme="dark"][data-site-theme="classic"] .hero { background:#211c18!important; color:#f4eee5!important; border-color:#40382f!important; }
html[data-theme="dark"] .hero h1,html[data-theme="dark"] .hero p,html[data-theme="dark"] .section h1,html[data-theme="dark"] .section h2,
html[data-theme="dark"] .section h3,html[data-theme="dark"] .auth-card h1,html[data-theme="dark"] .auth-card h2 { color:#f4eee5!important; }
html[data-theme="dark"] .cat,html[data-theme="dark"] .product,html[data-theme="dark"] .summary,html[data-theme="dark"] .empty,
html[data-theme="dark"] .card,html[data-theme="dark"] .auth-input-wrap,html[data-theme="dark"] .auth-method,
html[data-theme="dark"] .page-body,html[data-theme="dark"] .site-menu { background:#211c18!important; color:#f4eee5; border-color:#40382f!important; }
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea { color-scheme:dark; background:#171411; color:#f4eee5; border-color:#51473b; }
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder { color:#b9afa2; }
.otp-countdown { display:inline-flex; align-items:center; flex-wrap:wrap; gap:5px; margin:8px 0 0; font-size:13px; color:var(--muted,#6b6258); }
.otp-countdown [data-otp-time] { font-variant-numeric:tabular-nums; font-size:15px; color:var(--primary,#6b4f2a); }
.otp-countdown.otp-expired [data-otp-time] { color:#c0392b; }
.otp-expired-message { color:#c0392b; font-weight:600; }

/* Users Management / per-admin profile — compact desktop-first layout */
.um-admin{max-width:none;width:100%;}
.um-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 24px;}
.um-action-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:190px;padding:22px;border:1px solid var(--border,#ded8cf);border-radius:16px;background:var(--card-bg,#fff);color:inherit;text-decoration:none;box-shadow:0 5px 18px rgba(0,0,0,.035);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;}
.um-action-card:hover{transform:translateY(-2px);border-color:var(--primary,#c09937);box-shadow:0 10px 28px rgba(0,0,0,.08);}
.um-action-card strong{font-size:18px;}.um-action-card>span:not(.um-icon){color:var(--muted,#777);font-size:14px;line-height:1.5;}.um-action-card>b{display:flex;justify-content:space-between;gap:20px;width:100%;margin-top:auto;font-size:13px;color:var(--primary,#9c792d);}.um-action-card i{font-style:normal;font-size:20px;}
.um-icon{display:inline-flex;align-items:center;justify-content:center;min-width:52px;height:36px;padding:0 10px;border-radius:10px;background:rgba(192,153,55,.13);color:#9b7628;font-size:11px;font-weight:800;letter-spacing:.06em;}
.um-section{margin:18px 0;padding:clamp(18px,2vw,28px)!important;}.um-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;}.um-section-head h2{margin:0 0 6px;}.um-section-head p{margin:0;max-width:780px;}
.um-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:0 0 24px;}.um-form>label{min-width:0;}.um-form>button,.um-form>.btn,.um-form>.muted,.um-form>.um-permission-picker{grid-column:1/-1;}.um-form input,.um-form select,.um-form textarea{min-width:0;width:100%;max-width:100%;}.um-form small{display:block;margin-top:5px;color:var(--muted,#777);}
.um-permission-picker{border:1px solid var(--border,#ded8cf);border-radius:12px;padding:14px;min-width:0;}.um-picker-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px;}.um-picker-head input{max-width:300px;}.um-permission-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:430px;overflow:auto;padding:2px;}.um-permission-item{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid var(--border,#e4ded5);border-radius:9px;min-width:0;cursor:pointer;}.um-permission-item input{width:16px;min-width:16px;margin-top:3px;}.um-permission-item span{min-width:0;overflow-wrap:anywhere;}.um-permission-item b{display:block;font-size:13px;}.um-permission-item small{font-size:11px;line-height:1.4;overflow-wrap:anywhere;}.um-permission-item[hidden]{display:none;}
.um-inline-form{margin:0;}.um-inline-form select{max-width:180px;min-width:145px;}.um-user-cell{display:flex;align-items:center;gap:9px;min-width:160px;}.um-user-cell img,.um-user-cell>span{width:34px;height:34px;flex:0 0 34px;border-radius:50%;object-fit:cover;}.um-user-cell>span{display:inline-flex;align-items:center;justify-content:center;background:rgba(192,153,55,.16);color:#947026;font-weight:800;}.um-status{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:700;}.um-status.active{background:#e4f5e9;color:#176c35;}.um-status.inactive{background:#fde8e7;color:#a3231c;}.um-notes-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px;}.um-notes-grid>div{padding:16px;border:1px solid var(--border,#ded8cf);border-radius:12px;}.um-notes-grid p{margin:8px 0 0;color:var(--muted,#777);font-size:14px;line-height:1.5;}
.um-profile-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:18px;align-items:start;}.um-profile-layout>.admin.card{padding:22px;}.um-profile-summary{display:flex;align-items:center;gap:16px;}.um-profile-summary img,.um-avatar-large{width:76px;height:76px;border-radius:50%;object-fit:cover;flex:0 0 76px;}.um-avatar-large{display:flex;align-items:center;justify-content:center;background:rgba(192,153,55,.17);color:#947026;font-size:30px;font-weight:800;}.um-profile-summary h2{margin:0 0 4px;}.um-profile-summary p{margin:0 0 8px;color:var(--muted,#777);overflow-wrap:anywhere;}.um-profile-meta{display:grid;grid-template-columns:1fr;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--border,#ded8cf);}.um-profile-meta span{display:block;color:var(--muted,#777);font-size:12px;margin-bottom:4px;}.um-profile-meta b{overflow-wrap:anywhere;}
html[data-theme="dark"] .um-action-card,html[data-theme="dark"] .um-section,html[data-theme="dark"] .um-profile-layout>.admin.card{background:var(--card-bg,#202020);color:var(--text,#f3f3f3);border-color:var(--border,#3b3b3b);}
html[data-theme="dark"] .um-action-card>span:not(.um-icon),html[data-theme="dark"] .um-section .muted,html[data-theme="dark"] .um-notes-grid p,html[data-theme="dark"] .um-profile-summary p{color:var(--muted,#b5b5b5);}
html[data-theme="dark"] .um-permission-picker,html[data-theme="dark"] .um-permission-item,html[data-theme="dark"] .um-notes-grid>div{background:var(--input-bg,#252525);border-color:var(--border,#444);}
html[data-theme="dark"] .um-status.active{background:#153c27;color:#9de1b2;}html[data-theme="dark"] .um-status.inactive{background:#4a211f;color:#ffb2ad;}
@media(max-width:1100px){.um-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.um-permission-list{grid-template-columns:repeat(2,minmax(0,1fr));}.um-profile-layout{grid-template-columns:1fr 1fr;}}
@media(max-width:760px){.um-overview-grid,.um-notes-grid,.um-profile-layout{grid-template-columns:1fr;}.um-form{grid-template-columns:minmax(0,1fr);}.um-form>button,.um-form>.btn,.um-form>.muted,.um-form>.um-permission-picker{grid-column:auto;}.um-permission-list{grid-template-columns:minmax(0,1fr);max-height:360px;}.um-section-head,.um-picker-head{flex-direction:column;align-items:stretch;}.um-picker-head input{max-width:none;}.um-action-card{min-height:160px;}.um-section .table-wrap{max-width:100%;overflow-x:auto;}}

/* RBAC controls: compact action layout for user/role/permission tables. */
.um-section td form{display:inline-block;margin:2px;vertical-align:middle}.um-section td>.btn{margin:2px;vertical-align:middle}.um-section td form .btn{white-space:nowrap}.um-status{white-space:nowrap}


/* v5.12: balanced homepage spacing across desktop, tablet and mobile */
.home-page {
  --home-gutter: clamp(16px, 4vw, 56px);
  --home-section-space: clamp(28px, 3.2vw, 44px);
  --home-card-gap: clamp(12px, 1.4vw, 18px);
}
.home-page > .hero {
  min-height: clamp(390px, 38vw, 500px) !important;
  padding: clamp(48px, 6vw, 76px) var(--home-gutter) !important;
}
.home-page > .hero > div { width: min(100%, 1240px); margin-inline: auto; }
.home-page .home-hero-title { margin: 8px 0 12px !important; line-height: 1.02 !important; }
.home-page .home-hero-subtitle { margin: 0 0 12px !important; line-height: 1.55; }
.home-page > .section {
  padding: var(--home-section-space) max(16px, calc((100vw - 1240px) / 2)) !important;
}
.home-page > .section + .section { padding-top: clamp(22px, 2.4vw, 32px) !important; }
.home-page .section-head { margin: 0 0 18px !important; gap: 14px; }
.home-page .section-head > div { min-width: 0; }
.home-page .home-section-title { margin: 0 !important; line-height: 1.18 !important; font-size: clamp(25px, 2.4vw, 34px) !important; }
.home-page .home-section-eyebrow { margin: 0 0 5px !important; letter-spacing: 2px; }
.home-page .featured-category-subtitle { margin: 5px 0 0 !important; font-size: 14px; }
.home-page .featured-category-track { padding-block: 3px 7px; }
.home-page .featured-category-card { gap: 7px; }
.home-page .featured-category-image { border-radius: 14px; }
.home-page .cat-grid { gap: var(--home-card-gap); }
.home-page .cat { padding: clamp(14px, 1.8vw, 22px); font-size: clamp(16px, 1.5vw, 21px); }
.home-page .products { gap: var(--home-card-gap); }
.home-page .product { min-width: 0; overflow: hidden; }
.home-page .product img, .home-page .product .placeholder { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.home-page .pbody { padding: clamp(10px, 1.2vw, 15px); }
.home-page .pbody h3 { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.35; margin: 4px 0 7px; }
.home-page .home-category-products { margin-bottom: clamp(24px, 2.8vw, 36px); }
.home-page .home-category-head { margin-bottom: 12px; padding-bottom: 8px; }
.home-page .home-category-head h3 { font-size: clamp(21px, 2vw, 27px); }
.home-page .home-banner-card { min-width: 0; overflow: hidden; }
.home-page .home-banner-card img { display: block; width: 100%; max-height: 300px; aspect-ratio: 16 / 7; object-fit: cover; }
.home-page .home-banner-copy { padding: clamp(12px, 1.6vw, 20px); }
.home-page .empty { padding: 24px; }
.home-page .site-footer { margin-top: 0; padding-top: clamp(32px, 4vw, 48px); }
@media (min-width: 1500px) {
  .home-page > .section { padding-inline: max(56px, calc((100vw - 1240px) / 2)) !important; }
}
@media (max-width: 800px) {
  .home-page { --home-gutter: 20px; --home-section-space: 26px; --home-card-gap: 12px; }
  .home-page > .hero { min-height: 360px !important; padding: 42px var(--home-gutter) !important; }
  .home-page .home-hero-title { font-size: clamp(38px, 7vw, 54px) !important; }
  .home-page > .section { padding: var(--home-section-space) 20px !important; }
  .home-page > .section + .section { padding-top: 20px !important; }
  .home-page .section-head { margin-bottom: 14px !important; }
  .home-page .featured-category-track { gap: 10px; }
  .home-page .featured-category-card { width: 98px; }
  .home-page .featured-category-image { border-radius: 12px; }
  .home-page .cat { padding: 14px; }
  .home-page .home-banner-card img { max-height: 220px; aspect-ratio: 16 / 8; }
}
@media (max-width: 500px) {
  .home-page { --home-gutter: 14px; --home-section-space: 21px; --home-card-gap: 10px; }
  .home-page > .hero { min-height: 320px !important; padding: 34px 16px !important; }
  .home-page .home-hero-title { font-size: clamp(34px, 9vw, 44px) !important; line-height: 1.04 !important; }
  .home-page .home-hero-subtitle { font-size: 15px !important; line-height: 1.45; }
  .home-page > .section { padding: var(--home-section-space) 14px !important; }
  .home-page > .section + .section { padding-top: 16px !important; }
  .home-page .section-head { margin-bottom: 12px !important; }
  .home-page .home-section-title { font-size: 24px !important; }
  .home-page .home-section-eyebrow { font-size: 10px !important; letter-spacing: 1.5px; }
  .home-page .featured-category-subtitle { font-size: 12px; }
  .home-page .featured-category-card { width: 88px; }
  .home-page .featured-category-name { font-size: 12px; }
  .home-page .featured-category-arrow { width: 32px; height: 32px; }
  .home-page .cat-grid, .home-page .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .home-page .cat { gap: 8px; padding: 12px 10px; font-size: 15px; }
  .home-page .pbody { padding: 9px; }
  .home-page .pbody h3 { font-size: 15px; min-height: 2.7em; }
  .home-page .pbody small { font-size: 11px; }
  .home-page .home-category-products { margin-bottom: 24px; }
  .home-page .home-category-head { gap: 8px; margin-bottom: 10px; }
  .home-page .home-category-head h3 { font-size: 20px; }
  .home-page .home-category-head a { font-size: 12px; }
  .home-page .home-banner-card img { max-height: 180px; aspect-ratio: 16 / 9; }
  .home-page .empty { padding: 16px; }
  .home-page .site-footer { padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; }
}

/* v5.13: full horizontal + vertical homepage spacing correction */
.home-page {
  --home-content-max: 1240px;
  --home-side-gap: clamp(14px, 2.4vw, 28px);
  --home-section-y: clamp(18px, 2vw, 26px);
  --home-grid-gap: clamp(10px, 1.2vw, 16px);
  overflow-x: clip;
}
.home-page > .hero {
  box-sizing: border-box;
  min-height: clamp(300px, 30vw, 390px) !important;
  padding: clamp(34px, 4vw, 54px) var(--home-side-gap) !important;
}
.home-page > .hero > div {
  width: 100%;
  max-width: var(--home-content-max);
  margin-inline: auto;
}
.home-page > .section {
  box-sizing: border-box;
  padding: var(--home-section-y) var(--home-side-gap) !important;
}
.home-page > .section + .section {
  padding-top: clamp(14px, 1.6vw, 20px) !important;
}
.home-page > .section > .section-head,
.home-page > .section > .products,
.home-page > .section > .cat-grid,
.home-page > .section > .home-category-products,
.home-page > .section > .empty {
  width: 100%;
  max-width: var(--home-content-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.home-page .section-head {
  margin-bottom: clamp(10px, 1.2vw, 16px) !important;
  gap: 10px;
}
.home-page .home-section-title {
  font-size: clamp(23px, 2.1vw, 31px) !important;
  line-height: 1.2 !important;
}
.home-page .home-section-eyebrow { margin-bottom: 3px !important; }
.home-page .cat-grid,
.home-page .products { gap: var(--home-grid-gap) !important; }
.home-page .cat {
  padding: clamp(11px, 1.4vw, 18px);
  font-size: clamp(15px, 1.25vw, 19px);
  min-width: 0;
}
.home-page .product { min-width: 0; }
.home-page .pbody { padding: clamp(9px, 1vw, 13px); }
.home-page .pbody h3 {
  margin: 3px 0 6px;
  line-height: 1.32;
}
.home-page .home-category-products { margin-bottom: clamp(18px, 2vw, 28px); }
.home-page .home-category-head { margin-bottom: 9px; padding-bottom: 6px; }
.home-page .featured-category-track { padding-block: 2px 5px; }
.home-page .home-banner-card img { max-height: 260px; }
.home-page .site-footer {
  margin-top: 0 !important;
  padding-top: clamp(24px, 3vw, 36px) !important;
  padding-bottom: 18px !important;
  padding-left: var(--home-side-gap) !important;
  padding-right: var(--home-side-gap) !important;
}
.home-page .site-footer-inner {
  max-width: var(--home-content-max);
  margin-inline: auto;
}
@media (min-width: 801px) {
  .home-page > .section { padding-left: 24px !important; padding-right: 24px !important; }
  .home-page > .section + .section { padding-top: 16px !important; }
  .home-page .home-category-section > .section-head { margin-bottom: 14px !important; }
}
@media (max-width: 800px) {
  .home-page { --home-side-gap: 16px; --home-section-y: 18px; --home-grid-gap: 11px; }
  .home-page > .hero { min-height: 270px !important; padding: 28px 16px !important; }
  .home-page > .section { padding: 18px 16px !important; }
  .home-page > .section + .section { padding-top: 13px !important; }
  .home-page .section-head { margin-bottom: 11px !important; }
  .home-page .home-section-title { font-size: clamp(21px, 4.8vw, 27px) !important; }
  .home-page .cat { padding: 12px 11px; }
  .home-page .pbody { padding: 9px; }
  .home-page .pbody h3 { font-size: 14px; }
  .home-page .home-category-products { margin-bottom: 19px; }
  .home-page .home-banner-card img { max-height: 200px; }
  .home-page .site-footer { padding-top: 24px !important; }
}
@media (max-width: 500px) {
  .home-page { --home-side-gap: 12px; --home-section-y: 15px; --home-grid-gap: 9px; }
  .home-page > .hero { min-height: 235px !important; padding: 24px 12px !important; }
  .home-page .home-hero-title { font-size: clamp(30px, 8.4vw, 38px) !important; line-height: 1.06 !important; margin: 5px 0 8px !important; }
  .home-page .home-hero-subtitle { margin-bottom: 9px !important; font-size: 14px !important; }
  .home-page > .section { padding: 15px 12px !important; }
  .home-page > .section + .section { padding-top: 11px !important; }
  .home-page .section-head { margin-bottom: 9px !important; }
  .home-page .cat-grid,
  .home-page .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .home-page .cat { padding: 10px 9px; font-size: 14px; }
  .home-page .pbody { padding: 8px; }
  .home-page .pbody h3 { font-size: 13px; margin: 3px 0 5px; }
  .home-page .home-category-head { margin-bottom: 8px; padding-bottom: 5px; }
  .home-page .home-category-head h3 { font-size: 18px; }
  .home-page .featured-category-track { gap: 9px; }
  .home-page .featured-category-card { width: 82px; }
  .home-page .featured-category-name { font-size: 11px; }
  .home-page .home-banner-card img { max-height: 165px; }
  .home-page .site-footer { padding-bottom: 14px !important; }
}


/* v5.14: accessible storefront product-search popup */
.nav-search-toggle{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--white,#fff);color:var(--ink);padding:0;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.nav-search-toggle:hover{background:var(--surface-2,var(--paper));border-color:var(--primary);transform:translateY(-1px)}
.nav-search-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.product-search-backdrop{position:fixed;inset:0;z-index:11000;background:rgba(22,18,13,.48);opacity:0;transition:opacity .18s ease}
.product-search-backdrop.is-open{opacity:1}
.product-search-dialog{position:fixed;inset:0;z-index:11001;display:grid;place-items:start center;padding:clamp(72px,14vh,140px) 18px 24px;overflow:auto}
.product-search-dialog[hidden],.product-search-backdrop[hidden]{display:none!important}
.product-search-panel{width:min(600px,100%);padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--surface,var(--white,#fff));color:var(--ink);box-shadow:0 24px 80px rgba(0,0,0,.22);opacity:0;transform:translateY(-8px);transition:opacity .18s ease,transform .18s ease}
.product-search-dialog.is-open .product-search-panel{opacity:1;transform:translateY(0)}
.product-search-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 16px}
.product-search-heading h2{margin:0;font-size:22px;font-weight:700;line-height:1.25}
.product-search-close{width:38px;height:38px;flex:0 0 38px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:26px;line-height:1;cursor:pointer}
.product-search-form{display:flex;align-items:stretch;gap:10px;margin:0}
.product-search-input-wrap{display:flex;align-items:center;gap:10px;flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:0 13px;background:var(--surface-2,var(--paper));color:var(--ink)}
.product-search-input-wrap:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 12%,transparent)}
.product-search-input-wrap svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.product-search-input-wrap input{width:100%;min-width:0;height:48px;border:0;outline:0;background:transparent;color:var(--ink);font:inherit;box-shadow:none}
.product-search-input-wrap input:focus{outline:0;box-shadow:none}
.product-search-submit{flex:0 0 auto;min-height:48px;padding:0 18px;border:0;border-radius:10px;background:var(--primary,var(--brown));color:#fff;font:600 14px Arial,Helvetica,sans-serif;cursor:pointer}
.product-search-submit:hover{filter:brightness(.96)}
.product-search-hint{margin:12px 2px 0;color:var(--muted);font-size:12px;line-height:1.5}
body.product-search-open{overflow:hidden}
html[data-theme="dark"] .product-search-panel{background:var(--surface,#211c18);color:var(--ink)}
html[data-theme="dark"] .product-search-input-wrap{background:var(--surface-2,#2a241e);color:var(--ink)}
@media(max-width:760px){.nav-search-toggle,.nav-account,.mhn-theme-toggle{width:40px;height:40px;flex-basis:40px}.nav-actions{gap:5px!important}.product-search-dialog{padding:76px 12px 18px}.product-search-panel{padding:17px;border-radius:14px}.product-search-heading h2{font-size:19px}.product-search-form{flex-direction:column}.product-search-submit{width:100%}.product-search-hint{font-size:11px}}
@media(prefers-reduced-motion:reduce){.product-search-backdrop,.product-search-panel,.nav-search-toggle{transition:none}}

@media(min-width:761px){.nav .brand{max-width:calc(100% - 300px);overflow:hidden;text-overflow:ellipsis}}
@media(max-width:760px){.nav .brand{max-width:calc(100vw - 190px);overflow:hidden;text-overflow:ellipsis}.nav{padding-left:58px;padding-right:58px}}


/* v5.15: clean homepage layout and native category images */
.home-page{--home-side-gap:clamp(12px,2vw,26px);--home-section-y:clamp(16px,1.8vw,24px);--home-grid-gap:clamp(9px,1.1vw,15px);overflow-x:clip}
.home-page>.hero{min-height:clamp(245px,25vw,330px)!important;padding:clamp(26px,3vw,42px) var(--home-side-gap)!important}
.home-page .home-hero-title{font-size:clamp(32px,4.6vw,64px)!important;line-height:1.04!important;margin:7px 0 10px!important}
.home-page .home-hero-subtitle{font-size:clamp(14px,1.4vw,17px)!important;margin:0 0 9px!important;line-height:1.45}
.home-page .hero .btn{margin-top:7px;padding:11px 18px}
.home-page>.section{padding:var(--home-section-y) var(--home-side-gap)!important}
.home-page>.section+.section{padding-top:clamp(12px,1.4vw,18px)!important}
.home-page .section-head{margin-bottom:clamp(9px,1vw,14px)!important}
.home-page .cat-grid,.home-page .products{gap:var(--home-grid-gap)!important}
.home-page .cat.home-category-card{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;min-width:0;border-radius:10px;font:inherit;font-size:15px;line-height:1.25}
.home-page .home-cat-image{width:54px;height:54px;display:grid;place-items:center;overflow:hidden;border-radius:8px;background:var(--surface-2,#f7f1e7);flex:0 0 auto}
.home-page .home-cat-image img{display:block;width:100%;height:100%;object-fit:cover}
.home-page .home-cat-placeholder,.category-image-placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(145deg,#f7edda,#e7d1a5);color:var(--brown,#6b4f2a);font-size:1.4rem;font-weight:700}
.home-page .home-cat-label{min-width:0;overflow-wrap:anywhere;font-weight:600}
.home-page .cat.home-category-card>b{font-size:17px;color:var(--brown,#6b4f2a)}
.home-page .home-category-products{margin-bottom:clamp(16px,1.8vw,24px)!important}
.home-page .home-category-head{margin-bottom:8px!important;padding-bottom:5px!important}
.home-page .home-banner-card img{max-height:240px}
.home-page .pbody{padding:clamp(8px,.9vw,12px)!important}
.home-page .site-footer{padding-top:clamp(22px,2.5vw,32px)!important;padding-bottom:16px!important}
.category-page .category-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.category-page .category-card-with-image{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;min-width:0;border-radius:10px;font:inherit;font-size:15px}
.category-page .category-card-with-image>img,.category-page .category-image-placeholder{width:64px;height:64px;object-fit:cover;border-radius:8px;overflow:hidden}
.category-page .category-card-copy{display:grid;gap:4px;min-width:0}
.category-page .category-card-copy strong{font-size:15px;overflow-wrap:anywhere}
.category-page .category-card-copy small{font-size:12px}
@media(min-width:801px){.home-page>.section>.section-head,.home-page>.section>.products,.home-page>.section>.cat-grid,.home-page>.section>.home-category-products,.home-page>.section>.empty{max-width:1240px;margin-left:auto;margin-right:auto}}
@media(max-width:800px){.home-page>.hero{min-height:235px!important;padding:24px 16px!important}.home-page>.section{padding:17px 16px!important}.home-page>.section+.section{padding-top:12px!important}.home-page .cat.home-category-card{grid-template-columns:46px minmax(0,1fr) auto;padding:9px;gap:8px;font-size:14px}.home-page .home-cat-image{width:46px;height:46px}.category-page .category-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-page .category-card-with-image{grid-template-columns:48px minmax(0,1fr);gap:9px;padding:9px}.category-page .category-card-with-image>img,.category-page .category-image-placeholder{width:48px;height:48px}.category-page .category-card-with-image>b{display:none}.home-page .site-footer{padding-top:22px!important}}
@media(max-width:500px){.home-page>.hero{min-height:210px!important;padding:20px 12px!important}.home-page .home-hero-title{font-size:clamp(29px,8vw,36px)!important;line-height:1.06!important}.home-page .home-hero-subtitle{font-size:14px!important}.home-page>.section{padding:14px 12px!important}.home-page>.section+.section{padding-top:10px!important}.home-page .home-section-title{font-size:22px!important}.home-page .cat-grid,.home-page .products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.home-page .cat.home-category-card{grid-template-columns:38px minmax(0,1fr) auto;padding:8px;gap:7px;font-size:13px}.home-page .home-cat-image{width:38px;height:38px;border-radius:6px}.home-page .cat.home-category-card>b{font-size:14px}.home-page .home-category-products{margin-bottom:16px!important}.home-page .home-banner-card img{max-height:165px}.category-page .category-list{gap:8px}.category-page .category-card-with-image{grid-template-columns:40px minmax(0,1fr);gap:8px;padding:8px}.category-page .category-card-with-image>img,.category-page .category-image-placeholder{width:40px;height:40px}.category-page .category-card-copy strong{font-size:13px}.category-page .category-card-copy small{font-size:11px}}


/* v5.16: native category image carousel with admin-controlled auto slide */
.home-category-slider{position:relative;display:flex;align-items:center;gap:9px;max-width:1240px;margin:0 auto;min-width:0}
.home-category-viewport{overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;flex:1;min-width:0;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline-offset:3px}
.home-category-viewport::-webkit-scrollbar{display:none}
.home-category-track{display:flex;align-items:stretch;gap:14px;padding:3px 2px 8px;width:max-content;min-width:100%}
.home-category-slide{scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:9px;width:clamp(112px,13vw,160px);min-width:0;text-decoration:none;color:var(--ink);text-align:center;border:1px solid var(--line);border-radius:13px;padding:10px;background:var(--surface,var(--white,#fff));box-shadow:0 2px 8px rgba(0,0,0,.035);transition:transform .18s ease,border-color .18s ease}
.home-category-slide:hover{transform:translateY(-2px);border-color:var(--primary,var(--brown,#6b4f2a))}
.home-category-slide-image{display:grid;place-items:center;overflow:hidden;width:100%;aspect-ratio:1/1;border-radius:10px;background:var(--surface-2,#f7f1e7)}
.home-category-slide-image img{width:100%;height:100%;display:block;object-fit:cover}
.home-category-slide-name{display:block;width:100%;font-size:14px;line-height:1.3;font-weight:650;overflow-wrap:anywhere}
.category-slider-arrow{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface,var(--white,#fff));color:var(--ink);font-size:25px;line-height:1;cursor:pointer;box-shadow:0 2px 7px rgba(0,0,0,.06)}
.category-slider-arrow:hover{border-color:var(--primary,var(--brown,#6b4f2a))}
html[data-theme="dark"] .home-category-slide,html[data-theme="dark"] .category-slider-arrow{background:var(--surface,#211c18);color:var(--ink)}
@media(max-width:760px){.home-category-slider{gap:5px}.home-category-track{gap:10px}.home-category-slide{width:108px;padding:7px;gap:7px;border-radius:10px}.home-category-slide-name{font-size:12px}.category-slider-arrow{width:30px;height:30px;flex-basis:30px;font-size:21px}}
@media(prefers-reduced-motion:reduce){.home-category-slide{transition:none}.home-category-viewport{scroll-behavior:auto}}


/* Product Categories admin: clearer, step-by-step form layout v5.17 */
.category-admin-card{max-width:1180px;margin:22px 0 30px;padding:24px;background:var(--surface,#fff);border:1px solid var(--line);border-radius:14px;box-shadow:0 5px 20px rgba(45,38,30,.045)}
.category-slider-settings{max-width:1180px;margin:0 0 24px;padding:22px;border-radius:14px;box-shadow:0 5px 20px rgba(45,38,30,.045)}
.category-card-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}
.category-card-heading>div{flex:1;min-width:0}
.category-card-heading h2{margin:0 0 5px;font:600 25px Arial,Helvetica,sans-serif;color:var(--ink)}
.category-card-heading p{margin:0;line-height:1.55;font-size:14px}
.category-step{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#f7ead2;color:#76551d;font-size:17px;font-weight:800}
.category-slider-settings-form{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:16px;border-top:1px solid var(--line)}
.category-slider-settings-form .btn{margin:0;white-space:nowrap}
.category-form{max-width:none;padding:0;border:0;box-shadow:none;background:transparent;gap:17px}
.category-form>label:not(.switch-row){display:grid;gap:8px;font-size:14px}
.category-form input[type=text],.category-form input:not([type]),.category-form input[type=file]{border-radius:8px;background:var(--surface,#fff);color:var(--ink)}
.category-form input[type=file]{padding:11px}
.category-form .form-help{margin:-9px 0 0;font-size:12px}
.category-field-help{display:block;font-size:12px;line-height:1.5;font-weight:400}
.category-required{display:inline-block;width:max-content;padding:2px 7px;margin-left:5px;border-radius:5px;background:#fff0ed;color:#a33a2e;font-size:11px}
.category-optional{display:inline-block;width:max-content;padding:2px 7px;margin-left:5px;border-radius:5px;background:#f3f0eb;color:#766b60;font-size:11px}
.category-image-preview{display:flex;align-items:center;gap:13px;padding:12px;background:var(--surface-2,#faf7f2);border:1px solid var(--line);border-radius:10px;font-size:13px;font-weight:700}
.category-image-preview img{width:100px!important;height:100px!important;object-fit:cover;border-radius:9px!important}
.category-form .switch-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px;background:var(--surface-2,#faf7f2);border:1px solid var(--line);border-radius:10px}
.category-form .switch-label{display:grid;gap:4px;min-width:0}
.category-form .switch-label strong{font-size:14px}
.category-form .switch-label small{font-size:12px;line-height:1.5;color:var(--muted);font-weight:400}
.category-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:5px}
.category-form-actions .btn{margin:0;border-radius:8px}
.category-form-actions .btn.secondary{display:inline-block;padding:13px 20px}
.category-count{flex:0 0 auto;align-self:center;padding:5px 11px;border-radius:20px;background:#f7ead2;color:#76551d;font-size:12px;font-weight:700}
.category-list-card .table-wrap{margin:0;border-radius:10px}
.category-list-card table{min-width:760px}
.category-list-card th{font-size:12px;background:var(--surface-2,#faf7f2);color:var(--muted);font-weight:700}
.category-list-card td{font-size:13px;vertical-align:middle}
.category-table-thumb{display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface-2,#faf7f2);color:var(--muted);font-size:9px;text-align:center}
.category-table-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.category-list-card code{font-size:11px;white-space:normal;overflow-wrap:anywhere;color:var(--muted)}
.category-list-card .action-links{gap:12px}
.category-list-card .action-links a{color:var(--brown,#6b4f2a);font-weight:700}
.category-list-card .danger-link{color:#a33a2e}
.category-empty{padding:28px;text-align:center;white-space:normal}
html[data-theme="dark"] .category-admin-card,html[data-theme="dark"] .category-slider-settings{background:var(--surface,#211c18)}
html[data-theme="dark"] .category-step,html[data-theme="dark"] .category-count{background:#403321;color:#f2d49a}
html[data-theme="dark"] .category-required{background:#4a2522;color:#ffb8ad}
@media(max-width:700px){.category-admin-card,.category-slider-settings{padding:16px;margin:16px 0 20px;border-radius:11px}.category-card-heading{gap:10px;margin-bottom:16px}.category-card-heading h2{font-size:20px}.category-step{flex-basis:32px;width:32px;height:32px;border-radius:9px}.category-slider-settings-form{align-items:stretch;flex-direction:column}.category-slider-settings-form .btn{width:100%}.category-form .switch-row{align-items:flex-start;padding:12px;gap:10px}.category-form-actions{flex-direction:column;align-items:stretch}.category-form-actions .btn,.category-form-actions a{width:100%;text-align:center}.category-count{font-size:11px;padding:4px 8px}.category-image-preview img{width:82px!important;height:82px!important}}

/* Accessible bilingual language switcher in storefront and admin sidebars */
.language-switcher{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:14px 16px;margin:14px 12px 8px;border:1px solid var(--line,#e6e0d7);border-radius:12px;background:var(--surface-2,#faf7f2);font-size:12px}
.language-switcher>span{width:100%;font-weight:700;color:var(--muted,#71685f);margin-bottom:2px}
.language-switcher a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 12px;border-radius:8px;border:1px solid var(--line,#ddd);color:var(--ink,#28231e);text-decoration:none;font-weight:700;background:var(--surface,#fff)}
.language-switcher a.active{background:var(--brand,#c09937);border-color:var(--brand,#c09937);color:#fff}
.store-language-switcher{margin:18px 0 8px;padding:12px;border-radius:10px}
html[data-theme="dark"] .language-switcher{background:var(--surface-2,#28221c);border-color:var(--line,#443a30)}
html[data-theme="dark"] .language-switcher a{background:var(--surface,#211c18);color:var(--ink,#f5eee5)}
html[data-theme="dark"] .language-switcher a.active{background:var(--brand,#c09937);color:#fff}


/* v5.19: compact storefront language + theme controls below brand; admin language dock at sidebar bottom */
.nav .site-menu{display:flex!important;flex-direction:column!important;gap:0!important;padding-bottom:14px!important;}
.nav .site-menu-head{flex:0 0 auto!important;margin-bottom:0!important;padding-bottom:16px!important;}
.store-menu-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 8px 14px;margin:0 0 4px;border-bottom:1px solid var(--line);flex:0 0 auto;}
.store-language-switcher{display:inline-flex!important;align-items:center;gap:3px!important;flex:1 1 auto;min-width:0;margin:0!important;padding:3px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface-2,#faf7f2)!important;flex-wrap:nowrap!important;}
.store-language-switcher>span{display:none!important;}
.store-language-switcher a{flex:1 1 0;min-width:0;min-height:36px!important;padding:7px 10px!important;margin:0!important;justify-content:center!important;text-align:center;white-space:nowrap;font-size:13px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--ink)!important;}
.store-language-switcher a.active{background:var(--brand,#c09937)!important;color:#fff!important;box-shadow:0 2px 6px rgba(0,0,0,.08);}
.store-menu-controls .mhn-theme-toggle{position:static!important;inset:auto!important;flex:0 0 42px;width:42px!important;height:42px!important;min-width:42px;border-radius:50%!important;margin:0!important;box-shadow:none!important;background:var(--surface,#fff)!important;color:var(--ink)!important;border:1px solid var(--line)!important;}
.store-menu-controls .mhn-theme-toggle svg{width:20px;height:20px;}
html[data-theme="dark"] .store-menu-controls{border-color:var(--line,#40382f)!important;}
html[data-theme="dark"] .store-language-switcher{background:#211c18!important;border-color:#40382f!important;}
html[data-theme="dark"] .store-language-switcher a{color:#f7f7f7!important;}
html[data-theme="dark"] .store-language-switcher a.active{background:var(--brand,#c09937)!important;color:#fff!important;}
html[data-theme="dark"] .store-menu-controls .mhn-theme-toggle{background:#211c18!important;color:#fff!important;border-color:#40382f!important;}
/* The storefront theme control is now inside the sidebar, never in the header actions. */
.nav-actions #mhn-theme-toggle{display:none!important;}
.admin-sidebar{display:flex!important;flex-direction:column!important;}
.admin-sidebar-nav{flex:1 1 auto;min-height:0;overflow-y:auto;padding-bottom:12px!important;}
.admin-language-switcher{position:sticky;bottom:0;z-index:3;display:flex!important;flex:0 0 auto;align-items:center;justify-content:center;gap:5px!important;flex-wrap:nowrap!important;margin:auto 12px 12px!important;padding:7px!important;border:1px solid var(--line,#e6e0d7)!important;border-radius:11px!important;background:var(--surface-2,#faf7f2)!important;box-shadow:0 -5px 14px rgba(0,0,0,.04);}
.admin-language-switcher>span{display:none!important;}
.admin-language-switcher a{flex:1 1 0;min-width:0;min-height:38px!important;justify-content:center!important;padding:8px 12px!important;margin:0!important;border:0!important;border-radius:8px!important;text-align:center;white-space:nowrap;font-size:13px!important;background:transparent!important;color:var(--ink)!important;}
.admin-language-switcher a.active{background:var(--brand,#c09937)!important;color:#fff!important;}
html[data-theme="dark"] .admin-language-switcher{background:#211c18!important;border-color:#40382f!important;}
html[data-theme="dark"] .admin-language-switcher a{background:transparent!important;color:#f7f7f7!important;}
html[data-theme="dark"] .admin-language-switcher a.active{background:var(--brand,#c09937)!important;color:#fff!important;}
@media(max-width:600px){.store-menu-controls{padding:10px 4px 13px;gap:8px}.store-menu-controls .mhn-theme-toggle{width:40px!important;height:40px!important;min-width:40px;flex-basis:40px}.store-language-switcher a{font-size:12px!important;padding:7px 8px!important}.admin-language-switcher{margin-left:10px!important;margin-right:10px!important;}}

/* Compact storefront account actions, side by side */
.site-menu-auth-actions{display:flex;align-items:stretch;gap:8px;margin:12px 0 2px;}
.site-menu-auth-actions>a{flex:1 1 0;min-width:0;justify-content:center!important;text-align:center;border:1px solid var(--line)!important;background:var(--surface-2,var(--paper))!important;padding:12px 10px!important;margin:0!important;border-radius:10px!important;font-weight:600;}
.site-menu-auth-actions>a:hover,.site-menu-auth-actions>a.active{background:color-mix(in srgb,var(--primary) 10%,var(--surface))!important;}
html[data-theme="dark"] .site-menu-auth-actions>a{background:#211c18!important;border-color:#40382f!important;color:#f7f7f7!important;}
html[data-theme="dark"] .site-menu-auth-actions>a:hover,html[data-theme="dark"] .site-menu-auth-actions>a.active{background:#332c25!important;}


/* v5.20: final storefront drawer cleanup */
.nav .site-menu .site-menu-section-label{display:none!important;}
.nav .site-menu .site-menu-head{flex:0 0 auto!important;position:relative!important;}
.nav .site-menu .store-menu-controls{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;flex-wrap:nowrap!important;padding:12px 4px 14px!important;margin:0 0 8px!important;}
.nav .site-menu .store-menu-controls .store-language-switcher{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:stretch!important;gap:3px!important;width:auto!important;min-width:0!important;flex:1 1 auto!important;margin:0!important;padding:3px!important;}
.nav .site-menu .store-menu-controls .store-language-switcher>a{display:flex!important;flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;margin:0!important;padding:8px 8px!important;}
.nav .site-menu .store-menu-controls #mhn-theme-toggle{display:grid!important;position:static!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;height:42px!important;margin:0!important;align-self:center!important;}
.nav .site-menu .store-menu-controls #mhn-theme-toggle svg{display:none!important;}
.nav .site-menu .store-menu-controls #mhn-theme-toggle .mhn-sun{display:block!important;}
.nav .site-menu .store-menu-controls #mhn-theme-toggle .mhn-moon{display:none!important;}
html[data-theme="dark"] .nav .site-menu .store-menu-controls #mhn-theme-toggle .mhn-sun{display:none!important;}
html[data-theme="dark"] .nav .site-menu .store-menu-controls #mhn-theme-toggle .mhn-moon{display:block!important;}
.nav .site-menu .site-menu-auth-actions{display:flex!important;flex-direction:row!important;gap:8px!important;}
.nav .site-menu .site-menu-auth-actions>a{flex:1 1 0!important;min-width:0!important;justify-content:center!important;}
@media(max-width:600px){
 .nav .site-menu .store-menu-controls{padding:10px 2px 12px!important;gap:8px!important;}
 .nav .site-menu .store-menu-controls .store-language-switcher>a{font-size:13px!important;padding:8px 6px!important;}
 .nav .site-menu .store-menu-controls #mhn-theme-toggle{flex-basis:40px!important;width:40px!important;min-width:40px!important;height:40px!important;}
}


/* Admin sidebar: brand at the top, language switch directly below it */
.admin-sidebar-head{height:64px;min-height:64px;}
.admin-sidebar-brand{font-family:Georgia,serif;font-size:15px;letter-spacing:1.4px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;max-width:calc(100% - 48px);}
.admin-language-switcher{position:relative!important;bottom:auto!important;z-index:auto!important;display:flex!important;flex:0 0 auto!important;align-items:center;justify-content:stretch!important;gap:4px!important;flex-wrap:nowrap!important;margin:12px 12px 8px!important;padding:4px!important;border:1px solid var(--line,#e6e0d7)!important;border-radius:11px!important;background:var(--surface-2,#faf7f2)!important;box-shadow:none!important;}
.admin-language-switcher>span{display:none!important;}
.admin-language-switcher a{flex:1 1 0;min-width:0;min-height:38px!important;justify-content:center!important;padding:8px 12px!important;margin:0!important;border:0!important;border-radius:8px!important;text-align:center;white-space:nowrap;font-size:13px!important;background:transparent!important;color:var(--ink)!important;}
.admin-language-switcher a.active{background:var(--brand,#c09937)!important;color:#fff!important;}
html[data-theme="dark"] .admin-language-switcher{background:#211c18!important;border-color:#40382f!important;}
html[data-theme="dark"] .admin-language-switcher a{background:transparent!important;color:#f7f7f7!important;}
html[data-theme="dark"] .admin-language-switcher a.active{background:var(--brand,#c09937)!important;color:#fff!important;}

/* Mini Honey Nuts modern cart page */
.cart-page{max-width:1440px;margin:0 auto;padding-top:54px;padding-bottom:76px;}
.cart-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px;}
.cart-page-head .eyebrow{margin:0 0 8px;letter-spacing:2px;}
.cart-page-head h1{font-size:clamp(36px,4vw,50px);line-height:1.1;margin:0;}
.cart-page-subtitle{margin:10px 0 0;color:var(--muted);font-size:15px;}
.cart-item-count{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface,#fff);font-size:13px;font-weight:700;white-space:nowrap;}
.cart-item-count svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.cart-layout-modern{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);gap:26px;align-items:start;}
.cart-items-panel,.cart-summary-modern{border:1px solid var(--line);border-radius:16px;background:var(--surface,#fff);box-shadow:0 8px 30px rgba(45,38,30,.045);}
.cart-items-panel{padding:0 24px;min-width:0;}
.cart-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);}
.cart-panel-heading h2,.cart-summary-title h2{margin:0;font:600 20px/1.3 Arial,Helvetica,sans-serif;letter-spacing:0;}
.cart-panel-heading>span{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.08em;}
.cart-product-row{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:20px;align-items:start;padding:24px 0;border-bottom:1px solid var(--line);}
.cart-product-image{width:112px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:var(--paper,#fbf8f3);border:1px solid var(--line);color:var(--brown);font-size:16px;font-weight:800;letter-spacing:2px;}
.cart-product-image img{width:100%;height:100%;object-fit:cover;display:block;}
.cart-product-info{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px;}
.cart-product-name{font-size:17px;font-weight:750;line-height:1.35;overflow-wrap:anywhere;}
.cart-product-name:hover{color:var(--brown);}
.cart-product-unit{color:var(--muted);font-size:13px;}
.cart-stock-note{display:inline-flex;align-items:center;gap:6px;color:#287747;font-size:12px;font-weight:700;}
.cart-stock-note i{display:block;width:7px;height:7px;border-radius:50%;background:#35a45d;}
.cart-product-controls{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:6px;}
.cart-quantity-control{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--surface,#fff);min-height:38px;}
.cart-qty-step{width:34px;height:36px;border:0;background:transparent;color:var(--ink);font-size:20px;line-height:1;cursor:pointer;}
.cart-qty-step:hover{background:var(--paper,#fbf8f3);}
.cart-qty-input{width:38px;height:36px;padding:0;border:0!important;text-align:center;background:transparent!important;color:var(--ink);font:700 14px Arial,Helvetica,sans-serif;appearance:textfield;-moz-appearance:textfield;}
.cart-qty-input::-webkit-outer-spin-button,.cart-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.cart-remove-btn{display:inline-flex;align-items:center;gap:5px;border:0;padding:5px 0;background:transparent;color:var(--muted);font:600 12px Arial,Helvetica,sans-serif;cursor:pointer;}
.cart-remove-btn:hover{color:#b42318;}
.cart-remove-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.cart-product-line-total{padding-top:2px;text-align:right;white-space:nowrap;font-size:15px;}
.cart-product-line-total strong{font-size:16px;font-variant-numeric:tabular-nums;}
.cart-items-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 0;}
.cart-continue-link{font-size:13px;font-weight:700;color:var(--ink);}
.cart-continue-link:hover{color:var(--brown);}
.cart-update-btn{margin:0;border-radius:9px;padding:10px 16px;font-size:13px;}
.cart-summary-modern{padding:24px;position:sticky;top:22px;display:flex;flex-direction:column;gap:17px;}
.cart-summary-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:17px;border-bottom:1px solid var(--line);}
.cart-summary-title span{color:var(--muted);font-size:12px;white-space:nowrap;}
.cart-summary-line{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px;}
.cart-summary-line>span{color:var(--muted);}
.cart-summary-line strong{font-size:14px;font-variant-numeric:tabular-nums;}
.cart-summary-total{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:18px;font-weight:800;}
.cart-summary-total>span{font-size:15px;}
.cart-summary-total strong{font-size:23px;line-height:1.2;font-variant-numeric:tabular-nums;}
.cart-summary-note{display:flex;align-items:flex-start;gap:9px;margin:0;color:var(--muted);font-size:12px;line-height:1.55;}
.cart-summary-note svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:var(--brown);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.cart-primary-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;margin:0;border-radius:10px;background:var(--brown,#6b4f2a);color:#fff;font-size:14px;font-weight:750;transition:transform .16s ease,background .16s ease;}
.cart-primary-btn:hover{background:var(--ink,#2d261e);transform:translateY(-1px);}
.cart-checkout-btn{padding:14px 18px;}
.cart-payment-hint{display:flex;align-items:center;justify-content:center;gap:7px;color:var(--muted);font-size:12px;}
.cart-payment-hint svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.cart-empty-state{max-width:680px;margin:18px auto 30px;padding:clamp(30px,6vw,64px) 24px;text-align:center;border:1px solid var(--line);border-radius:18px;background:var(--surface,#fff);box-shadow:0 8px 30px rgba(45,38,30,.04);}
.cart-empty-icon{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 20px;border-radius:50%;background:rgba(214,168,79,.15);color:var(--brown);}
.cart-empty-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.cart-empty-state h2{margin:0 0 10px;font:400 30px/1.2 Georgia,serif;}
.cart-empty-state p{max-width:430px;margin:0 auto 24px;color:var(--muted);font-size:14px;}
.cart-empty-state .cart-primary-btn{max-width:280px;margin:0 auto;}
html[data-theme="dark"] .cart-items-panel,html[data-theme="dark"] .cart-summary-modern,html[data-theme="dark"] .cart-empty-state{background:#211c18;border-color:#40382f;color:#f4eee5;}
html[data-theme="dark"] .cart-product-image{background:#171411;border-color:#40382f;}
html[data-theme="dark"] .cart-quantity-control{background:#171411;border-color:#51473b;}
html[data-theme="dark"] .cart-qty-step{color:#f4eee5;}
html[data-theme="dark"] .cart-qty-step:hover{background:#302820;}
html[data-theme="dark"] .cart-qty-input{background:transparent!important;color:#f4eee5!important;}
html[data-theme="dark"] .cart-continue-link{color:#f4eee5;}
html[data-theme="dark"] .cart-summary-note svg{stroke:#d6a84f;}
@media(max-width:900px){.cart-layout-modern{grid-template-columns:minmax(0,1fr) minmax(270px,.8fr);gap:16px}.cart-items-panel{padding:0 18px}.cart-product-row{grid-template-columns:90px minmax(0,1fr);gap:14px}.cart-product-image{width:90px;grid-row:span 2}.cart-product-line-total{grid-column:2;text-align:left;padding-top:0}.cart-product-line-total strong{font-size:14px}.cart-summary-modern{padding:20px}}
@media(max-width:680px){.cart-page{padding-top:35px;padding-bottom:48px}.cart-page-head{align-items:flex-start;margin-bottom:22px;gap:12px}.cart-page-head h1{font-size:38px}.cart-page-subtitle{font-size:13px;max-width:300px}.cart-item-count{padding:8px 10px;font-size:11px}.cart-item-count svg{width:15px;height:15px}.cart-layout-modern{grid-template-columns:minmax(0,1fr);gap:18px}.cart-items-panel{padding:0 14px;border-radius:13px}.cart-panel-heading{padding:16px 0}.cart-panel-heading h2,.cart-summary-title h2{font-size:18px}.cart-product-row{grid-template-columns:84px minmax(0,1fr);gap:12px;padding:18px 0}.cart-product-image{width:84px;border-radius:10px}.cart-product-name{font-size:15px}.cart-product-controls{gap:11px}.cart-summary-modern{position:static;padding:19px;border-radius:13px;gap:15px}.cart-summary-total strong{font-size:22px}.cart-items-footer{align-items:flex-start;flex-direction:column}.cart-update-btn{width:100%;min-height:43px}.cart-continue-link{padding:4px 0}.cart-empty-state{margin-top:8px;border-radius:14px}.cart-empty-state h2{font-size:27px}}
@media(max-width:360px){.cart-page-head h1{font-size:33px}.cart-item-count{gap:5px;padding:7px 8px}.cart-product-row{grid-template-columns:70px minmax(0,1fr);gap:10px}.cart-product-image{width:70px}.cart-product-controls{gap:8px}.cart-remove-btn span{font-size:11px}.cart-summary-modern{padding:16px}}


/* v5.24 compact checkout / delivery details */
.checkout-compact{max-width:1180px;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:start;gap:24px;padding-top:34px;padding-bottom:40px}
.checkout-main{min-width:0}
.checkout-title-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:14px}
.checkout-title-row h1{margin:0;font-size:34px;line-height:1.1}
.checkout-subtitle{margin:5px 0 0;color:var(--muted);font-size:13px}
.checkout-notice{margin:10px 0 12px}
.checkout-form{display:grid;gap:12px}
.checkout-section{padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#fff)}
.checkout-section-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.checkout-section-head h2{margin:0;font-size:16px}
.checkout-section-head p{margin:2px 0 0;color:var(--muted);font-size:12px}
.checkout-step{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--primary,var(--gold));color:#fff;font-size:13px;font-weight:800;flex:0 0 27px}
.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px}
.checkout-fields label,.checkout-section label,.checkout-extras label{display:grid;gap:5px;font-size:12px;font-weight:700}
.checkout-fields input,.checkout-fields textarea,.checkout-section select,.checkout-extras input,.checkout-extras select{width:100%;box-sizing:border-box}
.checkout-fields textarea{min-height:58px;height:58px;resize:vertical}
.checkout-full-field{grid-column:1/-1}
.optional{font-weight:500;color:var(--muted);font-size:11px;margin-left:3px}
.checkout-manage-address{display:inline-block;margin-top:9px;font-size:12px;font-weight:700;color:var(--primary)}
.checkout-zone-section{padding-bottom:14px}
.zone-label{max-width:620px}
.delivery-fee-live{margin-top:9px;padding:9px 12px;border-radius:10px;background:var(--surface-2,#f6f2ec);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}
.delivery-fee-live strong{font-size:13px;color:var(--primary)}
.checkout-extras{padding:0 2px}
.checkout-extra-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:12px}
.checkout-extra-grid>div,.checkout-extra-grid>label{min-width:0}
.coupon-row.compact{margin:0;display:flex;gap:7px}
.coupon-row.compact input{min-width:0}
.coupon-row.compact .btn{padding:10px 13px;white-space:nowrap}
.checkout-inline-success,.checkout-inline-error{margin-top:5px;font-size:11px;font-weight:600}
.checkout-inline-success{color:#2d7b4d}.checkout-inline-error{color:#b33a2c}
.checkout-place-btn{width:100%;min-height:46px;font-weight:800}
.checkout-place-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
.checkout-summary{position:sticky;top:16px;margin:0;padding:18px}
.summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.summary-head h2{margin:0;font-size:20px}.summary-head .eyebrow{margin:0 0 2px}
.summary-count{font-size:11px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;color:var(--muted)}
.summary-products{margin:13px 0 9px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.summary-products p,.summary-totals p{display:flex;justify-content:space-between;gap:14px;margin:7px 0;font-size:12px}
.summary-products p span,.summary-totals p span{min-width:0}.summary-products p b,.summary-totals p b{white-space:nowrap}
.summary-totals .grand-total{margin-top:11px;padding-top:11px;border-top:1px solid var(--line);font-size:17px;font-weight:800}
.summary-hint{margin-top:11px;padding:9px 10px;border-radius:9px;background:var(--surface-2,#f6f2ec);font-size:11px;line-height:1.45;color:var(--muted)}
html[data-theme="dark"] .checkout-section,html[data-theme="dark"] .delivery-fee-live,html[data-theme="dark"] .summary-hint{background:var(--surface)!important;border-color:var(--line)}
@media(max-width:800px){
 .checkout-compact{grid-template-columns:1fr;gap:12px;padding:24px 5% 28px}
 .checkout-title-row h1{font-size:28px}.checkout-subtitle{font-size:12px}
 .checkout-section{padding:14px}.checkout-fields{gap:9px 10px}
 .checkout-extra-grid{grid-template-columns:1fr 1fr;gap:9px}
 .checkout-summary{position:static;order:-1;padding:14px}
 .checkout-summary .summary-products{display:none}
 .checkout-summary .summary-hint{margin-top:7px}
 .checkout-summary .summary-head h2{font-size:17px}
 .checkout-summary .summary-count{display:none}
 .checkout-place-btn{min-height:48px}
}
@media(max-width:520px){
 .checkout-compact{padding-left:4%;padding-right:4%}
 .checkout-fields{grid-template-columns:1fr}
 .checkout-full-field{grid-column:auto}
 .checkout-fields textarea{min-height:64px;height:64px}
 .checkout-extra-grid{grid-template-columns:1fr}
 .checkout-section-head{margin-bottom:10px}
 .delivery-fee-live{padding:8px 10px}
 .checkout-summary{padding:12px}
}

/* Product card Add to Cart */
.product-card-cart-form{padding:0 18px 18px;margin-top:-6px}
.product-card-add-cart{display:block;width:100%;margin:0;min-height:42px;padding:10px 14px;border-radius:9px;font-weight:700;text-align:center}
.product-card-add-cart:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:500px){.product-card-cart-form{padding:0 12px 12px}.product-card-add-cart{min-height:40px;font-size:13px;padding:9px 10px}}

/* v5.28: keep product-card Add to Cart fully visible on mobile and desktop. */
.home-page .home-products .product,
.shop-product-grid .product{
  display:flex;
  flex-direction:column;
  height:auto;
  min-height:0;
}
.home-page .home-products .product-card-link,
.shop-product-grid .product-card-link{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  height:auto;
  min-height:0;
}
.home-page .home-products .product-card-cart-form,
.shop-product-grid .product-card-cart-form{
  position:relative;
  z-index:4;
  flex:0 0 auto;
}
.home-page .home-products .product-card-add-cart,
.shop-product-grid .product-card-add-cart{
  position:relative;
  z-index:5;
  visibility:visible;
  opacity:1;
}
@media(max-width:500px){
  .home-page .home-products .product-card-cart-form,
  .shop-product-grid .product-card-cart-form{padding:8px 10px 10px;margin-top:0;}
  .home-page .home-products .product-card-add-cart,
  .shop-product-grid .product-card-add-cart{min-height:40px;font-size:12px;padding:9px 8px;line-height:1.2;}
}

/* v5.31 Create Order: image-first product picker */
.admin-create-order-form .create-order-product-picker{position:relative;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.create-order-product-search-wrap{position:relative;min-width:0}
.create-order-product-search-wrap>label{margin:0}
.create-order-choose-product{min-height:44px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.create-order-product-results{position:absolute;z-index:50;left:0;right:0;top:calc(100% + 6px);max-height:min(420px,55vh);overflow:auto;background:var(--paper,#fff);border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.14);padding:6px}
.create-order-product-results[hidden]{display:none}
.create-order-product-option{width:100%;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:11px;text-align:left;border:0;border-radius:10px;background:transparent;color:inherit;padding:9px;cursor:pointer;font:inherit}
.create-order-product-option:hover,.create-order-product-option:focus-visible{background:var(--surface-2,#f6f3ed);outline:none}
.create-order-product-option[hidden]{display:none}
.create-order-product-option-image,.create-order-product-thumb{width:54px;height:54px;display:grid;place-items:center;overflow:hidden;border-radius:10px;background:var(--surface-2,#f6f3ed);border:1px solid var(--line);flex:0 0 54px}
.create-order-product-option-image img,.create-order-product-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.create-order-product-image-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:13px;font-weight:800;letter-spacing:.06em;color:var(--accent,#8a6a2b)}
.create-order-product-option-copy{display:grid;gap:4px;min-width:0}
.create-order-product-option-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.create-order-product-option-copy small{color:var(--muted);font-size:12px}
.create-order-product-option-add{padding:6px 9px;border:1px solid var(--line);border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap}
.create-order-product-no-results{padding:18px 12px;text-align:center;color:var(--muted);font-size:13px}
.create-order-product-list{margin-top:4px}
.admin-create-order-form .create-order-product-row{grid-template-columns:54px minmax(0,1fr) 86px minmax(92px,120px) auto;gap:12px}
.admin-create-order-form .create-order-product-thumb{width:54px;height:54px}
.admin-create-order-form .create-order-product-row label{margin:0}
@media(max-width:700px){
 .admin-create-order-form .create-order-product-picker{grid-template-columns:1fr;gap:8px}
 .create-order-choose-product{width:100%}
 .create-order-product-results{max-height:50vh}
 .admin-create-order-form .create-order-product-row{grid-template-columns:48px minmax(0,1fr) 70px;gap:8px;padding:12px 0}
 .admin-create-order-form .create-order-product-thumb{width:48px;height:48px}
 .admin-create-order-form .create-order-product-row .create-order-line-total{grid-column:2;text-align:left;font-size:13px}
 .admin-create-order-form .create-order-product-row .create-order-remove-product{grid-column:3;grid-row:2;padding:7px 8px}
 .admin-create-order-form .create-order-product-row label{grid-column:3;grid-row:1}
 .create-order-product-option{grid-template-columns:48px minmax(0,1fr) auto;padding:8px}
 .create-order-product-option-image{width:48px;height:48px;flex-basis:48px}
 .create-order-product-option-add{padding:5px 7px}
}

/* v5.32: compact Create Order product picker — prevent product images from expanding the result list. */
.admin-create-order-form .create-order-product-results{
  max-height:320px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:5px!important;
}
.admin-create-order-form .create-order-product-option{
  min-height:62px!important;
  height:62px!important;
  max-height:62px!important;
  padding:7px 8px!important;
  grid-template-columns:48px minmax(0,1fr) auto!important;
  gap:10px!important;
  overflow:hidden!important;
}
.admin-create-order-form .create-order-product-option-image{
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  max-width:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
}
.admin-create-order-form .create-order-product-option-image img{
  display:block!important;
  width:48px!important;
  height:48px!important;
  max-width:48px!important;
  max-height:48px!important;
  min-width:0!important;
  min-height:0!important;
  object-fit:cover!important;
  object-position:center!important;
}
.admin-create-order-form .create-order-product-option-copy{
  min-width:0!important;
  overflow:hidden!important;
}
.admin-create-order-form .create-order-product-option-copy strong{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1.35!important;
}
.admin-create-order-form .create-order-product-option-copy small{
  display:block!important;
  margin-top:2px!important;
  font-size:11px!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.admin-create-order-form .create-order-product-option-add{
  padding:5px 8px!important;
  font-size:11px!important;
  line-height:1.2!important;
}
@media(max-width:700px){
  .admin-create-order-form .create-order-product-results{max-height:280px!important}
  .admin-create-order-form .create-order-product-option{
    min-height:58px!important;height:58px!important;max-height:58px!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    padding:6px!important;
  }
  .admin-create-order-form .create-order-product-option-image{
    width:44px!important;height:44px!important;min-width:44px!important;max-width:44px!important;min-height:44px!important;max-height:44px!important;
  }
  .admin-create-order-form .create-order-product-option-image img{
    width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important;
  }
}

/* v5.33: selected Create Order product image — hard-size the thumbnail so the source image can never expand the row. */
.admin-create-order-form .create-order-product-row{
  grid-template-columns:56px minmax(0,1fr) 82px minmax(92px,120px) auto !important;
  min-width:0 !important;
}
.admin-create-order-form .create-order-product-row .create-order-product-thumb{
  width:56px !important;
  min-width:56px !important;
  max-width:56px !important;
  height:56px !important;
  min-height:56px !important;
  max-height:56px !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  position:relative !important;
  display:block !important;
  box-sizing:border-box !important;
  flex:none !important;
}
.admin-create-order-form .create-order-product-row .create-order-product-thumb img{
  position:absolute !important;
  inset:0 !important;
  display:block !important;
  width:56px !important;
  min-width:56px !important;
  max-width:56px !important;
  height:56px !important;
  min-height:56px !important;
  max-height:56px !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center !important;
}
.admin-create-order-form .create-order-product-row .create-order-product-image-placeholder{
  width:56px !important;
  min-width:56px !important;
  max-width:56px !important;
  height:56px !important;
  min-height:56px !important;
  max-height:56px !important;
}
@media(max-width:700px){
  .admin-create-order-form .create-order-product-row{
    grid-template-columns:52px minmax(0,1fr) 70px !important;
    gap:8px !important;
    min-width:0 !important;
  }
  .admin-create-order-form .create-order-product-row .create-order-product-thumb{
    width:52px !important; min-width:52px !important; max-width:52px !important;
    height:52px !important; min-height:52px !important; max-height:52px !important;
  }
  .admin-create-order-form .create-order-product-row .create-order-product-thumb img{
    width:52px !important; min-width:52px !important; max-width:52px !important;
    height:52px !important; min-height:52px !important; max-height:52px !important;
  }
  .admin-create-order-form .create-order-product-row .create-order-product-image-placeholder{
    width:52px !important; min-width:52px !important; max-width:52px !important;
    height:52px !important; min-height:52px !important; max-height:52px !important;
  }
  .admin-create-order-form .create-order-product-row .create-order-product-info{min-width:0 !important; overflow:hidden !important;}
  .admin-create-order-form .create-order-product-row .create-order-product-info strong,
  .admin-create-order-form .create-order-product-row .create-order-product-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;}
}
