﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--light);
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

:root {
    --primary: #4169CC;
    --primary-light: #eef2fd;
    --primary-dark: #2B4EAF;
    --accent: #3DB870;
    --accent-light: #edfaf3;
    --gold: #F0A500;
    --green: #2E9E5B;
    --dark-green: #27854C;
    --dark: #1C1C2E;
    --mid: #555770;
    --light: #F4F5F9;
    --border: #E4E6F0;
    --white: #FFFFFF;
}

.status-bar {
    background: var(--white);
    padding: 10px 22px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
}

.status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.app-header {
    background: var(--white);
    padding: 10px 18px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    position: sticky;
    top: 0;
    z-index: 5;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4.5px;
}

    .hamburger span {
        display: block;
        height: 2px;
        border-radius: 2px;
        background: var(--dark);
    }

        .hamburger span:nth-child(2) {
            width: 14px;
            background: var(--primary);
        }

        .hamburger span:nth-child(1), .hamburger span:nth-child(3) {
            width: 20px;
        }

.cart-btn {
    position: relative;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}

.cart-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text-top {
    font-weight: 800;
    font-size: 15px;
    color: var(--dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-text-sub {
    font-size: 8px;
    color: var(--mid);
    letter-spacing: 3.5px;
    font-weight: 600;
    margin-top: 2px;
}

.screen {
    display: none;
}

    .screen.active {
        display: block;
    }

    .screen::-webkit-scrollbar {
        display: none;
    }

    /* Cart screen must not be height-capped or scroll-trapped */
    .screen.cart-screen {
        max-height: none;
        overflow-y: visible;
        margin-top:7px;
    }

.home-page-container {
    flex: 1;
}

@media (min-width: 700px) {
    .screen-home {
        max-width: 580px;
        margin: 0px auto;
        border-radius: 24px;
        box-shadow: 0 8px 40px rgba(0,0,0,.12);
        overflow: hidden;
        background: var(--white);
    }
    .form-panel {
        border-radius: 24px !important;
        box-shadow: none;
        max-width:600px;
        margin:auto;
    }

    .hero {
        border-radius: 0;
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .home-page-container {
        padding: 40px;
    }
}

/* ── BREADCRUMB ── */
.breadcrumb-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
}

    .breadcrumb-bar::-webkit-scrollbar {
        display: none;
    }

.bc-item {
    font-size: 11px;
    font-weight: 700;
    color: var(--mid);
    cursor: pointer;
    padding: 3px 0;
}

    .bc-item:hover {
        color: var(--primary);
    }

    .bc-item.active {
        color: var(--primary);
    }

.bc-sep {
    font-size: 11px;
    color: #ccd;
    margin: 0 2px;
}

/* ── HERO ── */
.hero {
    background: linear-gradient(160deg,var(--white) 0%,var(--primary-light) 60%,var(--accent-light) 100%);
    padding: 30px 20px 24px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    background: var(--primary-light);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 14px;
}

    .hero-badge span {
        font-size: 11px;
        font-weight: 700;
        color: var(--primary);
        letter-spacing: .6px;
    }

.hero h2 {
    font-size: 21px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 6px;
    line-height: 1.25;
}

.hero p {
    color: var(--mid);
    font-size: 13px;
    margin: 0 0 22px;
    line-height: 1.5;
}

.access-bar {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 3px 14px rgba(28,28,46,.1);
    overflow: hidden;
    border: 1.5px solid var(--border);
}

    .access-bar input {
        flex: 1;
        border: none;
        outline: none;
        padding: 13px 18px;
        font-size: 14px;
        background: transparent;
        color: var(--dark);
        font-family: inherit;
    }

    .access-bar button {
        background: linear-gradient(135deg,var(--primary),var(--primary-dark));
        border: none;
        padding: 0 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
}

    .divider hr {
        flex: 1;
        height: 1px;
        background: var(--border);
        border: none;
    }

    .divider span {
        color: #aab;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
    }

.btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(65,105,204,.28);
    margin-bottom: 10px;
    font-family: inherit;
}

.btn-ghost {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 14px;
    color: var(--mid);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.form-panel {
    background: var(--white);
    border-radius: 24px 24px 0 0;
    padding: 24px 20px 32px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

    .form-header h3 {
        font-size: 18px;
        font-weight: 800;
        color: var(--dark);
        margin: 0;
    }

    .form-header p {
        font-size: 12px;
        color: var(--mid);
        margin: 2px 0 0;
    }

.close-btn {
    background: var(--light);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mid);
}

.field {
    margin-bottom: 14px;
}

    .field label {
        font-size: 11px;
        font-weight: 700;
        color: var(--mid);
        display: block;
        margin-bottom: 6px;
        letter-spacing: .8px;
    }

.field-wrap {
    position: relative;
}

.field input {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    background: var(--white);
    color: var(--dark);
    font-family: inherit;
}

    .field input.error {
        border-color: var(--primary);
        background: var(--primary-light);
    }

.error-msg {
    color: var(--primary);
    font-size: 11px;
    margin: 4px 0 0;
    font-weight: 500;
}

.show-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mid);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    font-family: inherit;
}

