:root {
    --storely-ink: #17212b;
    --storely-muted: #667085;
    --storely-surface: #f6f8fb;
    --storely-border: #e6eaf0;
    --storely-accent: #c2410c;
    --storely-accent-dark: #9a3412;
}

body.storefront {
    color: var(--storely-ink);
    background: #fff;
}

a {
    color: inherit;
}

.site-header {
    background: #17212b;
    box-shadow: 0 8px 24px rgba(23, 33, 43, .12);
}

.site-header .navbar {
    min-height: 72px;
}

.navbar-brand {
    letter-spacing: 0;
}

.search-form {
    min-width: min(100%, 340px);
}

.language-switcher .dropdown-item.active {
    background: var(--storely-accent);
}

.language-switcher-toggle {
    min-width: 112px;
    font-weight: 700;
}

.btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--storely-accent);
    --bs-btn-border-color: var(--storely-accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--storely-accent-dark);
    --bs-btn-hover-border-color: var(--storely-accent-dark);
}

.site-main {
    min-height: 62vh;
}

.hero {
    color: #fff;
    background:
        linear-gradient(90deg, rgba(23, 33, 43, .96), rgba(23, 33, 43, .78)),
        linear-gradient(135deg, #1f2937, #c2410c);
}

.eyebrow {
    color: #fed7aa;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.category-grid,
.subcategories {
    list-style: none;
    padding-left: 0;
}

.category-tile {
    display: block;
    height: 100%;
    padding: 1rem 1.1rem;
    color: var(--storely-ink);
    text-decoration: none;
    background: var(--storely-surface);
    border: 1px solid var(--storely-border);
    border-radius: .5rem;
    font-weight: 700;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.category-tile:hover {
    border-color: rgba(194, 65, 12, .35);
    box-shadow: 0 12px 28px rgba(23, 33, 43, .08);
    transform: translateY(-2px);
}

.subcategory-card {
    display: block;
    height: 100%;
    padding: .95rem 1rem;
    color: var(--storely-ink);
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--storely-border);
    border-radius: .5rem;
    font-weight: 700;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.subcategory-card:hover {
    border-color: rgba(194, 65, 12, .35);
    box-shadow: 0 12px 28px rgba(23, 33, 43, .08);
    transform: translateY(-2px);
}

.empty-products {
    background: var(--storely-surface);
    border-color: var(--storely-border) !important;
}

.breadcrumb {
    gap: .4rem;
    color: var(--storely-muted);
    font-size: .9rem;
}

.breadcrumb a {
    color: var(--storely-muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--storely-accent);
}

.product-card {
    border-color: var(--storely-border);
    border-radius: .5rem;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-card:hover {
    border-color: rgba(194, 65, 12, .35);
    box-shadow: 0 18px 36px rgba(23, 33, 43, .1);
    transform: translateY(-2px);
}

.product-card .card-img-top {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--storely-surface);
}

.product-card a {
    color: var(--storely-ink);
    text-decoration: none;
}

.price,
.product-price {
    color: var(--storely-accent);
    font-weight: 800;
}

.product-price {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.product-tagline {
    font-size: 1rem;
    color: var(--storely-muted);
    font-style: italic;
    margin-bottom: .5rem;
}

.product-image {
    width: 100%;
    margin-bottom: 1rem;
    background: var(--storely-surface);
}

/* ---------------------------------------------------------------
   Customer account
--------------------------------------------------------------- */
.account-page {
    background: linear-gradient(180deg, #f6f8fb 0, #fff 42%);
}

.account-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 520px);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.account-panel {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: #fff;
    border: 1px solid var(--storely-border);
    border-radius: .5rem;
    box-shadow: 0 18px 42px rgba(23, 33, 43, .08);
}

.account-panel-wide {
    width: 100%;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.account-stat {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--storely-border);
    border-radius: .5rem;
}

.account-stat span,
.account-total span {
    display: block;
    color: var(--storely-muted);
    font-size: .9rem;
}

.account-stat strong {
    display: block;
    margin-top: .35rem;
    font-size: 1.35rem;
}

.account-total {
    min-width: 260px;
    padding: 1rem 1.25rem;
    background: var(--storely-surface);
    border-radius: .5rem;
}

.account-total strong {
    display: block;
    margin-top: .25rem;
    font-size: 1.2rem;
}

.qty-input {
    width: 96px;
}

.desc-short,
.desc-full,
.category-desc {
    color: #475467;
    overflow-wrap: anywhere;
}

.desc-full {
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid var(--storely-border);
}

.pagination {
    gap: .5rem;
    flex-wrap: wrap;
}

.page-link {
    border-radius: .35rem;
    color: var(--storely-ink);
}

.page-link.active {
    background: var(--storely-ink);
    border-color: var(--storely-ink);
}

.site-footer {
    color: #667085;
    background: var(--storely-surface);
    border-top: 1px solid var(--storely-border);
    text-align: center;
}

.error-404 {
    text-align: center;
    padding: 4rem 1rem;
}

.error-404 h1 {
    color: var(--storely-accent);
}

.tax-badge {
    margin-left: .35rem;
    color: #667085;
    font-size: .75rem;
    font-weight: 500;
    vertical-align: middle;
}

.price-net {
    color: #98a2b3;
    font-size: .9rem;
}

/* ---------------------------------------------------------------
   Cart badge
--------------------------------------------------------------- */
.cart-link {
    position: relative;
    padding-right: 1.75rem !important;
}

.cart-badge {
    position: absolute;
    top: .2rem;
    right: .15rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 .25rem;
    font-size: .65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
    color: #fff;
    background: var(--storely-accent);
    border-radius: 1rem;
}

/* ---------------------------------------------------------------
   Cart page
--------------------------------------------------------------- */
.cart-table th {
    font-weight: 600;
    font-size: .85rem;
    color: var(--storely-muted);
    white-space: nowrap;
}

.cart-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: .35rem;
    background: var(--storely-surface);
}

.cart-thumb-placeholder {
    width: 64px;
    height: 64px;
    background: var(--storely-surface);
    border-radius: .35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--storely-border);
}

.cart-summary {
    background: var(--storely-surface);
    border: 1px solid var(--storely-border);
    border-radius: .6rem;
    padding: 1.5rem;
}

.cart-summary dt { font-size: .9rem; color: var(--storely-muted); }
.cart-summary dd { font-weight: 700; }
.cart-summary .total-row dt,
.cart-summary .total-row dd { font-size: 1.1rem; color: var(--storely-ink); }

.qty-control {
    width: 80px;
}

/* ---------------------------------------------------------------
   Checkout
--------------------------------------------------------------- */
.checkout-progress {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
}

.checkout-step {
    flex: 1;
    padding: .6rem .5rem;
    text-align: center;
    font-size: .8rem;
    font-weight: 600;
    color: var(--storely-muted);
    background: var(--storely-surface);
    border: 1px solid var(--storely-border);
}

.checkout-step:first-child { border-radius: .4rem 0 0 .4rem; }
.checkout-step:last-child  { border-radius: 0 .4rem .4rem 0; }

.checkout-step.active {
    color: #fff;
    background: var(--storely-accent);
    border-color: var(--storely-accent);
}

.checkout-step.done {
    color: var(--storely-ink);
    background: #ecfdf5;
    border-color: #6ee7b7;
}

.checkout-card {
    border: 1px solid var(--storely-border);
    border-radius: .6rem;
}

.checkout-card .card-header {
    background: var(--storely-surface);
    border-bottom: 1px solid var(--storely-border);
    font-weight: 700;
    font-size: .95rem;
}

.shipping-option,
.payment-option {
    border: 2px solid var(--storely-border);
    border-radius: .5rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    transition: border-color .15s ease;
    user-select: none;
}

.shipping-option:has(input:checked),
.payment-option:has(input:checked) {
    border-color: var(--storely-accent);
    background: #fff7f5;
}

.shipping-option input,
.payment-option input {
    margin-right: .65rem;
}

.order-summary-box {
    background: var(--storely-surface);
    border: 1px solid var(--storely-border);
    border-radius: .6rem;
    padding: 1.25rem;
}

.confirm-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
}

.bank-details {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
    font-size: .9rem;
}

/* ---------------------------------------------------------------
   Shopify-style Checkout Layout
--------------------------------------------------------------- */
body.checkout-page {
    background: #fff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.co-wrap {
    display: flex;
    min-height: 100vh;
}

/* Left column: form */
.co-left {
    flex: 0 0 55%;
    max-width: 55%;
    background: #fff;
    border-right: 1px solid #e8e8e8;
    padding: 2.5rem 0;
}

.co-left-inner {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Brand logo */
.co-brand {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--storely-ink);
    text-decoration: none;
    letter-spacing: -.01em;
    margin-bottom: 2.5rem;
}

/* Right column: order summary */
.co-right {
    flex: 0 0 45%;
    max-width: 45%;
    background: #f6f6f6;
    padding: 2.5rem 0;
    border-left: 1px solid #e8e8e8;
}

.co-summary {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 2rem;
    position: sticky;
    top: 2rem;
}

/* Product rows in summary */
.co-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.co-product-img {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: .4rem;
    overflow: visible;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .35rem;
}

.co-product-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #888;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.co-product-info {
    flex: 1;
    min-width: 0;
}

