/* Explain: Styles for various UI elements, including buttons, cards, and the mobile bottom navigation bar. */
.lace-panel {
    position: relative;
    overflow: hidden;
}

.lace-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.34;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(220, 199, 161, 0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 80% 45%, rgba(217, 167, 160, 0.22) 0 1px, transparent 3px),
        linear-gradient(135deg, transparent 0 48%, rgba(201, 199, 194, 0.18) 49% 51%, transparent 52% 100%);
    background-size: 44px 44px, 38px 38px, 28px 28px;
}

.accent-line {
    background: linear-gradient(90deg, var(--champagne-color) 0%, var(--emerald-color) 100%);
}

.btn-bridal {
    min-height: 2.5rem;
    border-radius: var(--radius-oval);
    background: var(--espresso-color);
    color: var(--pearl-color);
    border: 1px solid var(--espresso-color);
    padding-inline: 0.6rem;
    transition: all 300ms ease;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.05em;
}

@media (min-width: 640px) {
    .btn-bridal {
        min-height: 3rem;
        padding-inline: 1.35rem;
        letter-spacing: 0.1em;
    }
}

.btn-bridal:hover,
.btn-bridal:focus-visible {
    background: var(--emerald-deep);
    border-color: var(--emerald-deep);
    color: #fff;
}

.btn-veil {
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: rgba(251, 248, 243, 0.72);
    color: var(--espresso-color);
    border: 1px solid rgba(45, 36, 32, 0.24);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-veil:hover,
.btn-veil:focus-visible {
    border-color: var(--espresso-color);
    background: var(--surface-color);
}

.oval-frame {
    border-radius: 48% 48% 44% 44% / 54% 54% 40% 40%;
    border: 1px solid rgba(220, 199, 161, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.editorial-card {
    border: 1px solid rgba(201, 199, 194, 0.7);
    background: rgba(255, 253, 248, 0.78);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.product-card img {
    transition: transform 600ms ease;
}

.product-card:hover img {
    transform: scale(1.035);
}

.gallery-thumb {
    border: 1px solid rgba(201, 199, 194, 0.7);
    opacity: 0.62;
    transition: all 240ms ease;
    cursor: pointer;
}

.gallery-thumb.is-active,
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
    opacity: 1;
    border-color: var(--espresso-color);
}

.option-chip {
    min-height: 2.75rem;
    border-radius: var(--radius-oval);
    border: 1px solid rgba(201, 199, 194, 0.9);
    background: rgba(255, 253, 248, 0.72);
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: all 240ms ease;
}

.option-chip.is-selected {
    border-color: var(--espresso-color);
    background: var(--espresso-color);
    color: var(--pearl-color);
}

.toast-bridal {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 80;
    transform: translateX(-50%) translateY(1rem);
    opacity: 0;
    pointer-events: none;
    transition: all 240ms ease;
}

.toast-bridal.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.mobile-sticky-cta {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.cz-trigger {
    min-height: 2.5rem;
    border-radius: var(--radius-oval);
    background: transparent;
    color: var(--espresso-color);
    border: 1px solid var(--espresso-color);
    padding-inline: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 0.6rem;
    transition: all 300ms ease;
    cursor: pointer;
}

@media (min-width: 640px) {
    .cz-trigger {
        min-height: 3rem;
        padding-inline: 1.25rem;
        letter-spacing: 0.12em;
        font-size: 0.72rem;
    }
}

.cz-trigger:hover,
.cz-trigger:focus-visible {
    background: var(--emerald-deep);
    border-color: var(--emerald-deep);
    color: #fff;
}

.cz-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease;
}

.cz-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .cz-overlay {
        align-items: center;
        padding: 1.5rem;
    }
}

.cz-panel {
    width: min(100%, 660px);
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    background: var(--surface-color);
    border: 1px solid var(--gold-line);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
    transform: translateY(2rem);
    transition: transform 300ms ease;
}

.cz-overlay.is-open .cz-panel {
    transform: translateY(0);
}

.cz-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--emerald-deep);
    color: #fff;
    border-bottom: 1px solid var(--gold-line);
}

.cz-kicker {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--champagne-color);
}