.forgot {
    text-align: right;
    margin-bottom: 20px;
    margin-top: -6px;
}

    .forgot a {
        color: var(--primary);
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
    }

/* ── GALLERY ── */
.gallery-screen {
    background: var(--light);
}

.gallery-banner {
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    padding: 16px 18px 14px;
}

.gallery-banner-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.gallery-banner-eyebrow {
    color: rgba(255,255,255,.6);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    margin: 0 0 3px;
    text-transform: uppercase;
}

.gallery-banner-top h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -.3px;
    line-height: 1.1;
}

.gallery-banner-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-banner-logout {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 13px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

.gallery-banner-add-code {
    background: rgba(255,255,255,.95);
    border: none;
    border-radius: 20px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    margin-left: auto;
}

.event-switcher {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;
    color: rgba(255,255,255,.95);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    max-width: fit-content;
}

    .event-switcher span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .event-switcher:hover {
        background: rgba(255,255,255,.22);
    }

.event-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 8;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-bottom: 1px solid var(--border);
    display: none;
    max-height: 280px;
    overflow-y: auto;
}

    .event-dropdown.open {
        display: block;
    }

.event-dropdown-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px 8px;
    border-bottom: 1px solid var(--border);
}

    .event-dropdown-head span {
        font-size: 11px;
        font-weight: 800;
        color: var(--mid);
        letter-spacing: .8px;
    }

.event-add-btn {
    background: var(--primary-light);
    border: none;
    border-radius: 20px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    cursor: pointer;
    font-family: inherit;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--light);
    cursor: pointer;
    transition: background .12s;
}

    .event-item:hover {
        background: var(--light);
    }

    .event-item.active {
        background: var(--primary-light);
    }

.event-item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.event-item-info {
    flex: 1;
}

    .event-item-info strong {
        font-size: 13px;
        font-weight: 800;
        color: var(--dark);
        display: block;
        margin-bottom: 1px;
    }

    .event-item-info span {
        font-size: 10px;
        color: var(--mid);
    }

.event-item-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── INFO BLOCK ── */
.info-block {
    margin: 14px 16px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

@media (min-width: 1300px) {
    .info-block {
        max-width: 1100px;
        min-width:650px;
        margin: 0 auto;
        background: linear-gradient(160deg,var(--white) 0%,var(--primary-light) 60%,var(--accent-light) 100%);
        margin-top: 15px;
    }
}

.countdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px 12px;
    background: linear-gradient(135deg,#f0f4ff,#eef2fd);
    border-bottom: 1px solid var(--border);
}

.countdown-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.countdown-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.countdown-title {
    font-size: 9px;
    font-weight: 800;
    color: var(--mid);
    letter-spacing: .9px;
    text-transform: uppercase;
}

.countdown-date {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 2px;
    letter-spacing: -.2px;
}

.countdown-pills {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.countdown-pill {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 8px;
    text-align: center;
    min-width: 40px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.cp-val {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

.cp-lbl {
    display: block;
    font-size: 8px;
    font-weight: 700;
    color: var(--mid);
    letter-spacing: .8px;
    margin-top: 1px;
}

.savings-row {
    padding: 0;
}

.savings-row-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    cursor: pointer;
    user-select: none;
}

.savings-icon {
    font-size: 15px;
    flex-shrink: 0;
}

.savings-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    flex-shrink: 0;
}

.savings-tag {
    border-radius: 20px;
    padding: 3px 9px;
    font-size: 10px;
    font-weight: 800;
    border: 1.5px solid;
}

.gold-tag {
    color: #7a4f00;
    background: #fffbeb;
    border-color: #f0c040;
}

.green-tag {
    color: #1a5e33;
    background: #edfaf3;
    border-color: #6dd49a;
}

.savings-detail {
    border-top: 1px solid var(--light);
    padding: 4px 0;
}

.savings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--light);
}

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

