@import url("modules/00-base.css");
@import url("modules/01-header-nav.css");
@import url("modules/02-hero-layout-buttons.css");
@import url("modules/03-sections-products.css");
@import url("modules/04-auth-forms-flash.css");
@import url("modules/05-cart-checkout.css");
@import url("modules/06-tryon-orders-admin.css");
@import url("modules/07-footer-utilities-responsive.css");
@import url("modules/08-gold-black-patch.css?v=202610060051");
/* ===== QUICK VIEW MODAL ===== */

body.quick-view-open {
    overflow: hidden;
}

.quick-view-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
}

.quick-view-dialog {
    position: relative;
    width: min(1020px, 100%);
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
}

.quick-view-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.quick-view-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
}

.quick-view-visual {
    padding: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.10);
    min-height: 540px;
}

.quick-view-stage {
    width: 100%;
    min-height: 490px;
    height: 100%;
    border-radius: 24px;
    background: #2f2f2f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.quick-view-stage img {
    width: auto;
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

.quick-view-copy {
    min-height: 540px;
    display: flex;
    flex-direction: column;
    padding: 28px 30px;
}

.quick-view-kicker {
    margin: 0;
    color: var(--yellow);
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.quick-view-copy h2 {
    margin: 12px 0 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.02;
}

.quick-view-price {
    margin-top: 18px;
    color: var(--yellow);
    font-size: clamp(2rem, 3vw, 3.1rem);
    font-weight: 800;
    line-height: 1;
}

.quick-view-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
}

.quick-view-meta-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 16px;
}

.quick-view-meta-card span {
    display: block;
    color: #94a3b8;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.quick-view-meta-card strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
}

.quick-view-description {
    margin-top: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
}

.quick-view-description span {
    display: block;
    color: var(--yellow);
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.quick-view-description p {
    margin: 14px 0 0;
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.8;
}

.quick-view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.quick-view-form {
    margin: 0;
}

.quick-view-actions .btn {
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 16px;
    font-size: 0.98rem;
}

.quick-view-footer {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.quick-view-footer span {
    display: block;
    color: #94a3b8;
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.quick-view-footer p {
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: 0.96rem;
    line-height: 1.7;
}

@media (max-width: 980px) {
    .quick-view-grid {
        grid-template-columns: 1fr;
    }

    .quick-view-visual {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        padding: 18px;
    }

    .quick-view-stage {
        min-height: 320px;
    }

    .quick-view-stage img {
        max-height: 280px;
    }

    .quick-view-copy {
        min-height: auto;
        padding: 22px;
    }

    .quick-view-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .quick-view-overlay {
        padding: 12px;
    }

    .quick-view-dialog {
        border-radius: 22px;
    }

    .quick-view-close {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        font-size: 1.5rem;
    }

    .quick-view-actions {
        flex-direction: column;
    }

    .quick-view-actions .btn,
    .quick-view-form,
    .quick-view-form .btn {
        width: 100%;
    }
}
* {
    box-sizing: border-box;
}

:root {
    --bg: #0b1120;
    --panel: #111827;
    --panel-2: #1f2937;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f9fafb;
    --muted: #cbd5e1;
    --yellow: #facc15;
    --yellow-deep: #eab308;
    --danger: #ef4444;
    --success: #10b981;
    --info: #38bdf8;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

html,
body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at top right, rgba(250, 204, 21, 0.18), transparent 20%),
        linear-gradient(180deg, #0b1120 0%, #111827 100%);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 80px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand strong {
    display: block;
    letter-spacing: 0.12em;
    font-size: 1.15rem;
}

.brand small {
    color: var(--muted);
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--yellow), #f97316);
    color: #111827;
    font-size: 1.35rem;
    box-shadow: var(--shadow);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a,
.site-nav .nav-user {
    color: var(--muted);
    font-size: 0.96rem;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--text);
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.18);
    color: var(--yellow);
    padding: 0 8px;
    font-size: 0.8rem;
    margin-left: 6px;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text);
    border-radius: 14px;
    padding: 10px 12px;
}

.hero {
    padding: 68px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 28px;
    align-items: stretch;
}

.hero-card,
.hero-side {
    background: rgba(17, 24, 39, 0.84);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 42px;
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: auto -90px -90px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.42), transparent 68%);
}

.kicker {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(250, 204, 21, 0.1);
    color: var(--yellow);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1,
.section-head h2,
.page-heading h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
    margin: 0 0 16px;
}

.hero p,
.section-head p,
.page-heading p,
.product-copy p,
.auth-card p,
.checkout-summary p,
.order-card p,
.stat-card p,
.empty-state p {
    color: var(--muted);
    line-height: 1.7;
}

.cta-row,
.inline-actions,
.filters,
.form-grid,
.checkout-layout,
.product-layout,
.tryon-layout,
.dashboard-grid,
.footer-grid,
.stats-grid {
    display: grid;
    gap: 18px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 16px;
    padding: 14px 22px;
    cursor: pointer;
    transition: 0.2s ease;
    font-weight: 700;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
    color: #111827;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(250, 204, 21, 0.35);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.16);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-small {
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.92rem;
}

.hero-side {
    padding: 26px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.metric-card,
.stat-card,
.panel,
.product-card,
.auth-card,
.cart-table-wrap,
.checkout-summary,
.order-card,
.admin-table-wrap,
.empty-state {
    background: rgba(17, 24, 39, 0.84);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.metric-card {
    padding: 20px;
}

.metric-card strong {
    display: block;
    font-size: 1.8rem;
    margin-top: 8px;
}

.metric-card span {
    color: var(--muted);
}

.section {
    padding: 18px 0 60px;
}

.section-head,
.page-heading {
    margin-bottom: 24px;
}

.filters {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-bottom: 22px;
}

.search-input,
.select-field,
.input-field,
textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(15, 23, 42, 0.84);
    color: var(--text);
    padding: 14px 16px;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 20px;
}

.product-card {
    overflow: hidden;
}

.product-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0f172a;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-body {
    padding: 18px;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.product-body h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.price {
    color: var(--yellow);
    font-size: 1.3rem;
    font-weight: 800;
}

.muted {
    color: var(--muted);
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.product-actions form {
    margin: 0;
}

.product-layout {
    grid-template-columns: minmax(300px, 480px) 1fr;
    align-items: start;
    margin-top: 16px;
}

.product-visual {
    overflow: hidden;
}

.product-visual img {
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.product-copy {
    background: rgba(17, 24, 39, 0.84);
    border: 1px solid var(--line);
    padding: 28px;
    border-radius: var(--radius);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 18px;
}

.chip {
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.12);
    color: var(--yellow);
    padding: 8px 14px;
    font-size: 0.88rem;
}

.qty-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 22px;
}

.qty-wrap input {
    width: 110px;
}

.auth-section,
.page-shell {
    padding: 52px 0 64px;
}

.auth-card {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 32px;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.flash {
    margin-top: 18px;
    border-radius: 18px;
    padding: 15px 18px;
    border: 1px solid transparent;
}

.flash-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.26);
    color: #d1fae5;
}

.flash-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.26);
    color: #fecaca;
}

.flash-info {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.26);
    color: #e0f2fe;
}

.cart-table-wrap,
.admin-table-wrap {
    overflow: auto;
    padding: 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.data-table th,
.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.data-table th {
    color: var(--muted);
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.table-product {
    display: flex;
    gap: 14px;
    align-items: center;
}

.table-product img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
}

.cart-total-bar,
.checkout-summary .summary-row,
.order-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.checkout-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.checkout-summary {
    padding: 24px;
    position: sticky;
    top: 110px;
}

.summary-stack {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
}

.summary-row strong:last-child,
.total-amount {
    color: var(--yellow);
}

.tryon-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.tryon-viewer {
    background: rgba(17, 24, 39, 0.84);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

#tryon-canvas {
    width: 100%;
    min-height: 640px;
    background:
        radial-gradient(circle at top center, rgba(250, 204, 21, 0.14), transparent 25%),
        linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

.tryon-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 18px 22px;
    border-top: 1px solid var(--line);
}

.tryon-side {
    display: grid;
    gap: 18px;
}

.option-group {
    padding: 22px;
}

.option-group h3 {
    margin-top: 0;
    margin-bottom: 14px;
}

.option-list {
    display: grid;
    gap: 12px;
}

.option-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.2s ease;
    background: rgba(15, 23, 42, 0.9);
}

.option-item.active {
    border-color: rgba(250, 204, 21, 0.5);
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.22);
}

.option-item label {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    cursor: pointer;
}

.option-item img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
}

.option-item input {
    accent-color: var(--yellow);
}

.option-price {
    color: var(--yellow);
    font-weight: 800;
}

.tryon-summary {
    padding: 24px;
}

.tryon-summary h3 {
    margin-top: 0;
}

.info-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.info-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--muted);
}

.info-list strong {
    color: var(--text);
}

.order-list {
    display: grid;
    gap: 18px;
}

.order-card {
    padding: 24px;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.12);
    color: var(--yellow);
    font-size: 0.86rem;
    font-weight: 700;
}

.order-items {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    color: var(--muted);
}

.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.stat-card {
    padding: 22px;
}

.stat-card strong {
    display: block;
    font-size: 1.9rem;
    margin-top: 10px;
    color: var(--yellow);
}

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

.footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
    padding: 36px 0;
    align-items: start;
}

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 40px;
    background: rgba(11, 17, 32, 0.9);
}

.site-footer h3,
.site-footer h4 {
    margin-top: 0;
}

.site-footer p,
.site-footer a {
    color: var(--muted);
    line-height: 1.8;
    display: block;
    margin-bottom: 6px;
}

.empty-state {
    padding: 34px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid var(--line);
}

.badge.processing { color: #fcd34d; background: rgba(250, 204, 21, 0.12); }
.badge.paid { color: #bfdbfe; background: rgba(59, 130, 246, 0.12); }
.badge.shipped { color: #c4b5fd; background: rgba(139, 92, 246, 0.12); }
.badge.delivered { color: #bbf7d0; background: rgba(16, 185, 129, 0.12); }
.badge.cancelled { color: #fecaca; background: rgba(239, 68, 68, 0.12); }

.helper-text {
    color: var(--muted);
    font-size: 0.92rem;
}

.hidden {
    display: none !important;
}

@media (max-width: 960px) {
    .hero-grid,
    .product-layout,
    .tryon-layout,
    .checkout-layout,
    .dashboard-grid,
    .footer-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    #tryon-canvas {
        min-height: 500px;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 88px;
        background: rgba(17, 24, 39, 0.98);
        border: 1px solid var(--line);
        border-radius: 20px;
        padding: 16px;
        display: none;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: grid;
    }

    .hero-card,
    .product-copy,
    .auth-card,
    .option-group,
    .tryon-summary {
        padding: 22px;
    }

    .product-actions,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .option-item label {
        grid-template-columns: 72px 1fr;
    }

    .option-price {
        grid-column: 2 / 3;
    }
}


/* ===== TRY-ON STUDIO REDESIGN ===== */
.tryon-studio-page {
    padding: 0 0 30px;
}

.tryon-studio-grid {
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr) 300px;
    gap: 0;
    min-height: calc(100vh - 82px);
}

.tryon-left-panel,
.tryon-right-panel,
.tryon-main-stage {
    min-width: 0;
}

.tryon-left-panel {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.66);
    padding: 18px;
}

.tryon-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tryon-filter-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255,255,255,0.02);
    color: #f8fafc;
    padding: 14px 14px;
    cursor: pointer;
}

.tryon-filter-chip span {
    font-weight: 700;
    font-size: 1rem;
}

.tryon-filter-chip strong {
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #d1d5db;
    font-size: 0.9rem;
    font-weight: 800;
}

.tryon-filter-chip.active {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
    color: #111827;
    border-color: transparent;
}

.tryon-filter-chip.active strong {
    background: rgba(0,0,0,0.12);
    color: #111827;
}

.tryon-search-card {
    margin-top: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tryon-search-input {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    color: #f8fafc;
    padding: 15px 16px;
    outline: none;
}

.tryon-price-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.tryon-price-pill {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    color: #e5e7eb;
    font-weight: 700;
    cursor: pointer;
}

.tryon-price-pill.active {
    background: var(--yellow);
    color: #111827;
    border-color: transparent;
}

.tryon-catalog-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
    max-height: calc(100vh - 250px);
    overflow: auto;
    padding-right: 4px;
}

.tryon-catalog-list::-webkit-scrollbar {
    width: 8px;
}

.tryon-catalog-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
}

.tryon-product-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.tryon-product-card.none-card {
    grid-template-columns: 1fr;
}

.tryon-product-card img {
    width: 78px;
    height: 68px;
    object-fit: cover;
    border-radius: 16px;
    background: #2f2f2f;
}

.tryon-product-card.selected {
    border-color: rgba(255, 191, 0, 0.55);
    background: rgba(255, 191, 0, 0.10);
    box-shadow: inset 0 0 0 1px rgba(255,191,0,0.22);
}

.tryon-product-copy-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tryon-product-copy-wrap.no-thumb {
    justify-content: flex-start;
}

.tryon-product-copy-wrap strong {
    display: block;
    font-size: 1rem;
    line-height: 1.25;
}

.tryon-product-copy-wrap span {
    display: block;
    color: #9ca3af;
    font-size: 0.92rem;
    margin-top: 4px;
    line-height: 1.45;
}

.tryon-product-copy-wrap em {
    font-style: normal;
    color: var(--yellow);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tryon-product-meta-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.tryon-product-meta-line .price {
    font-size: 1rem;
}

.tag-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: rgba(255,191,0,0.12);
    color: var(--yellow);
    font-size: 0.74rem;
    font-weight: 700;
}

.tryon-main-stage {
    position: relative;
    padding: 26px 24px 24px;
    background: radial-gradient(circle at top, rgba(255,191,0,0.08), transparent 22%), #000;
}

.tryon-stage-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 26px;
    background: linear-gradient(90deg, rgba(255,191,0,0), rgba(255,191,0,0.18), rgba(255,191,0,0));
}

.tryon-stage-header-card {
    position: absolute;
    top: 24px;
    left: 42px;
    z-index: 2;
    width: min(390px, calc(100% - 84px));
    padding: 18px 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(8px);
}

.tryon-stage-header-card span,
.tryon-panel-head span,
.tryon-selected-product-panel > span {
    display: block;
    color: var(--yellow);
    font-size: 0.86rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.tryon-stage-header-card h2,
.tryon-panel-head h3,
.tryon-selected-product-panel h3 {
    margin: 10px 0 0;
    font-size: 1.6rem;
}

.tryon-stage-header-card p {
    margin: 10px 0 0;
    color: #94a3b8;
    line-height: 1.55;
    font-size: 0.96rem;
}

.tryon-stage-viewer {
    position: relative;
    height: calc(100vh - 130px);
    min-height: 720px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    background: #000;
}

#tryon-canvas {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: radial-gradient(circle at top center, rgba(255,191,0,0.08), transparent 20%), #000000;
}

.tryon-reset-view {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.72);
    color: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    cursor: pointer;
}

.tryon-right-panel {
    border-left: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.62);
    padding: 26px 20px 24px;
    display: grid;
    align-content: start;
    gap: 16px;
}

.tryon-outfit-panel,
.tryon-selected-product-panel {
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.58);
    padding: 20px;
}

.tryon-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.tryon-save-btn {
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    color: var(--yellow);
    border-radius: 14px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}

.tryon-selection-list {
    display: grid;
    gap: 14px;
}

.tryon-selection-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
    padding: 12px;
}

.tryon-selection-row .thumb {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
    background-size: cover;
    background-position: center;
}

.tryon-selection-row .copy strong {
    display: block;
    font-size: 0.98rem;
}

.tryon-selection-row .copy span {
    display: block;
    color: #94a3b8;
    font-size: 0.88rem;
    margin-top: 4px;
}

.tryon-selection-row .remove {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
}

.tryon-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.tryon-total-row span {
    color: #d1d5db;
    font-size: 0.95rem;
}

.tryon-total-row strong,
.tryon-selected-price {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 800;
}

.tryon-selected-product-panel h3 {
    margin-bottom: 6px;
}

.tryon-selected-price {
    margin-top: 2px;
    font-size: 1.95rem;
}

.tryon-action-row {
    margin: 14px 0 0;
}

.tryon-buy-form {
    margin-top: 10px;
}

.tryon-action-row .btn {
    width: 100%;
}

@media (max-width: 1380px) {
    .tryon-studio-grid {
        grid-template-columns: 360px minmax(0, 1fr) 280px;
    }
}