.co-product-name {
    font-size: .875rem;
    font-weight: 500;
    color: var(--storely-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.co-product-ref {
    font-size: .75rem;
    color: var(--storely-muted);
}

.co-product-price {
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
}

.co-divider {
    border-top: 1px solid #e0e0e0;
    margin: 1rem 0;
}

.co-totals { font-size: .875rem; }

.co-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .4rem;
}

.co-total-row.co-muted { color: var(--storely-muted); }

.co-grand-total {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--storely-ink);
    margin-bottom: 0;
}

/* Form sections */
.co-section {
    margin-bottom: 1.75rem;
}

.co-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}

.co-section-title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--storely-ink);
    margin: 0 0 .75rem;
}

.co-login-link {
    font-size: .85rem;
    color: var(--storely-muted);
    text-decoration: underline;
}

.co-logged-in-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .9rem;
    margin-bottom: .65rem;
    font-size: .875rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: .4rem;
    color: var(--storely-ink);
}

.co-logged-in-bar svg {
    flex-shrink: 0;
    color: #059669;
}

.co-logged-in-bar span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.co-logout-link {
    font-size: .8rem;
    color: var(--storely-muted);
    text-decoration: underline;
    white-space: nowrap;
}

/* Input fields */
.co-field {
    position: relative;
    margin-bottom: .65rem;
}

