h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root { --ink:#16302c; --muted:#546b66; --paper:#fbfaf6; --surface:#fff; --line:#dce5df; --sage:#dce9dc; --teal:#087f70; --coral:#ff826a; --danger:#ad3838; }
* { box-sizing:border-box; }
html { font-family:Aptos,"Segoe UI",sans-serif; color:var(--ink); background:var(--paper); }
body { margin:0; background:var(--paper); }
a { color:inherit; text-decoration:none; }
button,input,select,textarea { font:inherit; }
button:disabled { cursor:not-allowed; opacity:.45; }
.app-version-badge { position:fixed; z-index:900; right:10px; bottom:10px; padding:4px 7px; border:1px solid rgba(22,48,44,.13); border-radius:999px; background:rgba(255,255,255,.78); color:rgba(22,48,44,.56); box-shadow:0 8px 20px rgba(20,45,40,.08); font-size:10px; font-weight:800; letter-spacing:.02em; backdrop-filter:blur(8px); pointer-events:none; }
.shell { width:min(1220px,calc(100% - 40px)); margin:auto; }
.notice { display:flex; align-items:center; justify-content:center; gap:10px; padding:7px 15px; background:var(--ink); color:white; text-align:center; font-size:12px; }
.boxnow-logo { display:inline-flex; align-items:center; min-height:22px; padding:2px 7px; border-radius:5px; background:#ffd400; color:#202020; font-weight:950; letter-spacing:-.04em; box-shadow:inset 0 -2px 0 rgba(0,0,0,.14); }
.shop-header { min-height:78px; display:grid; grid-template-columns:auto minmax(250px,1fr) auto; gap:28px; align-items:center; }
.brand { display:inline-flex; flex-direction:column; line-height:1; }
.brand strong { font-size:28px; letter-spacing:-.06em; }
.brand small { margin-top:6px; color:var(--muted); font-size:9px; letter-spacing:.12em; text-transform:uppercase; }
.search { position:relative; max-width:580px; width:100%; margin:auto; }
.search > .search-icon { position:absolute; left:15px; top:10px; }
.search input { width:100%; height:46px; padding:0 18px 0 42px; border:1px solid var(--line); border-radius:99px; background:white; }
.search-suggest { z-index:30; }
.search-results { position:absolute; z-index:40; top:calc(100% + 8px); left:0; right:0; display:grid; gap:6px; max-height:430px; overflow:auto; padding:8px; border:1px solid var(--line); border-radius:18px; background:white; box-shadow:0 18px 48px rgba(20,45,40,.16); }
.search-result { display:grid; grid-template-columns:54px 1fr; gap:10px; align-items:center; padding:8px; border-radius:13px; }
.search-result:hover,.search-result:focus { background:#f1f8f3; outline:none; }
.search-result .product-thumb,.search-result .bottle-art { width:54px; aspect-ratio:1; border-radius:11px; }
.search-result .bottle-art span { font-size:12px; }
.search-result strong,.search-result small { display:block; }
.search-result small,.search-empty { color:var(--muted); font-size:12px; }
.search-empty { padding:12px; }
.shop-header nav { display:flex; align-items:center; gap:18px; font-size:13px; font-weight:700; }
.compact-shop-header { padding-top:10px; }
.cart-nav-link { display:inline-flex; align-items:center; gap:7px; line-height:1; }
.cart-nav-label { display:inline-block; line-height:1; }
.cart-nav-count { min-width:22px; height:22px; display:inline-grid; place-items:center; padding:0 6px; border-radius:999px; background:var(--teal); color:white; font-size:11px; line-height:1; }
.market { padding:28px 0 85px; }
.gift-banner { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; padding:12px 18px; border-radius:15px; background:var(--ink); color:white; }
.gift-banner b { width:48px; height:48px; display:grid; place-items:center; border-radius:50%; background:var(--coral); transform:rotate(-5deg); }
.gift-banner strong,.gift-banner small { display:block; }
.gift-banner small { color:#c7d7d2; }
.market-title { padding:42px 0 24px; }
.market-title > span,.admin-header span,.editor-modal header span { color:var(--teal); font-size:10px; font-weight:800; letter-spacing:.13em; }
.market-title h1 { margin:8px 0 12px; font:600 clamp(42px,6vw,70px)/.98 Georgia,serif; letter-spacing:-.045em; }
.market-title p { color:var(--muted); }
.market-feature { margin:0 0 30px; padding:22px; border:1px solid var(--line); border-radius:22px; background:white; }
.request-feature { display:flex; align-items:center; justify-content:space-between; gap:20px; background:#f3faf4; }
.request-feature h2,.section-heading h2 { margin:6px 0 8px; font:600 30px/1.05 Georgia,serif; letter-spacing:-.035em; }
.request-feature p,.section-heading p { margin:0; color:var(--muted); }
.feature-products { grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:16px; }
.audience-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:30px; }
.audience-tabs button,.audience-tabs a { min-width:86px; padding:9px 14px; border:1px solid var(--line); border-radius:99px; background:white; font-weight:700; cursor:pointer; text-align:center; }
.audience-tabs button.active,.audience-tabs a.active { border-color:var(--teal); background:var(--teal); color:white; }
.catalogue { display:grid; grid-template-columns:190px 1fr; gap:32px; }
.catalogue aside { display:flex; flex-direction:column; gap:8px; }
.catalogue aside h2 { font-size:13px; }
.catalogue aside button,.catalogue aside a { border:0; padding:2px 0; background:none; color:var(--muted); text-align:left; cursor:pointer; }
.catalogue aside button.selected,.catalogue aside a.selected { color:var(--teal); font-weight:800; }
.products { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px 16px; }
.product-card { min-width:0; height:100%; display:flex; flex-direction:column; }
.product-card > a { display:flex; flex-direction:column; min-width:0; }
.bottle-art { position:relative; aspect-ratio:.82; display:grid; place-items:center; overflow:hidden; border-radius:18px; background:var(--art); }
.bottle-art::before { content:""; width:38%; height:54%; border-radius:12px 12px 18px 18px; background:var(--bottle); box-shadow:0 20px 35px rgba(20,45,40,.2); }
.bottle-art span { position:absolute; color:white; font:600 20px Georgia,serif; }
.product-thumb { width:100%; aspect-ratio:.82; display:block; object-fit:cover; border-radius:18px; background:var(--sage); }
.product-card > a > small:not(.rating-note) { display:block; margin-top:12px; color:var(--muted); font-size:10px; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.product-card h2 { min-height:48px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:3px 0 5px; font:600 20px/1.15 Georgia,serif; }
.sizes { display:grid; gap:4px; color:var(--muted); font-size:11px; }
.sizes span { display:block; }
.sizes em { display:block; font-style:normal; }
.best-value { color:var(--teal); font-weight:800; }
.card-buy-panel { display:grid; gap:10px; margin-top:auto; padding-top:10px; }
.card-buy-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px; align-items:center; }
.card-buy-controls select { min-width:0; min-height:36px; padding:6px 8px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); font-size:12px; font-weight:700; }
.card-buy-controls button { min-height:36px; padding:7px 12px; border:1px solid var(--teal); border-radius:999px; cursor:pointer; font-size:12px; font-weight:900; }
.card-buy-message { color:var(--teal); font-weight:800; }
.product-card > strong { display:block; margin-top:6px; }
.shop-footer { padding:50px 0; border-top:1px solid var(--line); background:#f1f2ea; }
.footer-content { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:40px; }
.footer-content > div { display:flex; flex-direction:column; gap:8px; }
.footer-content p,.footer-content a { color:var(--muted); font-size:12px; }

.admin-shell { min-height:100vh; padding:45px; background:#f2f5f2; }
.admin-header { max-width:1200px; display:flex; justify-content:space-between; align-items:end; gap:30px; margin:0 auto 24px; }
.admin-header h1 { margin:5px 0; font-size:38px; letter-spacing:-.04em; }
.admin-header p { margin:0; color:var(--muted); }
.primary { border-color:var(--teal)!important; background:var(--teal)!important; color:white!important; }
.admin-header button,.editor-modal button,.delete-modal button,.row-actions button { min-height:40px; padding:8px 15px; border:1px solid var(--line); border-radius:99px; background:white; cursor:pointer; font-weight:700; }
.admin-panel { max-width:1200px; margin:auto; padding:24px; border:1px solid var(--line); border-radius:18px; background:white; }
.admin-table { width:100%; border-collapse:collapse; }
.admin-table th { padding:10px; color:var(--muted); font-size:10px; text-align:left; text-transform:uppercase; }
.admin-table td { padding:15px 10px; border-top:1px solid var(--line); vertical-align:middle; }
.row-actions { display:flex; gap:6px; }
.admin-nav { flex-wrap:wrap; justify-content:flex-end; }
.row-actions .danger { border-color:#e6b8b8; color:var(--danger); }
.modal-backdrop { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:24px; background:rgba(9,30,25,.58); backdrop-filter:blur(4px); overflow:auto; }
.editor-modal,.delete-modal { width:min(850px,100%); max-height:calc(100vh - 48px); overflow:auto; padding:28px; border-radius:22px; background:white; box-shadow:0 25px 60px rgba(0,0,0,.22); }
.editor-modal header { display:flex; justify-content:space-between; gap:20px; }
.editor-modal h2,.delete-modal h2 { margin:5px 0 20px; font-size:28px; }
.editor-modal .close { width:40px; min-height:40px; padding:0; font-size:23px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-grid label { display:flex; flex-direction:column; gap:6px; font-size:12px; font-weight:700; }
.form-grid input { height:43px; padding:8px 11px; border:1px solid var(--line); border-radius:9px; }
.size-editor { display:grid; gap:8px; margin:23px 0; }
.size-editor-head,.size-editor > label { display:grid; grid-template-columns:25px 60px 120px 1fr; align-items:center; gap:10px; padding:10px; }
.size-editor-head { padding-bottom:4px; color:var(--muted); font-size:10px; font-weight:800; text-transform:uppercase; }
.size-editor > label { border-top:1px solid var(--line); }
.size-editor input[type=number] { height:38px; padding:7px; border:1px solid var(--line); border-radius:8px; }
.size-editor span { color:var(--teal); font-weight:700; }
.gift-check { display:flex; gap:9px; }
.editor-modal footer,.delete-modal footer { display:flex; gap:9px; margin-top:22px; }
.delete-modal { max-width:460px; text-align:center; }
.delete-modal > b { width:52px; height:52px; display:grid; place-items:center; margin:auto; border-radius:50%; background:#fff0ed; color:var(--danger); font-size:25px; }
.delete-modal p { color:var(--muted); }
.delete-modal footer { justify-content:center; }
.danger-bg { border-color:var(--danger)!important; background:var(--danger)!important; }

.admin-message { max-width:1200px; margin:0 auto 18px; padding:12px 16px; border-radius:12px; font-weight:700; }
.admin-message.success { background:#dff2e5; color:#175b37; }
.admin-message.error { background:#f9dfdf; color:#842d2d; }
.admin-toolbar { display:flex; align-items:end; gap:24px; margin-bottom:18px; }
.admin-search { flex:1; display:grid; gap:6px; color:var(--muted); font-size:11px; font-weight:800; text-transform:uppercase; }
.admin-search input { height:44px; padding:8px 13px; border:1px solid var(--line); border-radius:10px; text-transform:none; }
.toggle { display:flex; gap:8px; align-items:center; min-height:44px; font-size:13px; font-weight:700; }
.admin-count { display:grid; justify-items:end; }
.admin-count strong { font-size:25px; }
.admin-count span { color:var(--muted); font-size:10px; text-transform:uppercase; }
.bottle-costs { display:grid; grid-template-columns:minmax(220px,.7fr) 1.5fr; align-items:end; gap:30px; margin-bottom:18px; }
.bottle-costs h2 { margin:4px 0; }
.bottle-costs p { margin:0; color:var(--muted); font-size:12px; }
.eyebrow { color:var(--teal); font-size:10px; font-weight:800; letter-spacing:.13em; }
.bottle-cost-grid { display:grid; grid-template-columns:repeat(5,minmax(82px,1fr)) auto; gap:10px; align-items:end; }
.bottle-cost-grid label { display:grid; gap:5px; color:var(--muted); font-size:11px; }
.bottle-cost-grid label > span { display:flex; align-items:center; gap:4px; }
.bottle-cost-grid input { width:100%; height:40px; padding:7px; border:1px solid var(--line); border-radius:8px; }
.bottle-cost-grid button { min-height:40px; padding:8px 14px; border:1px solid var(--teal); border-radius:99px; cursor:pointer; font-weight:700; }
.catalogue-admin-panel { padding:12px 24px; }
.phase-one-table td { min-width:105px; }
.phase-one-table td:first-child { min-width:175px; }
.phase-one-table td:nth-child(4) { min-width:255px; }
.phase-one-table td:last-child { min-width:260px; }
.admin-table td small { display:block; margin-top:4px; color:var(--muted); font-size:10px; }
.status-pill { display:inline-flex; padding:5px 9px; border-radius:99px; font-size:10px; font-weight:800; text-transform:uppercase; }
.status-draft { background:#edf0ee; color:#4a5b57; }
.status-published { background:#dff2e5; color:#175b37; }
.status-hidden { background:#fff0d4; color:#76510d; }
.status-archived { background:#f2e5e5; color:#793939; }
.archived-row { opacity:.66; }
.stock-low { color:var(--danger); }
.pricing-stack { display:grid; gap:7px; }
.pricing-stack > span { display:block; }
.pricing-stack small { margin-top:1px!important; }
.action-wrap { flex-wrap:wrap; }
.empty-state { padding:55px 20px; text-align:center; }
.empty-state p { color:var(--muted); }
.form-grid select,.form-grid textarea,.stock-modal input,.stock-modal textarea { width:100%; padding:8px 11px; border:1px solid var(--line); border-radius:9px; background:white; }
.form-grid select { height:43px; }
.form-grid textarea { min-height:78px; resize:vertical; }
.wide-field { grid-column:1/-1; }
.phase-one-size-editor .size-editor-head,.phase-one-size-editor > label { grid-template-columns:25px 60px 145px 1fr 1.5fr; }
.phase-one-size-editor > label > span { font-size:11px; }
.money-input { display:flex; align-items:center; gap:4px; }
.money-input input { min-width:0; width:110px; }
.stock-modal { text-align:left; }
.stock-modal h2 { text-align:center; }
.stock-modal > .eyebrow { display:block; text-align:center; }
.stock-modal > p { text-align:center; }
.stock-modal > label { display:grid; gap:6px; margin-top:13px; font-size:12px; font-weight:700; }
.stock-modal textarea { min-height:80px; resize:vertical; }

.breadcrumb { display:flex; gap:9px; margin:28px 0; color:var(--muted); font-size:13px; }
.floating-back-link { position:fixed; z-index:20; left:18px; top:104px; width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:white; color:var(--ink); box-shadow:0 12px 28px rgba(20,45,40,.12); font-size:22px; font-weight:900; }
.product-detail { padding-bottom:80px; }
.product-hero { display:grid; grid-template-columns:minmax(260px,420px) 1fr; gap:55px; align-items:start; }
.product-hero .bottle-art,.product-hero .product-thumb { border-radius:28px; }
.product-hero h1 { margin:8px 0 14px; font:600 clamp(42px,6vw,76px)/.95 Georgia,serif; letter-spacing:-.045em; }
.product-hero p { max-width:620px; color:var(--muted); line-height:1.65; }
.stock-note { display:inline-flex; margin:8px 0 22px; padding:8px 12px; border-radius:99px; background:#edf4ef; color:var(--teal); font-weight:800; font-size:12px; }
.detail-sizes { display:grid; grid-template-columns:repeat(3,minmax(130px,1fr)); gap:12px; margin:8px 0 20px; }
.detail-sizes article { padding:16px; border:1px solid var(--line); border-radius:16px; background:white; }
.detail-sizes article.best { border-color:var(--teal); box-shadow:0 12px 28px rgba(8,127,112,.12); }
.detail-sizes span { display:block; margin-bottom:8px; color:var(--teal); font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.detail-sizes strong,.detail-sizes b,.detail-sizes small { display:block; }
.detail-sizes strong { font-size:22px; }
.detail-sizes b { margin-top:5px; font-size:18px; }
.detail-sizes small,.phase-note { color:var(--muted); }
.mini-action { width:100%; min-height:38px; margin-top:12px; border:1px solid var(--teal); border-radius:99px; cursor:pointer; font-weight:800; }
.basket-toast { padding:12px 14px; border:1px solid #cce8d4; border-radius:14px; background:#edf7ef; color:#175b37!important; font-weight:700; }
.basket-toast a { color:var(--teal); text-decoration:underline; }
.link-button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:9px 16px; border-radius:99px; font-weight:800; }
.basket-page { padding-bottom:80px; }
.basket-title { margin-bottom:24px; }
.basket-title h1 { margin:8px 0 10px; font:600 clamp(42px,6vw,68px)/.98 Georgia,serif; letter-spacing:-.045em; }
.basket-title p,.basket-summary p,.basket-line small,.selected-gifts small,.gift-candidates small { color:var(--muted); }
.basket-grid { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:24px; align-items:start; }
.basket-stack { display:grid; gap:18px; }
.basket-lines h2,.gift-panel h2,.basket-summary h2 { margin-top:0; }
.basket-line { display:grid; grid-template-columns:minmax(180px,1fr) auto auto auto; gap:14px; align-items:center; padding:14px 0; border-top:1px solid var(--line); }
.basket-line:first-of-type { border-top:0; }
.basket-line strong,.basket-line small { display:block; }
.quantity-control { display:inline-flex; align-items:center; gap:10px; padding:4px; border:1px solid var(--line); border-radius:99px; background:#fbfaf6; }
.quantity-control button { width:30px; height:30px; border:0; border-radius:50%; background:white; cursor:pointer; font-weight:900; }
.quantity-control span { min-width:20px; text-align:center; font-weight:800; }
.text-danger { border:0; background:none; color:var(--danger); cursor:pointer; font-weight:800; }
.gift-actions { margin:14px 0; }
.gift-actions button,.gift-candidates button,.selected-gifts button { min-height:38px; padding:8px 14px; border:1px solid var(--line); border-radius:99px; background:white; cursor:pointer; font-weight:800; }
.selected-gifts,.gift-candidates { display:grid; gap:10px; margin-top:14px; }
.selected-gifts article,.gift-candidates article { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px; border:1px solid var(--line); border-radius:14px; background:#fbfaf6; }
.selected-gifts strong,.selected-gifts small,.gift-candidates strong,.gift-candidates small { display:block; }
.basket-summary { position:sticky; top:18px; }
.basket-summary dl { display:grid; gap:10px; margin:0 0 18px; }
.basket-summary dl div { display:flex; justify-content:space-between; gap:18px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.basket-summary dt { color:var(--muted); }
.basket-summary dd { margin:0; font-weight:900; }
.basket-summary .total { align-items:baseline; border-bottom:0; font-size:20px; }
.checkout-form { margin:0; }
.checkout-form h2,.checkout-settings h2 { margin-top:0; }
.checkout-form .validation-errors { color:var(--danger); font-weight:700; }
.payment-instructions { margin:18px 0; padding:14px; border:1px solid var(--line); border-radius:14px; background:#fbfaf6; }
.payment-instructions p,.payment-text { color:var(--muted); white-space:pre-wrap; line-height:1.65; }
.checkout-submit { min-height:42px; padding:9px 16px; border:1px solid var(--teal); border-radius:99px; cursor:pointer; font-weight:800; }
.checkout-settings { margin-bottom:18px; }
.orders-table select { min-height:38px; border:1px solid var(--line); border-radius:9px; background:white; }
.override-toggle { min-height:38px!important; padding:0 8px; color:var(--danger); }
.order-timeline { display:grid; gap:12px; margin:0; padding-left:20px; }
.order-timeline li { padding-left:4px; }
.order-timeline strong,.order-timeline small { display:block; }
.order-timeline small { color:var(--muted); line-height:1.5; }
.info-page { padding:55px 0 90px; }
.info-page article { max-width:760px; margin-top:45px; padding:34px; border:1px solid var(--line); border-radius:26px; background:white; }
.info-page h1 { margin:8px 0 20px; font:600 clamp(42px,6vw,68px)/.98 Georgia,serif; letter-spacing:-.045em; }
.info-page h2 { margin-top:28px; }
.info-page p { color:var(--muted); line-height:1.75; }
.rating-note { display:block; margin-top:4px; color:var(--teal)!important; font-weight:800; }
.product-actions { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.account-page { padding-bottom:80px; }
.account-hero { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px; align-items:stretch; margin:24px 0; }
.account-hero > div { padding:24px; border:1px solid var(--line); border-radius:22px; background:white; }
.account-hero h1 { margin:6px 0 8px; font:600 clamp(42px,6vw,66px)/.98 Georgia,serif; letter-spacing:-.045em; }
.account-stat { display:grid; align-content:center; gap:6px; }
.account-stat span,.account-stat small { color:var(--muted); }
.account-stat strong { font-size:34px; }
.account-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:start; margin:22px 0; }
.account-section { margin:22px 0; }
.account-list { display:grid; gap:12px; margin-top:16px; }
.account-list > div,.review-form { display:grid; gap:7px; padding:14px; border:1px solid var(--line); border-radius:14px; background:#fbfaf6; }
.account-list small,.review-form small { color:var(--muted); }
.account-list p,.review-form p { margin:0; color:var(--muted); line-height:1.55; }
.review-form select,.review-form textarea,.row-actions input { width:100%; padding:8px 11px; border:1px solid var(--line); border-radius:9px; background:white; }
.review-form textarea { min-height:88px; resize:vertical; }
.favourites-products { margin-top:18px; }
.request-form { display:grid; gap:14px; margin:22px 0; }
.request-form label { display:grid; gap:6px; font-size:12px; font-weight:800; }
.request-form input,.request-form select { width:100%; min-height:44px; padding:9px 12px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); }
.contact-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:22px 0; }
.contact-cards a { display:grid; gap:6px; padding:15px; border:1px solid var(--line); border-radius:14px; background:#fbfaf6; }
.contact-cards span { color:var(--muted); font-size:13px; }
.account-auth-page > h1 { margin:28px 0 8px; font:600 clamp(38px,5vw,60px)/.98 Georgia,serif; letter-spacing:-.045em; }
.account-auth-page > h2,.account-auth-page h2,.account-auth-page h3 { margin:6px 0 14px; }
.account-auth-page > h2,.account-auth-page h3,.account-auth-page p { color:var(--muted); }
.account-auth-page > hr,.account-auth-page hr { height:1px; border:0; background:var(--line); margin:18px 0; }
.account-auth-page .row { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.65fr); gap:24px; align-items:start; margin:24px 0; }
.account-auth-page .col-md-4,.account-auth-page .col-lg-4,.account-auth-page .col-lg-6,.account-auth-page section,.account-auth-page form { min-width:0; }
.account-auth-page .row > div,.account-auth-page > form,.account-auth-page > section { padding:24px; border:1px solid var(--line); border-radius:22px; background:white; }
.account-auth-page form { display:grid; gap:12px; }
.account-auth-page .form-floating,.account-auth-page .mb-3 { display:grid; gap:6px; margin-bottom:12px; }
.account-auth-page label,.account-auth-page .form-label { color:var(--ink); font-size:12px; font-weight:800; }
.account-auth-page .form-control,.account-auth-page input,.account-auth-page select,.account-auth-page textarea { width:100%; min-height:44px; padding:9px 12px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); }
.account-auth-page textarea { min-height:100px; resize:vertical; }
.account-auth-page .checkbox label { display:flex; align-items:center; gap:9px; }
.account-auth-page input[type=checkbox] { width:auto; min-height:0; }
.account-auth-page .btn,.account-auth-page button { min-height:42px; padding:9px 16px; border:1px solid var(--line); border-radius:99px; background:white; color:var(--ink); cursor:pointer; font-weight:800; }
.account-auth-page .btn-primary,.account-auth-page button[type=submit] { border-color:var(--teal); background:var(--teal); color:white; }
.account-auth-page .btn-danger { border-color:var(--danger); background:var(--danger); color:white; }
.account-auth-page .w-100 { width:100%; }
.account-auth-page .text-danger,.account-auth-page .validation-message,.account-auth-page .validation-errors { color:var(--danger); font-weight:700; }
.account-auth-page ul { color:var(--muted); line-height:1.6; }
.account-auth-page a { color:var(--teal); font-weight:800; }
.account-auth-page .nav { display:grid; gap:8px; margin:0; padding:0; list-style:none; }
.account-auth-page .nav-link { display:block; padding:10px 12px; border:1px solid var(--line); border-radius:999px; background:#fbfaf6; color:var(--muted); }
.account-auth-page .nav-link.active { border-color:var(--teal); background:var(--teal); color:white; }
.analytics-cards { max-width:1200px; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; margin:0 auto 18px; }
.analytics-cards article { padding:18px; border:1px solid var(--line); border-radius:16px; background:white; }
.analytics-cards span,.analytics-cards small { display:block; color:var(--muted); }
.analytics-cards strong { display:block; margin:5px 0; font-size:24px; }
.seo-guidance { margin-bottom:18px; }
.seo-guidance h2 { margin:0 0 8px; }
.seo-guidance p,.seo-guidance li { color:var(--muted); line-height:1.6; }
.seo-guidance ul { margin:12px 0 0; padding-left:20px; }
.editorial-thumb { width:92px; height:58px; display:grid; place-items:center; object-fit:cover; border-radius:10px; background:#edf0ee; color:var(--muted); font-size:10px; font-weight:800; text-align:center; text-transform:uppercase; }
.article-image-upload { display:grid; gap:9px; padding:13px; border:1px dashed var(--line); border-radius:14px; background:#fbfaf6; }
.article-image-upload small { color:var(--muted); }
.article-image-preview { width:min(360px,100%); max-height:210px; display:block; object-fit:cover; border-radius:14px; }
.article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:24px; }
.article-card { display:grid; gap:8px; padding:18px; border:1px solid var(--line); border-radius:16px; background:#fbfaf6; }
.article-card-image,.article-image { width:100%; display:block; object-fit:cover; border-radius:16px; }
.article-card-image { aspect-ratio:1.5; margin-bottom:6px; }
.article-image { max-height:360px; margin:0 0 22px; }
.article-card strong { font-size:20px; }
.article-card small { color:var(--muted); line-height:1.55; }

@media(max-width:850px){.shop-header{grid-template-columns:auto 1fr}.shop-header .search{grid-column:1/-1;grid-row:2}.shop-header nav{justify-self:end;flex-wrap:wrap}.products,.feature-products{grid-template-columns:repeat(2,1fr)}.catalogue{grid-template-columns:1fr}.catalogue aside{display:none}.footer-content{grid-template-columns:1fr 1fr}.product-hero{grid-template-columns:1fr;gap:28px}.detail-sizes{grid-template-columns:1fr 1fr}.basket-grid{grid-template-columns:1fr}.basket-summary{position:static}.request-feature{align-items:flex-start;flex-direction:column}.contact-cards{grid-template-columns:1fr}.admin-shell{padding:25px 14px}.admin-header{align-items:start}.admin-panel{overflow-x:auto}.admin-table{min-width:920px}.form-grid{grid-template-columns:1fr}.wide-field{grid-column:auto}.admin-toolbar{align-items:stretch;flex-direction:column}.admin-count{justify-items:start}.bottle-costs{grid-template-columns:1fr}.bottle-cost-grid{grid-template-columns:repeat(2,1fr)}.bottle-cost-grid button{grid-column:1/-1}.phase-one-size-editor{overflow-x:auto}.phase-one-size-editor .size-editor-head,.phase-one-size-editor>label{min-width:680px}.account-hero,.account-grid,.analytics-cards,.article-grid,.account-auth-page .row{grid-template-columns:1fr}}
@media(max-width:520px){.shell{width:min(100% - 24px,1220px)}.products{grid-template-columns:1fr}.detail-sizes{grid-template-columns:1fr}.basket-line{grid-template-columns:1fr}.selected-gifts article,.gift-candidates article{align-items:flex-start;flex-direction:column}.gift-banner{grid-template-columns:auto 1fr}.gift-banner>span:last-child{display:none}.shop-header{gap:16px}.shop-header nav{font-size:12px}.info-page article{padding:24px}}