.savings-item-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.savings-item-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.savings-item-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 3px;
}

.savings-item-sub {
    font-size: 10px;
    color: var(--mid);
    line-height: 1.4;
}

.savings-pct {
    text-align: right;
    flex-shrink: 0;
    line-height: 1;
    font-weight: 800;
    font-size: 22px;
}

    .savings-pct span {
        display: block;
        font-size: 10px;
        font-weight: 600;
        margin-top: 1px;
    }

.gold-pct {
    color: #b07700;
}

    .gold-pct span {
        color: #b07700;
    }

.green-pct {
    color: var(--green);
}

    .green-pct span {
        color: var(--green);
    }

/* ── PHOTO GRID ── */
.section-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 16px 10px;
}

    .section-hd h4 {
        font-size: 14px;
        font-weight: 800;
        color: var(--dark);
    }

    .section-hd span {
        font-size: 11px;
        color: var(--primary);
        font-weight: 700;
        cursor: pointer;
    }

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px 16px;
}

.photo-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform .15s;
}

    .photo-card:active {
        transform: scale(.97);
    }

    .photo-card.featured {
        grid-column: span 2;
    }

.photo-thumb-wrap {
    position: relative;
    overflow: hidden;
}

    .photo-thumb-wrap img {
        width: 100%;
        aspect-ratio: 3/4;
        object-fit: cover;
        display: block;
    }

    .photo-thumb-wrap::after {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient(45deg,rgba(255,255,255,.07) 0px,rgba(255,255,255,.07) 1px,transparent 1px,transparent 20px),repeating-linear-gradient(-45deg,rgba(255,255,255,.07) 0px,rgba(255,255,255,.07) 1px,transparent 1px,transparent 20px);
        pointer-events: none;
    }

.wm-dots {
    position: absolute;
    inset: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    pointer-events: none;
    padding: 10px;
}

.wm-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(180,210,255,.55),rgba(200,230,255,.25));
    border: 1px solid rgba(180,210,255,.5);
    flex-shrink: 0;
}

.photo-ref {
    font-size: 9px;
    color: var(--mid);
    padding: 4px 10px 0;
    font-weight: 600;
    letter-spacing: .4px;
    font-family: monospace;
}

.photo-card-footer {
    padding: 8px 10px 10px;
}

    .photo-card-footer .photo-label {
        font-size: 12px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 6px;
    }

    .photo-card-footer .photo-sub {
        font-size: 10px;
        color: var(--mid);
        margin-bottom: 8px;
    }

.btn-buy {
    width: 100%;
    padding: 9px;
    background: linear-gradient(135deg,var(--accent),#217a45);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(61,184,112,.25);
}

.featured .photo-card-footer {
    padding: 12px 14px 14px;
}

    .featured .photo-card-footer .photo-label {
        font-size: 14px;
        margin-bottom: 4px;
    }

.featured-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

    .featured-actions .btn-buy {
        flex: 2;
    }

    .featured-actions .btn-wishlist {
        flex: 1;
        padding: 9px;
        background: var(--primary-light);
        border: none;
        border-radius: 10px;
        color: var(--primary);
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit;
    }

/* ── CATEGORIES ── */
.cat-hero {
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cat-hero-photo {
    width: 60px;
    height: 75px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.4);
    flex-shrink: 0;
}

.cat-hero-info h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 3px;
}

.cat-hero-info p {
    color: rgba(255,255,255,.7);
    font-size: 11px;
    margin: 0 0 8px;
}

.cat-hero-badge {
    display: inline-flex;
    background: rgba(255,255,255,.2);
    border-radius: 20px;
    padding: 3px 10px;
}

    .cat-hero-badge span {
        font-size: 10px;
        color: #fff;
        font-weight: 700;
    }

.cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.cat-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,.08);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform .15s;
}

    .cat-card:active {
        transform: scale(.97);
    }