.co-input {
    width: 100%;
    padding: .85rem 1rem;
    font-size: .9rem;
    color: var(--storely-ink);
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: .4rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.co-input:focus {
    border-color: var(--storely-ink);
    box-shadow: 0 0 0 2px rgba(23,33,43,.08);
}

.co-input.is-invalid {
    border-color: #dc2626;
}

.co-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23667085' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .85rem center;
    background-size: 14px 10px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Selects always have a value selected — keep label in the small/top state */
select.co-input {
    padding-top: 1.4rem;
    padding-bottom: .35rem;
    line-height: 1.2;
}

select.co-input + .co-label-floating {
    top: .3rem;
    transform: none;
    font-size: .68rem;
    color: var(--storely-muted);
}

.co-no-methods {
    font-size: .875rem;
    color: var(--storely-muted);
    padding: .75rem 1rem;
    background: var(--storely-surface);
    border: 1px solid var(--storely-border);
    border-radius: .4rem;
}

.co-textarea {
    resize: vertical;
    min-height: 72px;
}

.co-label-floating {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: .9rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all .15s ease;
}

.co-textarea + .co-label-floating {
    top: .9rem;
    transform: none;
}

.co-input:focus + .co-label-floating,
.co-input:not(:placeholder-shown) + .co-label-floating {
    top: .3rem;
    transform: none;
    font-size: .68rem;
    color: var(--storely-muted);
}

.co-field-error {
    font-size: .78rem;
    color: #dc2626;
    margin-top: .25rem;
}

.co-row {
    display: flex;
    gap: .65rem;
}

.co-row .co-field { flex: 1; }

.co-row-3 .co-field:last-child { flex: 0 0 120px; }

.co-checkbox-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--storely-muted);
    margin-top: .5rem;
    cursor: pointer;
}