.cz-title {
    margin-top: 0.35rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cz-product {
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.cz-close {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-line);
    color: var(--champagne-color);
    background: transparent;
    cursor: pointer;
    font-size: 1.15rem;
    transition: all 240ms ease;
}

.cz-close:hover {
    background: var(--champagne-color);
    color: #000;
}

.cz-steps {
    display: flex;
    gap: 0.25rem;
    padding: 0.85rem 1.5rem;
    background: var(--surface-warm);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.cz-steps li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.cz-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border: 1px solid currentColor;
    font-size: 0.65rem;
}

.cz-steps li.is-active {
    color: var(--espresso-color);
}

.cz-steps li.is-done {
    color: var(--champagne-color);
}

.cz-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cz-lede {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.cz-group {
    margin-bottom: 1.35rem;
}

.cz-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--espresso-color);
    margin-bottom: 0.6rem;
}

.cz-req {
    color: var(--champagne-color);
}

.cz-hint {
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

.cz-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cz-chip {
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--surface-warm);
    color: var(--espresso-color);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 220ms ease;
}

.cz-chip:hover {
    border-color: var(--champagne-color);
}

.cz-chip.is-selected {
    background: var(--espresso-color);
    color: #fff;
    border-color: var(--espresso-color);
}

.cz-file {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cz-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 8rem;
    padding: 1rem;
    border: 1px dashed var(--gold-line);
    background: var(--surface-warm);
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    cursor: pointer;
    transition: all 220ms ease;
}

.cz-dropzone:hover {
    border-color: var(--champagne-color);
    color: var(--espresso-color);
}

.cz-dropzone i {
    font-size: 1.5rem;
    color: var(--champagne-color);
}

.cz-thumb {
    max-height: 6rem;
    object-fit: contain;
}

.cz-upload-status {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    min-height: 1rem;
}

.cz-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background: var(--surface-warm);
    color: var(--espresso-color);
    font-size: 0.9rem;
}

.cz-input:focus {
    outline: none;
    border-color: var(--champagne-color);
}

textarea.cz-input {
    min-height: 5rem;
    resize: vertical;
}

.cz-notice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border: 1px solid var(--gold-line);
    background: rgba(212, 175, 55, 0.08);
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.35rem;
}

.cz-notice i {
    color: var(--champagne-color);
    margin-top: 0.15rem;
}

.cz-grid2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 560px) {
    .cz-grid2 {
        grid-template-columns: 1fr 1fr;
    }
}

.cz-span2 {
    grid-column: 1 / -1;
}

.cz-review {
    border: 1px solid var(--border-color);
    background: var(--surface-warm);
    padding: 1rem;
    margin-bottom: 1.35rem;
}

.cz-review-head {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.cz-review-img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border: 1px solid var(--gold-line);
}

.cz-review-name {
    font-weight: 700;
    color: var(--espresso-color);
    font-size: 0.95rem;
}

.cz-review-price {
    font-weight: 700;
    color: var(--champagne-color);
    font-size: 0.95rem;
}

.cz-review-list {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.4rem;
}

.cz-review-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.4rem;
}

.cz-review-list dt {
    color: var(--text-muted);
}

.cz-review-list dd {
    color: var(--espresso-color);
    font-weight: 600;
    text-align: right;
}

.cz-review-files {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.cz-review-files figure {
    width: 5rem;
    text-align: center;
}

.cz-review-files img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    border: 1px solid var(--gold-line);
}

.cz-review-files figure {
    position: relative;
}

.cz-review-files figcaption {
    margin-top: 0.3rem;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.cz-remove {
    position: absolute;
    top: -0.55rem;
    right: -0.55rem;
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--espresso-color);
    color: #fff;
    border: 1px solid var(--gold-line);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 200ms ease;
}

.cz-remove:hover,
.cz-remove:focus-visible {
    background: var(--champagne-color);
    color: #000;
}

.cz-fine {
    margin-top: 0.85rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.cz-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.cz-btn-ghost {
    min-height: 3rem;
    padding-inline: 1.25rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--espresso-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 220ms ease;
}

.cz-btn-ghost:hover {
    border-color: var(--espresso-color);
}

.cz-btn-solid {
    min-height: 3rem;
    padding-inline: 1.5rem;
    border: 1px solid var(--espresso-color);
    background: var(--espresso-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 220ms ease;
}

.cz-btn-solid:hover {
    background: var(--emerald-deep);
    border-color: var(--emerald-deep);
    color: #fff;
}

.cz-btn-solid:disabled {
    opacity: 0.6;
    cursor: default;
}

.checkout-account-strip {
    display: none !important;
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-warm);
    padding-block: 1.5rem;
}

.checkout-account-kicker {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--champagne-color);
    margin-bottom: 0.85rem;
}