.cat-card-img {
    position: relative;
    overflow: hidden;
}

    .cat-card-img img {
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
        display: block;
    }

    .cat-card-img .cat-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top,rgba(28,28,46,.5) 0%,transparent 60%);
    }

    .cat-card-img .cat-badge {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(255,255,255,.9);
        border-radius: 20px;
        padding: 2px 8px;
        font-size: 9px;
        font-weight: 800;
        color: var(--primary);
    }

    .cat-card-img .cat-count {
        position: absolute;
        bottom: 8px;
        left: 8px;
        color: rgba(255,255,255,.9);
        font-size: 10px;
        font-weight: 700;
    }

.cat-card-body {
    padding: 10px 12px 12px;
}

    .cat-card-body h4 {
        font-size: 12px;
        font-weight: 800;
        color: var(--dark);
        margin: 0 0 3px;
    }

    .cat-card-body p {
        font-size: 10px;
        color: var(--mid);
        margin: 0 0 8px;
        line-height: 1.4;
    }

    .cat-card-body .from {
        font-size: 11px;
        font-weight: 800;
        color: var(--accent);
    }

.cat-card-full {
    grid-column: span 2;
    display: flex;
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,.08);
    border: 1px solid var(--border);
    cursor: pointer;
}

    .cat-card-full .cat-card-img {
        width: 120px;
        flex-shrink: 0;
    }

        .cat-card-full .cat-card-img img {
            width: 100%;
            height: 100%;
            aspect-ratio: unset;
            object-fit: cover;
        }

    .cat-card-full .cat-card-body {
        flex: 1;
        padding: 14px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .cat-card-full .cat-card-body h4 {
            font-size: 14px;
            margin-bottom: 4px;
        }

        .cat-card-full .cat-card-body p {
            font-size: 11px;
            margin-bottom: 10px;
        }

/* ── PRODUCTS ── */
.prod-hero {
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    padding: 16px 20px;
    display: flex;
    align-items: center;
}

    .prod-hero h3 {
        color: #fff;
        font-size: 15px;
        font-weight: 800;
        margin: 0 0 2px;
    }

    .prod-hero p {
        color: rgba(255,255,255,.7);
        font-size: 11px;
        margin: 0;
    }

.prod-list {
    padding: 14px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prod-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,.08);
    border: 1px solid var(--border);
}

    .prod-card.selected {
        border: 2px solid var(--primary);
        box-shadow: 0 0 0 3px rgba(65,105,204,.12);
    }

.prod-card-top {
    display: flex;
    gap: 0;
    position: relative;
}

.prod-mockup {
    width: 100px;
    flex-shrink: 0;
    background: linear-gradient(135deg,#f0f3ff,#e8ecf8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    position: relative;
}

.prod-mockup-phone {
    width: 70px;
    height: 86px;
    background: #1C1C2E;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

    .prod-mockup-phone img {
        width: 58px;
        height: 72px;
        object-fit: cover;
        border-radius: 6px;
    }

    .prod-mockup-phone .dl-badge {
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--accent);
        color: #fff;
        font-size: 7px;
        font-weight: 800;
        padding: 2px 6px;
        border-radius: 8px;
        white-space: nowrap;
    }

.prod-mockup-img-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 8px;
}

.prod-info {
    flex: 1;
    padding: 12px 12px 12px 10px;
}

    .prod-info h4 {
        font-size: 13px;
        font-weight: 800;
        color: var(--dark);
        margin: 0 0 3px;
    }

    .prod-info p {
        font-size: 10px;
        color: var(--mid);
        margin: 0 0 8px;
        line-height: 1.5;
    }

    .prod-info .prod-price {
        font-size: 16px;
        font-weight: 800;
        color: var(--accent);
    }

        .prod-info .prod-price span {
            font-size: 10px;
            color: var(--mid);
            font-weight: 500;
            margin-left: 2px;
        }

.prod-card-actions {
    padding: 0 12px 12px;
    display: flex;
    gap: 8px;
}

