:root{--mr-ink:#181817;--mr-paper:#f3f0ea;--mr-accent:#b76837;--mr-line:#d8d2c8}.shop-shell,.admin-shell{background:var(--mr-paper);color:var(--mr-ink)}.navbar.bg-dark{background:rgba(24,24,23,.97)!important;min-height:72px}.navbar-brand{display:flex;align-items:center;gap:.65rem;font-weight:800;letter-spacing:.06em}.brand-disc{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--mr-accent);color:#fff;font-size:.72rem}.page-shell{min-height:65vh;padding-block:2rem 5rem}.btn{border-radius:999px;font-weight:700;padding-inline:1.1rem}.btn-primary,.btn-success{background:var(--mr-accent);border-color:var(--mr-accent)}.card{border-color:var(--mr-line);border-radius:18px;overflow:hidden}.product-card{transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px #00000012}.product-card img{aspect-ratio:1/1;object-fit:cover}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.72rem;font-weight:900;color:var(--mr-accent)}.shop-heading{max-width:760px;padding:2rem 0 3rem}.shop-heading h1,.admin-heading h1{font:800 clamp(3rem,7vw,6rem)/1 Arial,sans-serif;letter-spacing:-.05em}.shop-heading>p:last-child,.admin-heading>div>p:last-child{color:#6c6963;font-size:1.15rem}.shop-category-list{display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem}.shop-category-list a{display:flex;justify-content:space-between;gap:1rem;padding:1.1rem 1.3rem;background:#fff;border:1px solid var(--mr-line);border-radius:14px;text-decoration:none;font-weight:800}.shop-category-list a:hover{background:var(--mr-ink);color:#fff}.admin-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;padding:1rem 0 3rem}.admin-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}.admin-stat-grid>div{display:flex;flex-direction:column;background:#fff;border:1px solid var(--mr-line);border-radius:18px;padding:1.5rem}.admin-stat-grid strong{font:800 2.5rem Arial,sans-serif}.admin-stat-grid span{color:#6c6963}.admin-tool-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1rem}.admin-tool-grid article{background:#fff;border:1px solid var(--mr-line);border-radius:18px;padding:2rem}.admin-tool-grid h2{font:800 1.65rem Arial,sans-serif}.admin-tool-grid article>p:not(.eyebrow){color:#6c6963}.admin-login-card{max-width:480px;margin:6vh auto;padding:clamp(2rem,5vw,4rem);background:#fff;border:1px solid var(--mr-line);border-radius:22px}.admin-login-card h1{font:800 2.8rem Arial,sans-serif}.admin-shell .site-footer{display:none}.shop-route{display:flex;align-items:center;justify-content:space-between;gap:3rem;padding:clamp(2rem,5vw,5rem);background:#ded6ca;border-radius:22px}.shop-route p:not(.eyebrow){color:#6c6963;max-width:650px}.shop-route h2{margin-bottom:.4rem}
@media(max-width:800px){.shop-category-list{grid-template-columns:1fr 1fr}.admin-tool-grid{grid-template-columns:1fr}.admin-heading{align-items:flex-start;flex-direction:column}.admin-stat-grid{grid-template-columns:1fr 1fr}.shop-route{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.shop-category-list,.admin-stat-grid{grid-template-columns:1fr}.page-shell{padding-top:1rem}.navbar .container{flex-wrap:nowrap}.navbar-nav{display:none}}
.brand-icon{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#f3f0ea}
.shop-shell .btn-primary,.shop-shell .btn-success{background:var(--mr-accent)!important;border-color:var(--mr-accent)!important;color:#fff!important}
.shop-shell .btn-primary:hover,.shop-shell .btn-primary:focus,.shop-shell .btn-success:hover,.shop-shell .btn-success:focus{background:#945027!important;border-color:#945027!important;color:#fff!important;box-shadow:0 0 0 .2rem rgba(183,104,55,.18)!important}
.shop-shell .btn-outline-primary{background:transparent!important;border-color:var(--mr-accent)!important;color:#945027!important}
.shop-shell .btn-outline-primary:hover,.shop-shell .btn-outline-primary:focus{background:var(--mr-accent)!important;border-color:var(--mr-accent)!important;color:#fff!important;box-shadow:0 0 0 .2rem rgba(183,104,55,.18)!important}
.shop-shell .btn-link{color:#945027}.shop-shell .btn-link:hover{color:#713a1c}
.product-context-nav{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.5rem}
.product-back-link,.product-category-menu summary{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:42px;padding:.6rem 1rem;border:1px solid var(--mr-line);border-radius:999px;background:#fff;color:var(--mr-ink);font-weight:700;text-decoration:none;cursor:pointer;list-style:none}
.product-category-menu summary::-webkit-details-marker{display:none}
.product-category-menu summary::after{content:'\2304';margin-left:.35rem;font-size:.95rem;transition:transform .15s}
.product-category-menu[open] summary::after{transform:rotate(180deg)}
.product-back-link:hover,.product-category-menu summary:hover{border-color:var(--mr-accent);color:#945027}
.product-category-menu{position:relative}
.product-category-panel{position:absolute;top:calc(100% + .45rem);right:0;display:grid;min-width:230px;padding:.4rem;border:1px solid var(--mr-line);border-radius:14px;background:#fff;box-shadow:0 14px 35px rgba(24,24,23,.14)}
.product-category-panel a{padding:.7rem .8rem;border-radius:9px;color:var(--mr-ink);font-weight:700;text-decoration:none;white-space:nowrap}
.product-category-panel a:hover{background:#ebe5dc;color:#945027}
@media(max-width:600px){.product-context-nav{align-items:center;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.55rem;margin-bottom:1rem}.product-back-link,.product-category-menu summary{justify-content:center;width:100%;min-height:36px;padding:.45rem .65rem;border-color:#cfc8bd;font-size:.78rem;line-height:1.15;white-space:nowrap}.product-back-link span{font-size:.9rem}.product-category-menu{position:static;width:100%}.product-category-menu summary::after{margin-left:.15rem;font-size:.8rem}.product-category-panel{left:0;right:0;top:calc(100% + .35rem);width:100%;min-width:0;max-height:55vh;overflow-y:auto;margin:0;box-shadow:0 12px 28px rgba(24,24,23,.12)}.product-category-panel a{white-space:normal}}
.shop-shell .product-card{height:auto!important;min-height:0}.shop-shell .product-card>a:first-child{display:block;aspect-ratio:16/9;overflow:hidden;background:#dedbd5}.shop-shell .product-card>a:first-child img{width:100%;height:100%;max-height:none!important;object-fit:cover}.shop-shell .product-card>.card-body{height:auto;min-height:0}.shop-shell .product-card .card-title{min-height:3.75em}.shop-shell .product-card-footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.4rem}.shop-shell .product-card-footer .card-text{margin:0;font-weight:700;white-space:nowrap}.shop-shell .product-card-footer .btn{flex:0 0 auto;min-height:34px;padding:.35rem .8rem;font-size:.78rem}
.shop-shell .product-detail-title{margin:0 0 1rem;font:700 clamp(1.6rem,3vw,2.35rem)/1.15 Arial,sans-serif;letter-spacing:-.02em}
.admin-shell #quill-description .ql-editor{background:#fff;color:var(--admin-ink)}
@media(max-width:600px){.shop-shell .product-card .card-title{min-height:0;margin-bottom:.65rem!important}.shop-shell .product-card-footer{margin-top:0}}
.page-shell{width:min(calc(100% - 8vw),1440px);max-width:none!important;padding-left:0!important;padding-right:0!important}@media(max-width:800px){.page-shell{width:calc(100% - 2rem)}}

/* Shared admin design system. This intentionally overrides legacy page-local styles. */
.admin-shell{--admin-bg:#f3f0ea;--admin-card:#fff;--admin-ink:#181817;--admin-muted:#6c6963;--admin-accent:#b76837;--admin-line:#d8d2c8}
.admin-shell .page-shell{margin-top:0!important;padding-top:clamp(1.5rem,4vw,3.5rem);font-family:Arial,sans-serif}
.admin-shell :is(input,textarea,select,button){font-family:Arial,sans-serif}
.admin-shell .page-shell h1,.admin-shell .page-shell h2,.admin-shell .page-shell h3{font-family:Arial,sans-serif;font-weight:800;color:var(--admin-ink);letter-spacing:-.025em}
.admin-shell .page-shell h3{font-size:clamp(1.9rem,4vw,3rem)!important;margin:0 0 1.25rem!important}
.admin-shell :is(#adm .adm-container,#usr .usr-container,#inv .inv-container,#ord .wrap,#oarch .wrap,#ship .wrap){width:100%;max-width:none!important;margin:0!important;padding:0!important}
.admin-shell :is(#usr,#inv,#ord,#oarch,#ship){--brand:var(--admin-accent)!important;--line:var(--admin-line)!important;--muted:var(--admin-muted)!important;color:var(--admin-ink)!important}
.admin-shell .card{background:var(--admin-card);border:1px solid var(--admin-line)!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(24,24,23,.045)!important}
.admin-shell .card-header{background:#ebe5dc;border-bottom:1px solid var(--admin-line);padding:1rem 1.25rem}
.admin-shell .card-body{padding:1.25rem}
.admin-shell .table-responsive,.admin-shell :is(#usr,#inv,#ord,#oarch,#ship) .table-wrap{background:#fff;border:1px solid var(--admin-line);border-radius:18px;overflow:auto!important}
.admin-shell .table{margin:0;color:var(--admin-ink)}
.admin-shell .table>:not(caption)>*>*{padding:.9rem 1rem;border-color:#e6e0d7;vertical-align:middle}
.admin-shell .table thead th{background:#ebe5dc;color:#4f4b45;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.admin-shell .table-striped>tbody>tr:nth-of-type(odd)>*{--bs-table-accent-bg:#faf8f4}
.admin-shell :is(.form-control,.form-select){border-color:#cfc8bd;border-radius:12px;min-height:44px}
.admin-shell :is(.form-control,.form-select):focus{border-color:var(--admin-accent);box-shadow:0 0 0 .2rem rgba(183,104,55,.16)}
.admin-shell textarea.form-control{min-height:120px}
.admin-shell .btn,.admin-shell :is(.mbtn,.ibtn,.iconbtn,.backlink){display:inline-flex!important;align-items:center;justify-content:center;gap:.35rem;min-height:40px;padding:.55rem .9rem!important;border-radius:999px!important;font-weight:700;text-decoration:none;line-height:1.1;white-space:nowrap}
.admin-shell :is(.btn-primary,.btn-success,.mbtn.primary){background:var(--admin-accent)!important;border-color:var(--admin-accent)!important;color:#fff!important}
.admin-shell :is(.btn-dark,.btn-secondary){background:var(--admin-ink)!important;border-color:var(--admin-ink)!important;color:#fff!important}
.admin-shell :is(.btn-outline-primary,.btn-outline-secondary,.btn-outline-dark,.backlink,.mbtn,.mbtn.link,.ibtn,.iconbtn){background:#fff!important;border:1px solid #a9a198!important;color:var(--admin-ink)!important}
.admin-shell :is(.btn-outline-primary,.btn-outline-secondary,.btn-outline-dark,.backlink,.mbtn,.mbtn.link,.ibtn,.iconbtn):hover{background:#ebe5dc!important;border-color:#8d847a!important}
.admin-shell :is(.btn-danger,.btn-outline-danger,.mbtn.danger){background:#fff!important;border-color:#b8433e!important;color:#9b302c!important}
.admin-shell :is(.btn-warning,.btn-outline-warning,.mbtn.warn){background:#fff8e8!important;border-color:#c48b24!important;color:#76500f!important}
.admin-shell .badge{border-radius:999px;padding:.4em .65em}
.admin-shell .alert{border:1px solid var(--admin-line);border-radius:16px;background:#fff;color:var(--admin-muted)}
.admin-shell :is(#usr,#inv,#ord,#oarch) .cards{gap:.8rem!important}
.admin-shell :is(#usr,#inv,#ord,#oarch) .cards>.card{padding:1rem!important}
.admin-shell :is(#usr,#inv,#ord,#oarch) .actions{gap:.5rem!important}
.admin-shell :is(#usr,#inv,#ord,#oarch) .topbar{margin-bottom:1.25rem!important}
.admin-shell .sticky-bottom{background:rgba(243,240,234,.94)!important;backdrop-filter:blur(10px);border-color:var(--admin-line)!important}
@media(max-width:767px){
  .admin-shell .page-shell{width:calc(100% - 1.25rem);padding-bottom:6rem}
  .admin-shell .admin-heading{gap:1rem;padding-bottom:2rem}
  .admin-shell .admin-heading h1{font-size:clamp(2.5rem,14vw,4rem)}
  .admin-shell .admin-tool-grid article{padding:1.35rem}
  .admin-shell .card-body{padding:1rem}
  .admin-shell :is(#usr,#inv,#ord,#oarch) .topbar{align-items:flex-start!important;flex-direction:column}
  .admin-shell :is(#usr,#inv,#ord,#oarch) .actions,.admin-shell :is(#usr,#inv,#ord,#oarch) .btnrow{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .admin-shell :is(#usr,#inv,#ord,#oarch) .actions>* ,.admin-shell :is(#usr,#inv,#ord,#oarch) .actions .mbtn,.admin-shell :is(#usr,#inv,#ord,#oarch) .btnrow>* ,.admin-shell :is(#usr,#inv,#ord,#oarch) .btnrow .mbtn{width:100%}
  .admin-shell #usr .pw{display:grid!important;grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:390px){.admin-shell :is(#usr,#inv,#ord,#oarch) .actions,.admin-shell :is(#usr,#inv,#ord,#oarch) .btnrow{grid-template-columns:1fr}}

/* Product management: readable actions instead of icon-sized circles. */
.admin-shell #adm .adm-actions{display:flex;flex-wrap:wrap;gap:.45rem}
.admin-shell #adm .adm-actions .btn,.admin-shell #adm .adm-actions button{width:auto!important;height:auto!important;min-width:0;min-height:36px!important;padding:.45rem .72rem!important;font-size:.82rem}
.admin-shell #adm .adm-table td[data-label="Price"],
.admin-shell #adm .adm-table td[data-label="Stock"],
.admin-shell #adm .adm-table td[data-label="Active"],
.admin-shell #adm .adm-table td[data-label="Actions"]{vertical-align:middle}
.admin-shell #adm .adm-table td[data-label="Price"]{white-space:nowrap}
.admin-shell #adm .product-quick-field{display:flex;align-items:center;justify-content:flex-end;gap:.35rem;margin:0;text-align:right}.admin-shell #adm .product-quick-field input{width:82px;min-height:38px;padding:.45rem .55rem;border:1px solid #cfc8be;border-radius:10px;background:#fff;color:var(--admin-ink);font:600 .86rem/1 Arial,sans-serif;text-align:right}.admin-shell #adm .product-quick-field input:focus{border-color:var(--admin-accent);outline:0;box-shadow:0 0 0 .18rem rgba(169,130,67,.16)}.admin-shell #adm .product-quick-field input.is-saving{background:#fbf7ed}.admin-shell #adm .product-quick-field input.is-saved{border-color:#279565}.admin-shell #adm .product-quick-field input.is-invalid{border-color:#bd3c37;background:#fff8f7}.admin-shell #adm .adm-table td[data-label="Actions"]{position:relative}.admin-shell #adm .product-quick-status{position:absolute;right:.65rem;bottom:.08rem;display:block;min-height:.7rem;margin:0;color:#27855d;font-size:.65rem;font-weight:700;line-height:1}.admin-shell #adm .product-quick-status.is-error{color:#a22d29}
.admin-shell #adm .accordion-button{font-family:Arial,sans-serif!important;font-size:1rem;font-weight:700;letter-spacing:0;color:var(--admin-ink)}
.admin-shell #adm .accordion-button .adm-meta{font-family:Arial,sans-serif;font-weight:400}
@media(max-width:820px){
  .admin-shell #adm .adm-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .admin-shell #adm .adm-actions>*{width:100%;margin:0}
  .admin-shell #adm .adm-actions .btn,.admin-shell #adm .adm-actions button{width:100%!important}
}
@media(max-width:430px){.admin-shell #adm .adm-actions{grid-template-columns:1fr}}
.admin-shell #adm .adm-table th:last-child,.admin-shell #adm .adm-table td[data-label="Actions"]{width:135px;min-width:135px}
.admin-shell #adm .product-action-menu{width:100%;max-width:190px}
.admin-shell #adm .product-action-menu summary{display:flex;align-items:center;justify-content:space-between;gap:.7rem;min-height:38px;padding:.5rem .8rem;border:1px solid #a9a198;border-radius:999px;background:#fff;font:700 .85rem/1 Arial,sans-serif;list-style:none;cursor:pointer}
.admin-shell #adm .product-action-menu summary::-webkit-details-marker{display:none}
.admin-shell #adm .product-action-menu summary::after{content:'⌄';font-size:1rem;line-height:1;transition:transform .15s}
.admin-shell #adm .product-action-menu[open] summary::after{transform:rotate(180deg)}
.admin-shell #adm .product-action-panel{display:grid;gap:.15rem;margin-top:.4rem;padding:.35rem;border:1px solid var(--admin-line);border-radius:12px;background:#fff;box-shadow:0 10px 24px rgba(24,24,23,.08)}
.admin-shell #adm .product-action-panel :is(a,button){display:block;width:100%;min-height:36px;padding:.55rem .65rem;border:0;border-radius:8px;background:transparent;color:var(--admin-ink);font:700 .82rem/1.2 Arial,sans-serif;text-align:left;text-decoration:none;white-space:nowrap}
.admin-shell #adm .product-action-panel :is(a,button):hover{background:#ebe5dc}
.admin-shell #adm .product-action-panel .danger-action{color:#9b302c}
.admin-shell #adm .product-action-panel form{margin:0}
@media(min-width:821px){
  .admin-shell #adm .adm-table th:nth-child(n+4){text-align:center}
  .admin-shell #adm .adm-table td[data-label="Price"] .product-quick-field,
  .admin-shell #adm .adm-table td[data-label="Stock"] .product-quick-field{justify-content:center}
  .admin-shell #adm .adm-table td[data-label="Active"]{text-align:center}
  .admin-shell #adm .adm-table td[data-label="Actions"] .product-action-menu{margin-inline:auto}
}
@media(max-width:820px){.admin-shell #adm .product-action-menu{max-width:none}.admin-shell #adm .product-action-panel{grid-template-columns:1fr}.admin-shell #adm .adm-table td[data-label="Actions"]{width:auto;min-width:0}.admin-shell #adm .product-quick-field input{width:100%;min-width:0}.admin-shell #adm .product-quick-status{right:.4rem;bottom:-.3rem}}

/* User management: one calm entry point per row, detailed actions in a modal. */
.admin-shell #usr .table th:last-child,.admin-shell #usr .table td:last-child{width:120px;min-width:120px}
.admin-shell .user-manage-modal .modal-content{border:1px solid var(--admin-line);border-radius:22px;overflow:hidden;box-shadow:0 24px 70px rgba(24,24,23,.2)}
.admin-shell .user-manage-modal .modal-header{align-items:flex-start;padding:1.25rem 1.4rem;background:#ebe5dc;border-color:var(--admin-line)}
.admin-shell .user-manage-modal .modal-title{font-family:Arial,sans-serif;font-weight:800}
.admin-shell .user-manage-modal .modal-body{display:grid;gap:0;padding:0 1.4rem 1.4rem}
.admin-shell .user-summary{display:flex;flex-direction:column;gap:.2rem;padding:1.2rem 0;color:var(--admin-muted);overflow-wrap:anywhere}
.admin-shell .user-summary strong{color:var(--admin-ink)}
.admin-shell .user-manage-section{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:1.15rem 0;border-top:1px solid var(--admin-line)}
.admin-shell .user-manage-section h3{margin:0 0 .2rem!important;font:700 1rem/1.25 Arial,sans-serif!important;letter-spacing:0!important}
.admin-shell .user-manage-section p{margin:0;color:var(--admin-muted);font-size:.9rem}
.admin-shell .user-manage-section form{margin:0}
.admin-shell .user-manage-section.password-section{display:block}
.admin-shell .user-manage-section.password-section form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;margin-top:.8rem}
.admin-shell .user-manage-section.danger-section{margin-top:.2rem;color:#8f2f2a}
@media(max-width:560px){
  .admin-shell .user-manage-modal .modal-dialog{margin:.6rem}
  .admin-shell .user-manage-section{grid-template-columns:1fr}
  .admin-shell .user-manage-section form,.admin-shell .user-manage-section form .btn{width:100%}
  .admin-shell .user-manage-section.password-section form{grid-template-columns:1fr}
}

/* One page frame for every back-office screen. */
.admin-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2rem}
.admin-backbar{margin:0 0 1.15rem}
.admin-page-header .admin-backbar{margin:0}
.admin-backbar a{display:inline-flex;align-items:center;min-height:36px;padding:.45rem .75rem;border:1px solid var(--admin-line);border-radius:999px;background:#fff;color:var(--admin-ink);font-size:.82rem;font-weight:700;text-decoration:none}
.admin-backbar a:hover{background:#ebe5dc;border-color:#aaa198}
.admin-page-header>div:first-child{min-width:0}
.admin-page-header h1{margin:.1rem 0 .35rem;font-size:clamp(2.35rem,5vw,4.5rem);line-height:1}
.admin-page-header p:not(.eyebrow){margin:0;color:var(--admin-muted);max-width:720px}
.admin-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}
.admin-toolbar-search{width:clamp(190px,19vw,280px)}
.admin-toolbar-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-toolbar-search input{width:100%;min-height:40px;padding:.55rem .85rem;border:1px solid var(--admin-line);border-radius:999px;background:#fff;color:var(--admin-ink);font:500 .88rem/1.2 Arial,sans-serif}
.admin-toolbar-search input:focus{border-color:var(--admin-accent);outline:0;box-shadow:0 0 0 .2rem rgba(183,104,55,.13)}
.admin-mobile-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;margin:0 0 .65rem}
.admin-mobile-toolbar .admin-backbar{margin:0}
.admin-mobile-toolbar .admin-toolbar-search{width:100%}
@media(min-width:701px){
  .admin-page-header.shipping-page-header{display:grid;grid-template-columns:minmax(320px,1fr) auto}
  .admin-page-header.shipping-page-header .admin-page-actions{flex-wrap:nowrap}
  .admin-page-header.shipping-page-header .admin-toolbar-search{width:220px}
}
.admin-row-menu{position:relative;width:100%;max-width:150px}
.admin-row-menu[open]{z-index:30}
.admin-row-menu summary{display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:38px;padding:.5rem .75rem;border:1px solid #a9a198;border-radius:999px;background:#fff;color:var(--admin-ink);font:700 .84rem/1 Arial,sans-serif;list-style:none;cursor:pointer}
.admin-row-menu summary::-webkit-details-marker{display:none}
.admin-row-menu summary::after{content:'⌄';font-size:.95rem;line-height:1;transition:transform .15s}
.admin-row-menu[open] summary::after{transform:rotate(180deg)}
.admin-row-panel{position:absolute;z-index:30;top:calc(100% + .35rem);right:0;display:grid;width:160px;padding:.35rem;border:1px solid var(--admin-line);border-radius:12px;background:#fff;box-shadow:0 12px 28px rgba(24,24,23,.14)}
.admin-row-panel :is(a,button){display:block;width:100%;min-height:36px;padding:.55rem .65rem;border:0;border-radius:8px;background:transparent;color:var(--admin-ink);font:700 .82rem/1.2 Arial,sans-serif;text-align:left;text-decoration:none}
.admin-row-panel :is(a,button):hover{background:#ebe5dc}
.admin-row-panel .danger-action{color:#9b302c}
.admin-row-panel form{margin:0}
/* Row menus must be allowed to leave their card/table frame. Keep the open
   record above neighbouring rows so the panel remains usable everywhere. */
.admin-shell :is(.card,.table-responsive,.table-wrap):has(.admin-row-menu){overflow:visible!important}
.admin-shell :is(#ord,#oarch,#ship) .table-wrap:has(.admin-row-menu),
.admin-shell #oarch .table-responsive:has(.admin-row-menu){overflow:visible!important}
.admin-shell :is(.card,tr):has(.admin-row-menu[open]),
.admin-shell :is(.card,tr):has(.product-action-menu[open]),
.admin-shell :is(.card,tr):has(.dropdown-menu.show){position:relative;z-index:40}
.admin-shell .admin-row-menu[open] .admin-row-panel{z-index:50}
.admin-form-card{max-width:900px;padding:clamp(1rem,3vw,2rem);background:#fff;border:1px solid var(--admin-line);border-radius:18px;box-shadow:0 8px 24px rgba(24,24,23,.045)}
.order-cancel-form fieldset{margin:0;padding:0;border:0}
.order-cancel-form legend{margin:0 0 .35rem;font-size:1.35rem;font-weight:700}
.order-cancel-choice{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:.8rem;margin:.8rem 0 0;padding:1rem;border:1px solid var(--admin-line);border-radius:14px;background:#fff;cursor:pointer}
.order-cancel-choice:has(input:checked){border-color:var(--admin-accent);box-shadow:0 0 0 3px rgba(183,104,55,.12)}
.order-cancel-choice input{width:1.15rem;height:1.15rem;margin-top:.15rem;accent-color:var(--admin-accent)}
.order-cancel-choice span{display:grid;gap:.2rem}
.order-cancel-choice small{color:var(--admin-muted);line-height:1.4}
.admin-list-search{width:min(100%,620px);margin:-.35rem 0 1.4rem}
.admin-list-search label{display:block;margin:0 0 .4rem;color:var(--admin-muted);font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.admin-list-search input{width:100%;min-height:50px;padding:.75rem 1rem;border:1px solid var(--admin-line);border-radius:16px;background:#fff;color:var(--admin-ink);font:500 1rem/1.2 Arial,sans-serif;box-shadow:0 6px 18px rgba(24,24,23,.035);-webkit-appearance:none;appearance:none}
.admin-list-search input:focus{border-color:var(--admin-accent);outline:0;box-shadow:0 0 0 .2rem rgba(183,104,55,.13)}
.admin-search-empty{display:none;margin:0 0 1.2rem;padding:1rem;border:1px dashed var(--admin-line);border-radius:14px;color:var(--admin-muted);background:#fff}
.admin-search-empty.is-visible{display:block}
.admin-shell .accordion-item{border-color:var(--admin-line);border-radius:18px!important;overflow:hidden}
.admin-shell .accordion-button{min-height:64px;background:#fff;box-shadow:none!important}
.admin-shell .accordion-button:not(.collapsed){background:#ebe5dc;color:var(--admin-ink)}
/* One compact desktop language for every back-office list and form. */
@media(min-width:701px){
  .admin-shell .page-shell{padding-top:1.25rem}
  .admin-shell .admin-page-header{margin-bottom:1.25rem}
  .admin-shell .admin-page-header h1{font-size:clamp(2.55rem,3.6vw,3.8rem)}
  .admin-shell :is(.card,.admin-form-card,.table-responsive){border-color:var(--admin-line)}
  .admin-shell .card{border-radius:18px;box-shadow:0 7px 22px rgba(24,24,23,.04)}
  .admin-shell .card-body{padding:1.3rem}
  .admin-shell .table-responsive{border-radius:16px}
  .admin-shell .table{margin-bottom:0}
  .admin-shell .table>:not(caption)>*>*{padding:.58rem .72rem;vertical-align:middle}
  .admin-shell .table thead th{padding-top:.72rem;padding-bottom:.72rem;background:#ebe5dc;color:#44403b;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}
  .admin-shell .table tbody tr:last-child td{border-bottom:0}
  .admin-shell .table .form-control-sm{min-height:38px;padding:.42rem .65rem}
  .admin-shell .table :is(.btn,.admin-row-menu summary){min-height:38px}
  .admin-shell .admin-table-card>.card-body{padding:1.15rem}
  .admin-shell .admin-table-card,
  .admin-shell .admin-table-card>.card-body,
  .admin-shell .admin-table-card .table-responsive{overflow:visible}
  .admin-shell .admin-row-menu{max-width:142px}
}
@media(max-width:700px){.admin-page-header{align-items:flex-start;flex-direction:column;gap:1rem;margin-bottom:1.4rem}.admin-page-actions{justify-content:flex-start;width:100%}.admin-page-actions .btn{flex:1 1 auto}.admin-form-card{padding:1rem}}
@media(max-width:700px){
  .admin-shell .page-shell{padding-top:.65rem}
  .admin-shell .page-shell>.row{--bs-gutter-x:0;margin-right:0;margin-left:0}
  .admin-shell .admin-backbar{margin-bottom:.65rem}
  .admin-shell .admin-backbar a{min-height:32px;padding:.35rem .6rem;font-size:.75rem}
  .admin-shell .admin-page-header{gap:.45rem;margin-bottom:.85rem}
  .admin-shell .admin-page-header>div:first-child>.eyebrow{display:none}
  .admin-shell .admin-page-header h1{margin:0 0 .2rem;font-size:2.25rem}
  .admin-shell .admin-page-header p:not(.eyebrow){font-size:.9rem;line-height:1.4}
  .admin-shell .admin-list-search{margin:0 0 1rem}
  .admin-shell .admin-list-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .admin-shell .admin-list-search input{min-height:44px;padding:.65rem .85rem;border-radius:14px;font-size:.95rem}
}

/* Mobile back office: turn dense desktop tables into labelled record cards. */
@media(max-width:700px){
  .admin-shell .table-responsive.mobile-card-table-wrap{overflow:visible!important;border:0;background:transparent}
  .admin-shell .mobile-card-table{display:block;width:100%;margin:0;background:transparent;border:0}
  .admin-shell .mobile-card-table thead{display:none}
  .admin-shell .mobile-card-table tbody{display:grid;width:100%;gap:.65rem}
  .admin-shell .mobile-card-table tbody>tr{display:block;width:100%;overflow:visible;border:1px solid var(--admin-line);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(24,24,23,.04)}
  .admin-shell .mobile-card-table tbody>tr>td{display:grid;width:100%!important;min-width:100%!important;max-width:none!important;grid-template-columns:minmax(72px,27%) minmax(0,1fr);align-items:center;gap:.6rem;padding:.52rem .75rem;border:0;border-bottom:1px solid #e6e1d9;background:transparent!important;text-align:left!important;overflow-wrap:anywhere;line-height:1.3}
  .admin-shell .mobile-card-table tbody>tr>td:last-child{border-bottom:0}
  .admin-shell .mobile-card-table tbody>tr>td::before{content:attr(data-label);color:var(--admin-muted);font-size:.64rem;font-weight:800;letter-spacing:.09em;line-height:1.2;text-transform:uppercase}
  .admin-shell .mobile-card-table tbody>tr>td>*{grid-column:2;min-width:0}
  .admin-shell .mobile-card-table tbody>tr>td[colspan]{display:block;padding:1.2rem}
  .admin-shell .mobile-card-table tbody>tr>td[colspan]::before{content:none}
  .admin-shell .mobile-card-table td :is(.badge,.btn){max-width:100%}
  .admin-shell .mobile-card-table .form-control-sm{min-height:36px;padding:.4rem .65rem}
  .admin-shell .mobile-card-table td :is(.badge,[class*="text-bg-"]){justify-self:start!important;width:auto!important}
  .admin-shell .mobile-card-table td[data-label="Status"]>span,
  .admin-shell .mobile-card-table td[data-label="Active"]>span{justify-self:start}
  .admin-shell .mobile-card-table td[data-label="Actions"] .admin-row-menu{max-width:none}
  .admin-shell .mobile-card-table td[data-label="Actions"] .admin-row-panel{width:160px}
  .admin-shell .mobile-card-table td[data-label="Action"] .dropdown,
  .admin-shell .mobile-card-table td[data-label="Actions"] .dropdown,
  .admin-shell .mobile-card-table td[data-label="Action"] .dropdown>.btn,
  .admin-shell .mobile-card-table td[data-label="Actions"] .dropdown>.btn{width:100%}
  .admin-shell .mobile-card-table .dropdown-menu{width:100%;min-width:0}
  .admin-shell .content-admin-list.card,
  .admin-shell .content-admin-list>.card-body{border:0;background:transparent;box-shadow:none!important}
  .admin-shell .content-admin-list .mobile-card-table tbody>tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:first-child,
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:last-child{grid-column:1/-1}
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:nth-child(2),
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:nth-child(3),
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:nth-child(4){display:grid;grid-template-columns:1fr;align-content:start;gap:.22rem;padding:.65rem .75rem;border-right:1px solid #e6e1d9}
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:nth-child(4){border-right:0}
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:nth-child(2)>*,
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:nth-child(3)>*,
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:nth-child(4)>*{grid-column:1}
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:first-child small{display:-webkit-box!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .admin-shell .content-admin-list .mobile-card-table tbody>tr>td:last-child{grid-template-columns:minmax(88px,30%) minmax(0,1fr)}
  .admin-shell .admin-table-card{border:0!important;background:transparent!important;box-shadow:none!important}
  .admin-shell .admin-table-card>.card-body{padding:0}
  .admin-shell .admin-table-card .admin-table-card-heading{padding:0 0 .65rem}
  .admin-shell .admin-reference-table td[data-label="ID"]{display:none}
  /* Compact grids: the same information density as News and Rare items. */
  .admin-shell .admin-compact-pair-table,
  .admin-shell .admin-compact-triple-table{display:block;width:100%;background:transparent}
  .admin-shell .admin-compact-pair-table thead,
  .admin-shell .admin-compact-triple-table thead{display:none}
  .admin-shell .admin-compact-pair-table tbody,
  .admin-shell .admin-compact-triple-table tbody{display:grid;gap:.65rem}
  .admin-shell .admin-compact-pair-table tbody>tr,
  .admin-shell .admin-compact-triple-table tbody>tr{display:grid;overflow:visible;border:1px solid var(--admin-line);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(24,24,23,.04)}
  .admin-shell .admin-compact-pair-table tbody>tr{grid-template-columns:minmax(0,1fr) minmax(128px,42%)}
  .admin-shell .admin-compact-triple-table tbody>tr{grid-template-columns:minmax(0,1.2fr) minmax(72px,.65fr) minmax(128px,1fr)}
  .admin-shell :is(.admin-compact-pair-table,.admin-compact-triple-table) tbody>tr>td{display:grid;min-width:0;align-content:center;gap:.22rem;padding:.65rem .75rem;border:0;border-right:1px solid #e6e1d9;background:transparent!important}
  .admin-shell :is(.admin-compact-pair-table,.admin-compact-triple-table) tbody>tr>td{grid-template-columns:1fr}
  .admin-shell :is(.admin-compact-pair-table,.admin-compact-triple-table) tbody>tr>td>*{grid-column:1;min-width:0}
  .admin-shell :is(.admin-compact-pair-table,.admin-compact-triple-table) tbody>tr>td:last-child{border-right:0}
  .admin-shell :is(.admin-compact-pair-table,.admin-compact-triple-table) tbody>tr>td::before{content:attr(data-label);color:var(--admin-muted);font-size:.62rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
  .admin-shell .admin-compact-pair-table td:first-child::before{content:'Name'}
  .admin-shell .admin-compact-pair-table td:last-child::before{content:'Actions'}
  .admin-shell :is(.admin-compact-pair-table,.admin-compact-triple-table) .admin-row-menu{width:100%;max-width:none}
  .admin-shell .admin-country-table tbody>tr{display:grid;grid-template-columns:88px minmax(0,1fr)}
  .admin-shell .admin-country-table tbody>tr>td{display:grid;grid-template-columns:1fr;align-content:start;gap:.3rem;padding:.65rem .75rem}
  .admin-shell .admin-country-table tbody>tr>td>*{grid-column:1}
  .admin-shell .admin-country-table tbody>tr>td:nth-child(2){border-left:1px solid #e6e1d9}
  .admin-shell .admin-country-table tbody>tr>td:last-child{grid-column:1/-1;grid-template-columns:88px minmax(0,1fr)}
  .admin-shell .admin-country-table tbody>tr>td:last-child>*{grid-column:2}
  .admin-shell .admin-country-table .form-control-sm{min-height:38px}
  .admin-shell .admin-table-card-heading small{display:none}
  .admin-shell #usr .cards{gap:.65rem}
  .admin-shell #usr .card{padding:.75rem;border-color:var(--admin-line);border-radius:16px;box-shadow:0 5px 16px rgba(24,24,23,.04)}
  .admin-shell #usr .grid-top{gap:.3rem}
  .admin-shell #usr .grid-top>div{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:baseline;gap:.4rem}
  .admin-shell #usr .grid-top .label{color:var(--admin-muted);font-size:.64rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
  .admin-shell #usr .meta-line{margin-top:.4rem;padding-top:.5rem;border-top:1px solid #e6e1d9}
  .admin-shell #usr .actions{align-items:flex-start;margin-top:.45rem}
  .admin-shell #usr .actions .btn{min-height:36px;padding:.45rem .75rem}
  .admin-shell #ship .cards{gap:.65rem}
  .admin-shell #ship .card{padding:.7rem .75rem;border-color:var(--admin-line);border-radius:16px;box-shadow:0 5px 16px rgba(24,24,23,.04)}
  .admin-shell #ship .header{grid-template-columns:minmax(0,42%) minmax(0,58%);align-items:center;gap:.5rem;margin:0}
  .admin-shell #ship .right{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:.5rem}
  .admin-shell #ship .shipping-action-menu{width:108px;max-width:108px}
  .admin-shell #ship .info{margin-top:.55rem;padding-top:.55rem;border-top:1px solid #e6e1d9;gap:.3rem .75rem}
}
.site-footer{display:none!important}
.admin-shell .front-footer{display:none}
.user-backbar{margin:0 0 1rem}.user-backbar a{display:inline-flex;align-items:center;min-height:36px;padding:.45rem .75rem;border:1px solid var(--mr-line);border-radius:999px;background:#fff;color:var(--mr-ink);font-size:.82rem;font-weight:700;text-decoration:none}.user-backbar a:hover{border-color:var(--mr-accent);color:#945027}
.user-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:2rem}.user-page-header h1{margin:.1rem 0 .35rem;font:800 clamp(2.5rem,5vw,4.5rem)/1 Arial,sans-serif;letter-spacing:-.04em}.user-page-header p:not(.eyebrow){max-width:680px;margin:0;color:#6c6963}.user-page-actions{display:flex;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}.shop-shell .user-page-header+.row>.col-xl-6{width:min(100%,900px)}.shop-shell .user-page-header~.table-responsive,.shop-shell .user-page-header~.card,.shop-shell .user-page-header+.list-group{border:1px solid var(--mr-line);border-radius:18px;overflow:hidden;background:#fff}.shop-shell .user-page-header~.table-responsive{box-shadow:0 8px 24px rgba(24,24,23,.045)}
.catalog-empty-state{padding:clamp(2rem,6vw,4rem);border:1px solid var(--mr-line);border-radius:18px;background:#fff;text-align:center}.catalog-empty-state h2{margin:.15rem 0 .6rem;font:800 clamp(2rem,5vw,3.5rem)/1.05 Arial,sans-serif}.catalog-empty-state p:last-child{margin:0;color:#6c6963}
.user-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.user-tool-grid article{display:flex;align-items:flex-start;flex-direction:column;min-height:270px;padding:clamp(1.4rem,3vw,2rem);border:1px solid var(--mr-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(24,24,23,.045)}.user-tool-grid h2{margin:.2rem 0 .5rem;font:800 1.65rem/1.1 Arial,sans-serif}.user-tool-grid article>p:not(.eyebrow){margin:0 0 1.25rem;color:#6c6963}.user-tool-grid article>.btn,.user-tool-grid article>div:last-child{margin-top:auto}@media(max-width:900px){.user-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.user-tool-grid{grid-template-columns:1fr}.user-tool-grid article{min-height:0}.user-tool-grid article>.btn,.user-tool-grid article>div:last-child{margin-top:.25rem}}
.wishlist-item-menu{position:relative;min-width:105px}.wishlist-item-menu summary{display:flex;align-items:center;justify-content:space-between;gap:.45rem;min-height:36px;padding:.45rem .7rem;border:1px solid #a9a198;border-radius:999px;background:#fff;color:var(--mr-ink);font-size:.8rem;font-weight:700;list-style:none;cursor:pointer}.wishlist-item-menu summary::-webkit-details-marker{display:none}.wishlist-item-menu summary::after{content:'\2304';font-size:.8rem}.wishlist-item-panel{position:absolute;z-index:8;top:calc(100% + .35rem);right:0;display:grid;min-width:140px;padding:.35rem;border:1px solid var(--mr-line);border-radius:12px;background:#fff;box-shadow:0 10px 24px rgba(24,24,23,.12)}.wishlist-item-panel :is(a,button){display:block;width:100%;padding:.55rem .65rem;border:0;border-radius:8px;background:transparent;color:var(--mr-ink);font:700 .82rem/1.2 Arial,sans-serif;text-align:left;text-decoration:none}.wishlist-item-panel :is(a,button):hover{background:#ebe5dc}.wishlist-item-panel button{color:#9b302c}.wishlist-item-panel form{margin:0}@media(max-width:760px){.wishlist-item-panel{position:static;width:100%;margin-top:.35rem;box-shadow:none}}
@media(max-width:700px){.user-page-header{align-items:flex-start;flex-direction:column;gap:1rem;margin-bottom:1.4rem}.user-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;width:100%}.user-page-actions .btn{width:100%;padding-inline:.7rem;font-size:.8rem}.user-page-actions .btn:last-child:nth-child(odd){grid-column:1/-1}.shop-shell .table-responsive{font-size:.84rem}}
.admin-shell #wlst .wl-container{width:100%;max-width:none!important;margin:0!important;padding:0!important}
.admin-shell #wlst :is(.wl-btn,.btn){min-height:40px;padding:.55rem .9rem;border-radius:999px;font-weight:700}
.admin-shell #wlst .wl-tablewrap{border-color:var(--admin-line);border-radius:18px;box-shadow:0 8px 24px rgba(24,24,23,.045)}
.admin-shell #wlst .wl-tablewrap th:last-child,.admin-shell #wlst .wl-tablewrap td:last-child{width:170px;min-width:170px}
.admin-shell .wishlist-manage-modal .modal-content{border:1px solid var(--admin-line);border-radius:22px;overflow:hidden;box-shadow:0 24px 70px rgba(24,24,23,.2)}
.admin-shell .wishlist-manage-modal .modal-header{align-items:flex-start;padding:1.25rem 1.4rem;background:#ebe5dc;border-color:var(--admin-line)}
.admin-shell .wishlist-manage-modal .modal-body{padding:0 1.4rem 1.4rem}
.admin-shell .wishlist-summary{display:flex;flex-direction:column;gap:.2rem;padding:1.2rem 0;color:var(--admin-muted);overflow-wrap:anywhere}
.admin-shell .wishlist-summary strong{color:var(--admin-ink)}
.admin-shell .wishlist-action-section{padding:1.15rem 0;border-top:1px solid var(--admin-line)}
.admin-shell .wishlist-action-section h3{margin:0 0 .2rem!important;font:700 1rem/1.25 Arial,sans-serif!important;letter-spacing:0!important}
.admin-shell .wishlist-action-section p{margin:0 0 .8rem;color:var(--admin-muted);font-size:.9rem}
.admin-shell .wishlist-action-section form{display:grid;gap:.6rem}
.admin-shell .wishlist-action-section .btn{justify-self:start}
@media(max-width:560px){.admin-shell .wishlist-manage-modal .modal-dialog{margin:.6rem}.admin-shell .wishlist-action-section .btn{justify-self:stretch;width:100%}}
.category-page-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.category-page-header h3{margin:0}.category-switcher{z-index:12}.product-category-panel a{padding:.42rem .7rem;line-height:1.25}@media(max-width:600px){.product-category-panel{max-height:none;overflow:visible}.category-page-header h3{font-size:2rem}.category-page-header .category-switcher{position:relative;width:auto}.category-page-header .category-switcher summary{width:auto}}

/* Render stored Quill content as document content, without editor chrome. */
.product-description.ql-editor{height:auto;min-height:0;padding:0;overflow:visible;white-space:normal}

/* Midnight Pearl theme shared by shop, account and back office. */
:root{--mr-ink:#171b1e;--mr-paper:#f2f0ea;--mr-accent:#a98243;--mr-accent-ink:#755727;--mr-line:#d5d2ca}
.navbar.bg-dark{background:rgba(20,33,43,.98)!important}
.btn-primary,.btn-success{background:var(--mr-accent)!important;border-color:var(--mr-accent)!important;color:#14212b!important}
.shop-shell .btn-primary:hover,.shop-shell .btn-primary:focus,.shop-shell .btn-success:hover,.shop-shell .btn-success:focus{background:#937038!important;border-color:#937038!important;color:#0f1a22!important;box-shadow:0 0 0 .2rem rgba(169,130,67,.2)!important}
.shop-shell .btn-outline-primary{border-color:var(--mr-accent)!important;color:var(--mr-accent-ink)!important}
.shop-shell .btn-outline-primary:hover,.shop-shell .btn-outline-primary:focus{background:var(--mr-accent)!important;border-color:var(--mr-accent)!important;color:#14212b!important;box-shadow:0 0 0 .2rem rgba(169,130,67,.2)!important}
.shop-shell .btn-link,.product-back-link:hover,.product-category-menu summary:hover,.product-category-panel a:hover,.user-backbar a:hover{color:var(--mr-accent-ink)}
.product-purchase-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;margin-top:.4rem}.product-purchase-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.62rem 1rem;border-radius:999px;font-weight:700;line-height:1.1;white-space:nowrap}.product-checkout-btn{background:#14212b;border:1px solid #14212b;color:#fff}.product-checkout-btn:hover,.product-checkout-btn:focus{background:#223746;border-color:#223746;color:#fff;box-shadow:0 0 0 .2rem rgba(20,33,43,.16)}
@media(max-width:560px){.product-purchase-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.42rem;width:100%}.product-purchase-actions .btn{width:100%;min-height:42px;padding:.58rem .35rem;font-size:.78rem}}
.shop-route{background:#dce1e1}
.admin-shell{--admin-bg:#f2f0ea;--admin-card:#fff;--admin-ink:#171b1e;--admin-muted:#666b6d;--admin-accent:#a98243;--admin-line:#d5d2ca}
.admin-shell :is(.form-control,.form-select):focus{box-shadow:0 0 0 .2rem rgba(169,130,67,.18)}
.admin-shell :is(.btn-primary,.btn-success,.mbtn.primary){color:#14212b!important}
.admin-shell :is(.btn-dark,.btn-secondary){background:#14212b!important;border-color:#14212b!important}
/* Editorial content management. */
.admin-content-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}
.admin-content-images article{position:relative;display:grid;gap:.6rem}
.admin-content-images img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:.8rem}
.admin-content-images article:first-child::before{content:"Cover";position:absolute;z-index:1;top:.5rem;left:.5rem;padding:.25rem .55rem;border-radius:999px;background:#14212b;color:#fff;font:700 .72rem/1.2 Arial,sans-serif}
.admin-image-actions{display:flex;align-items:center;gap:.4rem}
.admin-image-actions form{margin:0}
.image-drag-handle{cursor:grab;touch-action:none;user-select:none}
.image-drag-handle:active,.admin-content-images article.is-dragging .image-drag-handle{cursor:grabbing}
.admin-content-images article{transition:transform .16s ease,opacity .16s ease,box-shadow .16s ease}
.admin-content-images article.is-dragging{visibility:hidden}
.image-drag-ghost{position:fixed;z-index:2000;display:grid;gap:.6rem;margin:0;padding:0;border-radius:.8rem;background:#fff;box-shadow:0 20px 50px rgba(20,33,43,.28);pointer-events:none;opacity:1;overflow:hidden}
.image-drag-ghost img{width:100%;aspect-ratio:4/3;object-fit:cover}
.image-drag-ghost .admin-image-actions{padding:0 .5rem .5rem}
body.is-ordering-images{cursor:grabbing}
.content-action-dropdown{display:inline-block;text-align:left}
.content-action-dropdown .dropdown-menu{z-index:1080;min-width:150px;padding:.4rem;border-color:var(--admin-line);border-radius:12px;box-shadow:0 12px 30px rgba(20,33,43,.14)}
.content-action-dropdown .dropdown-item{border-radius:8px;font-weight:700}
.content-action-dropdown form{margin:0}
/* Bootstrap's responsive table sets overflow-x:auto. That also makes the
   vertical axis scrollable and clips dropdowns, even when their z-index is
   correct. Editorial lists become cards on mobile and fit on desktop, so
   none of these wrappers needs to be a scroll container. */
.admin-shell .content-admin-list.card,
.admin-shell .content-admin-list>.card-body,
.admin-shell .content-admin-list .table-responsive{
  overflow:visible!important;
}
@media(max-width:575.98px){
  .admin-content-images{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
  .admin-image-actions{align-items:stretch;flex-direction:column}
  .admin-image-actions .btn{width:100%}
}
@media(max-width:520px){
  .admin-shell .admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
  .admin-shell .admin-stat-grid>div{min-height:0;padding:.9rem 1rem;border-radius:14px}
  .admin-shell .admin-stat-grid strong{font-size:2rem;line-height:1}
  .admin-shell .admin-stat-grid span{margin-top:.3rem;font-size:.82rem;line-height:1.2}
}
/* Customer review management */
.admin-review-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.25rem}.admin-review-summary article{display:grid;gap:.25rem;padding:1.5rem;border:1px solid var(--admin-line);border-radius:18px;background:#fff}.admin-review-summary span,.admin-review-summary small{color:var(--admin-muted)}.admin-review-summary strong{font:800 2.5rem/1 Arial,sans-serif}.admin-review-list{display:grid;gap:1rem}.admin-review-card{padding:clamp(1.25rem,3vw,2rem);border:1px solid var(--admin-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(24,24,23,.045)}.admin-review-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;padding-bottom:1.2rem;border-bottom:1px solid var(--admin-line)}.admin-review-card h2{margin:.15rem 0 .25rem!important;font-size:1.4rem!important;letter-spacing:-.02em!important}.admin-review-card time{color:var(--admin-muted);white-space:nowrap}.admin-review-scores{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;padding:1.2rem 0}.admin-review-scores span{display:flex;flex-direction:column;padding:1rem;border-radius:14px;background:#ebe5dc;color:var(--admin-muted)}.admin-review-scores strong{color:var(--admin-ink);font-size:1.25rem}.admin-review-comment{padding-top:1.2rem;border-top:1px solid var(--admin-line)}.admin-review-comment p{margin:.35rem 0 0;white-space:pre-wrap}
@media(max-width:700px){.admin-review-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.admin-review-summary article{align-content:start;gap:.2rem;min-height:112px;padding:.75rem}.admin-review-summary span{font-size:.7rem;line-height:1.25}.admin-review-summary strong{font-size:1.7rem}.admin-review-summary small{font-size:.65rem}.admin-review-card>header{display:grid;gap:.75rem}.admin-review-scores{grid-template-columns:1fr}.admin-review-card time{white-space:normal}}
.admin-review-country{display:block;margin-top:.2rem;color:var(--admin-muted)}
.admin-review-table-wrap{overflow:hidden;border:1px solid var(--admin-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(24,24,23,.045)}.admin-review-table{width:100%;border-collapse:collapse}.admin-review-table th{padding:1rem;background:#ebe5dc;color:#443f39;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;text-align:left}.admin-review-table td{padding:1rem;border-top:1px solid var(--admin-line);vertical-align:top}.admin-review-table td:first-child{display:grid;min-width:220px;gap:.15rem}.admin-review-table td:first-child a{overflow-wrap:anywhere}.admin-review-table td:first-child span,.admin-review-table time{color:var(--admin-muted);font-size:.85rem}.admin-review-score{white-space:nowrap}.admin-review-tip{min-width:260px;max-width:460px;white-space:pre-wrap}
@media(max-width:800px){.admin-review-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}.admin-review-table,.admin-review-table tbody{display:grid;gap:1rem}.admin-review-table thead{display:none}.admin-review-table tr{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid var(--admin-line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(24,24,23,.045)}.admin-review-table td,.admin-review-table td:first-child{display:grid;grid-template-columns:minmax(105px,38%) 1fr;min-width:0;max-width:none;gap:.75rem;padding:.85rem 1rem;border-top:1px solid var(--admin-line)}.admin-review-table td:first-child{grid-column:1/-1;border-top:0}.admin-review-table td::before{content:attr(data-label);color:var(--admin-muted);font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.admin-review-table td:first-child::before{grid-row:1/5}.admin-review-table .admin-review-tip{grid-column:1/-1;white-space:pre-wrap}.admin-review-table td:last-child{grid-column:1/-1}}@media(max-width:480px){.admin-review-table tr{grid-template-columns:1fr}.admin-review-table td,.admin-review-table .admin-review-tip,.admin-review-table td:last-child{grid-column:1}}