.checkout-choice {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .checkout-choice {
        grid-template-columns: 1fr 1fr;
    }
}

.checkout-choice-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    text-align: left;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--espresso-color);
    cursor: pointer;
    transition: all 240ms ease;
}

.checkout-choice-btn:hover {
    border-color: var(--champagne-color);
}

.checkout-choice-btn.is-active {
    border-color: var(--espresso-color);
    background: var(--emerald-deep);
    color: #fff;
    box-shadow: var(--shadow-card);
}

.cc-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid currentColor;
    font-size: 1.1rem;
}

.checkout-choice-btn.is-active .cc-icon {
    color: var(--champagne-color);
}

.cc-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.cc-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.cc-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.checkout-choice-btn.is-active .cc-sub {
    color: rgba(255, 255, 255, 0.72);
}

.checkout-account-banner {
    margin-top: 1rem;
}

.account-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--gold-line);
    background: rgba(212, 175, 55, 0.08);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-color);
}

.account-banner-action {
    border: 1px solid var(--espresso-color);
    background: transparent;
    color: var(--espresso-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 220ms ease;
}

.account-banner-action:hover {
    background: var(--espresso-color);
    color: #fff;
}

.post-order-box {
    margin-top: 1rem;
    padding: 1.1rem;
    border: 1px solid var(--gold-line);
    background: var(--surface-warm);
}

.account-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.account-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.account-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.75rem;
}

.account-tab {
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.8rem 1.15rem;
    cursor: pointer;
    transition: all 220ms ease;
}

.account-tab:hover {
    color: var(--espresso-color);
}

.account-tab.is-active {
    color: #fff;
    background: var(--emerald-deep);
    border-color: var(--emerald-deep);
}

.account-card {
    border: 1px solid var(--border-color);
    background: var(--surface-warm);
    padding: 1.5rem;
}

.account-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #000;
    margin-bottom: 1rem;
}

.account-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.account-row-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.account-row-value {
    color: var(--espresso-color);
    font-weight: 600;
    text-align: right;
}

.account-empty {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.account-link {
    color: var(--espresso-color);
    font-weight: 600;
    text-decoration: underline;
}

.account-hint {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.account-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
}

.account-order {
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    padding: 1.1rem 1.25rem;
    margin-bottom: 0.85rem;
}

.account-order:last-child {
    margin-bottom: 0;
}

.account-order-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: flex-start;
}

.account-order-id {
    font-weight: 700;
    color: #000;
    font-size: 0.95rem;
}

.account-order-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.account-order-status {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--champagne-color);
    border: 1px solid var(--gold-line);
    padding: 0.35rem 0.7rem;
}

.account-order-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.account-order-total {
    font-weight: 700;
    color: #000;
}

.account-order-fulfil {
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.account-wish {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding: 0.85rem 0;
}

.account-wish-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid var(--gold-line);
}

.account-wish-name {
    font-weight: 700;
    color: #000;
    font-size: 0.92rem;
}

.account-wish-name:hover {
    color: var(--champagne-color);
}

.account-wish-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--champagne-color);
    margin-top: 0.25rem;
}

.account-wish-btn {
    white-space: nowrap;
}

@media (max-width: 560px) {
    .account-wish {
        grid-template-columns: 56px 1fr;
    }

    .account-wish-img {
        width: 56px;
        height: 56px;
    }

    .account-wish-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

.pd-thumb {
    border: 1px solid var(--border-color);
    opacity: 0.6;
    transition: all 240ms ease;
    cursor: pointer;
}

.pd-thumb.is-active,
.pd-thumb:hover,
.pd-thumb:focus-visible {
    opacity: 1;
    border-color: var(--champagne-color);
}

.pd-chip {
    min-height: 2.75rem;
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--border-color);
    background: var(--surface-warm);
    color: var(--espresso-color);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 220ms ease;
}

.pd-chip:hover {
    border-color: var(--champagne-color);
}