.btn-select {
    flex: 2;
    padding: 10px;
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 3px 10px rgba(65,105,204,.25);
}

    .btn-select.selected {
        background: linear-gradient(135deg,var(--accent),#217a45);
    }

.btn-change {
    flex: 1;
    padding: 10px;
    background: var(--primary-light);
    border: none;
    border-radius: 10px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.btn-add-cart {
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 14px;
    background: linear-gradient(135deg,var(--accent),#217a45);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(61,184,112,.28);
}


/* ══════════════════════════════════════════════
   CART SCREEN — Stepped Checkout
   ══════════════════════════════════════════════ */

.cart-screen {
}

.cart-header-block {
    background: var(--white);
    padding: 14px 18px 8px;
    border-bottom: 1px solid var(--border);
}

    .cart-header-block h2 {
        font-size: 18px;
        font-weight: 800;
        color: var(--dark);
        margin: 0 0 2px;
        letter-spacing: -.3px;
    }

    .cart-header-block p {
        font-size: 11px;
        color: var(--mid);
        margin-bottom: 14px;
    }

/* Step progress bar */
.step-progress {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 10px 24px;
    position: relative;
}

.step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: var(--mid);
    flex-shrink: 0;
    transition: all .25s;
    position: relative;
    z-index: 1;
}

    .step-dot.active {
        border-color: var(--primary);
        background: var(--primary);
        color: #fff;
    }

    .step-dot.done {
        border-color: var(--accent);
        background: var(--accent);
        color: #fff;
    }

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    transition: background .25s;
}

    .step-line.done {
        background: var(--accent);
    }

.step-label {
    position: absolute;
    top: calc(100% + 4px);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--mid);
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
}

.step-dot.active .step-label {
    color: var(--primary);
}

.step-dot.done .step-label {
    color: var(--accent);
}

/* Step panel animation */
.step-panel {
    display: none;
    animation: stepIn .25s ease;
}

    .step-panel.active {
        display: block;
    }

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-body {
    padding: 0 16px 100px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Compact ASOS-style cart rows */
.cart-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

    .cart-row:last-child {
        border-bottom: none;
    }

.cart-row-thumb {
    width: 70px;
    max-height: 120px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8ecf8, #f0f3ff);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

    .cart-row-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cart-row-thumb .thumb-wm {
        position: absolute;
        inset: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 2px;
    }

.cart-row-info {
    flex: 1;
    min-width: 0;
}

.cart-row-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-row-sub {
    font-size: 10px;
    color: var(--mid);
    margin-top: 1px;
}

.cart-row-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cart-row-qty {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-family: inherit;
    font-weight: 700;
    transition: all .12s;
}

    .qty-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

.qty-val {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    min-width: 12px;
    text-align: center;
}

.cart-row-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--dark);
    min-width: 50px;
    text-align: right;
}

.cart-row-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    font-size: 14px;
    padding: 0;
    line-height: 1;
    transition: color .12s;
}

    .cart-row-remove:hover {
        color: #e05;
    }

/* Upsell strip */
.cart-upsell {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-top: 14px;
}
.cart-upsell-purchased {
    background: linear-gradient(135deg, var(--dark-green), var(--green));
}

.cart-upsell-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

.cart-upsell-text strong {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: block;
    margin-bottom: 1px;
}

.cart-upsell-text span {
    color: rgba(255,255,255,.65);
    font-size: 10px;
}

.cart-upsell-price {
    margin-left: auto;
    background: rgba(255,255,255,.93);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.cart-upsell-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    background: rgba(255,255,255,.93);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Discount input */
.discount-bar {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

    .discount-bar input {
        flex: 1;
        padding: 11px 13px;
        border: 1.5px solid var(--border);
        border-radius: 11px;
        font-size: 12px;
        outline: none;
        background: var(--white);
        color: var(--dark);
        font-family: inherit;
    }

        .discount-bar input:focus {
            border-color: var(--primary);
        }

    .discount-bar button {
        padding: 0 14px;
        background: var(--white);
        border: 1.5px solid var(--primary);
        border-radius: 11px;
        color: var(--primary);
        font-size: 12px;
        font-weight: 800;
        cursor: pointer;
        font-family: inherit;
        white-space: nowrap;
    }

        .discount-bar button:hover {
            background: var(--primary-light);
        }

/* Order summary */
.order-summary {
    background: var(--white);
    border-radius: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
    margin-top: 14px;
}

.order-summary-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--mid);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid var(--light);
}

    .summary-row:last-of-type {
        border-bottom: none;
    }

    .summary-row .lbl {
        font-size: 12px;
        color: var(--mid);
    }

    .summary-row .val {
        font-size: 12px;
        color: var(--dark);
        font-weight: 600;
    }

        .summary-row .val.free {
            color: var(--green);
            font-weight: 700;
        }