@media (max-width: 1180px) {
    .tryon-studio-grid {
        grid-template-columns: 1fr;
    }

    .tryon-left-panel,
    .tryon-right-panel {
        border: none;
    }

    .tryon-stage-header-card {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        margin-bottom: 16px;
    }

    .tryon-stage-viewer {
        height: 700px;
    }

    .tryon-catalog-list {
        max-height: none;
    }
}

@media (max-width: 760px) {
    .tryon-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tryon-product-card {
        grid-template-columns: 64px 1fr;
    }

    .tryon-product-card img {
        width: 64px;
        height: 60px;
    }

    .tryon-selection-row {
        grid-template-columns: 48px 1fr auto;
    }

    .tryon-selection-row .thumb {
        width: 48px;
        height: 48px;
    }

    .tryon-stage-viewer {
        height: 560px;
        min-height: 560px;
    }
}
/* ===== TIKTOK-STYLE MY ORDERS ===== */

.orders-page-tiktok .page-heading h1 {
    margin-top: 0;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.02;
}

.orders-page-tiktok .page-heading p {
    max-width: 760px;
    color: #d4d0c8;
    font-size: 1rem;
    line-height: 1.7;
}

.tt-orders-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.tt-order-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tt-order-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    cursor: pointer;
}

.tt-order-summary::-webkit-details-marker {
    display: none;
}

.tt-order-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.tt-order-thumb {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    background: #2e2e2e;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tt-order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-order-thumb-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #9ca3af;
    font-size: 0.72rem;
    text-align: center;
    padding: 8px;
}

.tt-order-main {
    min-width: 0;
}

.tt-order-title {
    display: block;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.2;
}

.tt-order-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.tt-order-price {
    color: var(--yellow);
    font-size: 0.96rem;
    font-weight: 800;
}

.tt-order-qty {
    color: #d1d5db;
    font-size: 0.9rem;
}

.tt-order-submeta {
    margin-top: 6px;
    color: #9ca3af;
    font-size: 0.84rem;
    line-height: 1.35;
}