.co-checkbox-label a {
    color: var(--storely-accent);
    text-underline-offset: 2px;
}

.co-checkbox-required {
    color: var(--storely-ink);
}

/* Shipping / Payment option rows */
.co-shipping-methods,
.co-payment-methods {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.co-method {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: .4rem;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
    background: #fff;
}

.co-method input[type="radio"] {
    accent-color: var(--storely-ink);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.co-method.selected {
    border-color: var(--storely-ink);
    background: #f8f8f8;
}

.co-method-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .1rem;
}

.co-method-name  { font-size: .875rem; font-weight: 600; }
.co-method-desc  { font-size: .78rem;  color: var(--storely-muted); }

.co-method-price,
.co-method-icon  { font-size: .875rem; font-weight: 600; color: var(--storely-ink); }

/* Bank details */
.co-bank-details {
    margin-top: .75rem;
    padding: 1rem 1.1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: .4rem;
    font-size: .85rem;
}

.co-bank-row {
    display: flex;
    gap: .5rem;
    margin-bottom: .25rem;
}

.co-bank-row span { color: var(--storely-muted); min-width: 90px; }

/* Errors banner */
.co-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: .4rem;
    padding: .85rem 1rem;
    margin-bottom: 1.25rem;
    font-size: .875rem;
    color: #991b1b;
}

/* Submit row */
.co-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e8e8e8;
}

.co-back-link {
    font-size: .85rem;
    color: var(--storely-muted);
    text-decoration: none;
}

.co-back-link:hover { color: var(--storely-ink); }

.co-btn-submit {
    padding: .9rem 2rem;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    background: var(--storely-ink);
    border: none;
    border-radius: .4rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .15s ease;
}

.co-btn-submit:hover { background: #0f1a23; color: #fff; }
.co-btn-submit:disabled { opacity: .65; cursor: not-allowed; }

/* Confirm page */
.co-confirm {
    padding: 2rem 0;
}

.co-confirm-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #d1fae5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #065f46;
}

.co-confirm-sub   { font-size: .85rem; color: var(--storely-muted); margin: 0 0 .25rem; }
.co-confirm-title { font-size: 1.5rem; font-weight: 800; margin: 0 0 1.5rem; }

.co-confirm-notice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
    font-size: .875rem;
    margin-bottom: 1.5rem;
}

.co-confirm-notice ul { margin: .5rem 0 0; padding-left: 1.25rem; }
.co-confirm-note { font-size: .8rem; color: var(--storely-muted); margin-top: .5rem 0 0; }

.co-confirm-section { margin-bottom: 1.5rem; }

.co-confirm-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    font-size: .875rem;
    margin-bottom: 1.25rem;
}

.co-confirm-label { font-size: .75rem; color: var(--storely-muted); margin-bottom: .2rem; font-weight: 600; }

.co-confirm-table {
    width: 100%;
    font-size: .875rem;
    border-collapse: collapse;
}