.discount-pill {
    background: #edfaf3;
    border: 1px solid #6dd49a;
    border-radius: 20px;
    padding: 2px 9px;
    font-size: 10px;
    font-weight: 700;
    color: var(--green);
}

    .discount-pill.none {
        background: var(--light);
        border-color: var(--border);
        color: var(--mid);
    }

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0 2px;
    border-top: 2px solid var(--border);
    margin-top: 4px;
}

    .summary-total .lbl {
        font-size: 15px;
        font-weight: 800;
        color: var(--dark);
    }

    .summary-total .val {
        font-size: 18px;
        font-weight: 800;
        color: var(--dark);
    }

.summary-tax {
    font-size: 10px;
    color: var(--mid);
    text-align: right;
    margin-top: 1px;
}

/* Floating bottom bar */
.cart-bottom-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 6;
    box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}

.cart-bottom-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cart-bottom-total .cbt-label {
        font-size: 10px;
        color: var(--mid);
        font-weight: 600;
    }

    .cart-bottom-total .cbt-price {
        font-size: 18px;
        font-weight: 800;
        color: var(--dark);
        letter-spacing: -.3px;
    }

.cart-bottom-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(65,105,204,.28);
    transition: transform .1s;
}

    .cart-bottom-btn:active {
        transform: scale(.98);
    }

    .cart-bottom-btn.back {
        background: var(--white);
        color: var(--dark);
        border: 1.5px solid var(--border);
        box-shadow: none;
        font-size: 13px;
        order: 1;
    }

    .cart-bottom-btn.confirm {
        background: linear-gradient(135deg, var(--accent), #217a45);
        box-shadow: 0 4px 14px rgba(61,184,112,.28);
    }

/* Empty cart */
.empty-cart {
    padding: 48px 20px;
    text-align: center;
}

.empty-cart-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-cart h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.empty-cart p {
    font-size: 13px;
    color: var(--mid);
    margin-bottom: 24px;
    line-height: 1.6;
}


/* ══════════════════════════════════════════════
   ADDRESS FORM STEP
   ══════════════════════════════════════════════ */

.address-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.addr-section-card {
    background: var(--white);
    border-radius: 14px;
    padding: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.addr-card-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--mid);
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.delivery-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.delivery-opt {
    flex: 1;
    padding: 10px 8px;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    background: var(--white);
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    transition: all .15s;
}

    .delivery-opt.active {
        border-color: var(--primary);
        background: var(--primary-light);
        box-shadow: 0 0 0 3px rgba(65,105,204,.08);
    }

.delivery-opt-icon {
    font-size: 17px;
    margin-bottom: 2px;
}

.delivery-opt-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--dark);
    display: block;
}

.delivery-opt-sub {
    font-size: 9px;
    color: var(--mid);
    display: block;
    margin-top: 1px;
}

.addr-row {
    display: flex;
    gap: 10px;
}

.addr-field {
    margin-bottom: 10px;
    flex: 1;
}

    .addr-field label {
        font-size: 10px;
        font-weight: 700;
        color: var(--mid);
        display: block;
        margin-bottom: 4px;
        letter-spacing: .5px;
        text-transform: uppercase;
    }

    .addr-field input,
    .addr-field select {
        width: 100%;
        padding: 11px 12px;
        border: 1.5px solid var(--border);
        border-radius: 10px;
        font-size: 13px;
        outline: none;
        background: var(--white);
        color: var(--dark);
        font-family: inherit;
        transition: border-color .15s;
    }

        .addr-field input:focus,
        .addr-field select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(65,105,204,.08);
        }

        .addr-field input::placeholder {
            color: #c0c3d0;
        }

    .addr-field .field-error {
        color: #d04;
        font-size: 10px;
        margin-top: 3px;
        font-weight: 500;
        display: none;
    }

    .addr-field.has-error input,
    .addr-field.has-error select {
        border-color: #d04;
        background: #fef5f5;
    }

    .addr-field.has-error .field-error {
        display: block;
    }

.optional-tag {
    color: #bbc;
    font-weight: 500;
    text-transform: none;
}


