:root {
    --brand-green: #78b900;
    --brand-green-dark: #4f8000;
    --brand-navy: #15163e;
    --body-color: #292c35;
    --muted-color: #737984;
    --line-color: #dfe3e7;
    --page-bg: #f4f6f7;
    --surface: #fff;
    --shadow: 0 8px 28px rgba(18, 24, 38, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page-bg); color: var(--body-color); font: 16px/1.55 Arial, Helvetica, sans-serif; }
img { max-width: 100%; }
a { color: var(--brand-green-dark); text-decoration: none; }
a:hover { color: var(--brand-navy); text-decoration: underline; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(120, 185, 0, .4); outline-offset: 2px; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.utility-bar { min-height: 34px; color: #e8eaf0; background: var(--brand-navy); font-size: 12px; }
.utility-inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; }
.utility-inner a { color: #fff; }
.shopbar-wrap { background: #fff url('/images/roarvagant-top-min.png') center / cover no-repeat; }
.shopbar { display: grid; min-height: 130px; grid-template-columns: 255px minmax(240px, 1fr) auto; align-items: center; gap: 28px; padding-block: 15px; }
.brand { display: inline-flex; width: fit-content; align-items: center; padding: 5px 10px; border-radius: 5px; background: rgba(255,255,255,.93); }
.brand img { display: block; width: 220px; height: auto; }
.search-form { display: flex; max-width: 590px; overflow: hidden; border: 2px solid var(--brand-green); border-radius: 5px; background: #fff; box-shadow: 0 3px 14px rgba(0,0,0,.12); }
.search-form input { width: 100%; min-width: 0; height: 46px; padding: 0 15px; border: 0; outline: 0; color: var(--body-color); }
.search-form button { min-width: 92px; border: 0; color: #fff; background: var(--brand-green); font-weight: 700; }
.search-form button:hover { background: var(--brand-green-dark); }
.shop-tools { display: flex; gap: 10px; }
.shop-tools a { position: relative; display: flex; min-width: 78px; flex-direction: column; align-items: center; gap: 2px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.65); border-radius: 5px; color: var(--brand-navy); background: rgba(255,255,255,.93); font-size: 12px; font-weight: 700; }
.tool-icon { height: 24px; font-size: 23px; line-height: 1; }
.cart-badge { position: absolute; top: 2px; right: 7px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 10px; color: #fff; background: var(--brand-green-dark); font-size: 10px; line-height: 17px; text-align: center; }
.main-nav { color: #fff; background: var(--brand-navy); box-shadow: 0 3px 8px rgba(0,0,0,.14); }
.nav-inner { display: flex; min-height: 46px; align-items: stretch; gap: 4px; }
.nav-inner a { display: flex; align-items: center; padding: 0 17px; color: #fff; font-size: 14px; font-weight: 700; }
.nav-inner a:hover, .nav-inner a:focus-visible { color: #fff; background: var(--brand-green-dark); text-decoration: none; }

.page-content { min-height: 58vh; padding-block: 25px 55px; }
h1, h2, h3 { color: #20232b; line-height: 1.25; }
h1 { margin: 0 0 20px; font-size: clamp(27px, 3vw, 36px); }
h2 { margin: 0 0 15px; font-size: 22px; }
.eyebrow { margin: 0 0 7px; color: var(--brand-green-dark); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 20px; color: var(--muted-color); font-size: 13px; }
.breadcrumb a { color: var(--muted-color); }
.breadcrumb span:last-child { color: var(--body-color); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }
.section-heading h1 { margin-bottom: 0; }
.content-notice, .alert { padding: 14px 17px; border: 1px solid var(--line-color); border-radius: 6px; background: #fff; }
.content-notice p, .alert p { margin: 0; }
.alert { margin-bottom: 16px; }
.alert-success { border-color: #b8dca2; color: #315b1b; background: #f2faed; }
.alert-error { border-color: #edc4c4; color: #8e2727; background: #fff5f5; }

.home-grid { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 28px; }
.category-panel { align-self: start; padding: 19px; border: 1px solid var(--line-color); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.category-panel h2 { margin-bottom: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--brand-green); font-size: 18px; }
.category-link { display: block; padding: 9px 2px; border-bottom: 1px solid #edf0f2; color: var(--body-color); }
.category-link:last-child { border-bottom: 0; }
.home-main > h1 { margin-bottom: 20px; }
.catalog-section { margin-top: 30px; }
.catalog-section > h2 { padding-bottom: 12px; border-bottom: 2px solid var(--brand-green); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; }
.category-card { display: flex; min-height: 68px; align-items: center; padding: 14px; border: 1px solid var(--line-color); border-radius: 5px; background: #fff; color: var(--body-color); font-weight: 700; transition: border-color .15s, transform .15s; }
.category-card:hover { transform: translateY(-2px); border-color: var(--brand-green); text-decoration: none; }
.catalog-description { max-width: 900px; margin-bottom: 22px; color: #555b63; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line-color); border-radius: 6px; background: var(--surface); box-shadow: 0 2px 10px rgba(18,24,38,.035); transition: transform .16s ease, box-shadow .16s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card-image { display: flex; min-height: 220px; align-items: center; justify-content: center; padding: 16px; border-bottom: 1px solid #edf0f2; background: #fff; }
.product-card-image img { display: block; width: 100%; height: 190px; object-fit: contain; }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.product-card h3 { min-height: 42px; margin: 0 0 10px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.product-card h3 a { color: var(--body-color); }
.card-price { margin: auto 0 12px; color: var(--brand-green-dark); font-size: 17px; font-weight: 800; }
.card-link { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 7px 12px; border: 1px solid var(--brand-green); border-radius: 4px; color: var(--brand-green-dark); font-size: 13px; font-weight: 700; }
.card-link:hover { color: #fff; background: var(--brand-green-dark); text-decoration: none; }
.image-empty { display: flex; min-height: 180px; align-items: center; justify-content: center; color: var(--muted-color); background: #f7f7f9; }
.catalog-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; color: var(--muted-color); }
.pager-link { padding: 8px 13px; border: 1px solid var(--line-color); border-radius: 4px; background: #fff; }

.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: start; gap: 34px; }
.product-gallery { min-width: 0; padding: 22px; border: 1px solid var(--line-color); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.product-main-image { display: block; width: 100%; height: min(54vw, 500px); min-height: 310px; object-fit: contain; }
.product-thumbnails { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; }
.product-thumbnails img { width: 70px; height: 70px; flex: 0 0 auto; padding: 4px; object-fit: contain; border: 1px solid var(--line-color); border-radius: 4px; }
.product-information { min-width: 0; padding: 6px 0; }
.product-information h1 { margin-bottom: 8px; font-size: clamp(27px, 3vw, 35px); }
.product-sku { margin: 0 0 8px; color: var(--muted-color); font-size: 13px; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 18px 0 12px; color: var(--brand-green-dark); font-size: 28px; }
.product-price strong { font-weight: 800; }
.quantity-prices { display: grid; gap: 4px; margin: -3px 0 12px; color: var(--muted-color); font-size: 13px; }
.quantity-prices strong { color: var(--brand-navy); }
.old-price { color: var(--muted-color); font-size: 17px; font-weight: 400; text-decoration: line-through; }
.call-for-price { font-size: 19px; font-weight: 700; }
.stock-status { display: flex; align-items: center; gap: 8px; margin: 8px 0 14px; font-size: 14px; font-weight: 700; }
.stock-dot { width: 9px; height: 9px; border-radius: 50%; background: #3c9c46; }
.out-of-stock .stock-dot { background: #bd3e3e; }
.in-stock { color: #267a31; }
.out-of-stock { color: #a82d2d; }
.product-short-description { margin: 18px 0; color: #555b63; }
.buy-box { margin-top: 20px; padding: 18px; border: 1px solid var(--line-color); border-radius: 6px; background: #fff; box-shadow: 0 5px 20px rgba(18,24,38,.05); }
.product-attributes { min-width: 0; margin: 0 0 15px; padding: 0; border: 0; }
.product-attributes legend { width: 100%; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-color); font-size: 16px; font-weight: 800; }
.attribute-group { margin: 13px 0; }
.attribute-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.required-mark { color: #ba2525; }
.attribute-group select, .buy-box select { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #cbd0d7; border-radius: 4px; color: var(--body-color); background: #fff; }
.option-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.option-choice { position: relative; display: inline-flex; min-height: 38px; align-items: center; cursor: pointer; }
.option-choice input { position: absolute; opacity: 0; }
.option-choice span { display: inline-flex; min-height: 38px; align-items: center; padding: 7px 12px; border: 1px solid #cbd0d7; border-radius: 4px; background: #fff; font-size: 13px; }
.option-choice input:checked + span { border-color: var(--brand-green-dark); color: #315100; background: #f1f8e8; box-shadow: inset 0 0 0 1px var(--brand-green-dark); }
.option-choice input:focus-visible + span { outline: 3px solid rgba(120,185,0,.38); outline-offset: 2px; }
.option-choice small { margin-left: 5px; color: var(--brand-green-dark); }
.buy-controls { display: grid; grid-template-columns: auto 88px minmax(150px, 1fr); align-items: center; gap: 10px; margin-top: 18px; }
.buy-controls label, .quantity-label { font-size: 13px; font-weight: 700; }
.buy-controls input, .buy-box input[type=number] { width: 100%; min-height: 42px; padding: 7px 8px; border: 1px solid #cbd0d7; border-radius: 4px; }
.quantity-label { display: inline-block; margin: 14px 9px 0 0; }
.buy-box #group-quantity { width: 85px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 16px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; text-align: center; }
.button-primary { color: #fff; background: var(--brand-green-dark); }
.button-primary:hover { color: #fff; background: #3e6700; text-decoration: none; }
.button-primary:disabled { cursor: not-allowed; opacity: .55; }
.button-subtle { min-height: 34px; padding: 5px 10px; border-color: var(--line-color); color: var(--body-color); background: #fff; font-size: 12px; }
.button-subtle:hover { border-color: var(--brand-green); }
.add-to-cart { width: 100%; min-height: 46px; font-size: 15px; }
.buy-hint { margin: 10px 0 0; color: var(--muted-color); font-size: 12px; }
.product-specifications { margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--line-color); }
.product-specifications h2 { font-size: 18px; }
.product-specifications dl { display: grid; grid-template-columns: minmax(110px, .7fr) 1fr; margin: 0; font-size: 13px; }
.product-specifications dt, .product-specifications dd { margin: 0; padding: 7px 4px; border-bottom: 1px solid #edf0f2; }
.product-specifications dt { color: var(--muted-color); }
.product-long-description { grid-column: 1 / -1; padding: 25px 0 0; border-top: 1px solid var(--line-color); }
.product-long-description h2 { font-size: 22px; }

.cart-count { padding: 6px 11px; border-radius: 20px; color: var(--brand-green-dark); background: #eaf4dc; font-size: 13px; font-weight: 700; }
.cart-empty { padding: 48px 20px; border: 1px solid var(--line-color); border-radius: 7px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.empty-cart-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 50%; color: var(--brand-green-dark); background: #eff7e5; font-size: 31px; }
.cart-empty h2 { margin-bottom: 7px; }
.cart-empty p { margin: 0 0 20px; color: var(--muted-color); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 24px; }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 125px minmax(0,1fr) auto; align-items: start; gap: 18px; padding: 16px; border: 1px solid var(--line-color); border-radius: 6px; background: #fff; }
.cart-line-image { display: flex; min-height: 120px; align-items: center; justify-content: center; padding: 8px; border: 1px solid #edf0f2; border-radius: 4px; }
.cart-line-image img { width: 100%; height: 105px; object-fit: contain; }
.cart-line-main h2 { margin: 0 0 5px; font-size: 16px; }
.cart-options { margin: 7px 0; color: var(--muted-color); font-size: 12px; }
.cart-options div { display: flex; gap: 5px; }
.cart-options dt { font-weight: 700; }
.cart-options dd { margin: 0; }
.cart-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 11px; }
.quantity-update { display: flex; align-items: center; gap: 7px; }
.quantity-update label { color: var(--muted-color); font-size: 12px; }
.quantity-update input { width: 64px; min-height: 34px; padding: 4px; border: 1px solid #cbd0d7; border-radius: 4px; }
.text-button { padding: 5px; border: 0; color: #9c3333; background: transparent; font-size: 12px; text-decoration: underline; }
.cart-line-prices { display: flex; flex-direction: column; align-items: end; gap: 4px; white-space: nowrap; font-size: 13px; }
.cart-line-prices span { color: var(--muted-color); }
.cart-line-prices strong { color: var(--body-color); font-size: 16px; }
.cart-summary { padding: 19px; border: 1px solid var(--line-color); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.cart-summary h2 { margin-bottom: 17px; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line-color); border-bottom: 1px solid var(--line-color); }
.summary-note { color: var(--muted-color); font-size: 12px; }
.button-wide { width: 100%; }

.site-footer { padding-block: 26px; border-top: 1px solid var(--line-color); background: #fff; }
.footer-inner { display: flex; align-items: center; gap: 14px; color: var(--muted-color); font-size: 13px; }
.footer-inner img { width: 110px; height: auto; }
.placeholder-page { padding: 26px; border: 1px solid var(--line-color); border-radius: 6px; background: #fff; }

@media (max-width: 980px) {
    .shopbar { grid-template-columns: 210px minmax(180px, 1fr) auto; gap: 14px; }
    .brand img { width: 190px; }
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-detail { grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr); gap: 24px; }
    .cart-layout { grid-template-columns: minmax(0, 1fr) 275px; }
}
@media (max-width: 720px) {
    .container { width: min(100% - 28px, 600px); }
    .shopbar { grid-template-columns: 1fr auto; min-height: 0; gap: 10px; padding-block: 12px; }
    .brand img { width: 170px; }
    .search-form { grid-column: 1 / -1; grid-row: 2; max-width: none; }
    .shop-tools { grid-column: 2; grid-row: 1; }
    .shop-tools a { min-width: 58px; padding: 6px 8px; }
    .tool-label { font-size: 11px; }
    .nav-inner { min-height: 42px; }
    .nav-inner a { padding-inline: 12px; font-size: 13px; }
    .page-content { padding-top: 18px; }
    .home-grid { grid-template-columns: 1fr; gap: 20px; }
    .category-panel { order: 2; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .product-card-image { min-height: 160px; padding: 10px; }
    .product-card-image img { height: 140px; }
    .product-card-body { padding: 11px; }
    .product-card h3 { min-height: 0; font-size: 13px; }
    .card-price { font-size: 15px; }
    .product-detail { grid-template-columns: 1fr; gap: 19px; }
    .product-gallery { padding: 13px; }
    .product-main-image { height: 68vw; min-height: 250px; max-height: 440px; }
    .product-information { padding: 0; }
    .product-long-description { grid-column: 1; }
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { order: -1; }
}
@media (max-width: 480px) {
    .utility-bar { font-size: 11px; }
    .product-grid { gap: 8px; }
    .product-card-image { min-height: 135px; }
    .product-card-image img { height: 115px; }
    .card-link { min-height: 34px; padding: 5px 8px; }
    .buy-box { padding: 13px; }
    .buy-controls { grid-template-columns: 1fr 82px; }
    .buy-controls .add-to-cart { grid-column: 1 / -1; }
    .cart-line { grid-template-columns: 78px minmax(0,1fr); gap: 12px; padding: 12px; }
    .cart-line-image { min-height: 82px; }
    .cart-line-image img { height: 68px; }
    .cart-line-prices { grid-column: 2; align-items: start; }
    .cart-line-main h2 { font-size: 14px; }
}

.account-page { max-width: 780px; margin: 0 auto 42px; padding: 24px; border: 1px solid var(--line-color); border-radius: 7px; background: #fff; }
.account-form { display: grid; gap: 16px; max-width: 620px; }
.account-form label { display: grid; gap: 6px; color: var(--brand-navy); font-weight: 600; }
.account-form input:not([type=checkbox]), .account-form select { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #cbd0d7; border-radius: 4px; background: #fff; }
.account-form small, .field-optional { color: var(--muted-color); font-size: 13px; font-weight: 400; }
.account-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.account-checkbox { grid-template-columns: auto 1fr !important; align-items: center; justify-content: start; font-weight: 400 !important; }
.account-checkbox input { width: 17px; height: 17px; margin: 0; }
.account-switch { margin-top: 20px; }
.account-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.account-link-card { display: grid; gap: 7px; padding: 18px; border: 1px solid var(--line-color); border-radius: 6px; background: #fff; text-decoration: none; }
.account-link-card strong { color: var(--brand-navy); }
.account-link-card span { color: var(--muted-color); font-size: 14px; }
.account-link-muted { background: #f7f8f9; }
.account-subheading { margin: 28px 0 16px; font-size: 21px; }
.saved-addresses { display: grid; gap: 12px; }
.saved-address { display: flex; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid var(--line-color); border-radius: 6px; }
.saved-address h2 { margin: 0 0 8px; font-size: 17px; }
.saved-address p { margin: 6px 0; color: var(--muted-color); font-size: 14px; }
.saved-address-actions { display: flex; align-items: flex-start; gap: 12px; }
.address-default { margin-left: 8px; padding: 3px 7px; border-radius: 3px; background: #f1f8e8; color: #315100; font-size: 11px; font-weight: 600; vertical-align: middle; }
.header-logout { display: inline; }
.header-logout button { border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.checkout-page { margin-bottom: 44px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 22px; }
.checkout-form, .checkout-summary { padding: 22px; border: 1px solid var(--line-color); border-radius: 7px; background: #fff; }
.checkout-section + .checkout-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-color); }
.checkout-section h2, .checkout-summary h2 { margin: 0 0 15px; color: var(--brand-navy); font-size: 20px; }
.checkout-address-fields { display: grid; gap: 14px; }
.checkout-note, .checkout-summary .summary-note { color: var(--muted-color); font-size: 13px; }
.checkout-shipping-options { display: grid; gap: 10px; }
.checkout-shipping-option { display: grid !important; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px !important; padding: 13px; border: 1px solid var(--line-color); border-radius: 5px; cursor: pointer; }
.checkout-shipping-option input { width: 17px; height: 17px; }
.checkout-shipping-option span { display: grid; gap: 2px; }
.checkout-shipping-option small { color: var(--muted-color); font-weight: 400; }
.checkout-shipping-option b { white-space: nowrap; }
.checkout-form textarea { width: 100%; padding: 10px; border: 1px solid #cbd0d7; border-radius: 4px; resize: vertical; }
.checkout-submit { min-height: 46px; }
.checkout-summary { position: sticky; top: 18px; }
.checkout-summary-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-color); font-size: 14px; }
.checkout-summary-item strong { white-space: nowrap; }
.checkout-component { display: block; padding: 4px 0 0 12px; color: var(--muted-color); }
.checkout-summary .summary-row { padding: 11px 0; }
.checkout-total { margin-top: 6px; border-top: 1px solid var(--line-color); font-size: 18px; }
.order-list { display: grid; border: 1px solid var(--line-color); border-radius: 5px; overflow: hidden; }
.order-list-row, .order-item-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--line-color); color: var(--body-color); }
.order-list-row:last-child, .order-item-row:last-child { border-bottom: 0; }
.order-list-row:hover { background: #f8fafb; text-decoration: none; }
.order-list-row > span:first-child, .order-item-row > div { display: grid; gap: 3px; }
.order-list-row small, .order-item-row small { color: var(--muted-color); font-size: 13px; }
.order-status { display: inline-block; padding: 4px 9px; border-radius: 20px; background: #f1f8e8; color: #315100; font-size: 12px; text-transform: capitalize; white-space: nowrap; }
.order-payment-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0; padding: 16px; border: 1px solid var(--line-color); border-radius: 5px; background: #f8fafb; }
.order-payment-action p { margin: 0; }
.order-details-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 20px; }
.order-details-grid > section { padding: 16px; border: 1px solid var(--line-color); border-radius: 5px; }
.order-details-grid h2 { margin: 0 0 10px; font-size: 18px; }
.order-details-grid p { margin: 8px 0; font-size: 14px; }
.order-item-component { padding-left: 30px; background: #fafbfc; }
.order-totals { max-width: 380px; margin: 14px 0 0 auto; }
.admin-page { margin: 0 0 44px; padding: 22px; border: 1px solid var(--line-color); border-radius: 7px; background: #fff; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line-color); }
.admin-nav a { padding: 7px 12px; border-radius: 4px; background: #f3f5f6; font-size: 14px; font-weight: 600; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 28px; }
.admin-stat { display: grid; gap: 5px; padding: 17px; border: 1px solid var(--line-color); border-radius: 6px; }
.admin-stat span { color: var(--muted-color); font-size: 13px; }
.admin-stat strong { color: var(--brand-navy); font-size: 25px; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0; }
.admin-section-heading h2 { margin: 0; font-size: 20px; }
.admin-search, .admin-filter { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; }
.admin-search input, .admin-filter select, .admin-status-form select { min-height: 42px; padding: 7px 10px; border: 1px solid #cbd0d7; border-radius: 4px; background: #fff; }
.admin-search input { flex: 1; max-width: 500px; }
.admin-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line-color); border-radius: 5px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { padding: 11px 13px; border-bottom: 1px solid var(--line-color); text-align: left; white-space: nowrap; }
.admin-table th { background: #f7f8f9; color: var(--brand-navy); font-size: 12px; text-transform: uppercase; }
.admin-table tr:last-child td { border-bottom: 0; }
.coupon-form { margin: 0 0 18px; padding: 14px; border: 1px solid var(--line-color); border-radius: 5px; }
.coupon-form > div { display: flex; gap: 8px; margin-top: 7px; }
.coupon-form input { flex: 1; min-width: 0; }
.coupon-active { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding: 12px; background: #f4f8f5; }
.admin-choice-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 14px; max-height: 260px; overflow: auto; padding: 10px; border: 1px solid var(--line-color); }
.admin-choice-list label { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.admin-choice-list small { color: var(--muted-color); }
.admin-search { max-width: 620px; margin: 0 0 18px; }
.admin-search > div { display: flex; gap: 8px; margin-top: 6px; }
.admin-search input { flex: 1; min-width: 0; }
.admin-customer-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 22px 0; }
.admin-address { padding: 13px 0; border-bottom: 1px solid var(--line-color); }
.admin-address:last-child { border-bottom: 0; }
.wishlist-remove { margin-top: 10px; }
.shipment-list { margin: 24px 0; }
.shipment-card { margin: 12px 0; padding: 16px; border: 1px solid var(--line-color); border-radius: 5px; }
.shipment-card h3 { margin-top: 0; }
.shipment-quantity { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0; }
.shipment-quantity input { width: 110px; }
@media (max-width: 700px) { .admin-customer-layout { grid-template-columns: 1fr; } }
.admin-subtext { display: block; margin-top: 3px; color: var(--muted-color); font-size: 12px; }
.admin-edit-form { max-width: 760px; }
.admin-edit-actions { display: flex; align-items: center; gap: 15px; }
.admin-status-form { display: grid; gap: 10px; margin-top: 14px; }
.admin-status-form select { max-width: 320px; }
@media (max-width: 760px) { .admin-page { padding: 15px; } .admin-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .admin-filter { align-items: stretch; flex-direction: column; } }
@media (max-width: 850px) { .checkout-layout { grid-template-columns: 1fr; } .checkout-summary { position: static; order: -1; } }
@media (max-width: 600px) { .account-page { padding: 16px; } .account-form-grid, .account-links, .order-details-grid { grid-template-columns: 1fr; } .saved-address { flex-direction: column; } .order-list-row { align-items: flex-start; flex-wrap: wrap; gap: 8px; } .order-payment-action { align-items: flex-start; flex-direction: column; } }

/* Admin dashboard reporting */
.admin-dashboard-intro { margin: 7px 0 0; color: var(--muted-color); }
.admin-dashboard-date { color: var(--muted-color); font-size: 13px; white-space: nowrap; }
.admin-dashboard-group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 13px; }
.admin-dashboard-group-title h2 { margin: 0; font-size: 19px; }
.admin-dashboard-group-title > span { color: var(--muted-color); font-size: 12px; }
.admin-stat-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-stat small { color: var(--muted-color); font-size: 12px; }
.admin-stat-primary { border-color: #c7d8ec; background: #f4f8fd; }
.admin-report-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; margin: 0 0 28px; }
.admin-report-card { min-width: 0; padding: 18px; border: 1px solid var(--line-color); border-radius: 6px; }
.admin-report-card .admin-section-heading { margin-top: 0; }
.admin-report-card .admin-section-heading h2 { font-size: 18px; }
.admin-report-card .admin-section-heading p { margin: 5px 0 0; color: var(--muted-color); font-size: 12px; }
.admin-report-unit { padding: 4px 8px; border-radius: 4px; background: #f1f4f7; color: var(--muted-color); font-size: 11px; font-weight: 700; }
.admin-monthly-report { display: grid; gap: 15px; margin-top: 20px; }
.admin-month-row { display: grid; grid-template-columns: 58px minmax(45px, 1fr) minmax(78px, auto); align-items: center; gap: 8px; }
.admin-month-label { color: var(--muted-color); font-size: 12px; }
.admin-month-track { height: 9px; overflow: hidden; border-radius: 10px; background: #edf0f3; }
.admin-month-bar { height: 100%; min-width: 0; border-radius: 10px; background: #245b8f; }
.admin-month-value { text-align: right; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.admin-month-orders { grid-column: 2 / 4; margin-top: -7px; color: var(--muted-color); font-size: 11px; }
.admin-report-note { margin: 19px 0 0; color: var(--muted-color); font-size: 11px; }
.admin-recent-customers { display: grid; }
.admin-recent-customer { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-color); }
.admin-recent-customer:last-child { border-bottom: 0; }
.admin-customer-avatar { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #edf3f8; color: var(--brand-navy); font-weight: 700; }
.admin-recent-customer-main { display: grid; flex: 1; min-width: 0; gap: 3px; }
.admin-recent-customer-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.admin-recent-customer-main span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted-color); font-size: 11px; }
.admin-recent-customer time { color: var(--muted-color); font-size: 11px; white-space: nowrap; }
@media (max-width: 980px) { .admin-report-grid { grid-template-columns: 1fr; } .admin-stat-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .admin-stat-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-dashboard-date { display: none; } }

/* Admin payment configuration */
.admin-payment-settings { display: grid; gap: 18px; }
.admin-payment-settings .checkout-section { margin: 0; }
.admin-payment-settings label { display: grid; gap: 7px; margin: 12px 0; font-weight: 600; }
.admin-payment-settings input:not([type=checkbox]), .admin-payment-settings select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line-color); border-radius: 5px; background: var(--surface-color, #fff); color: inherit; }
.admin-payment-settings small, .admin-settings-note { color: var(--muted-color); font-size: 13px; font-weight: 400; }
.admin-payment-settings .checkbox-label { display: flex; align-items: center; gap: 9px; }
.admin-payment-settings .checkbox-label input { width: 17px; height: 17px; }
.admin-secret-state { display: inline-block; width: fit-content; border-radius: 20px; background: #e9f5ee; padding: 3px 8px; color: #17633c; font-size: 12px; font-weight: 600; }
.admin-settings-warning { margin-top: 22px; }
.admin-settings-warning li { margin: 7px 0; }

/* Checkout payment options & crypto instructions */
.checkout-payment-options { display: flex; flex-direction: column; gap: 0.75rem; }
.checkout-payment-option { cursor: pointer; }
.crypto-wallet-panel { margin-top: 0.75rem; padding: 0.85rem 1rem; background: var(--surface-2, #f6f7f9); border-radius: 8px; }
.crypto-pay-card { background: var(--surface-2, #f6f7f9); border-radius: 10px; padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.crypto-amount-line { font-size: 1.15rem; margin-bottom: 0.35rem; }
.crypto-amount { font-size: 1.35rem; letter-spacing: 0.02em; }
.crypto-address-box { margin: 0.85rem 0; }
.crypto-address-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.crypto-address-row code { flex: 1 1 220px; overflow-wrap: anywhere; background: #fff; border: 1px solid #dde1e6; padding: 0.55rem 0.7rem; border-radius: 6px; font-size: 0.92rem; }

/* Crypto payment modal */
.crypto-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; }
.crypto-modal[hidden] { display: none !important; }
.crypto-modal-backdrop { position: absolute; inset: 0; background: rgba(10,16,28,.55); }
.crypto-modal-dialog { position: relative; z-index: 1; width: min(920px, 96vw); max-height: 92vh; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; }
.crypto-modal-header { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line-color, #e5e8ec); }
.crypto-modal-header h2 { margin: 0; font-size: 1.15rem; }
.crypto-modal-body { padding: 1rem 1.1rem 1.2rem; overflow: auto; }
.crypto-modal-frame { width: 100%; height: min(70vh, 640px); border: 1px solid var(--line-color, #e5e8ec); border-radius: 8px; background: #f8f9fb; }