.pd-chip.is-selected {
    background: var(--espresso-color);
    color: #ffffff;
    border-color: var(--espresso-color);
}

.pd-qty-btn {
    width: 2.75rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--espresso-color);
    cursor: pointer;
    transition: all 200ms ease;
}

.pd-qty-btn:hover {
    background: var(--surface-warm);
    color: var(--champagne-color);
}

.pd-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 7rem;
    padding: 1rem;
    border: 1px dashed var(--gold-line);
    background: var(--surface-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    text-align: center;
    cursor: pointer;
    transition: all 220ms ease;
}

.pd-dropzone:hover {
    border-color: var(--champagne-color);
    color: var(--espresso-color);
}

.pd-dropzone i {
    font-size: 1.5rem;
    color: var(--champagne-color);
}

.pd-remove {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.6rem;
    height: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--espresso-color);
    color: #ffffff;
    border: 1px solid var(--gold-line);
    font-size: 0.65rem;
    cursor: pointer;
}

.pd-remove:hover {
    background: var(--champagne-color);
    color: #000000;
}

.pd-option-error {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #b3261e;
}

.account-order-items {
    margin-top: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.6rem;
    display: grid;
    gap: 0.5rem;
}

.account-order-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.account-order-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--espresso-color);
}

.account-order-item-opts {
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.bottom-dock {
    position: fixed;
    left: 50%;
    bottom: calc(0.7rem + env(safe-area-inset-bottom));
    z-index: 90;
    width: min(100% - 1rem, 34rem);
    transform: translateX(-50%);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.15rem;
    padding: 0.4rem 0.45rem;
    background: linear-gradient(180deg, var(--emerald-color) 0%, var(--emerald-deep) 100%);
    border: 1px solid var(--gold-line);
    border-radius: 9999px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(212, 175, 55, 0.16);
}

.bottom-dock a {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 3.1rem;
    padding: 0.35rem 0.1rem;
    color: #ffffff;
    font-size: 0.48rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 9999px;
    transition: color 220ms ease, background 220ms ease;
}

.bottom-dock a i {
    font-size: 1.05rem;
    color: var(--champagne-color);
    transition: transform 220ms ease;
}

.bottom-dock .dock-label {
    display: block;
    max-width: 100%;
    line-height: 1.15;
    overflow-wrap: break-word;
}

.bottom-dock .dock-label-long {
    font-size: 0.4rem;
    letter-spacing: 0;
    line-height: 1.05;
}

.bottom-dock a:hover,
.bottom-dock a:focus-visible,
.bottom-dock a.is-active {
    color: var(--champagne-color);
    background: rgba(212, 175, 55, 0.16);
}

.bottom-dock a:hover i,
.bottom-dock a:focus-visible i,
.bottom-dock a.is-active i {
    transform: translateY(-2px);
}

.bottom-dock-badge {
    position: absolute;
    top: 0.1rem;
    right: calc(50% - 1.7rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    border-radius: 9999px;
    background: var(--champagne-color);
    color: var(--ink-900);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .bottom-dock {
        display: none;
    }
}

.theme-switch {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: none;
    width: 3.5rem;
    height: 1.4rem;
    border: 2px solid var(--champagne-color);
    border-radius: 9999px;
    background: var(--emerald-deep);
    cursor: pointer;
    transition: background 240ms ease, border-color 240ms ease;
}

.theme-switch::before {
    content: '\f185';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    font-size: 0.55rem;
    line-height: 1;
    color: var(--champagne-color);
    transition: all 240ms ease;
}

.theme-switch::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.18rem;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%);
    border-radius: 9999px;
    background: linear-gradient(135deg, #ffffff 0%, #cfcfcf 100%);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    transition: left 240ms ease;
}

.theme-switch:checked {
    background: var(--emerald-deep);
    border-color: var(--champagne-color);
}

.theme-switch:checked::before {
    content: '\f186';
    right: auto;
    left: 0.5rem;
}

.theme-switch:checked::after {
    left: calc(100% - 1rem - 0.18rem);
}

.theme-switch:focus-visible {
    outline: 2px solid var(--champagne-color);
    outline-offset: 3px;
}

body.pwa-prompt-visible .whatsapp-bubble {
    opacity: 0;
    pointer-events: none;
}

.pwa-install {
    position: fixed;
    left: 50%;
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
    z-index: 95;
    width: min(100% - 1.5rem, 30rem);
    transform: translateX(-50%) translateY(1.5rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms ease, transform 300ms ease;
}

.pwa-install.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.pwa-install-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    background: var(--emerald-deep);
    border: 1px solid var(--gold-line);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.pwa-install-icon {
    flex: none;
    width: 3rem;
    height: 3rem;
    padding: 0.15rem;
    background: #fff;
    border-radius: 0.6rem;
    object-fit: contain;
}

.pwa-install-body {
    flex: 1 1 auto;
    min-width: 0;
}

.pwa-install-kicker {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--champagne-color);
}

.pwa-install-title {
    margin-top: 0.15rem;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
}

.pwa-install-text {
    margin-top: 0.3rem;
    font-size: 0.74rem;
    line-height: 1.5;
    color: #b9b9b9;
}

.pwa-install-actions {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
}

.pwa-install-btn {
    min-height: 2.5rem;
    padding-inline: 1.1rem;
    background: var(--champagne-color);
    border: 1px solid var(--champagne-color);
    color: #000000;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 220ms ease;
}

.pwa-install-btn:hover,
.pwa-install-btn:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

.pwa-install-later {
    padding: 0.3rem 0.2rem;
    background: transparent;
    border: none;
    color: #8a8a8a;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 200ms ease;
}

.pwa-install-later:hover,
.pwa-install-later:focus-visible {
    color: var(--champagne-color);
}

@media (max-width: 560px) {
    .pwa-install-card {
        flex-wrap: wrap;
    }

    .pwa-install-icon {
        width: 2.6rem;
        height: 2.6rem;
    }

    .pwa-install-body {
        flex: 1 1 calc(100% - 3.5rem);
    }

    .pwa-install-actions {
        flex: 1 1 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .pwa-install-btn {
        flex: 1 1 auto;
    }
}

/* ===== Luxury animated introduction screen ===== */
.luxury-intro {
    position: fixed;
    inset: 0;
    z-index: 300;
    background:
        radial-gradient(ellipse at 50% 6%, rgba(212, 175, 55, 0.20), transparent 44%),
        radial-gradient(ellipse at 50% 60%, rgba(11, 107, 76, 0.36), transparent 56%),
        linear-gradient(180deg, #01120a 0%, #06301d 46%, #020a06 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.8s ease;
}

html.intro-skip .luxury-intro,
.luxury-intro.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.luxury-particles {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
}

.luxury-particles span {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--champagne-color);
    border-radius: 50%;
    box-shadow: 0 0 12px 3px rgba(212,175,55,0.8);
    animation: floatUp 4s infinite ease-in-out alternate;
}
.luxury-particles .p1 { top: 20%; left: 15%; animation-delay: 0s; }
.luxury-particles .p2 { top: 30%; right: 20%; animation-delay: 1s; width: 3px; height: 3px; }
.luxury-particles .p3 { top: 60%; left: 10%; animation-delay: 0.5s; width: 5px; height: 5px; }
.luxury-particles .p4 { top: 40%; right: 10%; animation-delay: 1.5s; }
.luxury-particles .p5 { top: 15%; left: 50%; animation-delay: 0.8s; width: 3px; height: 3px; }

@keyframes floatUp {
    0% { transform: translateY(0) scale(0.8); opacity: 0.4; }
    100% { transform: translateY(-30px) scale(1.2); opacity: 1; }
}

.luxury-intro-brand {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    animation: fadeInDown 1.5s ease both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.luxury-intro-logo-wrap {
    display: inline-block;
    padding: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 30px 10px rgba(212,175,55,0.3);
    margin-bottom: 1.5rem;
}

.luxury-intro-logo {
    width: clamp(4rem, 12vw, 6rem);
    height: clamp(4rem, 12vw, 6rem);
    border-radius: 50%;
    object-fit: contain;
}

.luxury-intro-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin: 0;
}
.luxury-intro-name span {
    color: var(--champagne-color);
}

.luxury-intro-slogan {
    margin-top: 1rem;
    font-size: clamp(0.6rem, 2vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--champagne-color);
}

.luxury-glow {
    position: absolute;
    left: 50%;
    top: 0;
    width: 130vw;
    height: 130vw;
    max-width: 900px;
    max-height: 900px;
    transform: translate(-50%, -62%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.24) 0%, transparent 62%);
    animation: glowPulse 6s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.55; transform: translate(-50%, -62%) scale(1); }
    100% { opacity: 1; transform: translate(-50%, -62%) scale(1.08); }
}