/* ══════════════════════════════════════════════
   REVIEW STEP
   ══════════════════════════════════════════════ */

.review-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card {
    background: var(--white);
    border-radius: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.review-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-card-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--mid);
    letter-spacing: .8px;
    text-transform: uppercase;
}

.review-edit-btn {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
}

.review-addr-line {
    font-size: 12px;
    color: var(--dark);
    line-height: 1.6;
}

.review-items-mini {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.review-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--light);
}

    .review-item-row:last-child {
        border-bottom: none;
    }

.review-item-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
}

.review-item-meta {
    font-size: 10px;
    color: var(--mid);
}

.review-item-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
}

.confirm-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: var(--accent-light);
    border-radius: 12px;
    border: 1px solid #b8e6cc;
    margin-top: 2px;
}

    .confirm-note span {
        font-size: 11px;
        color: var(--green);
        font-weight: 600;
        line-height: 1.5;
    }


/* ══════════════════════════════════════════════
   PRODUCTION LAYOUT
   ══════════════════════════════════════════════ */

.layout-container {
    min-height: 100vh;
    background: var(--light);
}

.layout-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* ══════════════════════════════════════════════
   DESKTOP TWO-COLUMN LAYOUT
   ══════════════════════════════════════════════ */

@media (min-width: 768px) {
    .app-header {
        padding: 12px 40px;
    }

        .app-header .logo-text-top {
            font-size: 18px;
        }

    .cart-screen .cart-header-block {
        padding: 20px 40px 0;
        max-width: 1080px;
        margin: 0 auto;
        width: 100%;
    }

    .cart-screen .breadcrumb-bar {
        padding: 8px 40px;
        max-width: 1080px;
        margin: 0 auto;
        display: none;
    }

    .cart-screen .cart-body {
        padding: 0 40px 40px;
        max-width: 1080px;
        margin: 0 auto;
    }

    .cart-desktop-wrap {
        display: flex;
        gap: 24px;
        align-items: flex-start;
    }

    .cart-col-main {
        flex: 1.2;
        min-width: 0;
    }

    .cart-col-side {
        flex: 0.8;
        min-width: 0;
        position: sticky;
        top: 20px;
    }

    .cart-bottom-bar {
        position: relative;
        box-shadow: none;
        border: none;
        padding: 0;
        background: transparent;
        flex-direction: column;
        gap: 10px;
    }

    .cart-bottom-total {
        display: none;
    }

    .cart-bottom-btn,
    .cart-bottom-btn.back {
        flex: unset;
        width: 100%;
    }

    .cart-row-thumb {
        width: 110px;
        max-height: 220px;
    }
}

@media (max-width: 767px) {
    .cart-desktop-wrap {
        display: block;
    }

    .cart-col-side {
        margin-top: 14px;
    }
}


/* ══════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════ */

.pkg-modal {
    position: absolute;
    inset: 0;
    background: rgba(28,28,46,.55);
    z-index: 30;
    display: none;
    align-items: flex-end;
    backdrop-filter: blur(3px);
}

    .pkg-modal.open {
        display: flex;
    }

.pkg-sheet {
    background: var(--white);
    border-radius: 24px 24px 0 0;
    width: 100%;
    padding: 20px 20px 36px;
    max-height: 75%;
    overflow-y: auto;
}

    .pkg-sheet::-webkit-scrollbar {
        display: none;
    }

.pkg-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

    .pkg-sheet-head h3 {
        font-size: 17px;
        font-weight: 800;
        color: var(--dark);
    }

.pkg-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pkg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

    .pkg-item.active {
        border-color: var(--primary);
        background: var(--primary-light);
    }

.pkg-item-info {
    flex: 1;
}

    .pkg-item-info h4 {
        font-size: 13px;
        font-weight: 800;
        color: var(--dark);
        margin: 0 0 2px;
    }

    .pkg-item-info p {
        font-size: 10px;
        color: var(--mid);
        margin: 0;
    }

.pkg-item-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
}

.pkg-item-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pkg-item.active .pkg-item-check {
    background: var(--primary);
    border-color: var(--primary);
}

.wm-mini-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(180,210,255,.55),rgba(200,230,255,.25));
    border: 1px solid rgba(180,210,255,.5);
    flex-shrink: 0;
}