.co-confirm-table td { padding: .45rem 0; }
.co-confirm-table td:last-child { text-align: right; }
.co-confirm-table tfoot td { border-top: 1px solid #e8e8e8; padding-top: .65rem; }
.co-confirm-grand-total td { font-weight: 700; font-size: .95rem; }

.co-qty-badge {
    color: var(--storely-muted);
    font-size: .8rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 767px) {
    .co-wrap { flex-direction: column-reverse; }
    .co-left, .co-right { flex: 1 1 100%; max-width: 100%; border: none; }
    .co-right { border-bottom: 1px solid #e8e8e8; padding: 1.5rem 0; }
    .co-left  { padding: 1.5rem 0; }
    .co-left-inner, .co-summary { padding: 0 1.25rem; }
    .co-brand { margin-bottom: 1.5rem; }
    .co-row-3 { flex-wrap: wrap; }
    .co-row-3 .co-field { flex: 1 1 calc(50% - .35rem); }
    .co-row-3 .co-field:last-child { flex: 1 1 100%; }
    .co-confirm-meta { grid-template-columns: 1fr; }
    .co-submit { flex-direction: column-reverse; align-items: stretch; text-align: center; }
    .co-btn-submit { text-align: center; }
}

@media (max-width: 991.98px) {
    .search-form {
        min-width: 100%;
    }

    .account-shell,
    .account-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Checkout address autocomplete ─────────────── */
.co-ac-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 200;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--storely-border);
    border-radius: .5rem;
    box-shadow: 0 8px 24px rgba(23, 33, 43, .12);
    max-height: 260px;
    overflow-y: auto;
}

.co-ac-item {
    padding: .6rem 1rem;
    font-size: .85rem;
    line-height: 1.4;
    color: var(--storely-ink);
    cursor: pointer;
    border-bottom: 1px solid var(--storely-border);
}

.co-ac-item:last-child { border-bottom: none; }

.co-ac-item:hover,
.co-ac-item--active {
    background: var(--storely-surface);
    color: var(--storely-accent);
}

/* ── Account page containers ────────────────────── */
.account-container-narrow { max-width: 640px; }
.account-container-wide   { max-width: 860px; }

/* ── Account addresses ──────────────────────────── */
.addr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.addr-card {
    border: 1px solid var(--storely-border);
    border-radius: .75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.addr-card--default { border-color: var(--storely-accent); }

.addr-card-header {
    background: var(--storely-surface);
    padding: .65rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    border-bottom: 1px solid var(--storely-border);
}

.addr-alias { font-weight: 700; font-size: .88rem; }

.addr-badge {
    background: var(--storely-accent);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .2rem .55rem;
    border-radius: 999px;
}

.addr-card-body {
    padding: 1rem;
    flex: 1;
    font-size: .875rem;
    line-height: 1.65;
}

.addr-name { font-weight: 600; margin: 0 0 .2rem; }
.addr-line { margin: 0; color: var(--storely-muted); }
.addr-phone { color: var(--storely-ink); }

.addr-card-actions {
    padding: .65rem 1rem;
    border-top: 1px solid var(--storely-border);
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

/* ── Checkout saved-address picker ──────────────── */
.co-addr-picker { margin-bottom: 1.1rem; }

.co-addr-picker-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: .82rem;
    font-weight: 600;
    color: var(--storely-accent);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.co-addr-picker-panel {
    margin-top: .65rem;
    border: 1px solid var(--storely-border);
    border-radius: .5rem;
    overflow: hidden;
}

.co-addr-card-btn {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--storely-border);
    padding: .7rem 1rem;
    cursor: pointer;
    font-size: .83rem;
    transition: background .12s;
}

.co-addr-card-btn:last-child { border-bottom: none; }
.co-addr-card-btn:hover { background: var(--storely-surface); }
.co-addr-card-btn strong { font-size: .75rem; color: var(--storely-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.co-addr-card-btn span   { color: var(--storely-ink); }

/* ── 404 storefront ─────────────────────────────── */
.error-404 { min-height: 50vh; display: flex; align-items: center; }
.error-404-code {
    color: var(--storely-accent);
    line-height: 1;
    letter-spacing: -.02em;
}