.luxury-skyline {
    position: absolute;
    left: 0; right: 0;
    bottom: 24vh;
    height: 18vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.75;
    background: repeating-linear-gradient(90deg,
        rgba(5, 18, 12, 0.92) 0 18px,
        rgba(9, 26, 18, 0.82) 18px 30px,
        rgba(5, 18, 12, 0.92) 30px 54px,
        rgba(9, 26, 18, 0.78) 54px 68px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 38%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 38%, #000 100%);
}

.luxury-skyline::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 196, 110, 0.22) 100%);
}

.luxury-scene {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45vh;
    z-index: 2;
}

.luxury-road-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 24vh;
    background:
        linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, transparent 24%),
        linear-gradient(180deg, #262626 0%, #151515 44%, #070707 100%);
    border-top: 2px solid rgba(212, 175, 55, 0.75);
    box-shadow: 0 -14px 46px rgba(0, 0, 0, 0.85), inset 0 14px 34px rgba(0, 0, 0, 0.65);
    overflow: hidden;
}

.luxury-road-lines {
    position: absolute;
    top: 62%;
    left: 0;
    width: 200%;
    height: 7px;
    transform: translateY(-50%);
    background: repeating-linear-gradient(90deg, #F2C14E 0, #F2C14E 110px, transparent 110px, transparent 220px);
    box-shadow: 0 0 12px rgba(242, 193, 78, 0.5);
    animation: roadDash 0.7s linear infinite;
}

@keyframes roadDash {
    0% { transform: translateY(-50%) translateX(0); }
    100% { transform: translateY(-50%) translateX(-220px); }
}

.luxury-van-container {
    position: absolute;
    bottom: 11vh;
    left: -100%;
    width: min(88vw, 620px);
    animation: vanDrive 4.8s linear forwards;
}

@keyframes vanDrive {
    0% { transform: translateX(0); left: -100%; }
    100% { transform: translateX(0); left: 120%; }
}

.luxury-van-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
}