/* ── DRAWER ── */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(28,28,46,.45);
    z-index: 10;
    backdrop-filter: blur(2px);
    display: none;
}

    .overlay.open {
        display: block;
    }

.drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 272px;
    background: var(--white);
    z-index: 20;
    box-shadow: 6px 0 30px rgba(0, 0, 0, .18);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .25s ease;
}

@media (min-width: 768px) {
    .drawer {
        width: 360px;
    }
}

@media (min-width: 1200px) {
    .drawer {
        width: 420px;
    }
}

.drawer.open {
    transform: translateX(0);
}

.drawer-head {
    background: linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 50%,var(--accent) 100%);
    padding: 44px 20px 24px;
}

    .drawer-head p {
        color: rgba(255,255,255,.65);
        font-size: 11px;
        margin-top: 10px;
        letter-spacing: .4px;
    }

.drawer-body {
    flex: 1;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    border: none;
    border-bottom: 1px solid var(--light);
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

    .menu-item .icon {
        font-size: 17px;
        width: 24px;
        text-align: center;
    }

.drawer-foot {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    background: var(--light);
}

.drawer-logout-btn {
    width: 100%;
    padding: 11px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--mid);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

    .drawer-logout-btn:hover {
        border-color: #d0d3dc;
        color: var(--dark);
    }

.drawer-foot-links {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

    .drawer-foot-links a {
        color: var(--mid);
        font-size: 11px;
        text-decoration: none;
        font-weight: 500;
    }

.drawer-foot p {
    font-size: 11px;
    color: #aab;
    line-height: 1.7;
    margin: 0;
}

.hidden {
    display: none !important;
}


/* ══════════════════════════════════════════════
   UTILITY & LEGACY
   ══════════════════════════════════════════════ */

.brandedBackground {
    /*background-image: url("Images/LandingImage.png");*/
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.modal-drop-shadow {
    -webkit-box-shadow: -2px 2px 7px -1px #000000;
    box-shadow: -2px 2px 7px -1px #000000;
}

.title-text-strong-bold {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings: "wdth";
    letter-spacing: 1px;
}

.title-text-bold {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings: "wdth";
    letter-spacing: 0.5px;
}

.modal-backdrop {
    display: none;
}

.loader {
    width: 10rem;
    height: 10rem;
    border: 5px solid #6b6b6b;
    border-bottom-color: white;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loadingDisplayContainer {
    margin: 50px auto 0;
    position: relative;
    display: block;
    width: fit-content;
    border-radius: 12px;
    text-align: center;
    padding: 24px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.offcanvas.cart {
    --bs-offcanvas-width: 100%;
}

@media (min-width: 768px) {
    .offcanvas.cart {
        --bs-offcanvas-width: 75%;
    }
}

@media (min-width: 992px) {
    .offcanvas.cart {
        --bs-offcanvas-width: 50%;
    }
}

/* ── VOUCHER FEEDBACK ── */
.voucher-feedback {
    margin-top: 10px;
}

.voucher-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    background: #fef5f5;
    border: 1.5px solid #f0b0b0;
    border-radius: 11px;
    animation: stepIn .25s ease;
}

.voucher-error-icon {
    font-size: 15px;
    flex-shrink: 0;
}

.voucher-error-text {
    font-size: 12px;
    font-weight: 600;
    color: #b03030;
    line-height: 1.4;
}

.voucher-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voucher-applied {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    background: var(--accent-light);
    border: 1.5px solid #b8e6cc;
    border-radius: 11px;
    animation: stepIn .25s ease;
}

.voucher-applied-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.voucher-applied-info {
    flex: 1;
    min-width: 0;
}

.voucher-applied-code {
    font-size: 11px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: .4px;
}

.voucher-applied-desc {
    font-size: 10px;
    color: var(--mid);
    margin-top: 1px;
}

.voucher-applied-amount {
    font-size: 14px;
    font-weight: 800;
    color: var(--green);
    flex-shrink: 0;
}

.voucher-remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #aab;
    font-size: 13px;
    padding: 0 0 0 4px;
    line-height: 1;
    flex-shrink: 0;
    transition: color .12s;
}

    .voucher-remove-btn:hover {
        color: #d04;
    }

.modal-body {
    padding: 0 !important;
}