/* ADIS performance bundle. Rebuild from style.css and modules; keep rule order. */
/* Source: modules/00-base.css */
* {
    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;
}

/* Source: modules/01-header-nav.css */
.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;
}

/* Source: modules/02-hero-layout-buttons.css */
.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;
}

/* Source: modules/03-sections-products.css */
.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;
}

/* Source: modules/04-auth-forms-flash.css */
.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;
}
/* ===== ADMIN LOGIN (SEPARATE, NO NAVBAR) ===== */

.admin-login-body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1f2937, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-page {
    width: 100%;
    padding: 24px;
}

.admin-login-card {
    max-width: 420px;
    margin: auto;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

.admin-login-brand {
    text-align: center;
    margin-bottom: 26px;
}

.admin-login-logo {
    width: 58px;
    height: 58px;
    background: #facc15;
    color: #111827;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 900;
    margin: 0 auto 14px;
}

.admin-login-brand h1 {
    color: #fff;
    margin: 0;
}

.admin-login-brand p {
    color: #94a3b8;
    margin-top: 6px;
}

.admin-login-card label {
    color: #cbd5e1;
    font-weight: 700;
    margin: 12px 0 6px;
    display: block;
}

/* Source: modules/05-cart-checkout.css */
.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);
}

/* ===== PREMIUM CHECKOUT ===== */

.checkout-page {
    padding-top: 26px;
}

.checkout-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.checkout-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 5vw, 4.7rem);
    line-height: 1.02;
}

.checkout-hero p {
    margin: 16px 0 0;
    max-width: 720px;
    color: #d4d0c8;
    line-height: 1.7;
    font-size: 1rem;
}

.checkout-hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 14px;
}

.checkout-hero-badge {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 18px;
    min-width: 145px;
}

.checkout-hero-badge span {
    display: block;
    color: #9ca3af;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.checkout-hero-badge strong {
    display: block;
    margin-top: 12px;
    color: var(--yellow);
    font-size: 1.4rem;
    line-height: 1.2;
}

.checkout-layout-premium {
    gap: 22px;
}

.checkout-form-card,
.checkout-summary-premium {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(0, 0, 0, 0.34);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.checkout-form-card {
    padding: 28px;
}

.checkout-summary-premium {
    padding: 28px;
    top: 94px;
}

.checkout-card-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.checkout-card-kicker {
    display: block;
    color: var(--yellow);
    font-size: 0.78rem;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}

.checkout-card-head h2 {
    margin: 10px 0 0;
    font-size: 1.9rem;
    line-height: 1.1;
}

.checkout-mini-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 191, 0, 0.10);
    border: 1px solid rgba(255, 191, 0, 0.18);
    color: var(--yellow);
    font-weight: 700;
    white-space: nowrap;
}

.checkout-form-premium label {
    display: block;
    margin-bottom: 10px;
    color: #f3f4f6;
    font-weight: 600;
}

.checkout-form-premium .input-field,
.checkout-form-premium textarea {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    padding: 16px 18px;
}

.checkout-form-premium textarea {
    min-height: 140px;
}

.checkout-form-premium .input-field:focus,
.checkout-form-premium textarea:focus {
    outline: none;
    border-color: rgba(255, 191, 0, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.08);
}

.checkout-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.checkout-summary-head {
    margin-bottom: 18px;
}

.checkout-summary-list {
    display: grid;
    gap: 14px;
}

.checkout-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px;
}

.checkout-summary-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.checkout-summary-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    overflow: hidden;
    background: #2a2a2a;
    flex-shrink: 0;
}

.checkout-summary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-summary-left strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.25;
    color: #fff;
}

.checkout-summary-left span {
    display: block;
    margin-top: 4px;
    color: #9ca3af;
    font-size: 0.88rem;
    line-height: 1.35;
}

.checkout-summary-right {
    color: var(--yellow);
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

.checkout-total-box {
    margin-top: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    padding: 18px;
}

.checkout-total-box .summary-row {
    padding: 8px 0;
}

.checkout-total-box .total-row {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-note-box {
    margin-top: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 191, 0, 0.14);
    background: rgba(255, 191, 0, 0.06);
    padding: 18px;
}

.checkout-note-box span {
    display: block;
    color: var(--yellow);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.checkout-note-box p {
    margin: 12px 0 0;
    color: #d8d2c6;
    line-height: 1.7;
    font-size: 0.94rem;
}

@media (max-width: 1100px) {
    .checkout-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-hero-badges {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .checkout-layout,
    .checkout-layout-premium {
        grid-template-columns: 1fr;
    }

    .checkout-summary-premium {
        position: static;
    }
}

@media (max-width: 700px) {
    .checkout-page {
        padding-top: 16px;
    }

    .checkout-hero-badges {
        grid-template-columns: 1fr;
    }

    .checkout-form-card,
    .checkout-summary-premium {
        padding: 20px;
        border-radius: 24px;
    }

    .checkout-card-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-card-head h2 {
        font-size: 1.5rem;
    }

    .checkout-summary-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-summary-right {
        align-self: flex-end;
    }

    .checkout-form-actions {
        flex-direction: column;
    }

    .checkout-form-actions .btn {
        width: 100%;
    }
}

/* ===== PROFESSIONAL CHECKOUT REFINEMENT ===== */
.checkout-page-pro {
    padding-top: 34px;
    padding-bottom: 44px;
}

.checkout-hero-pro {
    align-items: flex-start;
    margin-bottom: 30px;
}

.checkout-hero-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.checkout-hero-copy p {
    max-width: 760px;
}

.checkout-trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.checkout-trust-item {
    padding: 16px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.checkout-trust-item strong {
    display: block;
    color: #fff;
    font-size: 0.96rem;
}

.checkout-trust-item span {
    display: block;
    margin-top: 8px;
    color: #bfc7d4;
    line-height: 1.6;
    font-size: 0.9rem;
}

.checkout-hero-badges-pro {
    flex: 0 0 420px;
}

.checkout-layout-pro {
    grid-template-columns: minmax(0, 1.3fr) minmax(360px, 0.82fr);
    gap: 24px;
}

.checkout-form-card-pro,
.checkout-summary-pro {
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(8, 12, 28, 0.95) 0%, rgba(5, 8, 18, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.checkout-card-head-pro {
    margin-bottom: 22px;
}

.checkout-card-subtext {
    margin: 10px 0 0;
    color: #b8c0ce;
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 640px;
}

.checkout-form-pro {
    display: grid;
    gap: 18px;
}

.checkout-section-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    padding: 22px;
}

.checkout-section-title-wrap {
    margin-bottom: 18px;
}

.checkout-section-title {
    display: block;
    color: var(--yellow);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.checkout-section-title-wrap p {
    margin: 10px 0 0;
    color: #b8c0ce;
    line-height: 1.65;
    font-size: 0.93rem;
}

.checkout-form-pro textarea {
    resize: vertical;
}

.checkout-form-pro small {
    color: #9ca3af;
    font-size: 0.8rem;
}

.checkout-form-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 2px;
}

.checkout-form-help {
    max-width: 420px;
}

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

.checkout-form-help p {
    margin: 10px 0 0;
    color: #b8c0ce;
    line-height: 1.7;
    font-size: 0.93rem;
}

.checkout-form-actions-pro {
    margin-top: 0;
    justify-content: flex-end;
}

.checkout-form-actions-pro .btn,
.checkout-summary-actions .btn {
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 16px;
}

.checkout-summary-pro {
    position: sticky;
    top: 96px;
}

.checkout-total-box-pro {
    margin-top: 20px;
}

.checkout-note-box-pro {
    margin-top: 16px;
}

.checkout-note-muted {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.checkout-note-muted span {
    color: #d9dde7;
}

.checkout-note-muted p {
    color: #b8c0ce;
}

.checkout-summary-actions {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.checkout-summary-actions .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1180px) {
    .checkout-trust-list {
        grid-template-columns: 1fr;
    }

    .checkout-hero-badges-pro {
        flex: 1 1 100%;
        width: 100%;
    }
}

@media (max-width: 960px) {
    .checkout-layout-pro {
        grid-template-columns: 1fr;
    }

    .checkout-summary-pro {
        position: static;
    }

    .checkout-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-form-help {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .checkout-page-pro {
        padding-top: 18px;
    }

    .checkout-section-card {
        padding: 18px;
        border-radius: 20px;
    }

    .checkout-form-card-pro,
    .checkout-summary-pro {
        padding: 20px;
        border-radius: 24px;
    }

    .checkout-trust-list {
        gap: 12px;
    }
}


/* ===== ECOMMERCE STYLE CHECKOUT ===== */
.echeckout-page {
    padding-top: 28px;
    padding-bottom: 48px;
}

.echeckout-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.echeckout-topbar h1 {
    margin: 8px 0 0;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.03;
}

.echeckout-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
    font-weight: 700;
    text-decoration: none;
}

.echeckout-back-link:hover {
    border-color: rgba(255, 191, 0, 0.35);
    color: var(--yellow);
}

.echeckout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.echeckout-main {
    display: grid;
    gap: 18px;
}

.echeckout-card,
.echeckout-summary-card {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(8, 12, 24, 0.82);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.echeckout-card {
    padding: 22px;
}

.echeckout-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.echeckout-card-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.echeckout-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 191, 0, 0.12);
    border: 1px solid rgba(255, 191, 0, 0.18);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.echeckout-card-title h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
}

.echeckout-card-title p {
    margin: 7px 0 0;
    color: #aeb7c6;
    line-height: 1.55;
    font-size: 0.94rem;
}

.echeckout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.echeckout-field {
    display: grid;
    gap: 8px;
}

.echeckout-field-wide {
    grid-column: 1 / -1;
}

.echeckout-field label {
    color: #f4f6fb;
    font-weight: 700;
    font-size: 0.94rem;
}

.echeckout-field label span {
    color: var(--yellow);
}

.echeckout-field input,
.echeckout-field select,
.echeckout-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    padding: 14px 15px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.echeckout-field textarea {
    min-height: 92px;
    resize: vertical;
}

.echeckout-field select {
    min-height: 48px;
    appearance: auto;
}

.echeckout-field select option {
    background: #111827;
    color: #fff;
}

.echeckout-field select:disabled {
    opacity: .62;
    cursor: not-allowed;
}

.echeckout-field input:focus,
.echeckout-field select:focus,
.echeckout-field textarea:focus {
    border-color: rgba(255, 191, 0, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.08);
    background: rgba(255, 255, 255, 0.055);
}

.echeckout-products-table {
    display: grid;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.echeckout-products-head,
.echeckout-product-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 130px 100px 130px;
    gap: 14px;
    align-items: center;
}

.echeckout-products-head {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #aeb7c6;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 800;
}

.echeckout-product-row {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.echeckout-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.echeckout-product-info img {
    width: 66px;
    height: 66px;
    border-radius: 14px;
    background: #2a2a2a;
    object-fit: cover;
    flex-shrink: 0;
}

.echeckout-product-info strong {
    display: block;
    color: #fff;
    line-height: 1.3;
}

.echeckout-product-info span {
    display: block;
    margin-top: 5px;
    color: #9ca3af;
    font-size: 0.9rem;
}

.echeckout-product-price,
.echeckout-product-qty {
    color: #d9dee8;
    font-weight: 700;
}

.echeckout-product-subtotal {
    color: var(--yellow);
    font-weight: 900;
}

.echeckout-payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 191, 0, 0.24);
    background: rgba(255, 191, 0, 0.07);
}

.echeckout-payment-option strong {
    display: block;
    color: #fff;
    font-size: 1.02rem;
}

.echeckout-payment-option span {
    display: block;
    margin-top: 6px;
    color: #c2c8d3;
    line-height: 1.5;
    font-size: 0.94rem;
}

.echeckout-payment-option em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 191, 0, 0.16);
    color: var(--yellow);
    font-style: normal;
    font-weight: 900;
    font-size: 0.85rem;
}

.echeckout-summary-card {
    position: sticky;
    top: 96px;
    padding: 22px;
}

.echeckout-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.echeckout-summary-header h2 {
    margin: 0;
    font-size: 1.35rem;
}

.echeckout-summary-header span {
    color: #aeb7c6;
    font-size: 0.92rem;
}

.echeckout-summary-lines {
    display: grid;
    gap: 12px;
}

.echeckout-summary-lines div,
.echeckout-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.echeckout-summary-lines span {
    color: #b8c0ce;
}

.echeckout-summary-lines strong {
    color: #fff;
    text-align: right;
}

.echeckout-summary-total {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.echeckout-summary-total span {
    color: #fff;
    font-weight: 800;
}

.echeckout-summary-total strong {
    color: var(--yellow);
    font-size: 1.7rem;
    line-height: 1;
}

.echeckout-place-order {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
    min-height: 52px;
    border-radius: 16px;
    font-size: 1rem;
}

.echeckout-summary-note {
    margin: 14px 0 0;
    color: #9ca3af;
    line-height: 1.65;
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 1080px) {
    .echeckout-layout {
        grid-template-columns: 1fr;
    }

    .echeckout-summary-card {
        position: static;
    }
}

@media (max-width: 820px) {
    .echeckout-products-table {
        overflow-x: auto;
    }

    .echeckout-products-head,
    .echeckout-product-row {
        min-width: 680px;
    }
}

@media (max-width: 700px) {
    .echeckout-page {
        padding-top: 18px;
    }

    .echeckout-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .echeckout-card,
    .echeckout-summary-card {
        padding: 18px;
        border-radius: 18px;
    }

    .echeckout-card-title {
        gap: 12px;
    }

    .echeckout-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }
}


/* ===== SEARCHABLE PHILIPPINE ADDRESS ===== */
.echeckout-optional {
    color: #94a3b8;
    font-size: .78rem;
    font-weight: 600;
}

.echeckout-address-search-wrap {
    position: relative;
}

.echeckout-address-help {
    display: block;
    margin-top: 7px;
    color: #94a3b8;
    font-size: .78rem;
    line-height: 1.4;
}

.echeckout-address-suggestions {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: #111827;
    box-shadow: 0 18px 42px rgba(0,0,0,.38);
}

.echeckout-address-suggestion {
    width: 100%;
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    background: transparent;
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.echeckout-address-suggestion:last-child {
    border-bottom: 0;
}

.echeckout-address-suggestion:hover,
.echeckout-address-suggestion:focus {
    background: rgba(250,204,21,.09);
    outline: none;
}

.echeckout-address-suggestion strong {
    color: #f8fafc;
    font-size: .9rem;
}

.echeckout-address-suggestion span {
    color: #94a3b8;
    font-size: .78rem;
}

.echeckout-address-suggestion-empty {
    padding: 13px 14px;
    color: #94a3b8;
    font-size: .82rem;
}


/* ===== ADDRESS DROPDOWN + POSTAL ALIGNMENT ===== */
.echeckout-address-search-field,
.echeckout-postal-field {
    align-self: start;
}

.echeckout-address-search-field > label,
.echeckout-postal-field > label {
    min-height: 22px;
    display: flex;
    align-items: center;
}

.echeckout-address-search-wrap > input,
.echeckout-postal-field > input {
    height: 50px;
    min-height: 50px;
    box-sizing: border-box;
}

.echeckout-address-search-wrap > input {
    padding-right: 46px;
}

.echeckout-address-dropdown-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 8px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #cbd5e1;
    font-size: 1rem;
    cursor: pointer;
}

.echeckout-address-dropdown-toggle:hover,
.echeckout-address-dropdown-toggle:focus {
    background: rgba(255,255,255,.07);
    color: #facc15;
    outline: none;
}

.echeckout-address-search-wrap:focus-within .echeckout-address-dropdown-toggle {
    color: #facc15;
}

.echeckout-address-search-field > .echeckout-address-help,
.echeckout-postal-field > .echeckout-address-help {
    min-height: 34px;
    margin-top: 0;
}

.echeckout-address-suggestions {
    scrollbar-width: thin;
    scrollbar-color: rgba(250,204,21,.55) rgba(255,255,255,.05);
}

.echeckout-address-suggestions::-webkit-scrollbar {
    width: 8px;
}

.echeckout-address-suggestions::-webkit-scrollbar-track {
    background: rgba(255,255,255,.05);
}

.echeckout-address-suggestions::-webkit-scrollbar-thumb {
    background: rgba(250,204,21,.45);
    border-radius: 999px;
}

/* Checkout payment methods: COD + PayMongo test payments */
.echeckout-payment-options{display:grid;gap:12px}
.echeckout-payment-option{cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.echeckout-payment-option:hover{border-color:rgba(255,191,0,.42);background:rgba(255,191,0,.1)}
.echeckout-payment-option:has(input:checked){border-color:rgba(255,191,0,.72);background:rgba(255,191,0,.12);box-shadow:0 0 0 2px rgba(255,191,0,.08)}
.echeckout-payment-option input[type="radio"]{flex:none;width:18px;height:18px;margin:0;accent-color:var(--yellow)}
.echeckout-payment-copy{flex:1;min-width:0;margin-top:0!important;color:inherit!important}
.echeckout-payment-copy>span{margin-top:5px!important}
.echeckout-payment-test-note{margin:12px 2px 0;color:#aeb4bf;font-size:.82rem;line-height:1.55}
@media(max-width:600px){.echeckout-payment-option{align-items:flex-start;gap:12px;padding:15px}.echeckout-payment-option em{font-size:.72rem;min-height:30px;padding:5px 9px}}

/* ===== PAYMENT METHOD UI REFINEMENT ===== */
.echeckout-payment-card{position:relative;overflow:hidden}
.echeckout-payment-card::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,transparent,rgba(255,191,0,.85),transparent);pointer-events:none}
.echeckout-payment-card-header{align-items:center}
.echeckout-payment-header-icon svg,.echeckout-payment-security-badge svg,.echeckout-payment-brand-icon svg,.echeckout-payment-select-indicator svg,.echeckout-payment-security-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.echeckout-payment-header-icon{color:var(--yellow)}
.echeckout-payment-security-badge{display:inline-flex;align-items:center;gap:7px;flex:none;min-height:34px;padding:7px 11px;border:1px solid rgba(255,191,0,.22);border-radius:999px;background:rgba(255,191,0,.08);color:#f6d76e;font-size:.76rem;font-weight:800;white-space:nowrap}
.echeckout-payment-security-badge svg{width:15px;height:15px}

.echeckout-payment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.echeckout-payment-option{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 25px;align-items:start;gap:13px;min-height:158px;padding:17px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.echeckout-payment-option::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--yellow);opacity:0;transform:scaleX(.35);transition:opacity .18s ease,transform .18s ease}
.echeckout-payment-option:hover{transform:translateY(-2px);border-color:rgba(255,191,0,.30);background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,191,0,.025))}
.echeckout-payment-option:has(input:checked){border-color:rgba(255,191,0,.62);background:radial-gradient(circle at 100% 0%,rgba(255,191,0,.13),transparent 42%),linear-gradient(180deg,rgba(255,191,0,.09),rgba(255,255,255,.025));box-shadow:0 0 0 1px rgba(255,191,0,.12),0 14px 32px rgba(0,0,0,.20)}
.echeckout-payment-option:has(input:checked)::after{opacity:1;transform:scaleX(1)}
.echeckout-payment-option:has(input:focus-visible){outline:2px solid var(--yellow);outline-offset:3px}
.echeckout-payment-option>input[type="radio"]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}