.luxury-shadow {
    position: absolute;
    bottom: -6px;
    width: 18%;
    height: 14px;
    background: rgba(0,0,0,0.95);
    border-radius: 50%;
    filter: blur(5px);
    z-index: -1;
}
.luxury-shadow-front { right: 12%; }
.luxury-shadow-rear { left: 14%; }

.luxury-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.intro-ctrl-btn {
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--champagne-color);
    color: var(--champagne-color);
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 99px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.intro-ctrl-btn:hover {
    background: var(--champagne-color);
    color: #000;
}

@media (max-width: 639px) {
    .luxury-controls {
        bottom: 1.5rem; right: 1.5rem; gap: 0.5rem;
    }
    .intro-ctrl-btn {
        padding: 0.5rem 0.9rem; font-size: 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .luxury-van-container, .luxury-road-lines, .luxury-particles span, .luxury-glow {
        animation: none;
    }
}

/* ===== Compact theme switch on small screens ===== */
@media (max-width: 639px) {
    .theme-switch {
        width: 2.1rem;
        height: 0.95rem;
        border-width: 1.5px;
    }

    .theme-switch::before {
        font-size: 0.36rem;
        right: 0.28rem;
    }

    .theme-switch::after {
        left: 0.1rem;
        width: 0.68rem;
        height: 0.68rem;
    }

    .theme-switch:checked::before {
        right: auto;
        left: 0.28rem;
    }

    .theme-switch:checked::after {
        left: calc(100% - 0.68rem - 0.1rem);
    }
}

/* ===== Small "on sale" badge shown on every product card ===== */
.sale-badge {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.4rem;
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
    color: var(--ink-900);
    background: linear-gradient(135deg, var(--champagne-color) 0%, var(--accent-color) 100%);
    border: 1px solid rgba(8, 33, 26, 0.18);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
}

@media (min-width: 640px) {
    .sale-badge {
        top: 0.55rem;
        left: 0.55rem;
        padding: 0.26rem 0.6rem;
        font-size: 0.7rem;
    }
}