.tt-order-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tt-order-total {
    color: var(--yellow);
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.tt-order-chevron {
    color: #d1d5db;
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.18s ease;
}

.tt-order-card[open] .tt-order-chevron {
    transform: rotate(90deg);
    color: var(--yellow);
}

.tt-order-body {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.tt-order-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.tt-order-info-box {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 16px;
}

.tt-order-info-box span {
    display: block;
    color: #9ca3af;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tt-order-info-box strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.3;
}

.tt-order-info-total {
    color: var(--yellow) !important;
}

.tt-order-detail-block {
    margin-top: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
}

.tt-order-detail-block span {
    display: block;
    color: var(--yellow);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tt-order-detail-block p {
    margin: 10px 0 0;
    color: #d4d4d8;
    line-height: 1.7;
    font-size: 0.94rem;
}

.tt-order-items-wrap {
    margin-top: 16px;
}

.tt-order-items-wrap h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.tt-order-items-list {
    display: grid;
    gap: 10px;
}

.tt-order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
}

.tt-order-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tt-order-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    background: #2e2e2e;
    flex-shrink: 0;
}

.tt-order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-order-item-copy strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.tt-order-item-copy span {
    display: block;
    margin-top: 4px;
    color: #9ca3af;
    font-size: 0.84rem;
}

.tt-order-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.tt-order-item-right span {
    color: #d1d5db;
    font-size: 0.84rem;
}

.tt-order-item-right strong {
    color: var(--yellow);
    font-size: 0.95rem;
}

@media (max-width: 960px) {
    .tt-order-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .tt-order-right {
        width: 100%;
        justify-content: space-between;
    }

    .tt-order-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tt-order-item-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .tt-order-item-right {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .tt-order-thumb {
        width: 64px;
        height: 64px;
    }

    .tt-order-title {
        font-size: 0.96rem;
    }

    .tt-order-total {
        font-size: 0.92rem;
    }

    .tt-order-body {
        padding: 16px;
    }

    .tt-order-info-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== TIKTOK-STYLE MY ORDERS POLISH ===== */

.tt-order-card {
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.tt-order-card:hover {
    border-color: rgba(255, 191, 0, 0.18);
    background: rgba(0, 0, 0, 0.34);
}

.tt-order-summary {
    transition: background 0.18s ease;
}

.tt-order-summary:hover {
    background: rgba(255, 255, 255, 0.02);
}

.tt-order-chevron {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.2rem;
    line-height: 1;
}

.tt-order-card[open] .tt-order-chevron {
    background: rgba(255, 191, 0, 0.10);
    border-color: rgba(255, 191, 0, 0.22);
}

.tt-order-body {
    animation: ttOrderFadeDown 0.18s ease;
}

@keyframes ttOrderFadeDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tt-order-summary:focus-visible {
    outline: 2px solid rgba(255, 191, 0, 0.45);
    outline-offset: 2px;
}
.admin-nav a {
    margin-right: 15px;
    font-weight: bold;
    color: #facc15;
}
.admin-body {
    background: #0b1020;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: #070b16;
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
    z-index: 1000;
}

.admin-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    color: #fff;
    text-decoration: none;
    margin-bottom: 34px;
}

.admin-brand span {
    width: 48px;
    height: 48px;
    background: #facc15;
    color: #111827;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.admin-brand strong {
    display: block;
    font-size: 22px;
    letter-spacing: 3px;
}

.admin-brand small {
    color: #94a3b8;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 11px;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-menu a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: #facc15;
    color: #111827;
}

.admin-main {
    margin-left: 260px;
    min-height: 100vh;
    padding: 30px;
}

.admin-main .page-shell {
    padding-top: 0;
}
.admin-heading-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.dashboard-card-large {
    min-height: 360px;
}

.card-header {
    padding: 20px 22px 8px;
}

.card-header h2 {
    margin: 0;
    font-size: 20px;
}

.card-header p {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 14px;
}

.admin-table-wrap canvas {
    padding: 20px;
}

@media (max-width: 900px) {
    .admin-heading-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ===== ADMIN DASHBOARD UI UPGRADE ===== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(145deg, #111827, #1f2937);
    border-radius: 18px;
    padding: 22px;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.stat-card span {
    font-size: 13px;
    color: #9ca3af;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-card strong {
    display: block;
    margin-top: 10px;
    font-size: 28px;
    font-weight: 800;
}

/* Glow accent */
.stat-card::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(250, 204, 21, 0.25);
    top: -30px;
    right: -30px;
    border-radius: 50%;
    filter: blur(40px);
}

/* Dashboard Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.admin-table-wrap {
    background: #0f172a;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    overflow: hidden;
}

/* Card Header */
.card-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.card-header h2 {
    margin: 0;
    font-size: 18px;
    color: #fff;
}

.card-header p {
    margin-top: 4px;
    font-size: 13px;
    color: #94a3b8;
}

/* Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: #020617;
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px;
}

.data-table td {
    padding: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #e5e7eb;
}

/* Badge */
.badge {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.badge.processing { background: #facc15; color: #111; }
.badge.paid { background: #22c55e; color: #fff; }
.badge.shipped { background: #3b82f6; color: #fff; }
.badge.delivered { background: #10b981; color: #fff; }
.badge.cancelled { background: #ef4444; color: #fff; }

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 13px;
}

.btn-primary {
    background: #facc15;
    color: #111;
}

.btn-secondary {
    background: #1f2937;
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}
.tryon-avatar-switcher {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tryon-avatar-switcher label {
    color: #facc15;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.tryon-avatar-switcher select {
    min-width: 140px;
}

/* ===== CUSTOMER ORDER CANCELLATION ===== */
.tt-order-cancel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid rgba(248, 113, 113, .18);
    border-radius: 14px;
    background: rgba(127, 29, 29, .08);
}

.tt-order-cancel-actions > div {
    display: grid;
    gap: 4px;
}

.tt-order-cancel-actions strong {
    color: #f8fafc;
}

.tt-order-cancel-actions span {
    color: #94a3b8;
    font-size: .82rem;
}

.tt-cancel-order-btn {
    flex: 0 0 auto;
}

.tt-order-cancel-locked {
    margin: 18px 0;
    padding: 12px 14px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 12px;
    background: rgba(15, 23, 42, .55);
    color: #cbd5e1;
    font-size: .84rem;
    line-height: 1.5;
}

.tt-order-cancelled-notice {
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(248, 113, 113, .3);
    border-radius: 16px;
    background: rgba(127, 29, 29, .13);
}

.tt-order-cancelled-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.tt-order-cancelled-head strong {
    color: #fecaca;
    font-size: 1rem;
}

.tt-order-cancelled-head span {
    color: #cbd5e1;
    font-size: .82rem;
    text-align: right;
}

.tt-order-cancelled-reason,
.customer-cancel-lock-reason {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(15, 23, 42, .58);
}

.tt-order-cancelled-reason > span,
.customer-cancel-lock-reason > span {
    display: block;
    margin-bottom: 5px;
    color: #fca5a5;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tt-order-cancelled-reason p,
.customer-cancel-lock-reason strong {
    margin: 0;
    color: #f8fafc;
    line-height: 1.55;
}

.tt-cancel-modal[hidden] {
    display: none !important;
}

.tt-cancel-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.tt-cancel-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(4px);
}

.tt-cancel-modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(760px, calc(100vh - 40px));
    overflow-y: auto;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: #111827;
    box-shadow: 0 28px 70px rgba(0,0,0,.5);
}

.tt-cancel-modal-x {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.tt-cancel-modal-header {
    padding-right: 42px;
    margin-bottom: 18px;
}

.tt-cancel-modal-header h2 {
    margin: 4px 0 7px;
    color: #fff;
}

.tt-cancel-modal-header p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.5;
}

.tt-cancel-reason-list {
    display: grid;
    gap: 9px;
}

.tt-cancel-reason-option {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    color: #e5e7eb;
    cursor: pointer;
}

.tt-cancel-reason-option:hover {
    border-color: rgba(250,204,21,.25);
    background: rgba(250,204,21,.05);
}

.tt-cancel-reason-option input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    accent-color: #facc15;
}

.tt-cancel-other-wrap {
    display: grid;
    gap: 7px;
    margin-top: 13px;
}

.tt-cancel-other-wrap[hidden] {
    display: none !important;
}

.tt-cancel-other-wrap label {
    color: #e5e7eb;
    font-weight: 700;
    font-size: .88rem;
}

.tt-cancel-other-wrap textarea {
    width: 100%;
    min-height: 96px;
    resize: vertical;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    color: #fff;
    padding: 12px 13px;
    font: inherit;
    outline: none;
}

.tt-cancel-other-wrap textarea:focus {
    border-color: rgba(250,204,21,.4);
    box-shadow: 0 0 0 3px rgba(250,204,21,.08);
}

.tt-cancel-form-error {
    margin: 12px 0 0;
    color: #fca5a5;
    font-size: .84rem;
}

.tt-cancel-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

body.tt-cancel-modal-open {
    overflow: hidden;
}

.customer-cancel-info {
    border-color: rgba(248, 113, 113, .2);
}

.customer-cancel-lock-card {
    border-color: rgba(248, 113, 113, .25);
    background: rgba(127, 29, 29, .1);
}

.customer-cancel-lock-card h3 {
    color: #fecaca;
}

.customer-cancel-lock-reason {
    margin: 14px 0;
}

@media (max-width: 640px) {
    .tt-order-cancel-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tt-cancel-order-btn {
        width: 100%;
    }

    .tt-order-cancelled-head {
        display: grid;
    }

    .tt-order-cancelled-head span {
        text-align: left;
    }

    .tt-cancel-modal {
        padding: 12px;
    }

    .tt-cancel-modal-card {
        padding: 20px;
        border-radius: 18px;
    }

    .tt-cancel-modal-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* ===== CANCELLED ORDER PRINT LOCK ===== */
.cancelled-print-blocker {
    display: none;
}

@media print {
    .cancelled-print-blocker {
        display: none;
    }

    body:has(.cancelled-print-blocker) .clean-print-area {
        display: none !important;
    }

    body:has(.cancelled-print-blocker)::before {
        content: "Invoice printing is only available for approved, active orders.";
        display: block;
        padding: 32px;
        font: 700 18px/1.4 Arial, sans-serif;
        color: #111;
    }
}


/* ===== QUICK VIEW BUY NOW QUANTITY ===== */
.quick-view-buy-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-view-quantity-block {
    display: grid;
    gap: 7px;
}

.quick-view-quantity-label {
    color: #cbd5e1;
    font-size: .78rem;
    font-weight: 700;
}

.quick-view-quantity-stepper {
    display: grid;
    grid-template-columns: 38px 56px 38px;
    align-items: center;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    overflow: hidden;
}

.quick-view-quantity-stepper button {
    height: 48px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.15rem;
    cursor: pointer;
}

.quick-view-quantity-stepper button:hover:not(:disabled) {
    background: rgba(250,204,21,.08);
    color: #facc15;
}

.quick-view-quantity-stepper button:disabled {
    opacity: .38;
    cursor: not-allowed;
}

.quick-view-quantity-stepper input {
    width: 56px;
    height: 48px;
    border: 0;
    border-left: 1px solid rgba(255,255,255,.08);
    border-right: 1px solid rgba(255,255,255,.08);
    background: transparent;
    color: #fff;
    text-align: center;
    font: inherit;
    font-weight: 800;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quick-view-quantity-stepper input::-webkit-outer-spin-button,
.quick-view-quantity-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.quick-view-buy-form > .btn {
    min-height: 48px;
}

@media (max-width: 640px) {
    .quick-view-buy-form {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .quick-view-quantity-block {
        width: 100%;
    }

    .quick-view-quantity-stepper {
        width: max-content;
    }
}


/* ===== TWO STEP BUY NOW ===== */
.quick-view-buy-form[hidden],
.tryon-buy-now-form[hidden] {
    display: none !important;
}

.quick-view-buy-trigger-wrap,
.tryon-buy-trigger-wrap {
    display: flex;
    align-items: flex-end;
}

.quick-view-buy-form {
    align-items: flex-end;
}

.tryon-buy-now-form {
    display: grid;
    gap: 12px;
}

.tryon-buy-quantity-block {
    display: grid;
    gap: 7px;
}

.tryon-buy-quantity-block > span {
    color: #cbd5e1;
    font-size: .78rem;
    font-weight: 700;
}

.tryon-buy-quantity-stepper {
    display: grid;
    grid-template-columns: 40px 64px 40px;
    width: max-content;
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,.035);
}

.tryon-buy-quantity-stepper button,
.tryon-buy-quantity-stepper input {
    height: 46px;
    border: 0;
    background: transparent;
    color: #fff;
}

.tryon-buy-quantity-stepper button {
    font-size: 1.1rem;
    cursor: pointer;
}

.tryon-buy-quantity-stepper button:hover:not(:disabled) {
    background: rgba(250,204,21,.08);
    color: #facc15;
}

.tryon-buy-quantity-stepper input {
    width: 64px;
    border-left: 1px solid rgba(255,255,255,.08);
    border-right: 1px solid rgba(255,255,255,.08);
    text-align: center;
    font: inherit;
    font-weight: 800;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.tryon-buy-quantity-stepper input::-webkit-outer-spin-button,
.tryon-buy-quantity-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

@media (max-width: 640px) {
    .quick-view-buy-trigger-wrap,
    .quick-view-buy-trigger-wrap .btn,
    .tryon-buy-trigger-wrap,
    .tryon-buy-trigger-wrap .btn,
    .tryon-buy-now-form,
    .tryon-buy-now-form > .btn {
        width: 100%;
    }
}


/* ===== PROFESSIONAL BUY NOW UI ===== */
.quick-view-primary-actions[hidden],
.tryon-primary-purchase-actions[hidden],
.quick-view-purchase-panel[hidden],
.tryon-purchase-panel[hidden] {
    display: none !important;
}

/* Product View: clean two-button primary state */
.quick-view-primary-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.quick-view-primary-actions .quick-view-form,
.quick-view-primary-actions .btn {
    width: 100%;
}

.quick-view-primary-actions .btn {
    min-height: 50px;
    border-radius: 14px;
}

.quick-view-primary-actions .quick-view-tryon-action {
    grid-column: 1 / -1;
}

.quick-view-primary-actions .quick-view-tryon-action .btn {
    width: auto;
    min-width: 190px;
}

/* Product View: focused purchase step */
.quick-view-purchase-panel {
    width: 100%;
    margin-top: 20px;
    padding: 17px;
    border: 1px solid rgba(250, 204, 21, .24);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(250, 204, 21, .065), rgba(255,255,255,.018)),
        rgba(10, 10, 10, .86);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.quick-view-purchase-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.quick-view-purchase-head > div {
    display: grid;
    gap: 4px;
}

.quick-view-purchase-kicker {
    color: #facc15;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.quick-view-purchase-head strong {
    color: #f8fafc;
    font-size: 1rem;
}

.quick-view-purchase-head small {
    max-width: 390px;
    color: #94a3b8;
    font-size: .78rem;
    line-height: 1.45;
}

.quick-view-purchase-stock {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    color: #cbd5e1;
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}

.quick-view-purchase-controls {
    display: grid;
    grid-template-columns: auto minmax(190px, 1fr) auto;
    align-items: end;
    gap: 10px;
    padding-top: 14px;
}

.quick-view-purchase-controls .quick-view-quantity-block {
    gap: 6px;
}

.quick-view-purchase-controls .quick-view-quantity-label {
    color: #94a3b8;
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.quick-view-purchase-controls .quick-view-quantity-stepper {
    grid-template-columns: 40px 54px 40px;
    min-height: 46px;
    border-radius: 12px;
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.025);
}

.quick-view-purchase-controls .quick-view-quantity-stepper button,
.quick-view-purchase-controls .quick-view-quantity-stepper input {
    height: 46px;
}

.quick-view-purchase-controls .quick-view-proceed-btn,
.quick-view-purchase-controls .quick-view-buy-back {
    min-height: 46px;
    border-radius: 12px;
    margin: 0;
}

.quick-view-purchase-controls .quick-view-proceed-btn {
    width: 100%;
    box-shadow: none;
}

.quick-view-purchase-controls .quick-view-buy-back {
    min-width: 78px;
    padding-inline: 16px;
}

/* Try-On: matching purchase hierarchy */
.tryon-primary-purchase-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.tryon-primary-purchase-actions .tryon-selected-actions,
.tryon-primary-purchase-actions .btn {
    width: 100%;
}

.tryon-primary-purchase-actions .btn {
    min-height: 46px;
    border-radius: 12px;
}

.tryon-purchase-panel {
    width: 100%;
    margin-top: 14px;
    padding: 15px;
    border: 1px solid rgba(250, 204, 21, .22);
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(250, 204, 21, .055), rgba(255,255,255,.015)),
        rgba(8, 8, 8, .7);
}

.tryon-purchase-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.tryon-purchase-head > div {
    display: grid;
    gap: 3px;
}

.tryon-purchase-head > div > span {
    color: #facc15;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tryon-purchase-head strong {
    color: #f8fafc;
    font-size: .95rem;
}

.tryon-purchase-head small {
    color: #94a3b8;
    font-size: .75rem;
    line-height: 1.4;
}

.tryon-purchase-stock {
    flex: 0 0 auto;
    color: #cbd5e1;
    font-size: .7rem;
    font-weight: 700;
    white-space: nowrap;
}

.tryon-purchase-controls {
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr) auto;
    align-items: end;
    gap: 9px;
    padding-top: 12px;
}

.tryon-purchase-controls .tryon-buy-quantity-block {
    gap: 6px;
}

.tryon-purchase-controls .tryon-buy-quantity-block > span {
    color: #94a3b8;
    font-size: .68rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tryon-purchase-controls .tryon-buy-quantity-stepper {
    grid-template-columns: 38px 54px 38px;
    min-height: 44px;
    border-radius: 11px;
}

.tryon-purchase-controls .tryon-buy-quantity-stepper button,
.tryon-purchase-controls .tryon-buy-quantity-stepper input {
    height: 44px;
}

.tryon-purchase-controls > .btn {
    min-height: 44px;
    border-radius: 11px;
    margin: 0;
}

@media (max-width: 700px) {
    .quick-view-primary-actions,
    .tryon-primary-purchase-actions {
        grid-template-columns: 1fr;
    }

    .quick-view-primary-actions .quick-view-tryon-action {
        grid-column: auto;
    }

    .quick-view-primary-actions .quick-view-tryon-action .btn {
        width: 100%;
    }

    .quick-view-purchase-head,
    .tryon-purchase-head {
        display: grid;
    }

    .quick-view-purchase-stock,
    .tryon-purchase-stock {
        width: max-content;
    }

    .quick-view-purchase-controls,
    .tryon-purchase-controls {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .quick-view-purchase-controls .quick-view-quantity-stepper,
    .tryon-purchase-controls .tryon-buy-quantity-stepper {
        width: max-content;
    }

    .quick-view-purchase-controls .quick-view-buy-back,
    .quick-view-purchase-controls .quick-view-proceed-btn,
    .tryon-purchase-controls > .btn {
        width: 100%;
    }
}


/* ===== TRYON BUY PANEL SIDEBAR FIT ===== */
.tryon-right-panel {
    overflow-x: hidden !important;
}

.tryon-selected-panel,
.tryon-selected-panel *,
.tryon-purchase-panel,
.tryon-purchase-panel * {
    box-sizing: border-box;
    min-width: 0;
}

.tryon-purchase-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px;
    padding: 12px;
    overflow: hidden;
    border-radius: 14px;
}

.tryon-purchase-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px;
    padding-bottom: 10px;
}

.tryon-purchase-head > div {
    min-width: 0;
}

.tryon-purchase-head strong {
    font-size: .9rem;
    line-height: 1.2;
}

.tryon-purchase-head small {
    display: block;
    max-width: 100%;
    font-size: .7rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tryon-purchase-stock {
    width: fit-content;
    max-width: 100%;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    font-size: .64rem;
    line-height: 1.2;
    white-space: normal;
}

.tryon-purchase-controls {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
    gap: 8px;
    width: 100%;
    padding-top: 10px;
}

.tryon-purchase-controls .tryon-buy-quantity-block {
    width: 100%;
}

.tryon-purchase-controls .tryon-buy-quantity-stepper {
    width: 100% !important;
    max-width: 100%;
    grid-template-columns: 38px minmax(0, 1fr) 38px !important;
}

.tryon-purchase-controls .tryon-buy-quantity-stepper input {
    width: 100% !important;
    min-width: 0;
}

.tryon-purchase-controls > .btn {
    width: 100% !important;
    min-width: 0;
    min-height: 42px;
    padding: 9px 10px;
    white-space: normal;
    line-height: 1.2;
}

.tryon-primary-purchase-actions {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.tryon-primary-purchase-actions .tryon-selected-actions,
.tryon-primary-purchase-actions .btn {
    min-width: 0;
}

@media (max-width: 1180px) {
    .tryon-primary-purchase-actions {
        grid-template-columns: 1fr;
    }
}


/* ===== PROFESSIONAL ADMIN DASHBOARD & REPORTS ===== */
.admin-pro-dashboard,
.admin-pro-reports {
    background: radial-gradient(circle at 92% 0%, rgba(250,204,21,.05), transparent 30%);
}

.admin-pro-heading {
    display:flex; justify-content:space-between; align-items:flex-start; gap:24px;
    margin-bottom:24px;
}
.admin-pro-heading h1 { margin:6px 0 7px; font-size:clamp(2rem,4vw,3rem); line-height:1.04; }
.admin-pro-heading p { margin:0; max-width:720px; color:#94a3b8; line-height:1.55; }
.admin-pro-heading-actions { display:flex; align-items:stretch; gap:10px; }
.admin-pro-heading-actions > .btn { display:inline-flex; align-items:center; min-height:56px; }

.admin-pro-kpi-grid,
.admin-pro-report-kpis {
    display:grid; gap:14px; margin-bottom:16px;
}
.admin-pro-kpi-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.admin-pro-report-kpis { grid-template-columns:repeat(3,minmax(0,1fr)); }

.admin-pro-kpi,
.admin-pro-card,
.admin-pro-today-strip,
.admin-pro-report-scope,
.admin-pro-reporting-note {
    border:1px solid rgba(255,255,255,.085);
    background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)),rgba(8,12,22,.90);
    box-shadow:0 16px 42px rgba(0,0,0,.20);
}

.admin-pro-kpi {
    min-width:0; min-height:142px; padding:18px; border-radius:18px;
}
.admin-pro-kpi.needs-attention { border-color:rgba(248,113,113,.24); }
.admin-pro-kpi-top { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.admin-pro-kpi > span,
.admin-pro-kpi-top > span {
    color:#94a3b8; font-size:.71rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
}
.admin-pro-kpi-top em {
    padding:5px 8px; border-radius:999px; background:rgba(250,204,21,.08);
    color:#facc15; font-size:.63rem; font-style:normal; font-weight:800;
}
.admin-pro-kpi > strong {
    display:block; margin-top:14px; color:#f8fafc; font-size:clamp(1.55rem,3vw,2.2rem); line-height:1;
}
.admin-pro-kpi > small {
    display:block; margin-top:10px; color:#94a3b8; font-size:.75rem; line-height:1.4;
}

.admin-pro-today-strip {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
    margin-bottom:18px; border-radius:18px; overflow:hidden;
}
.admin-pro-today-strip > div {
    min-width:0; padding:15px 17px; border-right:1px solid rgba(255,255,255,.07);
}
.admin-pro-today-strip > div:last-child { border-right:0; }
.admin-pro-today-strip span,
.admin-pro-inventory-metrics span,
.admin-pro-customer-summary span,
.admin-pro-report-mini-summary span {
    display:block; color:#94a3b8; font-size:.67rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
}
.admin-pro-today-strip strong { display:block; margin-top:6px; color:#f8fafc; font-size:1rem; }
.admin-pro-today-strip small { display:block; margin-top:4px; color:#64748b; font-size:.71rem; }

.admin-pro-main-grid,
.admin-pro-report-grid {
    display:grid; grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);
    gap:18px; margin-bottom:18px;
}
.admin-pro-secondary-grid,
.admin-pro-report-grid:not(.wide-left) { grid-template-columns:repeat(2,minmax(0,1fr)); }

.admin-pro-card { min-width:0; padding:20px; border-radius:20px; }
.admin-pro-card-head {
    display:flex; justify-content:space-between; align-items:flex-start; gap:14px; margin-bottom:18px;
}
.admin-pro-card-head h2 { margin:4px 0 5px; color:#f8fafc; font-size:1.2rem; }
.admin-pro-card-head p { margin:0; color:#94a3b8; font-size:.79rem; line-height:1.5; }
.admin-pro-eyebrow {
    color:#facc15; font-size:.65rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
}
.admin-pro-text-link,
.admin-pro-table-link {
    flex:0 0 auto; color:#facc15; font-size:.77rem; font-weight:800; text-decoration:none;
}
.admin-pro-text-link:hover,
.admin-pro-table-link:hover { text-decoration:underline; }

.admin-pro-sales-list,
.admin-pro-performance-list,
.admin-pro-status-list,
.admin-pro-status-report-list,
.admin-pro-stock-list,
.admin-pro-recent-list,
.admin-pro-product-rank-list { display:grid; gap:10px; }

.admin-pro-sales-row {
    display:grid; grid-template-columns:105px minmax(90px,1fr) 90px; align-items:center; gap:12px;
}
.admin-pro-sales-label { display:grid; gap:2px; }
.admin-pro-sales-label strong { color:#e2e8f0; font-size:.79rem; }
.admin-pro-sales-label span { color:#64748b; font-size:.67rem; }
.admin-pro-sales-track,
.admin-pro-mini-track,
.admin-pro-status-report-track,
.admin-pro-rank-track {
    overflow:hidden; border-radius:999px; background:rgba(255,255,255,.055);
}
.admin-pro-sales-track { height:9px; }
.admin-pro-sales-track > span,
.admin-pro-rank-track > span {
    display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#d9a900,#facc15);
}
.admin-pro-sales-value { color:#f8fafc; font-size:.8rem; text-align:right; }

.admin-pro-status-item,
.admin-pro-stock-row,
.admin-pro-order-row {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    min-width:0; padding:11px 12px; border:1px solid rgba(255,255,255,.065);
    border-radius:13px; background:rgba(255,255,255,.018);
}
.admin-pro-status-item > div { display:flex; align-items:center; gap:9px; }
.admin-pro-status-item strong { color:#e2e8f0; font-size:.8rem; }
.admin-pro-status-item > span { min-width:30px; color:#f8fafc; font-weight:900; text-align:right; }

.admin-pro-status-dot { width:8px; height:8px; border-radius:50%; background:#94a3b8; }
.admin-pro-status-dot.processing,.admin-pro-status-report-track>.processing { background:#facc15; }
.admin-pro-status-dot.paid,.admin-pro-status-report-track>.paid { background:#60a5fa; }
.admin-pro-status-dot.shipped,.admin-pro-status-report-track>.shipped { background:#a78bfa; }
.admin-pro-status-dot.delivered,.admin-pro-status-dot.completed,.admin-pro-status-dot.fulfilled,
.admin-pro-status-report-track>.delivered,.admin-pro-status-report-track>.completed { background:#34d399; }
.admin-pro-status-dot.cancelled,.admin-pro-status-report-track>.cancelled { background:#f87171; }

.admin-pro-status-foot {
    display:flex; justify-content:space-between; align-items:center;
    margin-top:14px; padding-top:13px; border-top:1px solid rgba(255,255,255,.07);
}
.admin-pro-status-foot span { color:#94a3b8; font-size:.74rem; }
.admin-pro-status-foot strong { color:#facc15; }

.admin-pro-stock-row > div,
.admin-pro-order-row > div { min-width:0; }
.admin-pro-stock-row > div:first-child,
.admin-pro-order-row > div:first-child { display:grid; gap:3px; }
.admin-pro-stock-row strong,
.admin-pro-order-row strong { color:#f8fafc; font-size:.79rem; }
.admin-pro-stock-row span:not(.admin-pro-stock-badge),
.admin-pro-order-row div:first-child span { color:#64748b; font-size:.69rem; }

.admin-pro-stock-badge {
    flex:0 0 auto; padding:6px 9px; border-radius:999px;
    background:rgba(250,204,21,.08); color:#facc15; font-size:.67rem; font-weight:800;
}
.admin-pro-stock-badge.empty { background:rgba(248,113,113,.1); color:#fca5a5; }

.admin-pro-order-row { color:inherit; text-decoration:none; transition:.15s ease; }
.admin-pro-order-row:hover { border-color:rgba(250,204,21,.20); background:rgba(250,204,21,.035); }
.admin-pro-order-row > div:last-child { display:grid; justify-items:end; gap:5px; }

.admin-pro-reporting-note,
.admin-pro-report-scope { border-radius:17px; padding:15px 17px; }
.admin-pro-reporting-note { margin-bottom:26px; }
.admin-pro-reporting-note strong { color:#facc15; font-size:.75rem; }
.admin-pro-reporting-note p { margin:5px 0 0; color:#94a3b8; font-size:.74rem; line-height:1.5; }

.admin-pro-reports-heading { align-items:flex-end; }
.admin-pro-periods {
    display:inline-flex; flex-wrap:wrap; gap:5px; padding:5px;
    border:1px solid rgba(255,255,255,.08); border-radius:14px; background:rgba(255,255,255,.025);
}
.admin-pro-periods a {
    padding:8px 11px; border-radius:10px; color:#94a3b8;
    font-size:.71rem; font-weight:800; text-decoration:none;
}
.admin-pro-periods a.active { background:#facc15; color:#111827; }

.admin-pro-report-scope {
    display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:16px;
}
.admin-pro-report-scope span {
    display:block; color:#94a3b8; font-size:.67rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
}
.admin-pro-report-scope strong { display:block; margin-top:5px; color:#f8fafc; }
.admin-pro-report-scope p {
    max-width:700px; margin:0; color:#94a3b8; font-size:.73rem; line-height:1.5; text-align:right;
}

.admin-pro-performance-row {
    display:grid; grid-template-columns:62px minmax(120px,1fr) 95px;
    align-items:center; gap:12px; padding:9px 0; border-bottom:1px solid rgba(255,255,255,.055);
}
.admin-pro-performance-row:last-child { border-bottom:0; }
.admin-pro-performance-date { display:grid; gap:2px; }
.admin-pro-performance-date strong { color:#e2e8f0; font-size:.77rem; }
.admin-pro-performance-date span { color:#64748b; font-size:.67rem; }
.admin-pro-performance-bars { display:grid; gap:7px; }
.admin-pro-performance-bars > div {
    display:grid; grid-template-columns:42px 1fr; align-items:center; gap:7px;
}
.admin-pro-performance-bars span {
    color:#64748b; font-size:.61rem; font-weight:800; text-transform:uppercase;
}
.admin-pro-mini-track { height:6px; }
.admin-pro-mini-track i { display:block; height:100%; border-radius:inherit; }
.admin-pro-mini-track.sales i { background:#facc15; }
.admin-pro-mini-track.orders i { background:#60a5fa; }
.admin-pro-performance-values { display:grid; justify-items:end; gap:2px; }
.admin-pro-performance-values strong { color:#f8fafc; font-size:.77rem; }
.admin-pro-performance-values span { color:#64748b; font-size:.66rem; }

.admin-pro-status-report-row {
    display:grid; grid-template-columns:94px minmax(80px,1fr) 28px; align-items:center; gap:10px;
}
.admin-pro-status-report-row > div:first-child { display:flex; align-items:center; gap:7px; }
.admin-pro-status-report-row > div:first-child strong { color:#e2e8f0; font-size:.73rem; }
.admin-pro-status-report-track { height:7px; }
.admin-pro-status-report-track > span { display:block; height:100%; min-width:2px; border-radius:inherit; }
.admin-pro-status-report-row > strong { color:#f8fafc; font-size:.75rem; text-align:right; }

.admin-pro-report-mini-summary,
.admin-pro-inventory-metrics,
.admin-pro-customer-summary { display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.admin-pro-report-mini-summary { margin-top:18px; padding-top:14px; border-top:1px solid rgba(255,255,255,.07); }
.admin-pro-report-mini-summary > div,
.admin-pro-inventory-metrics > div,
.admin-pro-customer-summary > div {
    padding:11px; border:1px solid rgba(255,255,255,.06);
    border-radius:12px; background:rgba(255,255,255,.018);
}
.admin-pro-report-mini-summary strong,
.admin-pro-inventory-metrics strong,
.admin-pro-customer-summary strong {
    display:block; margin-top:5px; color:#f8fafc; font-size:1rem;
}
.admin-pro-inventory-metrics .wide { grid-column:1/-1; }
.admin-pro-customer-summary { margin-top:12px; padding-top:12px; border-top:1px solid rgba(255,255,255,.07); }

.admin-pro-product-rank {
    display:grid; grid-template-columns:30px minmax(0,1fr); gap:10px; align-items:center;
}
.admin-pro-rank-number {
    display:grid; place-items:center; width:30px; height:30px; border-radius:9px;
    background:rgba(250,204,21,.08); color:#facc15; font-size:.71rem; font-weight:900;
}
.admin-pro-rank-main { min-width:0; display:grid; gap:7px; }
.admin-pro-rank-main > div:first-child { display:flex; justify-content:space-between; gap:10px; }
.admin-pro-rank-main strong { min-width:0; color:#e2e8f0; font-size:.77rem; }
.admin-pro-rank-main span { flex:0 0 auto; color:#64748b; font-size:.67rem; }
.admin-pro-rank-track { height:6px; }

.admin-pro-orders-table-card { margin-bottom:26px; }
.admin-pro-orders-table-card .admin-table-wrap { margin:0; box-shadow:none; }
.admin-pro-orders-table-card .data-table { min-width:780px; }

.admin-pro-empty {
    padding:18px; border:1px dashed rgba(255,255,255,.10); border-radius:13px;
    color:#64748b; font-size:.77rem; text-align:center;
}

@media (max-width:1024px) {
    .admin-pro-heading,.admin-pro-reports-heading { align-items:flex-start; flex-direction:column; }
    .admin-pro-kpi-grid,.admin-pro-today-strip { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .admin-pro-main-grid,.admin-pro-secondary-grid,.admin-pro-report-grid,.admin-pro-report-grid.wide-left { grid-template-columns:1fr; }
    .admin-pro-report-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:640px) {
    .admin-pro-heading-actions { width:100%; display:grid; grid-template-columns:1fr; }
    .admin-pro-heading-actions > * { width:100%; }
    .admin-pro-kpi-grid,.admin-pro-today-strip,.admin-pro-report-kpis,
    .admin-pro-inventory-metrics,.admin-pro-customer-summary,.admin-pro-report-mini-summary { grid-template-columns:1fr; }
    .admin-pro-today-strip > div { border-right:0; border-bottom:1px solid rgba(255,255,255,.07); }
    .admin-pro-today-strip > div:last-child { border-bottom:0; }
    .admin-pro-report-scope { align-items:flex-start; flex-direction:column; }
    .admin-pro-report-scope p { text-align:left; }
    .admin-pro-sales-row { grid-template-columns:88px minmax(70px,1fr); }
    .admin-pro-sales-value { grid-column:2; }
    .admin-pro-performance-row { grid-template-columns:52px minmax(90px,1fr); }
    .admin-pro-performance-values { grid-column:2; justify-items:start; }
    .admin-pro-rank-main > div:first-child { display:grid; }
}


/* ===== MOBILE SHOP CARDS MATCH DESKTOP ===== */
@media (max-width: 640px) {
    .shop-products-section .product-grid.featured-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .shop-products-section .product-card-gold {
        width: 100%;
        max-width: none;
        height: auto;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 22px;
        overflow: hidden;
        background: #0a1428;
        box-shadow: 0 14px 30px rgba(0,0,0,.20);
    }

    .shop-products-section .product-image-gold {
        width: 100%;
        aspect-ratio: 1 / .74;
        min-height: 0;
        background: #3d3d3d;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .shop-products-section .product-image-gold img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .shop-products-section .product-brand-chip {
        top: 14px;
        left: 14px;
        padding: 8px 14px;
        border-radius: 999px;
        font-size: .68rem;
        letter-spacing: .18em;
    }

    .shop-products-section .product-body-gold {
        min-height: 210px;
        padding: 18px 20px 20px;
        gap: 10px !important;
        background: #0a1428;
    }

    .shop-products-section .product-top-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        min-height: 42px;
    }

    .shop-products-section .product-top-row h3 {
        margin: 0;
        min-width: 0;
        flex: 1;
        color: #f8fafc;
        font-size: 1rem;
        line-height: 1.3;
        font-weight: 800;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .shop-products-section .mini-tag {
        flex: 0 0 auto;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(255,191,0,.10);
        color: #facc15;
        font-size: .64rem;
        letter-spacing: .18em;
        white-space: nowrap;
    }

    .shop-products-section .product-short-copy {
        margin: 12px 0 0;
        min-height: 48px;
        max-height: 48px;
        color: #d3d9e4;
        font-size: .9rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .shop-products-section .product-bottom-row {
        width: 100%;
        margin-top: auto !important;
    }

    .shop-products-section .product-actions-compact {
        display: grid !important;
        grid-template-columns: .85fr 1.25fr !important;
        gap: 10px !important;
        width: 100% !important;
        align-items: center;
    }

    .shop-products-section .product-actions-compact .btn,
    .shop-products-section .product-actions-compact button,
    .shop-products-section .product-actions-compact a {
        width: 100% !important;
        min-width: 0 !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 12px !important;
        border-radius: 14px !important;
        font-size: .9rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .shop-products-section .product-actions-compact .btn-secondary,
    .shop-products-section .product-actions-compact .js-open-quick-view {
        background: rgba(255,255,255,.08) !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        color: #fff !important;
    }

    .shop-products-section .product-actions-compact .btn-outline {
        background: rgba(255,191,0,.035) !important;
        border: 1px solid rgba(255,191,0,.44) !important;
        color: #fff !important;
    }
}

@media (max-width: 380px) {
    .shop-products-section .product-body-gold {
        padding: 16px 16px 18px;
    }

    .shop-products-section .product-actions-compact {
        gap: 8px !important;
    }

    .shop-products-section .product-actions-compact .btn,
    .shop-products-section .product-actions-compact button,
    .shop-products-section .product-actions-compact a {
        padding: 0 8px !important;
        font-size: .82rem !important;
    }
}

/* ADIS official logo branding */
.brand-mark,
.pro-auth-logo,
.admin-login-logo,
.register-brand-mark,
.admin-sidebar-logo {
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 50% !important;
    background: #000 !important;
    padding: 0 !important;
}

.brand-mark {
    display: block;
}

.admin-sidebar-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    box-shadow: 0 10px 28px rgba(250, 204, 21, 0.18);
}

.pro-auth-logo { width: 62px; height: 62px; margin: 0 auto 16px; }
.admin-login-logo { width: 58px; height: 58px; margin: 0 auto 14px; }
.register-brand-mark { width: 64px; height: 64px; flex: 0 0 64px; }

/* ===== STANDARD CUSTOMER ACCOUNT PROFILE ===== */
.account-profile-page {
    padding-top: 42px;
    padding-bottom: 72px;
}
.account-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.account-page-heading h1 {
    margin: 6px 0 8px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}
.account-page-heading p {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
}
.account-profile-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.account-sidebar {
    position: sticky;
    top: 104px;
    background: #090909;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.account-identity {
    padding: 26px 22px 22px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.account-avatar {
    width: 82px;
    height: 82px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #facc15, #e6a700);
    color: #111;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 12px 32px rgba(250,204,21,.18);
}
.account-identity-copy strong {
    display: block;
    color: #fff;
    font-size: 1.05rem;
}
.account-identity-copy span {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
    font-size: .86rem;
    overflow-wrap: anywhere;
}
.account-type-badge {
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(250,204,21,.10);
    border: 1px solid rgba(250,204,21,.24);
    color: #facc15;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.account-menu {
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.account-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 13px;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: .2s ease;
}
.account-menu a span {
    width: 24px;
    text-align: center;
}
.account-menu a b {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.07);
    color: #facc15;
    font-size: .75rem;
}
.account-menu a:hover,
.account-menu a.active {
    background: rgba(250,204,21,.12);
    color: #facc15;
}
.account-menu .account-menu-logout {
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,.08);
    border-radius: 0 0 13px 13px;
    color: #fca5a5;
}
.account-main {
    display: grid;
    gap: 20px;
}
.account-card {
    background: #090909;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 18px 50px rgba(0,0,0,.20);
    scroll-margin-top: 108px;
}
.account-summary-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    background:
        radial-gradient(circle at 88% 20%, rgba(250,204,21,.13), transparent 26%),
        #090909;
}
.account-summary-card h2 {
    margin: 5px 0 7px;
    font-size: 1.7rem;
}
.account-summary-card p {
    margin: 0;
    color: #94a3b8;
}
.account-summary-card img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 88px;
    border: 1px solid rgba(250,204,21,.35);
}
.account-card-kicker {
    color: #facc15;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.account-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}
.account-card-head h2 {
    margin: 0 0 6px;
    font-size: 1.3rem;
}
.account-card-head p {
    margin: 0;
    color: #94a3b8;
    font-size: .9rem;
}
.account-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.account-field {
    display: grid;
    gap: 8px;
}
.account-field.full {
    grid-column: 1 / -1;
}
.account-field label {
    color: #e5e7eb;
    font-size: .86rem;
    font-weight: 800;
}
.account-field .input-field {
    width: 100%;
    min-height: 48px;
}
.account-readonly-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.account-readonly-row > div {
    padding: 15px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
}
.account-readonly-row span,
.account-readonly-row strong {
    display: block;
}
.account-readonly-row span {
    color: #94a3b8;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.account-readonly-row strong {
    margin-top: 5px;
    color: #fff;
}
.account-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}
.account-form-actions .btn {
    min-width: 150px;
}
.account-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.25);
    color: #86efac;
    font-size: .76rem;
    font-weight: 800;
}
.address-display-card {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
}
.address-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(250,204,21,.11);
    font-size: 1.2rem;
}
.address-content strong,
.address-content span {
    display: block;
}
.address-content strong {
    color: #fff;
    font-size: 1rem;
}
.address-content span {
    margin-top: 3px;
    color: #facc15;
    font-size: .86rem;
}
.address-content p {
    margin: 10px 0 0;
    color: #cbd5e1;
    line-height: 1.7;
}
.account-helper-text {
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: .82rem;
}
.account-empty-inline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    border: 1px dashed rgba(255,255,255,.14);
    background: rgba(255,255,255,.025);
}
.account-empty-inline > span {
    font-size: 1.5rem;
}
.account-empty-inline strong {
    color: #fff;
}
.account-empty-inline p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: .88rem;
}
.password-grid {
    align-items: end;
}
@media (max-width: 900px) {
    .account-profile-layout {
        grid-template-columns: 1fr;
    }
    .account-sidebar {
        position: static;
    }
    .account-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .account-menu .account-menu-logout {
        margin-top: 0;
        border-top: 0;
        border-radius: 13px;
    }
}
@media (max-width: 620px) {
    .account-profile-page {
        padding-top: 26px;
    }
    .account-page-heading {
        margin-bottom: 20px;
    }
    .account-card {
        padding: 19px;
        border-radius: 20px;
    }
    .account-summary-card img {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }
    .account-form-grid,
    .account-readonly-row {
        grid-template-columns: 1fr;
    }
    .account-menu {
        grid-template-columns: 1fr;
    }
    .account-card-head {
        flex-direction: column;
    }
    .account-form-actions {
        justify-content: stretch;
    }
    .account-form-actions .btn {
        width: 100%;
    }
    .address-display-card {
        align-items: flex-start;
    }
}

/* ===== CLEAN PROFESSIONAL CUSTOMER PROFILE ===== */
.clean-account-page {
    padding: 42px 0 72px;
}
.clean-account-container {
    max-width: 920px;
}
.clean-account-title {
    margin-bottom: 24px;
}
.clean-account-title h1 {
    margin: 6px 0 6px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}
.clean-account-title p {
    margin: 0;
    color: var(--muted);
}
.clean-profile-hero {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 0 28px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.clean-profile-avatar {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #facc15;
    color: #111;
    font-size: 1.75rem;
    font-weight: 900;
}
.clean-profile-user h2 {
    margin: 0 0 4px;
    font-size: 1.35rem;
}
.clean-profile-user p {
    margin: 0;
    color: #cbd5e1;
}
.clean-profile-user span {
    display: block;
    margin-top: 5px;
    color: #7f8a9b;
    font-size: .84rem;
}
.clean-account-card {
    padding: 28px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    scroll-margin-top: 100px;
}
.clean-card-heading,
.clean-security-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.clean-card-heading h2,
.clean-security-row h2 {
    margin: 0 0 5px;
    font-size: 1.12rem;
}
.clean-card-heading p,
.clean-security-row p {
    margin: 0;
    color: #8c97a8;
    font-size: .9rem;
}
.clean-info-list {
    margin-top: 20px;
}
.clean-info-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.clean-info-row span {
    color: #8c97a8;
    font-size: .88rem;
}
.clean-info-row strong {
    color: #f8fafc;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.clean-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.035);
    color: #f8fafc;
    font-size: .86rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    transition: .2s ease;
}
.clean-action-button::-webkit-details-marker {
    display: none;
}
.clean-action-button:hover {
    border-color: rgba(250,204,21,.4);
    color: #facc15;
}
.clean-edit-disclosure {
    margin-top: 18px;
}
.clean-edit-disclosure[open] > .clean-action-button,
.clean-security-disclosure[open] > .clean-action-button {
    color: #facc15;
    border-color: rgba(250,204,21,.35);
}
.clean-profile-form,
.clean-password-form {
    margin-top: 18px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
}
.clean-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.clean-field {
    display: grid;
    gap: 7px;
}
.clean-field label {
    color: #d8dee8;
    font-size: .84rem;
    font-weight: 700;
}
.clean-field .input-field {
    width: 100%;
    min-height: 46px;
}
.clean-form-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}
.clean-form-footer .btn {
    min-width: 140px;
}
.clean-address-block {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
}
.clean-address-block strong,
.clean-address-block span {
    display: block;
}
.clean-address-block strong {
    color: #fff;
    font-size: 1rem;
}
.clean-address-block span {
    margin-top: 4px;
    color: #facc15;
    font-size: .86rem;
}
.clean-address-block p {
    margin: 10px 0 0;
    color: #cbd5e1;
    line-height: 1.65;
}
.clean-muted-note,
.clean-password-hint {
    margin: 10px 0 0;
    color: #7f8a9b;
    font-size: .8rem;
}
.clean-empty-state {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 14px;
}
.clean-empty-state strong {
    color: #fff;
}
.clean-empty-state p {
    margin: 4px 0 0;
    color: #8c97a8;
    font-size: .88rem;
}
.clean-security-disclosure {
    width: min(100%, 520px);
    text-align: right;
}
.clean-security-disclosure .clean-password-form {
    text-align: left;
}
.clean-security-disclosure[open] {
    width: 100%;
}
.clean-security-row:has(.clean-security-disclosure[open]) {
    display: block;
}
.clean-security-row:has(.clean-security-disclosure[open]) > div:first-child {
    margin-bottom: 16px;
}
@media (max-width: 720px) {
    .clean-account-page {
        padding-top: 28px;
    }
    .clean-profile-hero {
        align-items: flex-start;
    }
    .clean-info-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .clean-card-heading,
    .clean-security-row {
        flex-direction: column;
    }
    .clean-security-disclosure {
        width: 100%;
        text-align: left;
    }
    .clean-form-grid {
        grid-template-columns: 1fr;
    }
    .clean-form-footer {
        justify-content: stretch;
    }
    .clean-form-footer .btn {
        width: 100%;
    }
}

/* ===== PROFESSIONAL ACCOUNT CENTER WITH SIDEBAR ===== */
.account-center-page {
    padding: 42px 0 72px;
}
.account-center-heading {
    margin-bottom: 26px;
}
.account-center-heading h1 {
    margin: 6px 0 6px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}
.account-center-heading p {
    margin: 0;
    color: var(--muted);
}
.account-center-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.account-center-sidebar,
.account-center-panel {
    background: #090909;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
}
.account-center-sidebar {
    overflow: hidden;
}
.account-center-user {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.account-center-avatar {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #facc15;
    color: #111;
    font-size: 1.15rem;
    font-weight: 900;
}
.account-center-user strong,
.account-center-user span {
    display: block;
}
.account-center-user strong {
    color: #fff;
    font-size: .95rem;
}
.account-center-user span {
    margin-top: 3px;
    color: #8b95a5;
    font-size: .76rem;
    overflow-wrap: anywhere;
}
.account-center-nav {
    padding: 9px;
}
.account-center-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 11px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
    transition: .18s ease;
}
.account-center-nav a:hover {
    background: rgba(255,255,255,.045);
    color: #fff;
}
.account-center-nav a.active {
    background: rgba(250,204,21,.12);
    color: #facc15;
}
.account-nav-icon {
    width: 22px;
    text-align: center;
}
.account-center-nav b {
    margin-left: auto;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #facc15;
    font-size: .72rem;
}
.account-center-nav .account-center-logout {
    margin-top: 7px;
    border-top: 1px solid rgba(255,255,255,.07);
    border-radius: 0 0 11px 11px;
    color: #fca5a5;
}
.account-center-panel {
    padding: 28px;
    min-height: 420px;
}
.account-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.account-panel-header h2 {
    margin: 0 0 5px;
    font-size: 1.3rem;
}
.account-panel-header p {
    margin: 0;
    color: #8d98a8;
    font-size: .88rem;
}
.account-member-pill,
.account-default-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: .74rem;
    font-weight: 800;
}
.account-member-pill {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    color: #cbd5e1;
}
.account-default-badge {
    background: rgba(250,204,21,.10);
    border: 1px solid rgba(250,204,21,.24);
    color: #facc15;
}
.account-center-form {
    max-width: 760px;
}
.account-center-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.account-center-field {
    display: grid;
    gap: 8px;
}
.account-center-field label {
    color: #e2e8f0;
    font-size: .84rem;
    font-weight: 700;
}
.account-center-field .input-field {
    width: 100%;
    min-height: 48px;
}
.account-center-readonly {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.account-center-readonly > div {
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}
.account-center-readonly span,
.account-center-readonly strong {
    display: block;
}
.account-center-readonly span {
    color: #818b99;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.account-center-readonly strong {
    margin-top: 5px;
    color: #fff;
}
.account-center-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}
.account-center-actions .btn {
    min-width: 145px;
}
.account-address-card {
    max-width: 680px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.025);
}
.account-address-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}
.account-address-top strong,
.account-address-top span {
    display: block;
}
.account-address-top strong {
    color: #fff;
}
.account-address-top > div > span {
    margin-top: 4px;
    color: #facc15;
    font-size: .85rem;
}
.account-address-card p {
    margin: 14px 0 10px;
    color: #cbd5e1;
    line-height: 1.7;
}
.account-address-card small,
.account-password-note {
    color: #7f8998;
    font-size: .78rem;
}
.account-center-empty {
    max-width: 680px;
    padding: 22px;
    border: 1px dashed rgba(255,255,255,.13);
    border-radius: 14px;
}
.account-center-empty strong {
    color: #fff;
}
.account-center-empty p {
    margin: 5px 0 0;
    color: #8d98a8;
    font-size: .88rem;
}
.account-password-form {
    max-width: 680px;
}
.account-password-form > .account-center-field {
    margin-bottom: 18px;
}
.account-password-note {
    margin-top: 12px;
}
@media (max-width: 860px) {
    .account-center-layout {
        grid-template-columns: 1fr;
    }
    .account-center-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .account-center-nav .account-center-logout {
        margin-top: 0;
        border-top: 0;
        border-radius: 11px;
    }
}
@media (max-width: 620px) {
    .account-center-page {
        padding-top: 28px;
    }
    .account-center-panel {
        padding: 20px;
        min-height: 0;
    }
    .account-center-nav {
        grid-template-columns: 1fr;
    }
    .account-panel-header {
        flex-direction: column;
    }
    .account-center-form-grid,
    .account-center-readonly {
        grid-template-columns: 1fr;
    }
    .account-center-actions {
        justify-content: stretch;
    }
    .account-center-actions .btn {
        width: 100%;
    }
}

/* ===== CROSS-DEVICE VISUAL CONSISTENCY ===== */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    overflow-x: hidden;
}
img, video, canvas, svg {
    max-width: 100%;
}
input, select, textarea, button {
    max-width: 100%;
}
@media (max-width: 860px) {
    .account-center-layout {
        grid-template-columns: 190px minmax(0, 1fr) !important;
        gap: 16px;
    }
    .account-center-nav {
        display: block !important;
    }
    .account-center-sidebar {
        position: sticky;
        top: 92px;
    }
    .account-center-user {
        padding: 16px 14px;
        align-items: flex-start;
        flex-direction: column;
    }
    .account-center-panel {
        min-width: 0;
    }
}
@media (max-width: 620px) {
    .container {
        width: min(100% - 16px, var(--container));
    }
    .account-center-page {
        padding: 22px 0 48px;
    }
    .account-center-heading {
        margin-bottom: 16px;
    }
    .account-center-heading h1 {
        font-size: 1.7rem;
    }
    .account-center-heading p {
        font-size: .82rem;
    }
    .account-center-layout {
        grid-template-columns: 122px minmax(0, 1fr) !important;
        gap: 8px;
    }
    .account-center-sidebar {
        border-radius: 14px;
        top: 84px;
    }
    .account-center-user {
        padding: 12px 10px;
        gap: 8px;
    }
    .account-center-avatar {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: .95rem;
    }
    .account-center-user strong {
        font-size: .76rem;
        line-height: 1.25;
    }
    .account-center-user span {
        font-size: .62rem;
        line-height: 1.3;
    }
    .account-center-nav {
        padding: 6px;
    }
    .account-center-nav a {
        min-height: 40px;
        padding: 8px 7px;
        gap: 6px;
        border-radius: 9px;
        font-size: .70rem;
        line-height: 1.2;
    }
    .account-nav-icon {
        width: 17px;
        flex: 0 0 17px;
        font-size: .78rem;
    }
    .account-center-panel {
        padding: 14px !important;
        border-radius: 14px;
    }
    .account-panel-header {
        gap: 8px;
        padding-bottom: 13px;
        margin-bottom: 15px;
    }
    .account-panel-header h2 {
        font-size: 1rem;
    }
    .account-panel-header p {
        font-size: .72rem;
    }
    .account-member-pill {
        font-size: .62rem;
        min-height: 26px;
        padding: 0 7px;
    }
    .account-center-form-grid,
    .account-center-readonly {
        grid-template-columns: 1fr !important;
        gap: 11px;
    }
    .account-center-field {
        gap: 6px;
        min-width: 0;
    }
    .account-center-field label {
        font-size: .74rem;
    }
    .account-center-field .input-field {
        min-width: 0;
        min-height: 42px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 16px;
    }
    .account-center-readonly > div {
        padding: 11px;
    }
    .account-center-readonly span {
        font-size: .62rem;
    }
    .account-center-readonly strong {
        font-size: .78rem;
    }
    .account-center-actions {
        margin-top: 15px;
    }
    .account-center-actions .btn {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: .76rem;
    }
    .account-address-card,
    .account-center-empty {
        padding: 14px;
        border-radius: 11px;
    }
    .account-address-top {
        gap: 8px;
    }
    .account-address-top strong {
        font-size: .82rem;
    }
    .account-address-top > div > span,
    .account-address-card p {
        font-size: .72rem;
    }
    .account-default-badge {
        font-size: .60rem;
        padding: 0 7px;
        min-height: 25px;
    }
}

/* Keep the desktop visual rhythm on phones/tablets while resizing safely. */
@media (max-width: 820px) {
    .home-cta-row,
    .cta-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, max-content)) !important;
        justify-content: start;
        gap: 10px !important;
    }
    .home-cta-row .btn,
    .cta-row .btn {
        width: auto !important;
        min-width: 0;
    }
    .home-stats-grid,
    .shop-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .home-preview-head {
        flex-direction: row !important;
        align-items: flex-start;
    }
}
@media (max-width: 520px) {
    .home-hero-copy p,
    .shop-hero p {
        max-width: 100%;
        overflow-wrap: anywhere;
        font-size: .92rem;
        line-height: 1.65;
    }
    .home-cta-row,
    .cta-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100%;
    }
    .home-cta-row .btn,
    .cta-row .btn {
        width: 100% !important;
        padding-left: 10px;
        padding-right: 10px;
        font-size: .80rem;
    }
    .home-stats-grid,
    .shop-metrics {
        gap: 7px !important;
        margin-top: 26px;
    }
    .home-stat-box,
    .metric-card {
        min-width: 0;
        padding: 14px 9px;
        border-radius: 16px;
    }
    .home-stat-box span,
    .metric-card span {
        font-size: .60rem;
        letter-spacing: .12em;
        overflow-wrap: anywhere;
    }
    .home-stat-box strong,
    .metric-card strong {
        margin-top: 8px;
        font-size: 1.05rem;
    }
    .home-preview-panel {
        padding: 18px;
        border-radius: 24px;
    }
    .home-preview-head {
        gap: 10px;
        margin-bottom: 16px;
    }
    .home-preview-head span {
        font-size: .67rem;
        letter-spacing: .16em;
    }
    .home-preview-head h2 {
        margin-top: 8px;
        font-size: 1.35rem;
    }
    .preview-pill {
        padding: 7px 10px;
        font-size: .67rem;
    }
}

/* ===== MOBILE DESKTOP-LIKE SHOP + TRY-ON ===== */
@media (max-width: 640px) {
    .shop-products-section .product-grid.featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .shop-products-section .product-card-gold {
        border-radius: 15px !important;
        min-width: 0;
    }
    .shop-products-section .product-image-gold {
        aspect-ratio: 1 / .78 !important;
        min-height: 0 !important;
    }
    .shop-products-section .product-brand-chip {
        top: 8px !important;
        left: 8px !important;
        padding: 5px 8px !important;
        font-size: .48rem !important;
        letter-spacing: .12em !important;
    }
    .shop-products-section .product-body-gold {
        min-height: 150px !important;
        padding: 10px !important;
        gap: 6px !important;
    }
    .shop-products-section .product-top-row {
        min-height: 28px !important;
        gap: 6px !important;
    }
    .shop-products-section .product-top-row h3 {
        font-size: .76rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .shop-products-section .mini-tag {
        padding: 4px 6px !important;
        font-size: .44rem !important;
        letter-spacing: .10em !important;
    }
    .shop-products-section .product-short-copy {
        margin: 5px 0 0 !important;
        min-height: 30px !important;
        max-height: 30px !important;
        font-size: .64rem !important;
        line-height: 1.35 !important;
        -webkit-line-clamp: 2 !important;
    }
    .shop-products-section .product-actions-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
    .shop-products-section .product-actions-compact .btn,
    .shop-products-section .product-actions-compact button,
    .shop-products-section .product-actions-compact a {
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 6px !important;
        border-radius: 9px !important;
        font-size: .60rem !important;
        font-weight: 800 !important;
    }

    .tryon-studio-page {
        height: auto !important;
        overflow: visible !important;
    }
    .tryon-studio-shell {
        display: grid !important;
        grid-template-columns: 42% minmax(0, 58%) !important;
        grid-template-areas:
            "catalog stage"
            "right right" !important;
        height: auto !important;
        overflow: visible !important;
        align-items: stretch;
    }
    .tryon-catalog-panel {
        grid-area: catalog;
        min-width: 0;
        height: 520px !important;
        max-height: 520px !important;
        padding: 7px !important;
        gap: 7px !important;
        border-right: 1px solid rgba(255,255,255,.08) !important;
        overflow: hidden !important;
    }
    .tryon-stage-panel {
        grid-area: stage;
        min-width: 0;
        height: 520px !important;
        min-height: 520px !important;
        max-height: 520px !important;
        padding: 7px !important;
        border-radius: 0 !important;
    }
    .tryon-right-panel {
        grid-area: right;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 8px !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
    }
    .tryon-catalog-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }
    .tryon-tab-btn {
        min-height: 31px !important;
        padding: 5px 6px !important;
        border-radius: 8px !important;
        font-size: .58rem !important;
        gap: 3px !important;
    }
    .tryon-tab-btn strong {
        min-width: 17px !important;
        height: 17px !important;
        padding: 0 4px !important;
        font-size: .52rem !important;
    }
    .tryon-search-wrap .search-input {
        min-height: 34px !important;
        padding: 7px 8px !important;
        border-radius: 9px !important;
        font-size: .66rem !important;
    }
    .tryon-filter-row {
        gap: 4px !important;
    }
    .tryon-filter-chip {
        padding: 5px 6px !important;
        font-size: .50rem !important;
        border-radius: 8px !important;
    }
    .tryon-catalog-list {
        gap: 5px !important;
        padding-top: 5px !important;
        overflow-y: auto !important;
        min-height: 0 !important;
    }
    .tryon-none-card,
    .tryon-catalog-item {
        border-radius: 9px !important;
        padding: 6px !important;
    }
    .tryon-catalog-item {
        grid-template-columns: 34px minmax(0, 1fr) !important;
        gap: 6px !important;
    }
    .tryon-catalog-thumb {
        width: 34px !important;
        height: 34px !important;
        border-radius: 7px !important;
    }
    .tryon-catalog-copy strong {
        font-size: .58rem !important;
        line-height: 1.15 !important;
    }
    .tryon-catalog-copy p {
        display: none !important;
    }
    .tryon-catalog-price,
    .tryon-catalog-chip,
    .tryon-catalog-badge {
        font-size: .50rem !important;
    }
    .tryon-none-card strong {
        font-size: .60rem !important;
    }
    .tryon-none-card span {
        margin-top: 2px !important;
        font-size: .50rem !important;
    }
    .tryon-avatar-switcher {
        gap: 5px !important;
        padding: 5px 6px !important;
        border-radius: 9px !important;
    }
    .tryon-avatar-switcher label {
        font-size: .56rem !important;
    }
    .tryon-avatar-switcher .select-field {
        min-height: 32px !important;
        padding: 5px 24px 5px 8px !important;
        border-radius: 8px !important;
        font-size: .66rem !important;
    }
    .tryon-stage-panel #tryon-canvas,
    #tryon-canvas {
        height: 458px !important;
        min-height: 458px !important;
        max-height: 458px !important;
        border-radius: 10px !important;
    }
    .tryon-current-panel,
    .tryon-selected-panel {
        padding: 12px !important;
        border-radius: 12px !important;
        min-width: 0;
    }
    .tryon-panel-head h3,
    .tryon-selected-panel h3 {
        font-size: .88rem !important;
    }
    .tryon-panel-head span,
    .tryon-selected-panel > span,
    .tryon-total-row span {
        font-size: .52rem !important;
        letter-spacing: .12em !important;
    }
    .tryon-selected-price,
    .tryon-total-row strong {
        font-size: 1rem !important;
    }
    .tryon-primary-purchase-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
    .tryon-primary-purchase-actions .btn,
    .tryon-current-panel .btn {
        min-height: 34px !important;
        padding: 6px 8px !important;
        font-size: .60rem !important;
        border-radius: 9px !important;
    }
}
@media (min-width: 641px) and (max-width: 1100px) {
    .tryon-studio-shell {
        display: grid !important;
        grid-template-columns: 230px minmax(0, 1fr) 210px !important;
        height: calc(100vh - 70px) !important;
        overflow: hidden !important;
    }
    .tryon-catalog-panel,
    .tryon-right-panel {
        padding: 10px !important;
        gap: 8px !important;
    }
    .tryon-stage-panel {
        min-height: 0 !important;
        height: calc(100vh - 92px) !important;
        max-height: calc(100vh - 92px) !important;
        padding: 8px !important;
    }
    .tryon-stage-panel #tryon-canvas {
        height: calc(100vh - 150px) !important;
        min-height: 0 !important;
    }
}

/* ===== FINAL MOBILE QUICK VIEW ===== */
@media (max-width: 640px) {
    .quick-view-overlay {
        align-items: flex-start !important;
        justify-content: center !important;
        overflow-y: auto !important;
        padding: 10px !important;
    }
    .quick-view-dialog {
        width: 100% !important;
        max-width: 430px !important;
        max-height: calc(100dvh - 20px) !important;
        margin: 0 auto !important;
        border-radius: 18px !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }
    .quick-view-grid {
        display: grid !important;
        grid-template-columns: 42% minmax(0, 58%) !important;
        align-items: stretch !important;
    }
    .quick-view-visual {
        min-height: 0 !important;
        padding: 10px !important;
        border-right: 1px solid rgba(255,255,255,.08) !important;
        border-bottom: 0 !important;
    }
    .quick-view-stage {
        min-height: 180px !important;
        height: 100% !important;
        max-height: 280px !important;
        padding: 8px !important;
        border-radius: 12px !important;
    }
    .quick-view-stage img {
        width: 100% !important;
        height: 100% !important;
        max-height: 260px !important;
        object-fit: contain !important;
    }
    .quick-view-copy {
        min-height: 0 !important;
        padding: 14px 12px !important;
    }
    .quick-view-close {
        top: 8px !important;
        right: 8px !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 10px !important;
        font-size: 1.2rem !important;
    }
    .quick-view-kicker {
        font-size: .50rem !important;
        letter-spacing: .14em !important;
    }
    .quick-view-copy h2 {
        margin-top: 6px !important;
        padding-right: 28px !important;
        font-size: 1.02rem !important;
        line-height: 1.15 !important;
    }
    .quick-view-price {
        margin-top: 7px !important;
        font-size: 1.15rem !important;
    }
    .quick-view-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin-top: 10px !important;
    }
    .quick-view-meta-card {
        min-width: 0;
        padding: 8px !important;
        border-radius: 9px !important;
    }
    .quick-view-meta-card span {
        font-size: .46rem !important;
        letter-spacing: .10em !important;
    }
    .quick-view-meta-card strong {
        margin-top: 5px !important;
        font-size: .72rem !important;
        overflow-wrap: anywhere;
    }
    .quick-view-description {
        margin-top: 8px !important;
        padding: 9px !important;
        border-radius: 9px !important;
    }
    .quick-view-description span {
        font-size: .46rem !important;
        letter-spacing: .10em !important;
    }
    .quick-view-description p {
        margin-top: 5px !important;
        font-size: .62rem !important;
        line-height: 1.4 !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .quick-view-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin-top: 10px !important;
    }
    .quick-view-form {
        width: 100% !important;
        min-width: 0;
    }
    .quick-view-actions .quick-view-tryon-action {
        grid-column: 1 / -1;
    }
    .quick-view-actions .btn,
    .quick-view-form .btn {
        width: 100% !important;
        min-height: 34px !important;
        height: 34px !important;
        padding: 0 6px !important;
        border-radius: 9px !important;
        font-size: .58rem !important;
        white-space: nowrap;
    }
    .quick-view-footer {
        margin-top: 10px !important;
        padding-top: 8px !important;
    }
    .quick-view-footer span {
        font-size: .44rem !important;
        letter-spacing: .10em !important;
    }
    .quick-view-footer p {
        margin-top: 4px !important;
        font-size: .56rem !important;
        line-height: 1.35 !important;
    }
}
@media (max-width: 420px) {
    .shop-hero-grid {
        width: 100% !important;
        min-width: 0 !important;
    }
    .shop-hero p {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
    .shop-metrics {
        width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .shop-metrics .metric-card {
        width: auto !important;
        min-width: 0 !important;
        padding: 11px 7px !important;
    }
    .shop-metrics .metric-card span {
        font-size: .48rem !important;
        letter-spacing: .08em !important;
    }
    .shop-metrics .metric-card strong {
        font-size: .95rem !important;
        overflow-wrap: anywhere;
    }
}

/* ===== TABLET QUICK VIEW FIT ===== */
@media (min-width: 641px) and (max-width: 980px) {
    .quick-view-overlay {
        align-items: flex-start !important;
        overflow-y: auto !important;
        padding: 12px !important;
    }
    .quick-view-dialog {
        width: min(760px, 100%) !important;
        max-height: calc(100dvh - 24px) !important;
        overflow-y: auto !important;
        margin: 0 auto !important;
    }
    .quick-view-grid {
        grid-template-columns: 42% minmax(0, 58%) !important;
    }
    .quick-view-visual {
        min-height: 0 !important;
        padding: 16px !important;
        border-right: 1px solid rgba(255,255,255,.10) !important;
        border-bottom: 0 !important;
    }
    .quick-view-stage {
        min-height: 360px !important;
        height: 100% !important;
        padding: 14px !important;
    }
    .quick-view-stage img {
        max-height: 360px !important;
    }
    .quick-view-copy {
        min-height: 0 !important;
        padding: 20px !important;
    }
    .quick-view-copy h2 {
        font-size: 1.65rem !important;
        padding-right: 34px;
    }
    .quick-view-price {
        font-size: 1.8rem !important;
        margin-top: 10px !important;
    }
    .quick-view-meta-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 10px !important;
        margin-top: 14px !important;
    }
    .quick-view-meta-card,
    .quick-view-description {
        padding: 12px !important;
        border-radius: 14px !important;
    }
    .quick-view-description {
        margin-top: 12px !important;
    }
    .quick-view-description p {
        margin-top: 8px !important;
        font-size: .84rem !important;
        line-height: 1.5 !important;
    }
    .quick-view-actions {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        gap: 8px !important;
        margin-top: 14px !important;
    }
    .quick-view-actions .quick-view-tryon-action {
        grid-column: 1 / -1;
    }
    .quick-view-actions .btn {
        width: 100% !important;
        min-height: 40px !important;
        padding: 8px 10px !important;
        font-size: .78rem !important;
    }
}
@media (min-width: 641px) and (max-width: 1100px) {
    .tryon-studio-shell {
        width: 100vw !important;
        max-width: 100vw !important;
        grid-template-columns: 210px minmax(0, 1fr) 186px !important;
    }
    .tryon-catalog-panel,
    .tryon-stage-panel,
    .tryon-right-panel {
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .tryon-right-panel {
        padding-left: 8px !important;
        padding-right: 8px !important;
        overflow-x: hidden !important;
    }
    .tryon-current-panel,
    .tryon-selected-panel {
        min-width: 0 !important;
        width: 100% !important;
    }
}

@media (min-width: 641px) and (max-width: 1100px) {
    .tryon-current-list {
        min-width: 0 !important;
        width: 100% !important;
    }
    .tryon-current-item {
        width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: 36px minmax(0, 1fr) 18px !important;
        gap: 6px !important;
        padding: 8px !important;
    }
    .tryon-current-thumb {
        width: 36px !important;
        height: 36px !important;
    }
    .tryon-current-copy {
        min-width: 0 !important;
    }
    .tryon-current-copy strong,
    .tryon-current-copy span {
        overflow-wrap: anywhere !important;
    }
}

/* ===== FINAL CUSTOMER MOBILE POLISH ===== */
@media (max-width: 640px) {
    /* Home featured collection follows the compact shop card system. */
    .featured-section .product-grid.featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .featured-section .product-card-gold {
        min-width: 0;
        border-radius: 15px !important;
    }
    .featured-section .product-image-gold {
        aspect-ratio: 1 / .78 !important;
        min-height: 0 !important;
    }
    .featured-section .product-brand-chip {
        top: 8px !important;
        left: 8px !important;
        padding: 5px 8px !important;
        font-size: .48rem !important;
        letter-spacing: .12em !important;
    }
    .featured-section .product-body-gold {
        min-height: 150px !important;
        padding: 10px !important;
        gap: 6px !important;
    }
    .featured-section .product-top-row {
        min-height: 28px !important;
        gap: 6px !important;
    }
    .featured-section .product-top-row h3 {
        font-size: .76rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .featured-section .mini-tag {
        padding: 4px 6px !important;
        font-size: .44rem !important;
        letter-spacing: .10em !important;
    }
    .featured-section .product-short-copy {
        margin: 5px 0 0 !important;
        min-height: 30px !important;
        max-height: 30px !important;
        font-size: .64rem !important;
        line-height: 1.35 !important;
        -webkit-line-clamp: 2 !important;
    }
    .featured-section .product-actions-compact {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
    .featured-section .product-actions-compact .btn,
    .featured-section .product-actions-compact button,
    .featured-section .product-actions-compact a {
        width: 100% !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 6px !important;
        border-radius: 9px !important;
        font-size: .60rem !important;
    }

    /* Quick View: clean mobile product sheet, no cramped desktop squeeze. */
    .quick-view-overlay {
        align-items: center !important;
        justify-content: center !important;
        padding: 12px !important;
        overflow: hidden !important;
    }
    .quick-view-dialog {
        width: 100% !important;
        max-width: 430px !important;
        max-height: calc(100dvh - 24px) !important;
        border-radius: 18px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        margin: 0 !important;
    }
    .quick-view-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
    .quick-view-visual {
        min-height: 0 !important;
        height: 190px !important;
        padding: 12px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.08) !important;
    }
    .quick-view-stage {
        width: 100% !important;
        height: 166px !important;
        min-height: 166px !important;
        max-height: 166px !important;
        padding: 10px !important;
        border-radius: 12px !important;
    }
    .quick-view-stage img {
        width: auto !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 146px !important;
        object-fit: contain !important;
        margin: 0 auto;
    }
    .quick-view-copy {
        min-height: 0 !important;
        padding: 14px 15px 15px !important;
    }
    .quick-view-close {
        top: 8px !important;
        right: 8px !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
        font-size: 1.2rem !important;
        background: rgba(0,0,0,.68) !important;
    }
    .quick-view-kicker {
        font-size: .58rem !important;
        letter-spacing: .14em !important;
    }
    .quick-view-copy h2 {
        margin-top: 5px !important;
        padding-right: 0 !important;
        font-size: 1.12rem !important;
        line-height: 1.2 !important;
    }
    .quick-view-price {
        margin-top: 6px !important;
        font-size: 1.25rem !important;
    }
    .quick-view-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-top: 10px !important;
    }
    .quick-view-meta-card {
        padding: 8px 10px !important;
        border-radius: 10px !important;
    }
    .quick-view-meta-card span {
        font-size: .50rem !important;
        letter-spacing: .10em !important;
    }
    .quick-view-meta-card strong {
        margin-top: 4px !important;
        font-size: .72rem !important;
    }
    .quick-view-description {
        margin-top: 8px !important;
        padding: 9px 10px !important;
        border-radius: 10px !important;
    }
    .quick-view-description span {
        font-size: .50rem !important;
        letter-spacing: .10em !important;
    }
    .quick-view-description p {
        margin-top: 5px !important;
        font-size: .68rem !important;
        line-height: 1.45 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    .quick-view-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-top: 10px !important;
    }
    .quick-view-actions .quick-view-tryon-action {
        grid-column: 1 / -1 !important;
    }
    .quick-view-actions .btn,
    .quick-view-form .btn {
        width: 100% !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 8px !important;
        border-radius: 9px !important;
        font-size: .64rem !important;
        white-space: nowrap !important;
    }
    .quick-view-footer {
        display: none !important;
    }
    .quick-view-purchase-panel {
        margin-top: 10px !important;
        padding: 10px !important;
        border-radius: 10px !important;
    }
    .quick-view-purchase-head {
        gap: 5px !important;
        padding-bottom: 8px !important;
    }
    .quick-view-purchase-head strong {
        font-size: .78rem !important;
    }
    .quick-view-purchase-head small {
        font-size: .62rem !important;
    }
    .quick-view-purchase-controls {
        gap: 7px !important;
        padding-top: 8px !important;
    }
}

/* ===== CUSTOMER ORDER DETAILS MODAL ===== */
.tt-order-card-popup{overflow:hidden}
.tt-order-open-modal{width:100%;color:inherit;text-align:left;user-select:none}
.tt-order-open-modal:hover .tt-order-chevron,.tt-order-open-modal:focus-visible .tt-order-chevron{background:rgba(255,191,0,.10);border-color:rgba(255,191,0,.22);color:var(--yellow)}
.tt-order-card-popup .tt-order-chevron{transform:none!important}
.tt-order-modal[hidden]{display:none!important}
.tt-order-modal{position:fixed;z-index:9000;inset:0;display:grid;place-items:center;padding:24px}
.tt-order-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.74);backdrop-filter:blur(7px)}
.tt-order-modal-panel{position:relative;z-index:1;width:min(100%,980px);max-height:min(860px,calc(100vh - 48px));display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.11);border-radius:26px;background:linear-gradient(180deg,#0f1724 0%,#0a101b 100%);box-shadow:0 34px 90px rgba(0,0,0,.58)}
.tt-order-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.018)}
.tt-order-modal-header h2{margin:5px 0 0;color:#fff;font-size:1.45rem}
.tt-order-modal-header p{margin:7px 0 0;color:#94a3b8;font-size:.88rem}
.tt-order-modal-close{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.09);border-radius:50%;background:rgba(255,255,255,.05);color:#fff;font-size:1.65rem;line-height:1;cursor:pointer}
.tt-order-modal-close:hover,.tt-order-modal-close:focus-visible{border-color:rgba(255,191,0,.35);background:rgba(255,191,0,.08);color:var(--yellow);outline:none}
.tt-order-modal-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(250,204,21,.45) rgba(255,255,255,.04)}
.tt-order-modal-scroll::-webkit-scrollbar{width:9px}
.tt-order-modal-scroll::-webkit-scrollbar-track{background:rgba(255,255,255,.04)}
.tt-order-modal-scroll::-webkit-scrollbar-thumb{background:rgba(250,204,21,.35);border-radius:999px}
.tt-order-modal .tt-order-body{border-top:0;padding:22px 24px 26px;animation:none}
.tt-order-modal .delivery-card{margin-top:0}
.tt-order-modal .tt-order-info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.tt-order-modal-open{overflow:hidden}

@media(max-width:760px){
  .tt-order-modal{padding:12px;place-items:stretch center}
  .tt-order-modal-panel{width:100%;max-height:calc(100vh - 24px);border-radius:20px}
  .tt-order-modal-header{padding:18px}
  .tt-order-modal .tt-order-body{padding:18px}
  .tt-order-modal .tt-order-info-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:520px){
  .tt-order-modal{padding:0}
  .tt-order-modal-panel{max-height:100vh;height:100vh;border-radius:0;border-left:0;border-right:0}
  .tt-order-modal-header{padding:16px}
  .tt-order-modal-header h2{font-size:1.18rem}
  .tt-order-modal .tt-order-body{padding:15px}
  .tt-order-modal .tt-order-info-grid{grid-template-columns:1fr}
}

/* ===== FINAL MOBILE RESPONSIVE PASS 2026-10-07 ===== */
@media (max-width: 640px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .nav-wrap {
        min-height: 68px;
        gap: 10px;
    }

    .brand {
        min-width: 0;
        gap: 9px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        flex: 0 0 42px;
    }

    .brand strong {
        font-size: .98rem;
    }

    .brand small {
        font-size: .68rem;
    }

    .nav-toggle {
        display: inline-grid !important;
        place-items: center;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: 0 !important;
        border-radius: 12px;
        font-size: 1.05rem;
        line-height: 1;
    }

    .site-nav {
        top: 72px !important;
        left: 12px !important;
        right: 12px !important;
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        overscroll-behavior: contain;
        border-radius: 16px !important;
        padding: 12px !important;
        gap: 4px !important;
    }

    .site-nav.open {
        display: grid !important;
    }

    .site-nav > a,
    .site-nav .nav-user-menu {
        width: 100%;
        min-width: 0;
    }

    .site-nav > a {
        min-height: 42px;
        display: flex;
        align-items: center;
        padding: 9px 10px;
        border-radius: 10px;
    }

    /* Try-On: real phone layout instead of compressed desktop columns. */
    body.tryon-body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .tryon-body .site-header {
        position: sticky;
        top: 0;
        z-index: 80;
    }

    .tryon-studio-page {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .tryon-studio-shell {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "catalog"
            "stage"
            "right" !important;
        gap: 0 !important;
        overflow: visible !important;
        align-items: stretch !important;
    }

    .tryon-catalog-panel {
        grid-area: catalog !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: none !important;
        padding: 12px !important;
        gap: 10px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.08) !important;
        overflow: visible !important;
        background: rgba(0,0,0,.96) !important;
    }

    .tryon-catalog-tabs {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 7px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 2px;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .tryon-catalog-tabs::-webkit-scrollbar,
    .tryon-filter-row::-webkit-scrollbar,
    .tryon-catalog-list::-webkit-scrollbar {
        display: none;
    }

    .tryon-tab-btn {
        flex: 0 0 auto !important;
        min-width: 106px !important;
        min-height: 42px !important;
        padding: 8px 10px !important;
        border-radius: 11px !important;
        gap: 7px !important;
        font-size: .72rem !important;
        scroll-snap-align: start;
    }

    .tryon-tab-btn span {
        white-space: nowrap;
    }

    .tryon-tab-btn strong {
        min-width: 22px !important;
        width: auto !important;
        height: 22px !important;
        padding: 0 5px !important;
        font-size: .62rem !important;
    }

    .tryon-search-wrap {
        width: 100%;
        min-width: 0;
    }

    .tryon-search-wrap .search-input {
        width: 100% !important;
        min-height: 42px !important;
        padding: 9px 11px !important;
        border-radius: 11px !important;
        font-size: .78rem !important;
    }

    .tryon-filter-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 7px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 2px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tryon-filter-chip {
        flex: 0 0 auto !important;
        min-height: 34px !important;
        padding: 7px 10px !important;
        border-radius: 999px !important;
        font-size: .65rem !important;
        white-space: nowrap;
    }

    .tryon-catalog-list {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-height: none !important;
        display: flex !important;
        grid-template-columns: none !important;
        gap: 9px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 9px 0 3px !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .tryon-none-card,
    .tryon-catalog-item {
        flex: 0 0 min(78vw, 250px) !important;
        width: min(78vw, 250px) !important;
        min-width: 0 !important;
        min-height: 78px !important;
        border-radius: 13px !important;
        padding: 10px !important;
        scroll-snap-align: start;
    }

    .tryon-none-card {
        display: grid !important;
        align-content: center;
    }

    .tryon-none-card strong {
        font-size: .78rem !important;
    }

    .tryon-none-card span {
        margin-top: 3px !important;
        font-size: .66rem !important;
    }

    .tryon-catalog-item {
        display: grid !important;
        grid-template-columns: 54px minmax(0, 1fr) !important;
        gap: 9px !important;
        align-items: center !important;
    }

    .tryon-catalog-thumb {
        width: 54px !important;
        height: 54px !important;
        border-radius: 10px !important;
    }

    .tryon-catalog-copy {
        min-width: 0 !important;
    }

    .tryon-catalog-top {
        gap: 5px !important;
    }

    .tryon-catalog-copy strong,
    .tryon-catalog-top strong {
        font-size: .76rem !important;
        line-height: 1.22 !important;
        overflow-wrap: anywhere;
    }

    .tryon-catalog-copy p {
        display: none !important;
    }

    .tryon-catalog-price-row {
        margin-top: 5px !important;
        gap: 6px !important;
    }

    .tryon-catalog-price {
        font-size: .72rem !important;
    }

    .tryon-catalog-chip {
        padding: 3px 6px !important;
        font-size: .55rem !important;
    }

    .tryon-catalog-badge {
        padding: 4px 6px !important;
        font-size: .52rem !important;
        letter-spacing: .08em !important;
    }

    .tryon-stage-panel {
        grid-area: stage !important;
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        height: clamp(420px, 62dvh, 520px) !important;
        min-height: 420px !important;
        max-height: 520px !important;
        padding: 10px !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .tryon-avatar-switcher {
        top: 10px !important;
        right: 10px !important;
        max-width: calc(100% - 20px);
        padding: 7px 8px !important;
        gap: 7px !important;
        border-radius: 10px !important;
        background: rgba(0,0,0,.78) !important;
    }

    .tryon-avatar-switcher label {
        font-size: .62rem !important;
        white-space: nowrap;
    }

    .tryon-avatar-switcher .select-field,
    .tryon-avatar-switcher select {
        min-width: 116px !important;
        width: auto !important;
        min-height: 34px !important;
        padding: 6px 28px 6px 9px !important;
        border-radius: 9px !important;
        font-size: .70rem !important;
    }

    .tryon-stage-panel #tryon-canvas,
    #tryon-canvas {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    .tryon-loading,
    .tryon-error {
        left: 12px !important;
        right: 12px !important;
        padding: 9px 10px !important;
        border-radius: 10px !important;
        font-size: .72rem !important;
    }

    .tryon-right-panel {
        grid-area: right !important;
        width: 100% !important;
        min-width: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        gap: 10px !important;
        padding: 12px !important;
        border-left: 0 !important;
        border-top: 0 !important;
        overflow: visible !important;
    }

    .tryon-selected-panel {
        grid-row: 1 !important;
    }

    .tryon-current-panel {
        grid-row: 2 !important;
    }

    .tryon-current-panel,
    .tryon-selected-panel {
        width: 100% !important;
        min-width: 0 !important;
        padding: 14px !important;
        border-radius: 15px !important;
    }

    .tryon-panel-head {
        align-items: center !important;
        gap: 9px !important;
    }

    .tryon-panel-head span,
    .tryon-selected-panel > span,
    .tryon-total-row span {
        font-size: .62rem !important;
        letter-spacing: .13em !important;
    }

    .tryon-panel-head h3,
    .tryon-selected-panel h3 {
        margin-top: 5px !important;
        font-size: 1.02rem !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }

    #saveOutfitBtn {
        flex: 0 0 auto;
        min-height: 38px !important;
        padding: 7px 10px !important;
        border-radius: 10px !important;
        font-size: .69rem !important;
    }

    .tryon-selected-price,
    .tryon-total-row strong {
        margin-top: 7px !important;
        font-size: 1.25rem !important;
    }

    .tryon-primary-purchase-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }

    .tryon-primary-purchase-actions .tryon-selected-actions,
    .tryon-primary-purchase-actions .tryon-buy-trigger-wrap {
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 0 !important;
    }

    .tryon-primary-purchase-actions .btn,
    .tryon-selected-actions .btn {
        width: 100% !important;
        min-height: 44px !important;
        padding: 8px 10px !important;
        border-radius: 11px !important;
        font-size: .72rem !important;
        white-space: nowrap;
    }

    .tryon-purchase-panel {
        width: 100% !important;
        margin-top: 12px !important;
        padding: 12px !important;
        border-radius: 13px !important;
    }

    .tryon-purchase-head {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .tryon-purchase-head strong {
        font-size: .86rem !important;
    }

    .tryon-purchase-head small {
        font-size: .68rem !important;
        line-height: 1.4 !important;
    }

    .tryon-purchase-stock {
        justify-self: start !important;
        font-size: .65rem !important;
    }

    .tryon-purchase-controls {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .tryon-purchase-controls .tryon-buy-quantity-block {
        width: 100% !important;
        min-width: 0 !important;
    }

    .tryon-purchase-controls .tryon-buy-quantity-stepper {
        width: 100% !important;
        max-width: none !important;
        grid-template-columns: 44px minmax(0,1fr) 44px !important;
    }

    .tryon-purchase-controls .tryon-buy-quantity-stepper button,
    .tryon-purchase-controls .tryon-buy-quantity-stepper input {
        min-height: 42px !important;
    }

    .tryon-purchase-controls > .btn {
        width: 100% !important;
        min-height: 42px !important;
    }

    .tryon-current-list {
        width: 100% !important;
        min-width: 0 !important;
        gap: 8px !important;
        margin-top: 11px !important;
    }

    .tryon-current-item {
        width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: 50px minmax(0, 1fr) 28px !important;
        gap: 9px !important;
        padding: 9px !important;
        border-radius: 12px !important;
    }

    .tryon-current-thumb {
        width: 50px !important;
        height: 50px !important;
        border-radius: 10px !important;
    }

    .tryon-current-copy {
        min-width: 0 !important;
    }

    .tryon-current-copy strong {
        font-size: .78rem !important;
        line-height: 1.2 !important;
        overflow-wrap: anywhere;
    }

    .tryon-current-copy span {
        margin-top: 3px !important;
        font-size: .69rem !important;
        line-height: 1.25 !important;
        overflow-wrap: anywhere;
    }

    .tryon-current-remove {
        width: 28px !important;
        height: 28px !important;
        font-size: 1.1rem !important;
    }

    .tryon-total-row {
        margin-top: 11px !important;
        padding-top: 11px !important;
    }

    body.tryon-body .inquiry-widget {
        right: 10px !important;
        bottom: 10px !important;
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    body.tryon-body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .tryon-studio-page,
    .tryon-studio-shell {
        height: auto !important;
        overflow: visible !important;
    }

    .tryon-studio-shell {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "catalog"
            "stage"
            "right" !important;
    }

    .tryon-catalog-panel {
        grid-area: catalog !important;
        height: auto !important;
        max-height: none !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.08) !important;
        overflow: visible !important;
    }

    .tryon-catalog-tabs,
    .tryon-filter-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }

    .tryon-tab-btn,
    .tryon-filter-chip {
        flex: 0 0 auto !important;
    }

    .tryon-catalog-list {
        display: flex !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        max-height: none !important;
    }

    .tryon-none-card,
    .tryon-catalog-item {
        flex: 0 0 260px !important;
        width: 260px !important;
    }

    .tryon-stage-panel {
        grid-area: stage !important;
        height: 620px !important;
        min-height: 620px !important;
        max-height: 620px !important;
    }

    .tryon-stage-panel #tryon-canvas {
        height: 100% !important;
        min-height: 100% !important;
        max-height: 100% !important;
    }

    .tryon-right-panel {
        grid-area: right !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        height: auto !important;
        overflow: visible !important;
    }
}

/* ===== MOBILE RESPONSIVE FOLLOW-UP ===== */
@media (max-width: 640px) {
    .nav-toggle {
        visibility: visible !important;
        opacity: 1 !important;
        color: #fff !important;
        background: #111827 !important;
        border-color: rgba(250,204,21,.28) !important;
        position: relative;
        z-index: 90;
    }

    .tryon-stage-panel {
        height: clamp(400px, 52dvh, 460px) !important;
        min-height: 400px !important;
        max-height: 460px !important;
    }

    .tryon-right-panel,
    .tryon-current-panel,
    .tryon-selected-panel,
    .tryon-primary-purchase-actions,
    .tryon-primary-purchase-actions > *,
    .tryon-selected-actions,
    .tryon-buy-trigger-wrap,
    .tryon-purchase-panel,
    .tryon-current-list,
    .tryon-total-row {
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .tryon-primary-purchase-actions {
        width: 100% !important;
        overflow: hidden !important;
    }

    .tryon-primary-purchase-actions form,
    .tryon-primary-purchase-actions .tryon-buy-trigger-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .tryon-primary-purchase-actions .btn,
    .tryon-selected-actions .btn,
    #tryonBuyNowStart {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tryon-total-row {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        overflow: hidden !important;
    }

    .tryon-total-row span {
        flex: 0 0 auto;
    }

    .tryon-total-row strong {
        min-width: 0 !important;
        max-width: 70% !important;
        margin-left: auto !important;
        text-align: right !important;
        overflow-wrap: anywhere;
    }
}


/* ===== ADIS MOBILE ACCOUNT & FITTING STUDIO (2026-10-11) =====
   Intentionally follows the legacy responsive rules above.
   Desktop layout, markup, and form behavior are unchanged. */
@media (max-width: 640px) {
    /* Customer Profile: full-width form with a compact account header */
    .account-center-page .account-center-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        align-items: stretch !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .account-center-page .account-center-sidebar {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        border-radius: 16px !important;
    }
    .account-center-page .account-center-user {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 14px 16px !important;
        min-width: 0 !important;
    }
    .account-center-page .account-center-user > div:last-child {
        min-width: 0;
        flex: 1 1 auto;
    }
    .account-center-page .account-center-avatar {
        width: 46px !important;
        height: 46px !important;
        flex: 0 0 46px !important;
        font-size: 1rem !important;
    }
    .account-center-page .account-center-user strong {
        font-size: .92rem !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
    }
    .account-center-page .account-center-user span {
        font-size: .76rem !important;
        line-height: 1.4 !important;
        overflow-wrap: anywhere;
    }
    .account-center-page .account-center-nav {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
        padding: 10px !important;
    }
    .account-center-page .account-center-nav a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        min-width: 0 !important;
        min-height: 66px !important;
        padding: 9px 4px !important;
        font-size: .73rem !important;
        line-height: 1.2 !important;
        text-align: center !important;
        border-radius: 11px !important;
        word-break: normal !important;
    }
    .account-center-page .account-nav-icon {
        display: block !important;
        width: auto !important;
        flex: 0 0 auto !important;
        font-size: 1.05rem !important;
        line-height: 1.1 !important;
    }
    .account-center-page .account-center-main,
    .account-center-page .account-center-panel,
    .account-center-page .account-center-form,
    .account-center-page .account-center-field {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .account-center-page .account-center-panel {
        padding: 20px 18px !important;
        border-radius: 16px !important;
    }
    .account-center-page .account-panel-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .account-center-page .account-panel-header h2 {
        font-size: 1.2rem !important;
    }
    .account-center-page .account-panel-header p {
        font-size: .84rem !important;
        line-height: 1.5 !important;
    }
    .account-center-page .account-member-pill {
        font-size: .72rem !important;
        min-height: 28px !important;
        padding: 5px 10px !important;
        white-space: normal !important;
    }
    .account-center-page .account-center-form-grid,
    .account-center-page .account-center-readonly {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
    }
    .account-center-page .account-center-field .input-field {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 50px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
    }
    .account-center-page .account-center-readonly > div {
        min-width: 0 !important;
    }
    .account-center-page .account-address-top {
        flex-wrap: wrap !important;
    }
    .account-center-page .account-center-actions .btn {
        width: 100% !important;
        min-height: 48px !important;
    }

    /* Try-On: comfortable browsing and a larger, clearly framed avatar. */
    body.tryon-body .tryon-catalog-panel {
        padding: 13px 14px 12px !important;
        gap: 10px !important;
    }
    body.tryon-body .tryon-catalog-tabs {
        gap: 8px !important;
        padding-bottom: 5px !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(250,204,21,.48) transparent;
    }
    body.tryon-body .tryon-catalog-tabs::-webkit-scrollbar,
    body.tryon-body .tryon-catalog-list::-webkit-scrollbar {
        display: block !important;
        height: 3px !important;
    }
    body.tryon-body .tryon-catalog-tabs::-webkit-scrollbar-thumb,
    body.tryon-body .tryon-catalog-list::-webkit-scrollbar-thumb {
        background: rgba(250,204,21,.46) !important;
        border-radius: 20px !important;
    }
    body.tryon-body .tryon-tab-btn {
        min-width: 108px !important;
        min-height: 43px !important;
        padding: 9px 11px !important;
        font-size: .73rem !important;
    }
    body.tryon-body .tryon-filter-chip {
        min-height: 36px !important;
        font-size: .67rem !important;
    }
    body.tryon-body .tryon-catalog-list {
        gap: 9px !important;
        padding: 10px 0 7px !important;
        scroll-padding-inline: 0 !important;
    }
    body.tryon-body .tryon-none-card {
        flex: 0 0 155px !important;
        width: 155px !important;
        min-height: 84px !important;
    }
    body.tryon-body .tryon-catalog-item {
        flex: 0 0 202px !important;
        width: 202px !important;
        min-height: 84px !important;
        padding: 9px !important;
        grid-template-columns: 49px minmax(0,1fr) !important;
    }
    body.tryon-body .tryon-catalog-thumb {
        width: 49px !important;
        height: 54px !important;
    }
    body.tryon-body .tryon-catalog-top strong {
        font-size: .74rem !important;
    }
    body.tryon-body .tryon-stage-panel {
        height: clamp(450px, 61dvh, 545px) !important;
        min-height: 450px !important;
        max-height: 545px !important;
        padding: 10px 12px 12px !important;
        background: #080808 !important;
    }
    body.tryon-body .tryon-stage-panel::after {
        content: "Drag to rotate  \00b7  Pinch to zoom";
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        pointer-events: none;
        white-space: nowrap;
        max-width: calc(100% - 32px);
        padding: 7px 12px;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 999px;
        background: rgba(10, 12, 18, .76);
        color: #cbd5e1;
        font-size: .68rem;
        letter-spacing: .015em;
    }
    body.tryon-body .tryon-avatar-switcher {
        z-index: 4 !important;
        top: 14px !important;
        right: 16px !important;
        padding: 7px 9px !important;
    }
    body.tryon-body .tryon-avatar-switcher .select-field {
        min-height: 38px !important;
        font-size: .78rem !important;
    }
    body.tryon-body .tryon-right-panel {
        gap: 12px !important;
        padding: 14px !important;
    }
    body.tryon-body .tryon-current-panel,
    body.tryon-body .tryon-selected-panel {
        padding: 17px !important;
        border-radius: 15px !important;
    }
    body.tryon-body .tryon-selected-panel h3,
    body.tryon-body .tryon-panel-head h3 {
        font-size: 1.02rem !important;
    }
    body.tryon-body .tryon-primary-purchase-actions .btn {
        min-height: 44px !important;
        font-size: .78rem !important;
        padding: 9px !important;
    }
    body.tryon-body .tryon-total-row strong,
    body.tryon-body .tryon-selected-price {
        font-size: 1.18rem !important;
    }
}
@media (max-width: 360px) {
    .account-center-page .account-center-nav a {
        font-size: .67rem !important;
    }
    body.tryon-body .tryon-stage-panel {
        height: 440px !important;
        min-height: 440px !important;
        max-height: 440px !important;
    }
    body.tryon-body .tryon-stage-panel::after {
        font-size: .61rem;
    }
}


/* Keep the WebGL drawing surface inside its mobile stage.
   The former 100%-height canvas began below the model picker and was clipped. */
@media (max-width: 640px) {
    body.tryon-body .tryon-stage-panel #tryon-canvas {
        position: absolute !important;
        top: 10px !important;
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        width: calc(100% - 24px) !important;
        height: calc(100% - 22px) !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        z-index: 1;
    }
    body.tryon-body .tryon-stage-panel::after {
        content: "Drag to rotate  ·  Pinch to zoom" !important;
        top: 76px !important;
        bottom: auto !important;
        left: 20px !important;
        transform: none !important;
        padding: 6px 10px;
        font-size: .65rem;
    }
    body.tryon-body .tryon-avatar-switcher {
        z-index: 5 !important;
    }
}

@media (max-width: 640px) {
    body.tryon-body .tryon-stage-panel > .tryon-avatar-switcher {
        position: absolute !important;
        top: 14px !important;
        right: 16px !important;
        left: auto !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 30 !important;
        pointer-events: auto !important;
    }
}


/* Admin / Staff sidebar: the menu scrolls, while Logout remains visible. */
.admin-body .admin-sidebar {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    max-height: 100dvh;
    box-sizing: border-box;
    overflow: hidden;
}
.admin-body .admin-sidebar > .admin-brand {
    flex: 0 0 auto;
    margin-bottom: 18px;
}
.admin-body .admin-sidebar > .admin-menu {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 5px 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(250,204,21,.4) transparent;
}
.admin-body .admin-sidebar-footer {
    display: block;
    flex: 0 0 auto;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.admin-body .admin-sidebar-logout {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border: 1px solid rgba(250,204,21,.14);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: #f8fafc;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .18s ease, border-color .18s ease;
}
.admin-body .admin-sidebar-logout:hover,
.admin-body .admin-sidebar-logout:focus-visible {
    background: rgba(250,204,21,.14);
    border-color: rgba(250,204,21,.38);
    color: #facc15;
}
@media (max-width: 768px) {
    .admin-body.delivery-manage-page .admin-sidebar-footer {
        padding-top: 8px;
        margin-top: 8px;
    }
    .admin-body.delivery-manage-page .admin-sidebar-logout {
        width: max-content;
        min-height: 40px;
        padding: 9px 14px;
    }
}


/* Manual GCash / Maya review: reference number only (no customer screenshot). */
.mp-review { margin-top:15px;display:grid;gap:14px;min-width:0; }
.mp-review-summary {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.mp-review-summary>div,.mp-review-reference {padding:15px 16px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:rgba(255,255,255,.035);min-width:0;}
.mp-review-label {display:block;margin-bottom:8px;color:#aeb8ca;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;font-weight:800;line-height:1.4;}
.mp-review-price {font-size:1.55rem;line-height:1.3;font-weight:850;color:#facc15;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.mp-review-method {font-size:1rem;line-height:1.5;color:#f8fafc;font-weight:800;}
.mp-review-reference strong {display:block;color:#fff;font-size:1.15rem;letter-spacing:.025em;overflow-wrap:anywhere;font-weight:850;line-height:1.4;}
.mp-review-reference small {display:block;margin-top:7px;font-size:.74rem;color:#aeb8ca;}
.mp-review-warning {border:1px solid rgba(250,204,21,.26);background:rgba(250,204,21,.07);color:#ede2b6;border-radius:13px;padding:14px 16px;font-size:.8rem;line-height:1.7;}
.mp-review-warning strong {color:#facc15;}
.mp-review-form {padding:15px 16px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:rgba(255,255,255,.025);min-width:0;gap:11px;}
.mp-review-form .input-field{max-width:100%;width:100%;min-width:0;}
.mp-review-form .btn{max-width:100%;white-space:normal;min-height:43px;}
.mp-review-check {color:#e5eaf2;line-height:1.55;}
.mp-review-verified {padding:14px 16px;background:rgba(24,120,70,.14);border:1px solid rgba(61,187,115,.33);border-radius:12px;color:#b4f1cc;line-height:1.55;}
@media(max-width:540px){.mp-review-summary{grid-template-columns:minmax(0,1fr)}.mp-review-form{padding:12px}.mp-review-form .btn{width:100%}}

/* Checkout: manual GCash + Maya, reference-number verification. */
.echeckout-payment-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.echeckout-payment-options .echeckout-payment-option{min-height:154px;align-items:start}
.echeckout-payment-options .echeckout-payment-option.is-unavailable{opacity:.68!important}
.echeckout-payment-options .echeckout-payment-option.is-unavailable:hover{transform:none;border-color:rgba(255,255,255,.09)}
.echeckout-payment-options .echeckout-payment-brand-icon.is-maya{background:rgba(27,148,112,.15);border-color:rgba(53,182,136,.34);color:#9be6c8}
.echeckout-payment-options .echeckout-payment-brand-icon.is-maya>span{display:inline-flex;align-items:center;justify-content:center;margin:0!important;width:26px;height:26px;border:2px solid currentColor;border-radius:50%;font-size:.9rem;font-weight:950}
.echeckout-payment-options .echeckout-payment-copy .echeckout-payment-description{line-height:1.55}
.echeckout-payment-options .echeckout-payment-copy .echeckout-payment-meta{line-height:1.5}
.echeckout-payment-card .echeckout-payment-security-strip{overflow:hidden}
@media(max-width:960px){.echeckout-payment-options{grid-template-columns:1fr}}
@media(max-width:600px){.echeckout-payment-options .echeckout-payment-option{min-height:0}}

/* Compact payment summary for Admin/Staff order details.
   Payment method and total are shown elsewhere on the order details page. */
.mp-compact-payment {display:block}
.mp-compact-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:0}
.mp-compact-head .delivery-eyebrow{margin:0!important;line-height:1.5}
.mp-compact-badge{display:inline-flex;align-items:center;max-width:100%;padding:6px 10px;border-radius:999px;border:1px solid #56513e;background:#2b291e;color:#f7da88;font-size:.75rem;font-weight:800;line-height:1.35;white-space:normal;text-align:center}
.mp-compact-badge.is-review{background:rgba(83,65,20,.35);border-color:#745b27;color:#ffe084}
.mp-compact-badge.is-verified{background:rgba(20,111,67,.2);border-color:#2c8559;color:#9af1c0}
.mp-compact-badge.is-attention{background:rgba(125,52,39,.2);border-color:#82513e;color:#ffbdab}
.mp-compact-badge.is-waiting{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.15);color:#d1dae6}
.mp-compact-empty{margin:13px 0 0!important;color:#aab5c5;font-size:.82rem;line-height:1.55}
.mp-compact-reference{margin-top:15px;padding:13px 15px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);min-width:0}
.mp-compact-reference>span{display:block;color:#aab5c5;font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;font-weight:800}
.mp-compact-reference strong{display:block;color:#fff;font-size:1.05rem;line-height:1.45;font-weight:850;letter-spacing:.012em;margin:4px 0;overflow-wrap:anywhere}
.mp-compact-reference small{display:block;color:#aab5c5;font-size:.74rem}
.mp-compact-hint{margin:13px 0!important;font-size:.8rem;line-height:1.58;color:#c6cbd4}
.mp-compact-verify-form{display:grid;gap:11px;margin-top:8px}
.mp-compact-confirm{display:flex;align-items:flex-start;gap:10px;color:#cdd5df;font-size:.8rem;line-height:1.45;cursor:pointer;min-width:0}
.mp-compact-confirm input{margin:2px 0 0;accent-color:#facc15;flex:0 0 18px;width:18px;height:18px}
.mp-compact-verify-btn{width:100%;min-height:43px}
.mp-compact-reject{margin-top:12px;border-top:1px solid rgba(255,255,255,.1);padding-top:10px;min-width:0}
.mp-compact-reject summary{cursor:pointer;font-size:.79rem;font-weight:750;color:#aeb8ca;line-height:1.5;list-style-position:inside}
.mp-compact-reject summary:hover,.mp-compact-reject summary:focus-visible{color:#facc15}
.mp-compact-reject[open] summary{margin-bottom:13px}
.mp-compact-reject-form{display:grid;gap:10px}
.mp-compact-reject-form label{color:#d4d9e2;font-size:.8rem;font-weight:750}
.mp-compact-reject-form .input-field{width:100%;min-width:0}
.mp-compact-reject-form .btn{max-width:100%;white-space:normal}
.mp-compact-note{margin:12px 0 0!important;font-size:.79rem;line-height:1.65;color:#bcd8cd}
.mp-compact-note.is-warning{color:#f8cf9d}
.mp-compact-legacy-head h3{margin-top:8px}
@media(max-width:540px){
.mp-compact-head{align-items:flex-start}
.mp-compact-badge{font-size:.7rem}
.mp-compact-reference{padding:12px}
.mp-compact-verify-btn,.mp-compact-reject-form .btn{width:100%}
}

/* Remove duplicated order/payment status blocks from the approval card. */
.mp-compact-approval h3{margin-bottom:12px}
.mp-approval-notice,.mp-approval-ready{padding:11px 12px;margin:10px 0 0!important;border-radius:10px;font-size:.8rem;line-height:1.55}
.mp-approval-notice{color:#e3d3a1;background:rgba(250,204,21,.055);border:1px solid rgba(250,204,21,.18)}
.mp-approval-ready{color:#b4bfce;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.09)}
.mp-approval-action{margin-top:12px}
.mp-approval-action .btn{width:100%;min-height:43px}

/* Customer notifications: accessible details popup that leaves the list in place. */
.notifications-page .notification-modal-trigger{
    width:100%;min-width:0;text-align:left;color:inherit;
    font:inherit;cursor:pointer;box-sizing:border-box;
}
.notifications-page .notification-modal-trigger .notification-copy{min-width:0}
.notifications-page .notification-modal-trigger .notification-message{
    overflow-wrap:anywhere;
}
.customer-notification-dialog{
    width:min(520px,calc(100vw - 32px));
    max-height:min(85dvh,780px);
    margin:auto;
    padding:0;
    box-sizing:border-box;
    overflow:auto;
    border-radius:20px;
    border:1px solid rgba(250,204,21,.25);
    background:#111622;
    color:#f8fafc;
    box-shadow:0 28px 95px rgba(0,0,0,.7);
}
.customer-notification-dialog:not([open]){display:none}
.customer-notification-dialog::backdrop{
    background:rgba(1,5,15,.78);
    backdrop-filter:blur(5px);
}
.customer-notification-dialog-panel{padding:27px 28px;min-width:0}
.customer-notification-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}
.customer-notification-dialog-icon{
    width:50px;height:50px;flex:0 0 50px;border-radius:14px;
    background:rgba(250,204,21,.1);border:1px solid rgba(250,204,21,.2);
    display:grid;place-items:center;font-size:1.45rem;
}
.customer-notification-dialog-x{
    width:39px;height:39px;border-radius:11px;border:1px solid rgba(255,255,255,.11);
    color:#e5e7eb;background:rgba(255,255,255,.05);font-size:1.7rem;line-height:1;
    display:grid;place-items:center;cursor:pointer;
}
.customer-notification-dialog-x:hover,
.customer-notification-dialog-x:focus-visible{
    border-color:rgba(250,204,21,.44);color:#facc15;
}
.customer-notification-dialog-eyebrow{
    margin:0 0 10px!important;font-size:.73rem;color:#facc15!important;
    letter-spacing:.13em;font-weight:900;
}
.customer-notification-dialog h2{
    font-size:clamp(1.3rem,4vw,1.65rem);line-height:1.3;
    margin:0 0 9px;color:#fff;overflow-wrap:anywhere;
}
.customer-notification-dialog time{
    display:block;color:#96a4ba;font-size:.78rem;margin-bottom:19px;
}
.customer-notification-dialog-message{
    color:#d5dde9;font-size:.94rem;line-height:1.8;
    padding:17px;background:#1b2331;border:1px solid rgba(255,255,255,.08);
    border-radius:13px;white-space:pre-wrap;overflow-wrap:anywhere;
}
.customer-notification-dialog-footer{display:flex;justify-content:flex-end;margin-top:23px}
.customer-notification-dialog-done{min-width:114px;min-height:44px}
@media(max-width:560px){
    .customer-notification-dialog{width:calc(100vw - 28px);border-radius:16px}
    .customer-notification-dialog-panel{padding:20px}
    .customer-notification-dialog-footer .btn{width:100%}
    .notification-modal-trigger{padding:16px}
}

/* Customer Notifications: full order details stay in the popup and never
   automatically navigate to My Orders. */
.customer-notification-dialog.is-order-details{
    width:min(860px,calc(100vw - 32px));
    max-height:min(90dvh,920px);
}
.customer-notification-dialog.is-order-details .customer-notification-dialog-panel{
    padding:22px 24px;
}
.customer-notification-dialog.is-order-details .customer-notification-dialog-message{
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    white-space:normal;
    overflow:visible;
    font-size:inherit;
    line-height:normal;
}
.customer-notification-dialog.is-order-details .notification-order-body{
    padding:0;
    margin:0;
    background:transparent;
    border:0;
    animation:none;
    min-width:0;
}
.customer-notification-dialog.is-order-details .notification-order-body .tt-order-info-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.customer-notification-dialog.is-order-details .notification-order-body .tt-order-info-box{
    min-width:0;
}
.customer-notification-dialog.is-order-details .notification-order-body .tt-order-info-box strong{
    overflow-wrap:anywhere;
}
.customer-notification-dialog.is-order-details .notification-order-body .delivery-card{
    margin-top:0;
}
.customer-notification-dialog.is-order-details .customer-notification-dialog-footer{
    border-top:1px solid rgba(255,255,255,.1);
    margin-top:18px;
    padding-top:16px;
}
@media (max-width:760px){
    .customer-notification-dialog.is-order-details .notification-order-body .tt-order-info-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width:560px){
    .customer-notification-dialog.is-order-details{
        width:calc(100vw - 20px);
        max-height:92dvh;
        border-radius:15px;
    }
    .customer-notification-dialog.is-order-details .customer-notification-dialog-panel{
        padding:14px;
    }
    .customer-notification-dialog.is-order-details .customer-notification-dialog-header{
        margin-bottom:14px;
    }
    .customer-notification-dialog.is-order-details .notification-order-body .tt-order-info-grid{
        grid-template-columns:minmax(0,1fr);
    }
    .customer-notification-dialog.is-order-details .notification-order-body .tt-order-item-row{
        min-width:0;
    }
}


/* COD restored alongside the two optional manual-wallet payment choices. */
.echeckout-payment-options .echeckout-payment-option.is-cod {
    grid-column: 1 / -1;
    border-color: rgba(250,204,21,.17);
    min-height: 0;
}
.echeckout-payment-options .echeckout-payment-brand-icon.is-cod {
    background: rgba(250,204,21,.12);
    border-color: rgba(250,204,21,.27);
    color: #facc15;
}
.echeckout-payment-options .echeckout-payment-brand-icon.is-cod > span {
    display: inline-flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    font-weight: 900;
    font-size: 1.35rem;
}

/* Mobile customer profile shortcut: visible in the top bar and never clipped. */
@media (max-width: 820px) {
    .site-header .nav-wrap > .nav-user-menu {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 42px !important;
        margin-left: auto !important;
        margin-right: 7px !important;
        z-index: 2100 !important;
        position: relative !important;
    }
    .site-header .nav-wrap > .nav-user-menu > .nav-avatar {
        flex: 0 0 42px;
        width: 42px !important;
        height: 42px !important;
    }
    .site-header .nav-wrap > .nav-user-menu > .user-dropdown {
        position: fixed !important;
        right: 12px !important;
        left: auto !important;
        top: 72px !important;
        width: min(260px, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100dvh - 90px);
        overflow-y: auto !important;
        overscroll-behavior: contain;
        border-radius: 14px !important;
        z-index: 2101 !important;
    }
    .site-header .nav-wrap > .nav-user-menu.open > .user-dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .site-header .nav-wrap > .site-nav {
        z-index: 160;
    }
}
@media (max-width: 360px) {
    .site-header .nav-wrap > .nav-user-menu {
        margin-right: 3px !important;
    }
}
/* JS catalog filtering must beat mobile display:grid!important rules. */
body.tryon-body .tryon-catalog-item[hidden],
body.tryon-body .js-tryon-item[hidden] {
    display: none !important;
}