.echeckout-payment-brand-icon{width:46px;height:46px;display:inline-flex!important;align-items:center;justify-content:center;margin:0!important;border-radius:14px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.05);color:#eef2f7}
.echeckout-payment-brand-icon svg{width:24px;height:24px}
.echeckout-payment-brand-icon.is-cod{color:#f4d267;background:rgba(255,191,0,.09);border-color:rgba(255,191,0,.18)}
.echeckout-payment-brand-icon.is-gcash{background:rgba(42,121,255,.13);border-color:rgba(76,145,255,.24);color:#6da7ff}
.echeckout-payment-brand-icon.is-gcash>span{display:inline-flex;align-items:center;justify-content:center;margin:0!important;width:26px;height:26px;border:2px solid currentColor;border-radius:50%;color:inherit;font-size:.88rem;font-weight:900;line-height:1}
.echeckout-payment-brand-icon.is-qrph{color:#8bd9b6;background:rgba(75,200,140,.09);border-color:rgba(92,214,157,.19)}

.echeckout-payment-copy{display:block!important;min-width:0;margin:0!important;color:inherit!important}
.echeckout-payment-title-row{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;margin:0!important}
.echeckout-payment-option .echeckout-payment-copy strong{margin:0;color:#fff;font-size:.98rem;line-height:1.25}
.echeckout-payment-option .echeckout-payment-description{display:block;margin:8px 0 0!important;color:#bdc5d2;font-size:.84rem;line-height:1.5}
.echeckout-payment-option .echeckout-payment-meta{display:block;margin:12px 0 0!important;color:#858f9f;font-size:.72rem;font-weight:700;letter-spacing:.01em}
.echeckout-payment-mini-badge{display:inline-flex!important;align-items:center;min-height:22px;margin:0!important;padding:3px 7px;border:1px solid rgba(255,191,0,.16);border-radius:999px;background:rgba(255,191,0,.07);color:#e9c95f!important;font-size:.64rem!important;font-weight:850;line-height:1}
.echeckout-payment-mini-badge.is-online{border-color:rgba(119,206,166,.16);background:rgba(119,206,166,.07);color:#91d9b8!important}

.echeckout-payment-select-indicator{width:24px;height:24px;display:inline-flex!important;align-items:center;justify-content:center;margin:0!important;border:1.5px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.025);color:transparent;transition:all .18s ease}
.echeckout-payment-select-indicator svg{width:14px;height:14px;stroke-width:2.5}
.echeckout-payment-option:has(input:checked) .echeckout-payment-select-indicator{border-color:var(--yellow);background:var(--yellow);color:#121212;box-shadow:0 0 0 4px rgba(255,191,0,.09)}

.echeckout-payment-security-strip{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:14px;padding:13px 14px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.025)}
.echeckout-payment-security-icon{width:38px;height:38px;display:inline-flex!important;align-items:center;justify-content:center;margin:0!important;border-radius:11px;background:rgba(255,191,0,.08);color:#e7c65f}
.echeckout-payment-security-icon svg{width:20px;height:20px}
.echeckout-payment-security-strip>span:nth-child(2){display:block;margin:0;min-width:0}
.echeckout-payment-security-strip strong{display:block;color:#e9edf4;font-size:.80rem;line-height:1.3}
.echeckout-payment-security-strip small{display:block;margin-top:3px;color:#858f9f;font-size:.72rem;line-height:1.45}
.echeckout-payment-security-strip>em{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 8px;border-radius:7px;background:rgba(255,191,0,.09);border:1px solid rgba(255,191,0,.14);color:#e4c457;font-style:normal;font-size:.65rem;font-weight:900;letter-spacing:.08em}

#payment-summary-method{display:inline-flex;align-items:center;justify-content:flex-end;min-height:28px;padding:4px 9px;border-radius:8px;background:rgba(255,191,0,.08);border:1px solid rgba(255,191,0,.12);color:#efd16d;font-size:.82rem}

@media(max-width:900px){
    .echeckout-payment-options{grid-template-columns:1fr}
    .echeckout-payment-option{min-height:0;grid-template-columns:46px minmax(0,1fr) 25px}
}
@media(max-width:600px){
    .echeckout-payment-card-header{align-items:flex-start}
    .echeckout-payment-security-badge{display:none}
    .echeckout-payment-option{gap:11px;padding:14px;border-radius:16px}
    .echeckout-payment-brand-icon{width:42px;height:42px;border-radius:12px}
    .echeckout-payment-title-row{gap:6px}
    .echeckout-payment-security-strip{grid-template-columns:34px minmax(0,1fr)}
    .echeckout-payment-security-strip>em{display:none}
    .echeckout-payment-security-icon{width:34px;height:34px}
}

.echeckout-payment-brand-icon.is-bpi,
.echeckout-payment-brand-icon.is-unionbank{
    font-weight:900;
    letter-spacing:-.02em;
}
.echeckout-payment-brand-icon.is-bpi{
    color:#f2c75c;
    background:rgba(120,18,32,.16);
    border-color:rgba(211,74,87,.24);
}
.echeckout-payment-brand-icon.is-unionbank{
    color:#ff8b70;
    background:rgba(255,92,58,.11);
    border-color:rgba(255,112,82,.22);
}
.echeckout-payment-brand-icon.is-bpi>span,
.echeckout-payment-brand-icon.is-unionbank>span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    margin:0!important;
    font-size:.68rem;
    font-weight:950;
    line-height:1;
}
.echeckout-payment-option-bank .echeckout-payment-meta{
    color:#9da6b4;
}
@media(min-width:901px){
    .echeckout-payment-options{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

/* Checkout — final confirmation before any COD / wallet / bank payment */
.echeckout-review-dialog {
    box-sizing: border-box;
    width: min(630px, calc(100vw - 28px));
    max-width: 630px;
    max-height: min(90dvh, 820px);
    padding: 0;
    margin: auto;
    border: 1px solid #3c424e;
    border-radius: 19px;
    background: #151920;
    color: #f5f5f5;
    box-shadow: 0 30px 95px rgba(0,0,0,.68);
    overflow: hidden;
}
.echeckout-review-dialog::backdrop { background: rgba(3,6,12,.76); backdrop-filter: blur(5px); }
.echeckout-review-dialog .echeckout-review-content {
    display: flex; flex-direction: column; max-height: min(90dvh, 820px); min-height: 0;
}
.echeckout-review-header {
    display: flex; align-items: flex-start; gap: 13px;
    padding: 23px 25px 20px; border-bottom: 1px solid #303742; flex: none;
}
.echeckout-review-header-icon {
    flex: 0 0 42px; width: 42px; height: 42px;
    display: grid; place-items: center; border: 1px solid #645328;
    background: #302817; color: #facc15; border-radius: 12px; font-size: 20px; font-weight: 800;
}
.echeckout-review-heading { flex: 1; min-width: 0; }
.echeckout-review-eyebrow { font-size: 10px; letter-spacing: .13em; font-weight: 850; color: #f6cd51; }
.echeckout-review-heading h2 { margin: 5px 0 4px; font-size: clamp(20px,3.7vw,24px); font-weight: 800; color: #fff; letter-spacing: -.5px; line-height: 1.25; }
.echeckout-review-heading p { margin: 0; font-size: 12px; line-height: 1.6; color: #aeb9c8; }
.echeckout-review-close {
    flex: 0 0 32px; width: 32px; height: 32px;
    display: grid; place-items: center; padding: 0; border: 1px solid #445061;
    border-radius: 9px; background: #252d3a; color: #d8dee8; cursor: pointer; font-size: 24px; line-height: 1;
}
.echeckout-review-close:hover { background: #303b4c; color: #fff; }
.echeckout-review-body { padding: 19px 25px 23px; overflow-y: auto; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #60522e #19212c; }
.echeckout-review-section { border: 1px solid #354050; border-radius: 13px; background: #101722; overflow: hidden; }
.echeckout-review-section-title {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 16px; border-bottom: 1px solid #2f3c4d;
}
.echeckout-review-section-title strong { font-size: 13px; color: #edf2f8; }
.echeckout-review-section-title span { font-size: 11px; color: #a6b4c5; }
.echeckout-review-products { max-height: 230px; overflow-y: auto; padding: 1px 15px; }
.echeckout-review-product {
    display: grid; grid-template-columns: 52px minmax(0,1fr) auto;
    align-items: center; gap: 12px; padding: 11px 0; min-width: 0;
}
.echeckout-review-product + .echeckout-review-product { border-top: 1px solid #283343; }
.echeckout-review-product img { width: 52px; height: 54px; border-radius: 9px; background: #273143; object-fit: cover; }
.echeckout-review-product-text { min-width: 0; }
.echeckout-review-product-text strong { display: block; color: #f2f5fa; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.echeckout-review-product-text small { display: block; margin-top: 3px; color: #a5b1c4; font-size: 11px; }
.echeckout-review-product-total { color: #eef0f5; font-size: 12px; white-space: nowrap; }
.echeckout-review-breakdown { border-top: 1px solid #334050; background: #182130; padding: 12px 16px; display: grid; gap: 9px; }
.echeckout-review-breakdown > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12px; color: #b7c3d1; }
.echeckout-review-breakdown strong { font-size: 13px; color: #fff; }
.echeckout-review-breakdown > .echeckout-review-grand {
    border-top: 1px solid #3b4756; margin-top: 2px; padding-top: 12px;
    font-size: 14px; color: #fff; font-weight: 800;
}
.echeckout-review-grand strong { color: #facc15; font-size: 21px; }
.echeckout-review-detail-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 12px; margin-top: 13px; }
.echeckout-review-detail { background: #1b2330; border: 1px solid #354253; border-radius: 12px; padding: 14px; min-width: 0; }
.echeckout-review-detail h3 { color: #f6d36b; margin: 0 0 11px; font-size: 12px; font-weight: 750; }
.echeckout-review-detail > strong { color: #fff; font-size: 13px; display: block; overflow-wrap: anywhere; }
.echeckout-review-detail p { margin: 6px 0 0; font-size: 11px; color: #bdc8d6; line-height: 1.62; overflow-wrap: anywhere; white-space: pre-wrap; }
.echeckout-review-detail p[hidden] { display: none !important; }
.echeckout-review-alert { border-radius: 9px; padding: 11px 13px; border: 1px solid #87583c; background: #34251f; color: #ffddb8; font-size: 12px; line-height: 1.6; margin: 13px 0 0; }
.echeckout-review-alert[hidden] { display: none !important; }
.echeckout-review-footer { display: flex; gap: 11px; padding: 17px 25px 20px; border-top: 1px solid #303b4c; background: #131b27; flex: none; }
.echeckout-review-footer > .btn { flex: 1; min-width: 0; min-height: 46px; border-radius: 10px; font-weight: 780; font-size: 13px; line-height: 1.35; padding: 10px; text-align: center; }
.echeckout-review-footer > .btn:focus-visible, .echeckout-review-close:focus-visible { outline: 2px solid #facc15; outline-offset: 3px; }
.echeckout-review-footer > .btn[disabled] { opacity: .62; cursor: progress; }
@media (max-width: 560px) {
    .echeckout-review-dialog { width: calc(100vw - 20px); max-height: 92dvh; border-radius: 15px; }
    .echeckout-review-dialog .echeckout-review-content { max-height: 92dvh; }
    .echeckout-review-header { padding: 17px 17px 15px; gap: 9px; }
    .echeckout-review-header-icon { width: 37px; height: 37px; flex-basis: 37px; }
    .echeckout-review-body { padding: 15px 16px 18px; }
    .echeckout-review-detail-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
    .echeckout-review-footer { padding: 14px 16px 17px; }
    .echeckout-review-product { grid-template-columns: 44px minmax(0,1fr) auto; gap: 9px; }
    .echeckout-review-product img { width: 44px; height: 47px; }
    .echeckout-review-grand strong { font-size: 19px; }
}
@media (max-width: 340px) {
    .echeckout-review-footer { flex-direction: column; }
    .echeckout-review-heading h2 { font-size: 19px; }
}

/* Source: modules/06-tryon-orders-admin.css */
/* ===== TRY-ON / ORDERS / ADMIN ===== */

.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;
}

/* ===== TRY-ON STUDIO REDESIGN ===== */

.tryon-body {
    overflow: hidden;
}

.tryon-body .site-footer {
    display: none;
}

.tryon-studio-page {
    height: calc(100vh - 69px);
    overflow: hidden;
}

.tryon-studio-page .container {
    width: min(100% - 24px, 1600px);
}

.tryon-studio-shell {
    height: calc(100vh - 69px);
    display: grid;
    grid-template-columns: 430px minmax(0, 1fr) 320px;
    gap: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 191, 0, 0.08);
}

.tryon-catalog-panel,
.tryon-stage-panel,
.tryon-right-panel {
    min-height: 0;
}

.tryon-catalog-panel {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.92);
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
}

.tryon-catalog-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tryon-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    border-radius: 18px;
    padding: 14px 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s ease;
}

.tryon-tab-btn:hover {
    border-color: rgba(255, 191, 0, 0.28);
}

.tryon-tab-btn strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: #d1d5db;
    font-size: 0.9rem;
}

.tryon-tab-btn.is-active {
    background: var(--yellow);
    color: #111;
    border-color: rgba(255, 191, 0, 0.6);
}

.tryon-tab-btn.is-active strong {
    background: rgba(0, 0, 0, 0.14);
    color: #111;
}

.tryon-search-wrap .search-input {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 18px;
    padding: 15px 16px;
}

.tryon-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tryon-filter-chip {
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
    padding: 10px 14px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s ease;
}

.tryon-filter-chip:hover {
    background: rgba(255, 255, 255, 0.08);
}

.tryon-filter-chip.is-active {
    background: var(--yellow);
    color: #111;
}

.tryon-catalog-list {
    min-height: 0;
    overflow: auto;
    padding-right: 4px;
    display: grid;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 18px;
}

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

.tryon-catalog-list::-webkit-scrollbar-thumb,
.tryon-right-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 191, 0, 0.18);
    border-radius: 999px;
}

.tryon-none-card {
    width: 100%;
    text-align: left;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    padding: 16px 18px;
    cursor: pointer;
    transition: 0.18s ease;
}

.tryon-none-card:hover {
    border-color: rgba(255, 191, 0, 0.28);
}

.tryon-none-card strong {
    display: block;
    font-size: 1.1rem;
}

.tryon-none-card span {
    display: block;
    margin-top: 8px;
    color: #94a3b8;
}

.tryon-catalog-item {
    width: 100%;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    text-align: left;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    padding: 14px 12px;
    cursor: pointer;
    transition: 0.18s ease;
}

.tryon-catalog-item:hover {
    border-color: rgba(255, 191, 0, 0.28);
    transform: translateY(-1px);
}

.tryon-catalog-item.is-selected {
    background: rgba(255, 191, 0, 0.10);
    border-color: rgba(255, 191, 0, 0.65);
    box-shadow: inset 0 0 0 1px rgba(255, 191, 0, 0.15);
}

.tryon-catalog-thumb {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    background: #373737;
}

.tryon-catalog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.tryon-catalog-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.tryon-catalog-top strong {
    font-size: 0.98rem;
    line-height: 1.3;
}

.tryon-catalog-badge {
    display: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.32);
    color: var(--yellow);
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tryon-catalog-badge.is-visible {
    display: inline-flex;
}

.tryon-catalog-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

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

.tryon-catalog-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 191, 0, 0.12);
    color: var(--yellow);
    padding: 4px 8px;
    font-size: 0.74rem;
    font-weight: 700;
}

.tryon-catalog-copy p {
    margin: 8px 0 0;
    color: #94a3b8;
    line-height: 1.45;
    font-size: 0.94rem;
}

.tryon-stage-panel {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 191, 0, 0.10) 0%, rgba(0, 0, 0, 0.92) 10%, #000000 36%),
        #000;
    padding: 24px 22px;
    overflow: hidden;
}

.tryon-stage-overlay-card {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 4;
    width: min(380px, calc(100% - 48px));
    border-radius: 24px;
    border: 1px solid rgba(255, 191, 0, 0.20);
    background: rgba(0, 0, 0, 0.58);
    padding: 20px 22px;
    backdrop-filter: blur(6px);
}

.tryon-stage-overlay-card span {
    display: block;
    color: var(--yellow);
    font-size: 0.84rem;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}

.tryon-stage-overlay-card h2 {
    margin: 12px 0 6px;
    font-size: 2rem;
}

.tryon-stage-overlay-card p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.5;
    font-size: 0.98rem;
}

.tryon-stage-panel #tryon-canvas {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top center, rgba(255, 191, 0, 0.12), transparent 28%),
        #000;
}

.tryon-loading,
.tryon-error {
    position: absolute;
    left: 16px;
    right: 16px;
    z-index: 6;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
}

.tryon-loading {
    top: 16px;
    background: rgba(255, 191, 0, 0.10);
    color: var(--yellow);
}

.tryon-error {
    bottom: 16px;
    background: rgba(185, 28, 28, 0.96);
    color: #fff;
}

.tryon-right-panel {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.92);
    padding: 24px 20px;
    display: grid;
    grid-template-rows: auto auto;
    gap: 18px;
    overflow: auto;
}

.tryon-current-panel,
.tryon-selected-panel {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
}

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

.tryon-panel-head span,
.tryon-selected-panel > span {
    display: block;
    color: var(--yellow);
    font-size: 0.82rem;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}

.tryon-panel-head h3,
.tryon-selected-panel h3 {
    margin: 10px 0 0;
    font-size: 1.9rem;
}

.tryon-current-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.tryon-current-item {
    display: grid;
    grid-template-columns: 56px 1fr 28px;
    gap: 12px;
    align-items: center;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.02);
    padding: 14px 12px;
}

.tryon-current-thumb {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    border: none;
    background: #4b5563;
    padding: 0;
    cursor: pointer;
}

.tryon-current-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tryon-current-copy strong {
    display: block;
    font-size: 1rem;
}

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

.tryon-current-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #cbd5e1;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

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

.tryon-total-row span {
    color: #cbd5e1;
    font-size: 1rem;
}

.tryon-total-row strong {
    color: var(--yellow);
    font-size: 2.2rem;
    line-height: 1;
}

.tryon-selected-panel h3 {
    margin: 12px 0 0;
    font-size: 1.9rem;
    line-height: 1.15;
}

.tryon-selected-price {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 14px;
}

.tryon-selected-actions {
    margin-top: 16px;
}

.tryon-selected-actions .btn {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    font-size: 1rem;
}

.tryon-empty-note {
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    color: #94a3b8;
    padding: 18px 16px;
    text-align: center;
}

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

@media (max-width: 1100px) {
    .tryon-body {
        overflow: auto;
    }

    .tryon-body .site-footer {
        display: block;
    }

    .tryon-studio-page,
    .tryon-studio-shell {
        height: auto;
    }

    .tryon-studio-shell {
        grid-template-columns: 1fr;
    }

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

    .tryon-stage-panel {
        min-height: 640px;
    }

    .tryon-stage-panel #tryon-canvas {
        min-height: 640px;
    }
}

@media (max-width: 700px) {
    .tryon-catalog-tabs {
        grid-template-columns: 1fr 1fr;
    }

    .tryon-stage-overlay-card {
        position: static;
        width: 100%;
        margin-bottom: 16px;
    }

    .tryon-stage-panel {
        padding: 16px;
    }

    .tryon-panel-head,
    .tryon-current-item,
    .tryon-total-row {
        gap: 10px;
    }

    .tryon-panel-head h3,
    .tryon-selected-panel h3 {
        font-size: 1.5rem;
    }

    .tryon-total-row strong,
    .tryon-selected-price {
        font-size: 1.7rem;
    }
}
/* ===== TRY-ON STUDIO SIZE TUNE ===== */

.tryon-studio-shell {
    grid-template-columns: 450px minmax(0, 1fr) 300px;
}

.tryon-catalog-panel {
    padding: 16px 16px 14px;
    gap: 14px;
}

.tryon-tab-btn {
    padding: 12px 13px;
    border-radius: 16px;
    font-size: 0.94rem;
}

.tryon-tab-btn strong {
    min-width: 26px;
    height: 26px;
    font-size: 0.82rem;
}

.tryon-search-wrap .search-input {
    padding: 13px 14px;
    font-size: 0.95rem;
}

.tryon-filter-row {
    gap: 8px;
}

.tryon-filter-chip {
    padding: 8px 12px;
    font-size: 0.84rem;
}

.tryon-catalog-list {
    gap: 12px;
    padding-top: 14px;
}

.tryon-none-card {
    padding: 14px 16px;
    border-radius: 18px;
}

.tryon-none-card strong {
    font-size: 1rem;
}

.tryon-none-card span {
    font-size: 0.92rem;
}

.tryon-catalog-item {
    grid-template-columns: 62px 1fr;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 20px;
}

.tryon-catalog-thumb {
    width: 62px;
    height: 62px;
    border-radius: 12px;
}

.tryon-catalog-top strong {
    font-size: 0.92rem;
    line-height: 1.25;
}

.tryon-catalog-badge {
    font-size: 0.66rem;
    padding: 5px 8px;
}

.tryon-catalog-price {
    font-size: 0.94rem;
}

.tryon-catalog-chip {
    font-size: 0.68rem;
    padding: 3px 7px;
}

.tryon-catalog-copy p {
    margin-top: 6px;
    font-size: 0.84rem;
    line-height: 1.35;
}

.tryon-stage-panel {
    padding: 18px;
}

.tryon-stage-overlay-card {
    top: 18px;
    left: 18px;
    width: min(340px, calc(100% - 36px));
    padding: 16px 18px;
    border-radius: 22px;
}

.tryon-stage-overlay-card span {
    font-size: 0.74rem;
    letter-spacing: 0.28em;
}

.tryon-stage-overlay-card h2 {
    margin: 8px 0 4px;
    font-size: 1.35rem;
}

.tryon-stage-overlay-card p {
    font-size: 0.90rem;
    line-height: 1.45;
}

.tryon-stage-panel #tryon-canvas {
    border-radius: 28px;
}

.tryon-right-panel {
    padding: 18px 16px;
    gap: 14px;
}

.tryon-current-panel,
.tryon-selected-panel {
    padding: 16px;
    border-radius: 22px;
}

.tryon-panel-head h3,
.tryon-selected-panel h3 {
    margin: 8px 0 0;
    font-size: 1.1rem;
    line-height: 1.2;
}

.tryon-panel-head span,
.tryon-selected-panel > span {
    font-size: 0.74rem;
    letter-spacing: 0.24em;
}

#saveOutfitBtn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 0.88rem;
}

.tryon-current-list {
    gap: 10px;
    margin-top: 14px;
}

.tryon-current-item {
    grid-template-columns: 48px 1fr 20px;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
}

.tryon-current-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.tryon-current-copy strong {
    font-size: 0.92rem;
    line-height: 1.2;
}

.tryon-current-copy span {
    margin-top: 2px;
    font-size: 0.82rem;
    line-height: 1.2;
}

.tryon-current-remove {
    width: 20px;
    height: 20px;
    font-size: 1.25rem;
}

.tryon-total-row {
    margin-top: 14px;
    padding-top: 14px;
}

.tryon-total-row span {
    font-size: 0.92rem;
}

.tryon-total-row strong {
    font-size: 1.75rem;
}

.tryon-selected-price {
    margin-top: 10px;
    font-size: 1.65rem;
}

.tryon-selected-actions {
    margin-top: 12px;
}

.tryon-selected-actions .btn {
    min-height: 46px;
    border-radius: 14px;
    font-size: 0.94rem;
}

@media (max-width: 1400px) {
    .tryon-studio-shell {
        grid-template-columns: 390px minmax(0, 1fr) 280px;
    }
}
/* ===== TRY-ON STUDIO MATCH SECOND SCREENSHOT ===== */

.tryon-studio-shell {
    grid-template-columns: 470px minmax(0, 1fr) 320px;
}

.tryon-catalog-panel {
    padding: 14px 14px 12px;
    gap: 12px;
}

.tryon-tab-btn {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.95rem;
}

.tryon-tab-btn strong {
    min-width: 30px;
    height: 30px;
    font-size: 0.84rem;
}

.tryon-search-wrap .search-input {
    padding: 13px 14px;
    font-size: 0.95rem;
}

.tryon-filter-chip {
    padding: 8px 12px;
    font-size: 0.84rem;
}

.tryon-catalog-list {
    gap: 12px;
    padding-top: 14px;
}

.tryon-none-card {
    padding: 14px 16px;
    border-radius: 18px;
}

.tryon-none-card strong {
    font-size: 0.98rem;
}

.tryon-none-card span {
    font-size: 0.9rem;
}

.tryon-catalog-item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 20px;
}

.tryon-catalog-thumb {
    width: 64px;
    height: 64px;
    border-radius: 12px;
}

.tryon-catalog-top strong {
    font-size: 0.92rem;
    line-height: 1.22;
}

.tryon-catalog-badge {
    font-size: 0.66rem;
    padding: 5px 8px;
}

.tryon-catalog-price {
    font-size: 0.94rem;
}

.tryon-catalog-chip {
    font-size: 0.68rem;
    padding: 3px 7px;
}

.tryon-catalog-copy p {
    margin-top: 6px;
    font-size: 0.82rem;
    line-height: 1.32;
}

.tryon-stage-panel {
    padding: 16px;
}

.tryon-stage-overlay-card {
    top: 18px;
    left: 18px;
    width: min(330px, calc(100% - 36px));
    padding: 16px 18px;
    border-radius: 22px;
}

.tryon-stage-overlay-card span {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
}

.tryon-stage-overlay-card h2 {
    margin: 8px 0 4px;
    font-size: 1.28rem;
    line-height: 1.15;
}

.tryon-stage-overlay-card p {
    font-size: 0.88rem;
    line-height: 1.42;
}

.tryon-stage-panel #tryon-canvas {
    border-radius: 28px;
}

.tryon-right-panel {
    padding: 16px 14px;
    gap: 14px;
}

.tryon-current-panel,
.tryon-selected-panel {
    padding: 16px;
    border-radius: 22px;
}

.tryon-panel-head span,
.tryon-selected-panel > span {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
}

.tryon-panel-head h3,
.tryon-selected-panel h3 {
    margin: 8px 0 0;
    font-size: 1.08rem;
    line-height: 1.15;
}

#saveOutfitBtn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 0.86rem;
}

.tryon-current-list {
    gap: 10px;
    margin-top: 14px;
}

.tryon-current-item {
    grid-template-columns: 48px 1fr 20px;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
}

.tryon-current-thumb {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.tryon-current-copy strong {
    font-size: 0.9rem;
    line-height: 1.18;
}

.tryon-current-copy span {
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.18;
}

.tryon-current-remove {
    width: 20px;
    height: 20px;
    font-size: 1.2rem;
}

.tryon-total-row {
    margin-top: 14px;
    padding-top: 14px;
}

.tryon-total-row span {
    font-size: 0.9rem;
}

.tryon-total-row strong {
    font-size: 1.8rem;
}

.tryon-selected-price {
    margin-top: 10px;
    font-size: 1.55rem;
}

.tryon-selected-actions {
    margin-top: 12px;
}

.tryon-selected-actions .btn {
    width: 100%;
    min-height: 44px;
    border-radius: 14px;
    font-size: 0.92rem;
    padding: 10px 14px;
}

@media (max-width: 1400px) {
    .tryon-studio-shell {
        grid-template-columns: 400px minmax(0, 1fr) 290px;
    }
}
/* ===== MY ORDERS ACCORDION REDESIGN ===== */

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

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

.orders-accordion-list {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

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

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

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

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

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

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

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

.order-summary-copy {
    min-width: 0;
}

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

.order-summary-meta-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
    flex-wrap: wrap;
}

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

.order-summary-qty {
    color: #d1d5db;
    font-size: 0.94rem;
}

.order-summary-more {
    margin-top: 8px;
    color: #9ca3af;
    font-size: 0.88rem;
}

.order-summary-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.order-summary-total {
    color: var(--yellow);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.order-summary-toggle {
    color: #d1d5db;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-accordion-card[open] .order-summary-toggle {
    color: var(--yellow);
}

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

.order-accordion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

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

.order-detail-box span {
    display: block;
    color: #9ca3af;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.order-detail-box strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

.order-detail-total {
    color: var(--yellow) !important;
    font-size: 1.15rem !important;
}

.order-detail-panel {
    margin-top: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
}

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

.order-detail-panel p {
    margin: 12px 0 0;
    color: #d4d4d8;
    line-height: 1.75;
}

.order-detail-items {
    margin-top: 18px;
}

.order-detail-items h3 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.order-detail-items-list {
    display: grid;
    gap: 12px;
}

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

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

.order-detail-item-thumb {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    overflow: hidden;
    background: #2e2e2e;
    flex-shrink: 0;
}

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

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

.order-detail-item-copy span {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 0.88rem;
}

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

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

.order-detail-item-right strong {
    color: var(--yellow);
    font-size: 1rem;
    line-height: 1;
}

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

    .order-summary-right {
        width: 100%;
        align-items: flex-start;
    }

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

    .order-detail-item-card {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 640px) {
    .order-summary-left {
        align-items: flex-start;
    }

    .order-summary-thumb {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }

    .order-summary-copy strong {
        font-size: 1rem;
    }

    .order-summary-total {
        font-size: 1.2rem;
    }

    .order-accordion-body {
        padding: 18px;
    }

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

    .order-detail-item-left {
        width: 100%;
    }
}

/* ===== ADMIN ORDER DETAIL / INVOICE ===== */
.admin-order-page {
    padding-top: 28px;
    padding-bottom: 36px;
}

.admin-order-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

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

.admin-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.7fr);
    gap: 24px;
    align-items: start;
}

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

.admin-order-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.admin-order-stat-card,
.admin-order-card {
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
}

.admin-order-stat-card {
    padding: 18px;
}

.admin-order-stat-card span {
    display: block;
    color: #9ca3af;
    font-size: 0.76rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.admin-order-stat-card strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.45;
}

.admin-order-total-highlight {
    color: var(--yellow) !important;
}

.admin-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.admin-status-chip.is-processing {
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
}

.admin-status-chip.is-paid {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}

.admin-status-chip.is-shipped {
    background: rgba(168, 85, 247, 0.14);
    color: #d8b4fe;
}

.admin-status-chip.is-delivered {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.admin-status-chip.is-cancelled {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
}

.admin-invoice-card {
    padding: 28px;
}

.admin-invoice-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-invoice-branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-invoice-logo {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #101010;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(250, 204, 21, 0.28);
}

.admin-invoice-branding h2 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.1;
}

.admin-invoice-branding p {
    margin: 10px 0 0;
    color: #b9c1cf;
}

.admin-invoice-head-meta {
    display: grid;
    gap: 12px;
    min-width: 270px;
}

.admin-invoice-head-meta div {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 16px;
}

.admin-invoice-head-meta span,
.admin-invoice-block span,
.admin-invoice-note span,
.admin-invoice-foot-note span {
    display: block;
    color: var(--yellow);
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.admin-invoice-head-meta strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    line-height: 1.45;
}

.invoice-status-text {
    color: var(--yellow) !important;
}

.admin-invoice-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.admin-invoice-block {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
}

.admin-invoice-block strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 1rem;
}

.admin-invoice-block p {
    margin: 12px 0 0;
    color: #d5d9e1;
    line-height: 1.75;
}

.admin-address-lines {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.admin-address-line {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: #d5d9e1;
    line-height: 1.65;
}

.admin-address-line strong {
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
}

.admin-invoice-note {
    margin-top: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
}

.admin-invoice-note p {
    margin: 12px 0 0;
    color: #d5d9e1;
    line-height: 1.75;
}

.admin-invoice-table-wrap {
    margin-top: 18px;
    overflow: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-invoice-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.admin-invoice-table th,
.admin-invoice-table td {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.admin-invoice-table th {
    color: #9ca3af;
    font-size: 0.82rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.admin-invoice-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-invoice-table td:last-child,
.admin-invoice-table th:last-child {
    text-align: right;
}

.admin-invoice-table td:nth-child(2),
.admin-invoice-table th:nth-child(2),
.admin-invoice-table td:nth-child(3),
.admin-invoice-table th:nth-child(3) {
    text-align: center;
}

.admin-invoice-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
    gap: 18px;
    margin-top: 18px;
}

.admin-invoice-foot-note {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
}

.admin-invoice-foot-note p {
    margin: 12px 0 0;
    color: #d5d9e1;
    line-height: 1.75;
}

.admin-invoice-totals {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
}

.admin-invoice-totals div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    color: #d5d9e1;
}

.admin-invoice-totals div strong {
    color: #fff;
    text-align: right;
}

.admin-invoice-totals .grand-total-row {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-invoice-totals .grand-total-row strong {
    color: var(--yellow);
    font-size: 1.2rem;
}

.admin-order-side {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.admin-order-action-card,
.admin-order-quick-card {
    padding: 24px;
}

.admin-order-action-card h3,
.admin-order-quick-card h3 {
    margin: 0;
    font-size: 1.35rem;
}

.admin-order-side-copy {
    margin: 12px 0 0;
    color: #bcc4d2;
    line-height: 1.7;
}

.admin-order-status-form {
    margin-top: 18px;
}

.admin-order-status-form label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.admin-order-side-actions {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.admin-order-side-actions .btn {
    width: 100%;
    justify-content: center;
}

.admin-order-quick-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.admin-order-quick-list div {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 16px;
}

.admin-order-quick-list span {
    display: block;
    color: #9ca3af;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.admin-order-quick-list strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    line-height: 1.4;
}

@media (max-width: 1180px) {
    .admin-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-order-layout {
        grid-template-columns: 1fr;
    }

    .admin-order-side {
        position: static;
    }
}

@media (max-width: 780px) {
    .admin-order-heading,
    .admin-invoice-head,
    .admin-invoice-footer-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .admin-order-top-actions {
        width: 100%;
    }

    .admin-order-top-actions .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .admin-order-overview,
    .admin-invoice-address-grid {
        grid-template-columns: 1fr;
    }

    .admin-invoice-head-meta {
        min-width: 0;
    }

    .admin-invoice-card,
    .admin-order-action-card,
    .admin-order-quick-card {
        padding: 20px;
    }
}

@media print {
    body {
        background: #ffffff !important;
        color: #111827 !important;
    }

    .admin-sidebar,
    .flash,
    .no-print,
    .site-header,
    script {
        display: none !important;
    }

    .admin-main,
    .page-shell,
    .container,
    .admin-order-layout,
    .admin-order-main {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .admin-invoice-card.print-area {
        border: 1px solid #d1d5db !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
        color: #111827 !important;
        padding: 22px !important;
    }

    .admin-invoice-card.print-area *,
    .admin-invoice-card.print-area p,
    .admin-invoice-card.print-area strong,
    .admin-invoice-card.print-area td,
    .admin-invoice-card.print-area th,
    .admin-invoice-card.print-area span,
    .invoice-status-text {
        color: #111827 !important;
    }

    .admin-invoice-logo {
        box-shadow: none !important;
        border: 1px solid #d1d5db !important;
    }

    .admin-invoice-head,
    .admin-invoice-table-wrap,
    .admin-invoice-block,
    .admin-invoice-note,
    .admin-invoice-foot-note,
    .admin-invoice-totals,
    .admin-invoice-head-meta div {
        border-color: #d1d5db !important;
        background: #ffffff !important;
    }

    .admin-invoice-table th,
    .admin-invoice-table td {
        border-bottom-color: #d1d5db !important;
    }

    .admin-status-chip {
        border: 1px solid #d1d5db !important;
        background: #ffffff !important;
        color: #111827 !important;
    }
}


/* ===== ADMIN ORDER DETAIL ECOM STYLE ===== */
.admin-order-page-ecom {
    padding-top: 24px;
    padding-bottom: 40px;
}

.admin-order-heading-ecom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

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

.admin-order-grid-ecom {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
    gap: 22px;
    align-items: start;
}

.admin-order-main-ecom,
.admin-order-side-card-ecom {
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
}

.admin-order-main-ecom {
    padding: 26px;
}

.admin-invoice-topbar-ecom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-invoice-brand-ecom {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.admin-invoice-subtitle-ecom {
    margin-top: 8px;
    color: #b7becc;
    font-size: 0.95rem;
}

.admin-invoice-code-ecom {
    min-width: 240px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 14px 16px;
}

.admin-invoice-code-ecom span,
.admin-meta-pill-ecom span,
.admin-detail-item-ecom span,
.admin-order-totals-ecom span {
    display: block;
    color: #9ca3af;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.admin-invoice-code-ecom strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    line-height: 1.45;
    word-break: break-word;
}

.admin-order-meta-ecom {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.admin-meta-pill-ecom {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 16px;
}

.admin-meta-pill-ecom strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    line-height: 1.45;
}

.admin-accent-total-ecom {
    color: var(--yellow) !important;
}

.admin-status-chip-ecom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.admin-status-chip-ecom.is-processing {
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
}

.admin-status-chip-ecom.is-paid {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
}

.admin-status-chip-ecom.is-shipped {
    background: rgba(168, 85, 247, 0.14);
    color: #d8b4fe;
}

.admin-status-chip-ecom.is-delivered {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
}

.admin-status-chip-ecom.is-cancelled {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
}

.admin-order-section-ecom {
    margin-top: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.admin-order-section-head-ecom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-order-section-head-ecom h3 {
    margin: 0;
    font-size: 1.15rem;
}

.admin-order-section-head-ecom.compact {
    display: block;
    padding: 0 0 18px;
}

.admin-order-section-head-ecom.compact p {
    margin: 10px 0 0;
    color: #bcc4d2;
    line-height: 1.65;
}

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

.admin-detail-grid-ecom.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-detail-item-ecom {
    padding: 18px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}

.admin-detail-grid-ecom > .admin-detail-item-ecom:nth-child(3n) {
    border-right: none;
}

.admin-detail-grid-ecom.two-col > .admin-detail-item-ecom:nth-child(2n) {
    border-right: none;
}

.admin-detail-item-ecom strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    line-height: 1.55;
    word-break: break-word;
}

.admin-note-box-ecom {
    padding: 20px;
    color: #d5d9e1;
    line-height: 1.75;
}

.admin-order-items-table-wrap-ecom {
    overflow: auto;
}

.admin-order-items-table-ecom {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.admin-order-items-table-ecom th,
.admin-order-items-table-ecom td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.admin-order-items-table-ecom th {
    color: #9ca3af;
    font-size: 0.8rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.admin-order-items-table-ecom tbody tr:last-child td {
    border-bottom: none;
}

.admin-order-items-table-ecom td:nth-child(2),
.admin-order-items-table-ecom td:nth-child(3),
.admin-order-items-table-ecom th:nth-child(2),
.admin-order-items-table-ecom th:nth-child(3) {
    text-align: center;
}

.admin-order-items-table-ecom td:last-child,
.admin-order-items-table-ecom th:last-child {
    text-align: right;
}

.admin-order-totals-ecom {
    margin-top: 18px;
    margin-left: auto;
    width: min(100%, 360px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    padding: 16px 18px;
}

.admin-order-totals-ecom div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
}

.admin-order-totals-ecom strong {
    color: #fff;
}

.admin-order-totals-ecom .grand-total-row {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-order-totals-ecom .grand-total-row strong {
    color: var(--yellow);
    font-size: 1.15rem;
}

.admin-order-side-ecom {
    position: sticky;
    top: 96px;
}

.admin-order-side-card-ecom {
    padding: 22px;
}

.admin-order-status-form-ecom label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.admin-order-side-actions-ecom {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.admin-order-side-actions-ecom .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1180px) {
    .admin-order-grid-ecom {
        grid-template-columns: 1fr;
    }

    .admin-order-side-ecom {
        position: static;
    }

    .admin-order-meta-ecom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-order-heading-ecom,
    .admin-invoice-topbar-ecom {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .admin-order-heading-actions-ecom {
        width: 100%;
    }

    .admin-order-heading-actions-ecom .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .admin-order-main-ecom,
    .admin-order-side-card-ecom {
        padding: 20px;
        border-radius: 24px;
    }

    .admin-order-meta-ecom,
    .admin-detail-grid-ecom,
    .admin-detail-grid-ecom.two-col {
        grid-template-columns: 1fr;
    }

    .admin-detail-grid-ecom > .admin-detail-item-ecom,
    .admin-detail-grid-ecom.two-col > .admin-detail-item-ecom {
        border-right: none;
    }

    .admin-invoice-code-ecom,
    .admin-order-totals-ecom {
        width: 100%;
        min-width: 0;
    }
}

@media print {
    body {
        background: #ffffff !important;
        color: #111827 !important;
    }

    .admin-sidebar,
    .flash,
    .site-header,
    .no-print,
    script {
        display: none !important;
    }

    .admin-main,
    .page-shell,
    .container,
    .admin-order-grid-ecom,
    .admin-order-main-ecom {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .admin-order-main-ecom.print-area {
        padding: 20px !important;
        border: 1px solid #d1d5db !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    .admin-order-main-ecom.print-area *,
    .admin-order-main-ecom.print-area p,
    .admin-order-main-ecom.print-area span,
    .admin-order-main-ecom.print-area strong,
    .admin-order-main-ecom.print-area td,
    .admin-order-main-ecom.print-area th {
        color: #111827 !important;
    }

    .admin-order-main-ecom,
    .admin-meta-pill-ecom,
    .admin-order-section-ecom,
    .admin-invoice-code-ecom,
    .admin-order-totals-ecom {
        border-color: #d1d5db !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    .admin-order-section-head-ecom,
    .admin-invoice-topbar-ecom,
    .admin-order-items-table-ecom th,
    .admin-order-items-table-ecom td,
    .admin-detail-item-ecom,
    .admin-order-totals-ecom .grand-total-row {
        border-color: #d1d5db !important;
    }

    .admin-status-chip-ecom {
        border: 1px solid #d1d5db !important;
        background: #ffffff !important;
        color: #111827 !important;
    }
}


/* ===== ADMIN ORDER CLEAN ECOM + PRINT ===== */
.admin-order-page-clean {
    padding-top: 22px;
    padding-bottom: 32px;
}

.admin-order-heading-clean {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.admin-order-heading-actions-clean {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-order-layout-clean {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) 300px;
    gap: 20px;
    align-items: start;
}

.admin-order-paper,
.admin-order-side-card-clean {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
}

.admin-order-paper {
    padding: 22px;
}

.admin-order-paper-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-order-paper-head h2 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.15;
}

.admin-order-paper-head p {
    margin: 8px 0 0;
    color: #b9c1cf;
    font-size: 0.94rem;
}

.admin-order-paper-code {
    min-width: 220px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.admin-order-paper-code span,
.admin-order-meta-box-clean span,
.admin-detail-item-clean span,
.admin-order-summary-clean span {
    display: block;
    color: #9ca3af;
    font-size: 0.73rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-order-paper-code strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    line-height: 1.35;
    word-break: break-word;
}

.admin-order-meta-clean {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.admin-order-meta-box-clean {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
}

.admin-order-meta-box-clean strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    line-height: 1.4;
    font-size: 0.97rem;
}

.admin-order-amount-clean {
    color: var(--yellow) !important;
}

.admin-status-chip-clean {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.admin-status-chip-clean.is-processing { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.admin-status-chip-clean.is-paid { background: rgba(59, 130, 246, 0.14); color: #93c5fd; }
.admin-status-chip-clean.is-shipped { background: rgba(168, 85, 247, 0.14); color: #d8b4fe; }
.admin-status-chip-clean.is-delivered { background: rgba(34, 197, 94, 0.14); color: #86efac; }
.admin-status-chip-clean.is-cancelled { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }

.admin-order-section-clean {
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.admin-order-section-title-clean {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.admin-detail-grid-clean {
    display: grid;
}

.admin-detail-grid-clean.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-detail-grid-clean.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-detail-item-clean {
    padding: 14px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}

.admin-detail-grid-clean.two-col > .admin-detail-item-clean:nth-child(2n) {
    border-right: none;
}

.admin-detail-grid-clean.three-col > .admin-detail-item-clean:nth-child(3n) {
    border-right: none;
}

.admin-detail-item-clean strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    line-height: 1.5;
    font-size: 0.96rem;
    word-break: break-word;
}

.admin-order-note-clean {
    padding: 16px;
    color: #d5d9e1;
    line-height: 1.7;
    font-size: 0.95rem;
}

.admin-order-table-wrap-clean {
    overflow: auto;
}

.admin-order-table-clean {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.admin-order-table-clean th,
.admin-order-table-clean td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.admin-order-table-clean th {
    color: #9ca3af;
    font-size: 0.76rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.admin-order-table-clean tbody tr:last-child td {
    border-bottom: none;
}

.admin-order-table-clean td:nth-child(2),
.admin-order-table-clean td:nth-child(3),
.admin-order-table-clean th:nth-child(2),
.admin-order-table-clean th:nth-child(3) {
    text-align: center;
}

.admin-order-table-clean td:last-child,
.admin-order-table-clean th:last-child {
    text-align: right;
}

.admin-order-summary-clean {
    margin-top: 14px;
    margin-left: auto;
    width: min(100%, 340px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    padding: 12px 16px;
}

.admin-order-summary-clean div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 8px 0;
}

.admin-order-summary-clean strong {
    color: #fff;
}

.admin-order-summary-clean .grand-total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-order-summary-clean .grand-total strong {
    color: var(--yellow);
    font-size: 1.08rem;
}

.admin-order-side-clean {
    position: sticky;
    top: 96px;
}

.admin-order-side-card-clean {
    padding: 20px;
}

.admin-order-side-card-clean h3 {
    margin: 0;
    font-size: 1.2rem;
}

.admin-order-side-card-clean p {
    margin: 10px 0 0;
    color: #bcc4d2;
    line-height: 1.65;
}

.admin-order-status-form-clean {
    margin-top: 16px;
}

.admin-order-status-form-clean label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.admin-order-side-actions-clean {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.admin-order-side-actions-clean .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1180px) {
    .admin-order-layout-clean {
        grid-template-columns: 1fr;
    }

    .admin-order-side-clean {
        position: static;
    }

    .admin-order-meta-clean {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .admin-order-heading-clean,
    .admin-order-paper-head {
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .admin-order-heading-actions-clean {
        width: 100%;
    }

    .admin-order-heading-actions-clean .btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .admin-order-paper,
    .admin-order-side-card-clean {
        padding: 18px;
        border-radius: 18px;
    }

    .admin-order-paper-code,
    .admin-order-summary-clean {
        width: 100%;
        min-width: 0;
    }

    .admin-order-meta-clean,
    .admin-detail-grid-clean.two-col,
    .admin-detail-grid-clean.three-col {
        grid-template-columns: 1fr;
    }

    .admin-detail-item-clean {
        border-right: none;
    }
}

@page {
    size: A4 portrait;
    margin: 10mm;
}

@media print {
    html, body {
        background: #ffffff !important;
        color: #111827 !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    .admin-sidebar,
    .flash,
    .site-header,
    .no-print,
    script {
        display: none !important;
    }

    .admin-main,
    .page-shell,
    .container,
    .admin-order-layout-clean,
    .admin-order-paper {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .admin-order-paper.clean-print-area {
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    .admin-order-paper.clean-print-area *,
    .admin-order-paper.clean-print-area p,
    .admin-order-paper.clean-print-area span,
    .admin-order-paper.clean-print-area strong,
    .admin-order-paper.clean-print-area td,
    .admin-order-paper.clean-print-area th,
    .admin-order-paper.clean-print-area h2,
    .admin-order-paper.clean-print-area .admin-order-section-title-clean {
        color: #111827 !important;
    }

    .admin-order-paper-head {
        padding-bottom: 8px !important;
        margin-bottom: 8px !important;
        border-bottom: 1px solid #d1d5db !important;
    }

    .admin-order-paper-head h2 {
        font-size: 16px !important;
    }

    .admin-order-paper-head p {
        font-size: 10px !important;
        margin-top: 4px !important;
    }

    .admin-order-paper-code,
    .admin-order-meta-box-clean,
    .admin-order-section-clean,
    .admin-order-summary-clean {
        border-color: #d1d5db !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    .admin-order-paper-code,
    .admin-order-meta-box-clean,
    .admin-detail-item-clean,
    .admin-order-table-clean th,
    .admin-order-table-clean td,
    .admin-order-section-title-clean,
    .admin-order-summary-clean .grand-total {
        border-color: #d1d5db !important;
    }

    .admin-order-meta-clean {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 6px !important;
        margin-top: 10px !important;
    }

    .admin-order-meta-box-clean,
    .admin-order-paper-code,
    .admin-detail-item-clean,
    .admin-order-note-clean,
    .admin-order-section-title-clean,
    .admin-order-summary-clean,
    .admin-order-table-clean th,
    .admin-order-table-clean td {
        padding: 7px 8px !important;
    }

    .admin-order-meta-box-clean strong,
    .admin-detail-item-clean strong,
    .admin-order-summary-clean strong,
    .admin-order-paper-code strong {
        margin-top: 4px !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .admin-order-paper-code span,
    .admin-order-meta-box-clean span,
    .admin-detail-item-clean span,
    .admin-order-summary-clean span,
    .admin-order-table-clean th {
        font-size: 8px !important;
        letter-spacing: 0.06em !important;
    }

    .admin-order-section-clean {
        margin-top: 8px !important;
        page-break-inside: avoid;
    }

    .admin-detail-grid-clean.three-col {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .admin-detail-grid-clean.two-col {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .admin-order-table-clean {
        min-width: 0 !important;
        font-size: 10px !important;
    }

    .admin-order-table-wrap-clean {
        overflow: visible !important;
    }

    .admin-order-table-clean th,
    .admin-order-table-clean td {
        padding: 6px 8px !important;
    }

    .admin-order-summary-clean {
        width: 300px !important;
        margin-top: 8px !important;
    }

    .admin-status-chip-clean {
        border: 1px solid #d1d5db !important;
        background: #ffffff !important;
        color: #111827 !important;
        padding: 2px 6px !important;
        font-size: 10px !important;
    }
}

/* Staff cancellation review, Admin void approval (2026-10-16) */
.cancellation-review-panel {
    border: 1px solid #b18c36;
    background: linear-gradient(155deg, #211d16, #171b22 70%);
    padding: clamp(17px, 3vw, 25px);
    border-radius: 14px;
}
.cancellation-review-panel h3 { color: #f8d876; font-weight: 800; margin: 7px 0 9px; }
.cancellation-review-panel > p { line-height: 1.65; color: #d3d8df; }
.cancellation-review-details {
    display: grid;
    grid-template-columns: 100px minmax(0,1fr);
    gap: 10px 14px;
    padding: 16px;
    margin: 15px 0;
    border: 1px solid #41434b;
    border-radius: 11px;
    background: #121820;
}
.cancellation-review-details > span { color: #aeb8c9; font-size: 12px; }
.cancellation-review-details > strong { color: #f7f8fa; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.cancellation-review-details .cancellation-review-reason { white-space: normal; }
.cancellation-review-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}
.cancellation-review-actions form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
    border: 1px solid #3a4350;
    border-radius: 11px;
    background: #18212e;
    min-width: 0;
}
.cancellation-review-actions form p, .cancellation-review-waiting {
    margin: 0;
    font-size: 12px;
    line-height: 1.65;
    color: #c4cfdb;
}
.cancellation-review-actions form .btn { margin-top: auto; width: 100%; white-space: normal; min-height: 45px; }
.cancellation-review-actions form:nth-child(2) { border-color: #654546; background: #251d23; }
.cancellation-review-actions form:nth-child(2) .btn { border-color: #9f6c70; color: #ffd9d9; }
.cancellation-review-actions .order-refund-check { font-size: 12px; line-height: 1.6; color: #ffe6bb; }
.cancellation-review-waiting { padding: 11px 13px; border-radius: 9px; background: #302b1d; color: #ffdfa0; }
@media (max-width: 650px) {
    .cancellation-review-actions { grid-template-columns: minmax(0,1fr); }
    .cancellation-review-details { grid-template-columns: 88px minmax(0,1fr); }
}
@media (max-width: 360px) {
    .cancellation-review-details { grid-template-columns: minmax(0,1fr); gap: 4px; }
    .cancellation-review-details > strong:not(:last-child) { margin-bottom: 9px; }
}

/* Admin order review — compact, readable decision flow */
.cancellation-review-panel {
    padding: clamp(17px, 3vw, 23px) !important;
    border: 1px solid #444453 !important;
    border-radius: 17px !important;
    background: #171b23 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
    min-width: 0;
}
.cancellation-review-topline {
    display: flex; align-items: center; flex-wrap: wrap;
    justify-content: space-between; gap: 8px; margin-bottom: 17px;
}
.cancellation-review-topline .delivery-eyebrow { color: #f6c955; letter-spacing: .11em; font-size: 10px; font-weight: 800; }
.cancellation-review-pill {
    display: inline-flex; gap: 7px; align-items: center; border: 1px solid #756039;
    border-radius: 50px; background: #322a1c; color: #f8d783;
    padding: 5px 9px; font-size: 10px; font-weight: 720; white-space: nowrap;
}
.cancellation-review-pill span { width: 6px; height: 6px; background: #eec253; border-radius: 50%; }
.cancellation-review-intro { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.cancellation-review-mark {
    display: grid; place-items: center; flex: 0 0 38px; height: 38px;
    border-radius: 12px; background: #342c1b; border: 1px solid #6d5835;
    color: #ffce51; font-size: 23px; font-weight: 800;
}
.cancellation-review-intro h3 {
    font-size: clamp(17px, 2.2vw, 21px); color: #fafbfc; margin: 0 0 8px;
    letter-spacing: -.3px; line-height: 1.3;
}
.cancellation-review-intro p { margin: 0; color: #b9c2cf; font-size: 12px; line-height: 1.6; }
.cancellation-review-report {
    overflow: hidden; border: 1px solid #354254; border-radius: 12px;
    background: #111923; margin: 0;
}
.cancellation-review-report-meta { padding: 13px 15px; display: grid; gap: 9px; }
.cancellation-review-report-meta > div {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    gap: 4px 14px; align-items: baseline;
}
.cancellation-review-report-meta span, .cancellation-review-report-reason span {
    color: #a9b7c9; font-size: 11px;
}
.cancellation-review-report-meta strong { font-size: 12px; color: #ecf0f5; font-weight: 700; overflow-wrap: anywhere; }
.cancellation-review-report-reason { padding: 13px 15px; border-top: 1px solid #303b4c; }
.cancellation-review-report-reason p {
    font-size: 13px; color: #f0f3f9; font-weight: 650;
    margin: 6px 0 0; line-height: 1.6; overflow-wrap: anywhere;
}
.cancellation-review-decision { margin-top: 17px; min-width: 0; }
.cancellation-review-decision h4 { font-size: 13px; color: #f0f3f9; margin: 0; }
.cancellation-review-decision > p {
    margin: 5px 0 14px; color: #aebacc; font-size: 11px; line-height: 1.6;
}
.cancellation-review-decision-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; align-items: stretch; }
.cancellation-review-decision-actions form { display: block; padding: 0; margin: 0; min-width: 0; border: 0; background: transparent; }
.cancellation-review-decision-actions .btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; height: 100%; min-height: 47px;
    margin: 0; padding: 11px 9px; border-radius: 10px;
    font-size: 12px; font-weight: 760; line-height: 1.35; text-align: center;
    white-space: normal; overflow-wrap: anywhere;
}
.cancellation-review-decision-actions .btn-primary { background: #ffcf22; border-color: #ffcf22; color: #141820; }
.cancellation-review-decision-actions .cancellation-review-void-btn {
    background: #392329; border: 1px solid #83545d; color: #ffe1e2;
}
.cancellation-review-decision-actions .cancellation-review-void-btn:hover { background: #492c33; border-color: #ba717b; }
.cancellation-review-waiting { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 13px 15px; }
.cancellation-review-waiting strong { color: #ffdc91; font-size: 12px; }
.cancellation-review-waiting span { color: #e3d0ad; font-size: 11px; line-height: 1.6; }

/* Confirmation is a dialog, not a second reason form. */
.cancellation-void-dialog {
    box-sizing: border-box; padding: 0; margin: auto;
    width: min(430px, calc(100vw - 24px)); max-width: min(430px, calc(100vw - 24px));
    max-height: 90dvh; overflow-y: auto; color: #eef1f6;
    background: #171d28; border: 1px solid #4c5260;
    border-radius: 18px; box-shadow: 0 26px 80px rgba(0,0,0,.65);
}
.cancellation-void-dialog::backdrop { background: rgba(3, 6, 14, .75); backdrop-filter: blur(4px); }
.cancellation-void-dialog > form { display: block; margin: 0; padding: 0; }
.cancellation-void-heading { display: flex; align-items: flex-start; gap: 12px; padding: 22px 23px 18px; border-bottom: 1px solid #364050; }
.cancellation-void-heading-icon {
    flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px;
    border: 1px solid #86535a; background: #3a222b; color: #ffc4c5;
    border-radius: 12px; font-size: 22px; font-weight: 850;
}
.cancellation-void-heading > div:nth-child(2) { flex: 1; min-width: 0; }
.cancellation-void-heading .delivery-eyebrow { font-size: 10px; color: #f0c16e; }
.cancellation-void-heading h2 { font-size: 21px; color: #fff; margin: 4px 0 7px; line-height: 1.3; }
.cancellation-void-heading p { font-size: 12px; line-height: 1.55; color: #b7c3d1; margin: 0; overflow-wrap: anywhere; }
.cancellation-void-close {
    flex: 0 0 32px; display: grid; place-items: center; width: 32px; height: 32px;
    padding: 0; border-radius: 8px; border: 1px solid #4a5565;
    background: #293343; color: #d3dce8; cursor: pointer; font-size: 23px; line-height: 1;
}
.cancellation-void-close:hover { background: #354256; }
.cancellation-void-content { padding: 20px 23px; }
.cancellation-void-reason { padding: 15px; border: 1px solid #414b5b; border-radius: 11px; background: #111924; }
.cancellation-void-reason span { display: block; font-size: 11px; color: #aebace; font-weight: 700; }
.cancellation-void-reason p { font-size: 14px; color: #f9fafc; font-weight: 650; line-height: 1.6; overflow-wrap: anywhere; margin: 8px 0 0; }
.cancellation-void-note, .cancellation-void-refund { font-size: 12px; line-height: 1.65; color: #bbc7d7; margin: 14px 0 0; }
.cancellation-void-refund {
    padding: 12px 14px; border: 1px solid #9f7444; border-radius: 9px;
    background: #31271d; color: #ffddaf;
}
.cancellation-void-footer {
    display: flex; gap: 11px; padding: 16px 23px 20px;
    border-top: 1px solid #323e4f; background: #141b27;
}
.cancellation-void-footer > .btn { flex: 1; min-width: 0; min-height: 45px; border-radius: 10px; font-size: 12px; padding: 10px; font-weight: 760; white-space: normal; text-align: center; }
.cancellation-void-confirm { background: #be4857; border: 1px solid #d16a77; color: #fff; cursor: pointer; }
.cancellation-void-confirm:hover { background: #d15a68; }
.cancellation-void-confirm:disabled { opacity: .65; cursor: wait; }
.cancellation-void-dialog button:focus-visible, .cancellation-review-decision-actions button:focus-visible { outline: 2px solid #ffd35a; outline-offset: 3px; }
@media (max-width: 520px) {
    .cancellation-review-topline { align-items: flex-start; }
    .cancellation-review-decision-actions { grid-template-columns: minmax(0,1fr); gap: 9px; }
    .cancellation-review-decision-actions .btn { min-height: 45px; }
    .cancellation-void-heading { padding: 18px 16px 16px; }
    .cancellation-void-content { padding: 17px 16px; }
    .cancellation-void-footer { padding: 15px 16px 17px; }
}
@media (max-width: 350px) {
    .cancellation-review-report-meta > div { flex-direction: column; align-items: flex-start; }
    .cancellation-void-footer { flex-direction: column; }
}

/* Source: modules/07-footer-utilities-responsive.css */
.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;
    }
}

/* Source: modules/08-gold-black-patch.css?v=202610060051 */
/* ===== ADIS GOLD / BLACK PROFESSIONAL THEME ===== */

:root {
    --bg: #000000;
    --panel: #080808;
    --panel-2: #111111;
    --line: rgba(255,255,255,0.08);
    --text: #f7f4ef;
    --muted: #b8b4ac;
    --yellow: #ffbf00;
    --yellow-deep: #d89d00;
    --shadow: 0 20px 60px rgba(0,0,0,0.42);

    --adis-gold: #facc15;
    --adis-black: #020617;
    --adis-panel: #0f172a;
    --adis-border: rgba(255,255,255,0.09);
    --adis-radius: 22px;
}

html,
body {
    background:
        radial-gradient(circle at top right, rgba(255,191,0,0.12), transparent 28%),
        linear-gradient(135deg, #020617, #09090b 45%, #000);
    color: var(--text);
}

/* ===== ANIMATION ===== */

.page-loaded .pro-reveal {
    animation: adisReveal 0.55s ease both;
}

@keyframes adisReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HEADER ===== */

.site-header {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,191,0,0.12);
}

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

.brand strong {
    font-size: 1.75rem;
    letter-spacing: 0.03em;
}

.brand small {
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.30em;
    font-size: 0.72rem;
}

.brand-mark,
.admin-brand span {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffcf3a, #ffbf00);
    color: #111;
    box-shadow: 0 10px 25px rgba(255,191,0,0.25);
}

.site-nav {
    gap: 14px;
}

.site-nav > a {
    color: #dde4ee;
    padding: 10px 6px;
}

.site-nav > a.active,
.site-nav > a:hover {
    color: #fff;
}

/* ===== USER NAV ===== */

.nav-cart,
.nav-login {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
}

.nav-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0 !important;
}

.nav-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--yellow);
    color: #111;
}

.nav-login {
    height: 42px;
    padding: 0 18px !important;
    display: inline-flex;
    align-items: center;
}

.nav-user-menu {
    position: relative;
}

.nav-avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: var(--yellow);
    color: #111;
    font-weight: 800;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 230px;
    border-radius: 20px;
    background: rgba(0,0,0,0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.18s ease;
    z-index: 80;
}

.user-dropdown a {
    display: block;
    padding: 16px 20px;
    color: #fff;
}

.user-dropdown a:hover {
    background: rgba(255,255,255,0.06);
}

.nav-user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== BUTTONS / FORMS ===== */

.btn,
button {
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
button:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #fde047, #ffbf00);
    color: #111;
    border: none;
    box-shadow: 0 12px 28px rgba(255,191,0,0.18);
}

.btn-secondary,
.btn-outline {
    background: rgba(255,255,255,0.06);
    color: #f8fafc;
    border: 1px solid rgba(255,255,255,0.10);
}

.input-field,
.select-field,
.search-input,
textarea {
    background: rgba(2,6,23,0.88);
    border: 1px solid rgba(255,255,255,0.10);
    color: #f8fafc;
    border-radius: 14px;
}

.input-field:focus,
.select-field:focus,
.search-input:focus,
textarea:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(255,191,0,0.12);
    outline: none;
}

/* ===== HOME ===== */

.home-hero {
    padding: 34px 0 28px;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 36px;
    align-items: stretch;
}

.home-kicker,
.section-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--yellow);
    font-size: 0.92rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.home-hero-copy h1,
.shop-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 1.02;
}

.home-hero-copy h1 span {
    color: var(--yellow);
}

.home-hero-copy p,
.shop-hero p {
    max-width: 700px;
    font-size: 1.02rem;
    line-height: 1.75;
    color: #d5d0c7;
    margin-top: 22px;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 42px;
    max-width: 680px;
}

.home-stat-box,
.metric-card,
.stat-card,
.admin-table-wrap,
.auth-card,
.panel,
.checkout-summary,
.product-card-gold {
    border-radius: var(--adis-radius);
    background:
        radial-gradient(circle at top right, rgba(255,191,0,0.08), transparent 34%),
        rgba(15,23,42,0.92);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: var(--shadow);
}

.home-stat-box,
.metric-card {
    padding: 22px 20px;
}

.home-stat-box span,
.metric-card span {
    display: block;
    color: #9ca3af;
    font-size: 0.82rem;
    letter-spacing: 0.30em;
    text-transform: uppercase;
}

.home-stat-box strong,
.metric-card strong,
.stat-card strong {
    display: block;
    margin-top: 14px;
    font-size: 1.6rem;
    color: var(--yellow);
}

/* ===== HOME VIDEO PREVIEW ===== */

.home-preview-panel {
    display: flex;
    flex-direction: column;
    min-height: 640px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.44);
    padding: 30px;
    box-shadow: var(--shadow);
}

.home-preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.home-preview-head span {
    display: block;
    color: var(--yellow);
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.home-preview-head h2 {
    margin: 12px 0 0;
    font-size: 2.1rem;
}

.preview-pill {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,191,0,0.10);
    border: 1px solid rgba(255,191,0,0.18);
    color: var(--yellow);
    font-weight: 700;
}

.home-preview-stage.video-preview-stage {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border-radius: 28px;
    background: #050505;
}

.home-preview-video {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 28px;
}

/* ===== SHOP / PRODUCTS ===== */

.shop-hero {
    padding: 28px 0 18px;
}

.shop-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
}

.shop-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 14px;
}

.shop-products-section {
    padding-top: 18px;
}

.featured-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.featured-grid,
.product-grid.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.product-card-gold {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.product-image-gold {
    position: relative;
    aspect-ratio: 1 / 0.74;
    overflow: hidden;
    background: #343434;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.product-image-gold img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.product-brand-chip,
.product-corner-badge {
    position: absolute;
    top: 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(0,0,0,0.82);
    color: var(--yellow);
    padding: 8px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.product-brand-chip {
    left: 14px;
}

.product-corner-badge {
    right: 14px;
}

.product-body-gold {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
    min-height: 220px;
}

.product-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
}

.product-top-row h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-tag {
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(255,191,0,0.10);
    color: var(--yellow);
    padding: 7px 10px;
    font-size: 0.66rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-short-copy {
    margin: 14px 0 0;
    min-height: 58px;
    max-height: 58px;
    overflow: hidden;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-bottom-row {
    margin-top: auto;
}

.product-bottom-row .price {
    display: none;
}

.product-actions-compact {
    display: flex;
    gap: 8px;
    width: 100%;
}

.product-actions-compact .btn {
    min-width: 0;
    white-space: nowrap;
    justify-content: center;
}

.btn-tiny {
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 0.86rem;
    min-height: 40px;
}

/* ===== ADMIN ===== */

.admin-main {
    background:
        radial-gradient(circle at top right, rgba(255,191,0,0.10), transparent 25%),
        #020617;
}

.admin-sidebar {
    background: linear-gradient(180deg, #020617, #070b16);
    border-right: 1px solid rgba(255,255,255,0.09);
}

.admin-menu a {
    border: 1px solid transparent;
}

.admin-menu a:hover,
.admin-menu a.active {
    background: linear-gradient(135deg, #fde047, #ffbf00);
    color: #111827;
    box-shadow: 0 12px 28px rgba(255,191,0,0.16);
}

.data-table th {
    background: rgba(2,6,23,0.95);
    color: #cbd5e1;
}

.data-table td {
    border-color: rgba(255,255,255,0.06);
}

/* ===== TOAST NOTIFICATIONS ===== */

.adis-toast {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 99999;
    max-width: min(420px, calc(100vw - 32px));
    padding: 15px 18px;
    border-radius: 16px;
    background: #0f172a;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    opacity: 0;
    transform: translateY(-14px) scale(.98);
    transition: .3s ease;
    font-weight: 700;
}

.adis-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.adis-toast.is-success {
    border-color: rgba(34,197,94,.4);
}

.adis-toast.is-error {
    border-color: rgba(239,68,68,.5);
}

/* ===== PROFILE ===== */

.profile-panel {
    padding: 24px;
}

.profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .featured-grid,
    .product-grid.featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-preview-panel {
        min-height: 560px;
    }
}

@media (max-width: 1080px) {
    .home-hero-grid,
    .shop-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .featured-grid,
    .product-grid.featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .admin-main {
        margin-left: 0;
        padding: 18px;
    }

    .admin-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid,
    .dashboard-grid,
    .product-grid,
    .shop-hero-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 820px) {
    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        background: rgba(0,0,0,0.96);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 22px;
        padding: 18px;
        flex-direction: column;
        align-items: flex-start;
        display: none;
    }

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

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .home-stats-grid,
    .shop-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding: 22px 0;
    }

    .home-preview-panel {
        min-height: 380px;
    }

    .home-preview-stage.video-preview-stage {
        min-height: 320px;
    }

    .featured-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-grid,
    .product-grid.featured-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-body-gold {
        min-height: auto;
    }

    .product-top-row h3 {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .product-short-copy {
        min-height: auto;
        max-height: none;
    }

    .product-actions-compact {
        width: 100%;
    }

    .product-actions-compact .btn {
        flex: 1;
    }
}

@media (max-width: 520px) {
    .admin-menu {
        grid-template-columns: 1fr;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-heading h1,
    .shop-hero h1,
    .home-hero-copy h1 {
        font-size: 2rem;
    }

    .adis-toast {
        left: 16px;
        right: 16px;
        top: 16px;
    }
}
/* ===== PRO CUSTOMER LOGIN ===== */

.pro-auth-section {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
}

.pro-auth-card {
    max-width: 520px;
    padding: 36px;
    border-radius: 30px;
}

.pro-auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.pro-auth-logo {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fde047, #ffbf00);
    color: #111;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(255,191,0,0.22);
}

.pro-auth-brand span {
    color: var(--yellow);
    font-size: 0.78rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-weight: 800;
}

.pro-auth-brand h1 {
    margin: 12px 0 8px;
    font-size: 2.5rem;
}

.pro-auth-brand p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.6;
}

.pro-auth-form label {
    display: block;
    color: #e5e7eb;
    font-weight: 700;
    margin-bottom: 8px;
}

.password-wrap {
    position: relative;
}

.password-wrap .input-field {
    padding-right: 82px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 8px;
    height: calc(100% - 16px);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    color: var(--yellow);
    padding: 0 14px;
    cursor: pointer;
    font-weight: 800;
}

.terms-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-top: 4px;
    color: #cbd5e1 !important;
    font-weight: 500 !important;
}

.terms-check input {
    margin-top: 4px;
    accent-color: var(--yellow);
}

.terms-check a {
    color: var(--yellow);
    font-weight: 800;
}

.security-note {
    margin: 18px 0;
    border-radius: 16px;
    border: 1px solid rgba(255,191,0,0.16);
    background: rgba(255,191,0,0.07);
    color: #fef3c7;
    padding: 14px 16px;
    font-size: 0.92rem;
}

.pro-auth-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 560px) {
    .pro-auth-card {
        padding: 24px;
        border-radius: 24px;
    }

    .pro-auth-actions {
        grid-template-columns: 1fr;
    }

    .pro-auth-brand h1 {
        font-size: 2rem;
    }
}
/* ===== TERMS PAGE ===== */

.terms-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 38px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255,191,0,0.10), transparent 34%),
        rgba(15,23,42,0.92);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: var(--shadow);
}

.terms-card h1 {
    margin: 0 0 14px;
    font-size: clamp(2.3rem, 5vw, 4rem);
}

.terms-card > p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 26px;
}

.terms-block {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.terms-block h2 {
    margin: 0 0 10px;
    color: var(--yellow);
    font-size: 1.15rem;
}

.terms-block p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.75;
}

.terms-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

@media (max-width: 560px) {
    .terms-card {
        padding: 24px;
        border-radius: 24px;
    }

    .terms-actions .btn {
        width: 100%;
    }
}
/* ===== RESPONSIVE SIZE FIX / MOBILE POLISH ===== */

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.site-header {
    min-height: auto;
}

.nav-wrap {
    min-height: 64px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.brand strong {
    font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.brand small {
    font-size: clamp(0.58rem, 1.2vw, 0.72rem);
    letter-spacing: clamp(0.14em, 0.8vw, 0.30em);
}

.home-hero {
    padding: clamp(22px, 4vw, 46px) 0;
}

.home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: clamp(20px, 4vw, 36px);
}

.home-hero-copy h1,
.shop-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.home-hero-copy p,
.shop-hero p {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.65;
}

.home-stats-grid {
    margin-top: 28px;
}

.home-preview-panel {
    min-height: auto;
    padding: clamp(18px, 2.5vw, 30px);
}

.home-preview-head h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
}

.home-preview-stage.video-preview-stage {
    min-height: clamp(320px, 45vw, 520px);
}

.home-preview-video {
    min-height: clamp(320px, 45vw, 520px);
}

.pro-auth-section {
    min-height: auto;
    padding: clamp(26px, 5vw, 52px) 0;
}

.pro-auth-card {
    max-width: 520px;
    padding: clamp(22px, 4vw, 36px);
}

.pro-auth-brand h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

.admin-main {
    padding: clamp(18px, 3vw, 30px);
}

.admin-main .page-heading h1,
.admin-dashboard-head h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.admin-table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

@media (max-width: 1100px) {
    .home-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-preview-panel {
        min-height: auto;
    }

    .home-preview-stage.video-preview-stage,
    .home-preview-video {
        min-height: 420px;
    }
}

@media (max-width: 820px) {
    .site-header {
        position: sticky;
    }

    .nav-wrap {
        min-height: 62px;
        gap: 12px;
    }

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

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

    .brand small {
        font-size: 0.58rem;
        letter-spacing: 0.14em;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .site-nav {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .home-hero-copy h1,
    .shop-hero h1 {
        font-size: 2.4rem;
        line-height: 1.05;
    }

    .home-kicker,
    .section-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.22em;
        margin-bottom: 12px;
    }

    .home-cta-row,
    .cta-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-cta-row .btn,
    .cta-row .btn {
        width: 100%;
    }

    .home-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-preview-head {
        flex-direction: column;
    }

    .preview-pill {
        width: fit-content;
    }

    .home-preview-stage.video-preview-stage,
    .home-preview-video {
        min-height: 340px;
    }

    .shop-metrics {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }

    .admin-main {
        margin-left: 0 !important;
        padding: 18px;
    }

    .admin-menu {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .home-hero-copy h1,
    .shop-hero h1,
    .page-heading h1 {
        font-size: 2rem !important;
    }

    .home-hero-copy p,
    .shop-hero p,
    .page-heading p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .home-preview-panel {
        padding: 16px;
        border-radius: 24px;
    }

    .home-preview-head h2 {
        font-size: 1.35rem;
    }

    .home-preview-stage.video-preview-stage,
    .home-preview-video {
        min-height: 260px;
        border-radius: 20px;
    }

    .home-stat-box,
    .metric-card {
        padding: 16px;
        border-radius: 18px;
    }

    .home-stat-box strong,
    .metric-card strong {
        font-size: 1.25rem;
    }

    .product-actions-compact {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pro-auth-card {
        padding: 20px;
        border-radius: 22px;
    }

    .pro-auth-logo {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .pro-auth-brand span {
        font-size: 0.66rem;
        letter-spacing: 0.18em;
    }

    .password-toggle {
        position: static;
        width: 100%;
        margin-top: 8px;
        height: 42px;
    }

    .password-wrap .input-field {
        padding-right: 16px;
    }

    .admin-menu {
        grid-template-columns: 1fr;
    }

    .admin-main .page-heading h1,
    .admin-dashboard-head h1 {
        font-size: 2rem;
    }
}
/* ===== FINAL HOME VIDEO BOX ALIGN FIX ===== */

.home-hero-grid {
    align-items: stretch !important;
}

.home-preview-panel {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.home-preview-stage.video-preview-stage,
.home-preview-stage.video-preview-stage.preview-media-fill {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
}

.home-preview-video,
.home-preview-video.preview-media-fill__media {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
}

@media (max-width: 1080px) {
    .home-preview-panel {
        height: auto !important;
    }

    .home-preview-stage.video-preview-stage,
    .home-preview-stage.video-preview-stage.preview-media-fill,
    .home-preview-video,
    .home-preview-video.preview-media-fill__media {
        height: 320px !important;
        min-height: 320px !important;
        max-height: 320px !important;
    }
}

@media (max-width: 640px) {
    .home-preview-stage.video-preview-stage,
    .home-preview-stage.video-preview-stage.preview-media-fill,
    .home-preview-video,
    .home-preview-video.preview-media-fill__media {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
}
/* ===== TRY-ON EXTRA COMPACT FIX ===== */

.tryon-studio-page {
    height: calc(100vh - 72px) !important;
    overflow: hidden !important;
}

.tryon-studio-shell {
    grid-template-columns: 320px minmax(0, 1fr) 260px !important;
    height: calc(100vh - 72px) !important;
}

.tryon-catalog-panel,
.tryon-right-panel {
    padding: 12px !important;
    gap: 10px !important;
}

.tryon-catalog-tabs {
    gap: 8px !important;
}

.tryon-tab-btn {
    padding: 10px 12px !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 0.86rem !important;
}

.tryon-tab-btn strong {
    min-width: 24px !important;
    height: 24px !important;
    font-size: 0.78rem !important;
}

.tryon-search-wrap .search-input {
    height: 46px !important;
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
}

.tryon-filter-row {
    gap: 7px !important;
}

.tryon-filter-chip {
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
}

.tryon-catalog-list {
    gap: 10px !important;
    padding-top: 12px !important;
}

.tryon-none-card,
.tryon-catalog-item {
    border-radius: 16px !important;
    padding: 10px !important;
}

.tryon-catalog-item {
    grid-template-columns: 52px 1fr !important;
    gap: 10px !important;
}

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

.tryon-catalog-top strong {
    font-size: 0.82rem !important;
}

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

.tryon-catalog-copy p {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
}

.tryon-stage-panel {
    padding: 10px !important;
}

.tryon-stage-panel #tryon-canvas {
    max-height: calc(100vh - 96px) !important;
    min-height: 0 !important;
    height: calc(100vh - 96px) !important;
    border-radius: 22px !important;
}

.tryon-avatar-switcher {
    top: 16px !important;
    right: 16px !important;
    padding: 9px 10px !important;
    border-radius: 14px !important;
}

.tryon-avatar-switcher label {
    font-size: 0.78rem !important;
}

.tryon-avatar-switcher .select-field {
    min-width: 135px !important;
    height: 38px !important;
    padding: 8px 10px !important;
    font-size: 0.86rem !important;
}

.tryon-current-panel,
.tryon-selected-panel {
    padding: 14px !important;
    border-radius: 18px !important;
}

.tryon-panel-head h3,
.tryon-selected-panel h3 {
    font-size: 1.35rem !important;
}

.tryon-panel-head span,
.tryon-selected-panel > span {
    font-size: 0.68rem !important;
    letter-spacing: 0.22em !important;
}

.tryon-total-row strong,
.tryon-selected-price {
    font-size: 1.65rem !important;
}

.tryon-selected-actions .btn {
    min-height: 42px !important;
    font-size: 0.86rem !important;
    border-radius: 13px !important;
}

#saveOutfitBtn {
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 0.82rem !important;
}

/* phone/tablet */
@media (max-width: 1100px) {
    .tryon-studio-page,
    .tryon-studio-shell {
        height: auto !important;
        overflow: visible !important;
    }

    .tryon-studio-shell {
        grid-template-columns: 1fr !important;
    }

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

@media (max-width: 640px) {
    .tryon-stage-panel #tryon-canvas {
        height: 330px !important;
        min-height: 330px !important;
        max-height: 330px !important;
    }

    .tryon-avatar-switcher {
        position: static !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }
}
/* ===== ADMIN REPORTS CLEAN FIX ===== */

.admin-main .page-heading {
    margin-bottom: 24px !important;
}

.admin-main .page-heading h1 {
    font-size: 3.2rem !important;
    margin-bottom: 12px !important;
}

.admin-main .dashboard-grid {
    display: grid !important;
    grid-template-columns: 1.35fr 0.85fr !important;
    gap: 24px !important;
    align-items: start !important;
}

.admin-main .admin-table-wrap {
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 20px !important;
}

.admin-main .admin-table-wrap .data-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
}

.admin-main .admin-table-wrap .data-table th,
.admin-main .admin-table-wrap .data-table td {
    padding: 14px 16px !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.admin-main .admin-table-wrap .data-table th:last-child,
.admin-main .admin-table-wrap .data-table td:last-child {
    text-align: right !important;
}

/* Reports page spacing */
.admin-main .page-shell {
    padding-top: 0 !important;
}

.admin-main .container {
    width: min(100% - 56px, 1280px) !important;
    margin: 0 auto !important;
}

/* Make report cards look more premium */
.admin-main .admin-table-wrap h2,
.admin-main .admin-table-wrap h3 {
    margin-top: 0 !important;
}

.admin-main .data-table thead th {
    font-size: 0.86rem !important;
    letter-spacing: 0.08em !important;
}

.admin-main .data-table tbody td {
    font-size: 0.95rem !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .admin-main .dashboard-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-main .container {
        width: min(100% - 32px, 1280px) !important;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .admin-main {
        padding: 18px !important;
    }

    .admin-main .page-heading h1 {
        font-size: 2.1rem !important;
    }

    .admin-main .admin-table-wrap {
        overflow-x: auto !important;
    }

    .admin-main .admin-table-wrap .data-table {
        min-width: 520px !important;
    }
}
/* ===== LOGIN NO-SCROLL COMPACT FIX ===== */

body:has(.pro-auth-section) {
    overflow-y: hidden !important;
}

.pro-auth-section {
    min-height: calc(100vh - 68px) !important;
    padding: 18px 0 !important;
    display: flex !important;
    align-items: center !important;
}

.pro-auth-card {
    max-width: 470px !important;
    padding: 24px 30px !important;
    border-radius: 24px !important;
}

.pro-auth-logo {
    width: 52px !important;
    height: 52px !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
}

.pro-auth-brand {
    margin-bottom: 20px !important;
}

.pro-auth-brand span {
    font-size: 0.7rem !important;
    letter-spacing: 0.22em !important;
}

.pro-auth-brand h1 {
    font-size: 2rem !important;
    margin: 10px 0 6px !important;
}

.pro-auth-brand p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

.pro-auth-form label {
    margin-bottom: 6px !important;
}

.pro-auth-form .form-grid {
    gap: 14px !important;
}

.pro-auth-form .input-field {
    min-height: 46px !important;
    padding: 11px 14px !important;
}

.password-toggle {
    height: 34px !important;
    top: 6px !important;
    right: 7px !important;
}

.terms-check {
    margin-top: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.35 !important;
}

.pro-auth-actions {
    margin-top: 14px !important;
}

.pro-auth-actions .btn {
    min-height: 44px !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
}

/* fallback if browser does not support :has */
.auth-section.pro-auth-section {
    overflow: hidden !important;
}

@media (max-height: 760px) {
    .pro-auth-section {
        padding: 10px 0 !important;
    }

    .pro-auth-card {
        padding: 18px 26px !important;
    }

    .pro-auth-logo {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 10px !important;
    }

    .pro-auth-brand {
        margin-bottom: 14px !important;
    }

    .pro-auth-brand h1 {
        font-size: 1.7rem !important;
    }

    .pro-auth-brand p {
        font-size: 0.84rem !important;
    }

    .pro-auth-form .form-grid {
        gap: 10px !important;
    }

    .pro-auth-form .input-field {
        min-height: 42px !important;
    }

    .pro-auth-actions .btn {
        min-height: 40px !important;
    }
}

@media (max-width: 560px) {
    body:has(.pro-auth-section) {
        overflow-y: auto !important;
    }

    .pro-auth-section {
        min-height: auto !important;
        padding: 18px 0 !important;
    }
}
/* ===== LOGIN BUTTON + PASSWORD EYE FIX ===== */

.password-wrap {
    position: relative !important;
}

.password-wrap .input-field {
    padding-right: 58px !important;
}

.password-toggle {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    background: rgba(255,255,255,0.06) !important;
    color: var(--yellow) !important;
    font-size: 1rem !important;
    line-height: 1 !important;
}

.password-toggle:hover {
    transform: translateY(-50%) !important;
    background: rgba(255,191,0,0.12) !important;
}

.pro-auth-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 18px !important;
}

.pro-auth-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
}

.pro-auth-actions .btn:hover {
    transform: translateY(-1px) !important;
}

@media (max-width: 560px) {
    .pro-auth-actions {
        grid-template-columns: 1fr !important;
    }

    .password-toggle {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 40px !important;
        height: 34px !important;
    }

    .password-toggle:hover {
        transform: translateY(-50%) !important;
    }

    .password-wrap .input-field {
        padding-right: 54px !important;
    }
}
/* ===== PRODUCT CARD BUTTON CLEAN FIX ===== */

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

.product-actions-compact .btn,
.product-actions-compact button,
.product-actions-compact a {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    border-radius: 14px !important;
    font-size: 0.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;
}

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

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

.product-actions-compact .btn:hover,
.product-actions-compact button:hover,
.product-actions-compact a:hover {
    transform: translateY(-1px) !important;
}

/* Make cards cleaner */
.product-body-gold {
    gap: 10px !important;
}

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

/* Home featured heading button */
.featured-head .btn,
.featured-head a.btn {
    min-height: 42px !important;
    padding: 0 18px !important;
    border-radius: 14px !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
}

/* Mobile Shopee-style buttons */
@media (max-width: 640px) {
    .product-actions-compact {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
    }

    .product-actions-compact .btn,
    .product-actions-compact button,
    .product-actions-compact a {
        height: 34px !important;
        min-height: 34px !important;
        padding: 0 8px !important;
        border-radius: 11px !important;
        font-size: 0.72rem !important;
    }

    .featured-head {
        align-items: flex-start !important;
    }

    .featured-head .btn,
    .featured-head a.btn {
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 14px !important;
        font-size: 0.78rem !important;
    }
}
/* ===== REGISTER BUTTON FIX ===== */

.auth-card .form-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 16px !important;
}

.auth-card .form-actions .btn {
    width: 100% !important;
    min-height: 46px !important;
    padding: 0 16px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.auth-card .form-actions .btn:hover {
    transform: translateY(-1px) !important;
}

@media (max-width: 560px) {
    .auth-card .form-actions {
        grid-template-columns: 1fr !important;
    }

    .auth-card .form-actions .btn {
        min-height: 42px !important;
        font-size: 0.88rem !important;
    }
}
/* ===== NOTIFICATIONS PAGE ===== */

.notifications-page {
    min-height: calc(100vh - 90px);
}

.notifications-heading {
    margin-bottom: 24px;
}

.notification-list {
    display: grid;
    gap: 14px;
    max-width: 860px;
}

.notification-card {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(255,191,0,0.08), transparent 35%),
        rgba(15,23,42,0.92);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: var(--shadow);
}

.notification-card.new {
    border-color: rgba(255,191,0,0.28);
}

.notification-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255,191,0,0.12);
    border: 1px solid rgba(255,191,0,0.18);
    font-size: 1.35rem;
}

.notification-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.notification-top h3 {
    margin: 0;
    font-size: 1.05rem;
}

.notification-top span {
    color: var(--yellow);
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
}

.notification-copy p {
    margin: 8px 0 0;
    color: #cbd5e1;
    line-height: 1.65;
}

@media (max-width: 560px) {
    .notification-card {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .notification-top {
        flex-direction: column;
        gap: 4px;
    }
}
/* ===== FINAL AVATAR DROPDOWN FIX ===== */

.nav-user-menu {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    z-index: 999999 !important;
}

.nav-avatar {
    position: relative !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
}

.nav-avatar *,
.nav-avatar-badge {
    pointer-events: none !important;
}

.user-dropdown {
    display: block !important;
    position: absolute !important;
    top: calc(100% + 12px) !important;
    right: 0 !important;
    width: 230px !important;
    z-index: 9999999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    pointer-events: none !important;
}

.nav-user-menu.open .user-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.user-dropdown a {
    pointer-events: auto !important;
}
/* ===== FIX NOTIFICATION NUMBER POSITION ===== */

.nav-avatar {
    overflow: visible !important;
}

.nav-avatar-letter {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 100% !important;
}

.nav-avatar-badge {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    min-width: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #ef4444 !important;
    color: #fff !important;
    border: 2px solid #020617 !important;
    font-size: 0.68rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(239,68,68,0.35) !important;
    pointer-events: none !important;
}
.adis-live-notification {
    position: fixed;
    top: 86px;
    left: 50%;
    right: auto;
    z-index: 99999999;
    width: min(420px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 15px;
    border-radius: 20px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(255,191,0,0.28);
    box-shadow: 0 24px 70px rgba(0,0,0,0.48);
    opacity: 0;
    transform: translate(-50%, -18px) scale(.98);
    transition: .35s ease;
}

.adis-live-notification.show {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.adis-live-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(255,191,0,0.14);
    border: 1px solid rgba(255,191,0,0.24);
}

.adis-live-copy strong {
    color: #fff;
}

.adis-live-copy p {
    margin: 5px 0 0;
    color: #cbd5e1;
    font-size: 0.88rem;
}
@media (max-width: 560px) {
    .adis-live-notification {
        top: 74px;
        left: 50%;
        right: auto;
        width: min(92vw, 420px);
        transform: translate(-50%, -18px) scale(.98);
    }

    .adis-live-notification.show {
        transform: translate(-50%, 0) scale(1);
    }
}
/* ===== CLICKABLE ADMIN NEW ORDERS CARD ===== */

.admin-click-card {
    text-decoration: none !important;
    color: inherit !important;
    display: block !important;
    cursor: pointer !important;
    transition: 0.2s ease !important;
}

.admin-click-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(255,191,0,0.35) !important;
    box-shadow: 0 24px 70px rgba(255,191,0,0.12) !important;
}

.admin-click-card small {
    display: block;
    margin-top: 8px;
    color: var(--yellow);
    font-weight: 800;
    font-size: 0.8rem;
}
.admin-dashboard-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
}

.admin-new-order-pill {
    min-width: 190px;
    padding: 16px 20px;
    border-radius: 22px;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255,191,0,.18), rgba(15,23,42,.94));
    border: 1px solid rgba(255,191,0,.28);
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

.admin-new-order-pill span {
    display: block;
    color: #cbd5e1;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.admin-new-order-pill strong {
    display: block;
    color: var(--yellow);
    font-size: 2rem;
    margin-top: 6px;
}

@media (max-width: 760px) {
    .admin-dashboard-heading {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .admin-new-order-pill {
        width: 100%;
    }
}
/* ===== ADMIN REPORTS & ANALYTICS ===== */


.analytics-heading {
    margin-bottom: 22px !important;
}

.analytics-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.analytics-kpi-card,
.analytics-card {
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255,191,0,0.10), transparent 34%),
        rgba(15,23,42,0.94);
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: var(--shadow);
}

.analytics-kpi-card {
    padding: 20px;
}

.analytics-kpi-card span {
    display: block;
    color: #94a3b8;
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

.analytics-kpi-card small {
    display: block;
    margin-top: 6px;
    color: #cbd5e1;
}

.analytics-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.85fr;
    gap: 22px;
    margin-bottom: 22px;
}

.analytics-main-grid.second-row {
    grid-template-columns: 0.9fr 1.1fr;
}

.analytics-card {
    padding: 22px;
    min-height: 360px;
}

.analytics-card-large {
    min-height: 420px;
}

.analytics-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.analytics-card-head h2 {
    margin: 0;
    font-size: 1.35rem;
}

.analytics-card-head p {
    margin: 6px 0 0;
    color: #94a3b8;
    line-height: 1.5;
}

.analytics-card canvas {
    width: 100% !important;
    height: 280px !important;
}

.analytics-card-large canvas {
    height: 330px !important;
}

.analytics-table-card {
    min-height: auto;
    margin-bottom: 26px;
}

.analytics-table-wrap {
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
}

@media (max-width: 1150px) {
    .analytics-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .analytics-main-grid,
    .analytics-main-grid.second-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .analytics-kpi-grid {
        grid-template-columns: 1fr;
    }

    .analytics-card {
        padding: 16px;
        min-height: 320px;
    }

    .analytics-card canvas,
    .analytics-card-large canvas {
        height: 260px !important;
    }

    .analytics-card-head {
        flex-direction: column;
    }
}
/* ===== CUSTOMER NOTIFICATION TARGETS ===== */
.notification-card-link{color:inherit;text-decoration:none;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}
.notification-card-link:hover{transform:translateY(-2px);border-color:rgba(255,191,0,.34);background:radial-gradient(circle at top right,rgba(255,191,0,.12),transparent 38%),rgba(15,23,42,.96);box-shadow:0 22px 55px rgba(0,0,0,.34)}
.notification-card-link:focus-visible{outline:2px solid rgba(255,191,0,.75);outline-offset:3px}
.notification-title-wrap{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}
.notification-unread-pill{display:inline-flex!important;align-items:center;justify-content:center;min-height:21px;padding:3px 7px;border-radius:999px;background:rgba(255,191,0,.13);border:1px solid rgba(255,191,0,.22);color:var(--yellow)!important;font-size:.63rem!important;font-weight:900!important;line-height:1!important;white-space:nowrap}
.notification-action-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding-top:11px;border-top:1px solid rgba(255,255,255,.06)}
.notification-action-row .mini-link{color:var(--yellow);font-size:.82rem;font-weight:850}
.notification-arrow{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:rgba(255,191,0,.08);border:1px solid rgba(255,191,0,.12);color:var(--yellow);font-weight:900;transition:transform .18s ease}
.notification-card-link:hover .notification-arrow{transform:translateX(3px)}
.adis-live-notification.has-target{cursor:pointer}
.adis-live-notification.has-target:hover{border-color:rgba(255,191,0,.52);box-shadow:0 28px 78px rgba(0,0,0,.56)}
.adis-live-notification.has-target:focus-visible{outline:2px solid var(--yellow);outline-offset:3px}
.adis-live-action{display:inline-flex;margin-top:8px;color:var(--yellow);font-size:.74rem;font-weight:850}

/* ===== 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;
}
