/* ========================================
   DEVASTHRA — Culture in Motion
   Design System & Global Styles
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --color-maroon: #700823;
    /* updated to user's palette code */
    --color-maroon-deep: #4A0A1E;
    --color-maroon-light: #8B1A3A;
    --color-black: #1a1a1a;
    --color-charcoal: #333333;
    --color-dark-gray: #555555;
    --color-medium-gray: #888888;
    --color-light-gray: #d4d4d4;
    --color-off-white: #fdf8f4;
    --color-cream: #faf5f0;
    --color-white: #ffffff;
    --color-gold: #FFD700;
    /* pure gold per user code */
    --color-gold-light: #E6BE5A;
    --color-gold-dark: #B8860B;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max-width: 1320px;
    --header-height: 80px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-dark-gray);
    max-width: 600px;
    line-height: 1.8;
    margin: 0 auto;
    text-align: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   1. HEADER / NAVBAR
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: 0 1px 20px rgba(107, 15, 43, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-left: 12px;
    padding-right: 12px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    order: 1;
}

.logo:first-child {
    margin-right: auto;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-maroon);
    line-height: 1;
    white-space: nowrap;
    /* keep it all on one line */
    overflow: visible;
    /* let the big V show */
}

.logo-text .logo-v {
    color: var(--color-gold);
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 400;
    vertical-align: middle;
    margin: 0 6px;
    /* tighter spacing */
    transform: translateY(-0.1em);
}

.header-company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    /* push to far right */
    flex-shrink: 0;
    order: 4;
    /* ensure comes after nav and hamburger */
}

.header-company-badge {
    height: 90px;
    /* increased size */
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.header-company-badge:hover {
    opacity: 1;
}

.company-badge {
    height: 28px;
    width: auto;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.company-badge:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
    order: 2;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-charcoal);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.nav-links a:hover {
    color: var(--color-maroon);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1100;
    order: 4;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-black);
    transition: var(--transition-base);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   2. HERO SECTION
   ======================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-maroon-deep) 0%, var(--color-maroon) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: brightness(0.65) contrast(1.1);
}

.hero-bg picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: brightness(0.65) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(74, 10, 30, 0.8) 0%,
            rgba(74, 10, 30, 0.6) 35%,
            rgba(107, 15, 43, 0.4) 65%,
            rgba(218, 165, 32, 0.1) 100%);
    z-index: 2;
    backdrop-filter: blur(1px);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInScale 0.8s ease forwards;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 8px 24px;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-badge-premium {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1.5px solid var(--color-gold);
    padding: 10px 28px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease forwards;
    background: rgba(218, 165, 32, 0.05);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    letter-spacing: -0.5px;
}

.hero-highlight {
    font-style: italic;
    color: var(--color-gold-light);
    text-decoration: underline;
    text-decoration-color: var(--color-gold);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.hero-title em {
    font-style: italic;
    color: var(--color-gold-light);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
    margin-bottom: 64px;
}

.hero-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 32px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 40px;
    border-radius: 0;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-large {
    padding: 18px 48px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
}

.btn-primary:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--color-maroon);
    color: var(--color-white);
    border: 2px solid var(--color-maroon);
}

.btn-dark:hover {
    background: var(--color-maroon-deep);
    border-color: var(--color-maroon-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   3. FEATURED PRODUCTS
   ======================================== */
.products {
    padding: 80px 0;
    background: var(--color-white);
}

.products .section-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.products .section-desc {
    margin: 0 auto;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--color-white);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 130%;
    overflow: hidden;
    background: var(--color-cream);
}

.product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    z-index: 2;
    border-radius: 2px;
}

.product-badge.new {
    background: var(--color-gold);
    color: var(--color-white);
}

.product-badge.sale {
    background: #c0392b;
    color: var(--color-white);
}

.product-badge.trending {
    background: var(--color-maroon);
    color: var(--color-white);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 6px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.product-price .current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
}

.product-price .original {
    font-size: 0.85rem;
    color: var(--color-medium-gray);
    text-decoration: line-through;
}

.product-price .discount {
    font-size: 0.75rem;
    font-weight: 600;
    color: #27ae60;
}

.product-sizes {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.product-sizes span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid var(--color-light-gray);
    color: var(--color-charcoal);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.product-sizes span:hover {
    border-color: var(--color-maroon);
    color: var(--color-maroon);
    background: rgba(107, 15, 43, 0.05);
}

/* ========================================
   4. COLLECTIONS
   ======================================== */
.collections {
    padding: 80px 0;
    background: var(--color-off-white);
}

.collections .section-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.collections .section-desc {
    margin: 0 auto;
    text-align: center;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.collection-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.collection-card:hover img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(74, 10, 30, 0.85) 0%,
            rgba(107, 15, 43, 0.2) 50%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 24px;
    transition: background var(--transition-base);
}

.collection-card:hover .collection-overlay {
    background: linear-gradient(to top,
            rgba(218, 165, 32, 0.85) 0%,
            rgba(107, 15, 43, 0.3) 50%,
            transparent 100%);
}

.collection-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 8px;
    transition: color var(--transition-base);
}

.collection-card:hover .collection-label {
    color: var(--color-white);
}

.collection-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
}

.collection-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.collection-card:hover .collection-link {
    opacity: 1;
    transform: translateY(0);
}

.collection-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.collection-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   5. ABOUT SECTION
   ======================================== */
.about {
    padding: 80px 0;
    background: var(--color-white);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    z-index: -1;
}

.about-content .section-desc {
    margin-bottom: 24px;
    text-align: left;
    margin-left: 0;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-subtitle {
    text-align: left;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.about-stat h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-maroon);
    line-height: 1;
    margin-bottom: 4px;
}

.about-stat p {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-medium-gray);
}

/* ========================================
   6. CONTACT SECTION
   ======================================== */
.contact {
    padding: 80px 0;
    background: var(--color-off-white);
}

.contact .section-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact .section-desc {
    margin: 0 auto;
    text-align: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-maroon);
}

.contact-item h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-maroon);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    line-height: 1.6;
}

.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-light-gray);
    border-radius: 50%;
    color: var(--color-charcoal);
    transition: all var(--transition-base);
}

.contact-social a:hover {
    background: var(--color-maroon);
    border-color: var(--color-maroon);
    color: var(--color-white);
    transform: translateY(-3px);
}

.contact-social a svg {
    width: 18px;
    height: 18px;
}

.contact-form {
    background: var(--color-white);
    padding: 48px;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    background: var(--color-cream);
    color: var(--color-charcoal);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-maroon);
    box-shadow: 0 0 0 3px rgba(107, 15, 43, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-medium-gray);
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
}

.mobile-company-logo {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
    text-align: center;
}

.mobile-company-badge {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
}

/* ========================================
   7. FOOTER
   ======================================== */
.footer {
    background: var(--color-maroon-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-brand .logo-img {
    filter: brightness(1.2);
}

.footer-brand .company-badge {
    height: 34px;
    width: auto;
    opacity: 1;
    filter: none;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col ul a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--color-gold);
    padding-left: 4px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    font-size: 0.88rem;
    border-radius: 2px 0 0 2px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
}

/* Hidden on desktop, visible on mobile via media query */
.mobile-nav-actions {
    display: none;
}

.newsletter-form button {
    padding: 14px 24px;
    background: var(--color-gold);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 0 2px 2px 0;
    transition: background var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--color-gold-dark);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links a:hover {
    color: var(--color-gold);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-maroon-deep);
    color: var(--color-white);
    padding: 16px 28px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast .toast-icon {
    color: var(--color-gold);
}

/* ========================================
   PRODUCT DETAIL PAGE (PDP)
   ======================================== */

.pdp-page {
    padding-top: var(--header-height);
    min-height: 100vh;
    background: var(--color-white);
}

/* Breadcrumb */
.pdp-breadcrumb {
    padding: 24px 0;
    font-size: 0.85rem;
    color: var(--color-medium-gray);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pdp-breadcrumb a {
    color: var(--color-dark-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}

.pdp-breadcrumb a:hover {
    color: var(--color-maroon);
}

.pdp-breadcrumb span {
    margin: 0 12px;
    color: #cbd5e1;
    font-weight: 300;
}

/* Main Layout */
.pdp-layout {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 32px;
    padding: 40px 0 80px;
    align-items: start;
}

/* Thumbnail Strip */
.pdp-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.pdp-thumb {
    width: 72px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--color-cream);
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-thumb:hover {
    border-color: var(--color-medium-gray);
}

.pdp-thumb.active {
    border-color: var(--color-maroon);
    box-shadow: 0 0 0 1px var(--color-maroon);
}

/* Main Image */
.pdp-main-image {
    position: sticky;
    top: calc(var(--header-height) + 40px);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-cream);
    aspect-ratio: 3 / 4;
    cursor: crosshair;
}

.pdp-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pdp-main-image:hover img {
    transform: scale(1.05);
}

/* Product Info Panel */
.pdp-info {
    padding: 0 20px;
}

.pdp-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.pdp-badge.new {
    background: var(--color-gold);
    color: var(--color-white);
}

.pdp-badge.trending {
    background: var(--color-maroon);
    color: var(--color-white);
}

.pdp-badge.sale {
    background: #c0392b;
    color: var(--color-white);
}

.pdp-product-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 12px;
}

.pdp-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pdp-price .current {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-maroon);
}

.pdp-price .original {
    font-size: 1.1rem;
    color: var(--color-medium-gray);
    text-decoration: line-through;
}

.pdp-price .discount {
    font-size: 0.85rem;
    font-weight: 700;
    color: #27ae60;
    background: rgba(39, 174, 96, 0.08);
    padding: 4px 12px;
    border-radius: 12px;
}

.pdp-description {
    font-size: 1rem;
    color: var(--color-dark-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Highlights */
.pdp-highlights {
    margin-bottom: 28px;
}

.pdp-highlights h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 14px;
}

.pdp-highlights ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pdp-highlights li {
    font-size: 0.92rem;
    color: var(--color-dark-gray);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.pdp-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 700;
}

/* Dividers */
.pdp-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 24px 0;
}

/* Size Selector */
.pdp-section {
    margin-bottom: 24px;
}

.pdp-section h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-dark-gray);
    margin-bottom: 12px;
}

.pdp-sizes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pdp-size-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 18px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-light-gray);
    border-radius: 8px;
    background: transparent;
    color: var(--color-dark-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pdp-size-pill:hover {
    border-color: var(--color-maroon);
    color: var(--color-maroon);
}

.pdp-size-pill.active {
    border-color: var(--color-maroon);
    background: rgba(107, 15, 43, 0.08);
    color: var(--color-maroon);
}

/* Quantity Picker */
/* Quantity Selector */
/* Modern Quantity Selector */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 6px;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 10px;
}

.quantity-selector:hover {
    border-color: var(--color-maroon);
    background: #fff;
    box-shadow: 0 4px 15px rgba(107, 15, 43, 0.08);
    transform: translateY(-1px);
}

#qtyMinus,
#qtyPlus {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--color-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 0;
}

#qtyMinus:hover,
#qtyPlus:hover {
    background: var(--color-maroon);
    color: #fff;
    transform: scale(1.1);
}

#qtyMinus:active,
#qtyPlus:active {
    transform: scale(0.95);
}

.qty-input {
    width: 40px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-black);
    outline: none;
    pointer-events: none;
    padding: 0;
}

/* Action Buttons */
.pdp-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.pdp-actions .btn {
    flex: 1;
    padding: 18px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    /* Modern rounded buttons */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-maroon), var(--color-maroon-deep));
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(107, 15, 43, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 15, 43, 0.3);
}

.btn-buy {
    background: #fff;
    color: var(--color-maroon);
    border: 2px solid var(--color-maroon);
}

.btn-buy:hover {
    background: var(--color-maroon);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 15, 43, 0.2);
}

/* Delivery Info */
.pdp-delivery {
    margin-top: 32px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pdp-delivery-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--color-dark-gray);
}

.pdp-delivery-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-maroon);
    flex-shrink: 0;
}

.pdp-delivery-item strong {
    color: var(--color-black);
    font-weight: 600;
}

/* Shake animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

.shake {
    animation: shake 0.5s ease;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .pdp-layout {
        grid-template-columns: 70px 1fr 1fr;
        gap: 24px;
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 380px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        background: var(--color-white);
        box-shadow: -16px 0 48px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-base);
        z-index: 1050;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .header-actions {
        display: none !important;
    }

    /* Mobile nav action links (cart, profile, login) inside hamburger menu */
    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 20px;
        margin-top: 12px;
    }

    .mobile-nav-actions a,
    .mobile-nav-actions button {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 32px;
        font-size: 0.92rem;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--color-charcoal);
        text-decoration: none;
        border: none;
        background: none;
        cursor: pointer;
        transition: color 0.2s, background 0.2s;
        width: 100%;
        text-align: left;
    }

    .mobile-nav-actions a:hover,
    .mobile-nav-actions button:hover {
        color: var(--color-maroon);
        background: rgba(107, 15, 43, 0.04);
    }

    .mobile-nav-actions svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .header .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .logo-text {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        color: var(--color-maroon);
        line-height: 1;
    }

    .logo-text .logo-v {
        font-size: 2.8rem;
        transform: translateY(-0.08em);
    }

    .logo-img {
        height: 40px;
    }

    .header-company-logo {
        display: flex;
        order: 3;
        margin-right: 4px;
    }

    .header-company-badge {
        height: 30px;
    }

    .hamburger {
        display: flex;
        order: 4;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1040;
    }

    .mobile-overlay.visible {
        display: block;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-info {
        padding: 14px;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-height: 400px;
    }

    .about-image-accent {
        display: none;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .mobile-company-logo {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .products,
    .collections,
    .about,
    .contact {
        padding: 60px 0;
    }

    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .logo-img {
        height: 32px;
    }

    .header-company-badge {
        height: 28px;
    }

    /* PDP responsive */
    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 0 60px;
    }

    .pdp-thumbnails {
        flex-direction: row;
        order: 2;
        position: static;
        overflow-x: auto;
        gap: 8px;
        padding-bottom: 4px;
    }

    .pdp-thumb {
        width: 64px;
        height: 80px;
        flex-shrink: 0;
    }

    .pdp-main-image {
        order: 1;
        position: static;
        aspect-ratio: 3/4;
    }

    .pdp-info {
        order: 3;
        padding: 0;
    }

    .pdp-product-name {
        font-size: 1.6rem;
    }

    .pdp-price .current {
        font-size: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-trust-badges {
        gap: 16px;
        padding-top: 24px;
    }

    .hero-content {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
    }

    .hero-tagline {
        margin-bottom: 40px;
    }

    .btn {
        width: 100%;
        padding: 14px 32px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-sizes span {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 16px;
        letter-spacing: 3px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .logo-img {
        height: 32px;
    }

    /* PDP mobile */
    .pdp-product-name {
        font-size: 1.3rem;
    }

    .pdp-price .current {
        font-size: 1.3rem;
    }

    .pdp-actions {
        flex-direction: column;
    }

    .pdp-actions .btn {
        width: 100%;
    }

    .pdp-size-pill {
        min-width: 42px;
        height: 42px;
        font-size: 0.8rem;
    }

    .qty-btn {
        width: 42px;
        height: 42px;
    }

    .qty-value {
        width: 46px;
        height: 42px;
        line-height: 42px;
    }
}

/* ========================================
   NEW DYNAMIC FEATURES — Added for full-stack
   ======================================== */

/* ── Header Actions (Cart Icon) ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    order: 3;
    margin-right: 8px;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--color-charcoal);
    transition: color var(--transition-fast);
}

.cart-btn:hover {
    color: var(--color-maroon);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--color-maroon);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── Global Spinner ── */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-light-gray);
    border-top-color: var(--color-maroon);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.products-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    color: var(--color-dark-gray);
}

/* ── Toast types ── */
.toast.success {
    background: #1a6b3c;
}

.toast.error {
    background: #7b1d1d;
}

/* ── OTP Modal Overlay ── */
.otp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 16, 0.7);
    backdrop-filter: blur(4px);
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s;
}

.otp-overlay.show {
    display: block;
    opacity: 1;
}

/* ── OTP Modal ── */
.otp-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 520px;
    max-height: 95vh;
    overflow: hidden;
    z-index: 3100;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.otp-modal.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .otp-modal {
        max-width: 90%;
        width: 95%;
        padding: 18px 16px;
        max-height: 95vh;
    }
}

@media (max-width: 480px) {
    .otp-modal {
        max-width: 100%;
        width: 95%;
        padding: 16px 14px;
        max-height: 95vh;
        border-radius: 12px;
    }
}

.otp-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.otp-close:hover {
    color: var(--color-maroon);
}

.otp-modal-header {
    text-align: center;
    margin-bottom: 18px;
}

.otp-logo {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 12px;
}

@media (max-width: 480px) {
    .otp-logo {
        width: 48px;
        height: 48px;
        margin: 0 auto 10px;
    }
}

.otp-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-black);
    margin-bottom: 4px;
    font-weight: 600;
}

.otp-modal-header p {
    font-size: 0.85rem;
    color: var(--color-medium-gray);
}

@media (max-width: 480px) {
    .otp-modal-header h2 {
        font-size: 1.1rem;
    }

    .otp-modal-header p {
        font-size: 0.8rem;
    }
}

.otp-field-group {
    margin-bottom: 12px;
}

.otp-field-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 6px;
}

.required-star {
    color: #c0392b;
}

.otp-phone-input {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--color-light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.otp-phone-input:focus-within {
    border-color: var(--color-maroon);
}

.otp-flag {
    padding: 12px 14px;
    background: #f9f9f9;
    border-right: 1px solid var(--color-light-gray);
    font-size: 0.88rem;
    color: var(--color-charcoal);
    white-space: nowrap;
}

.otp-phone-input input,
.otp-field-group input {
    width: 100%;
    padding: 10px 12px;
    border: none;
    font-size: 0.92rem;
    background: transparent;
    outline: none;
    color: var(--color-black);
}

.otp-field-group>input {
    border: 1.5px solid var(--color-light-gray);
    border-radius: 10px;
    letter-spacing: normal;
    text-align: left;
    font-size: 0.92rem;
    font-weight: 500;
    transition: border-color 0.2s;
}

.otp-field-group>input:focus {
    border-color: var(--color-maroon);
}

.otp-action-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.88rem;
    letter-spacing: 1px;
    border-radius: 8px;
    margin-top: 6px;
    font-weight: 600;
}

@media (max-width: 480px) {
    .otp-action-btn {
        padding: 10px;
        font-size: 0.8rem;
    }
}

.otp-resend-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--color-maroon);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px;
    margin-top: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.otp-resend-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.otp-msg {
    font-size: 0.78rem;
    min-height: 18px;
    margin-top: 8px;
    text-align: center;
    border-radius: 6px;
    padding: 3px 0;
}

.otp-msg.error {
    color: #c0392b;
}

.otp-msg.success {
    color: #27ae60;
}

.otp-terms {
    font-size: 0.7rem;
    color: #bbb;
    text-align: center;
    margin-top: 10px;
    line-height: 1.3;
}

.otp-readonly {
    background: #f7f7f7 !important;
    color: #666 !important;
    cursor: not-allowed;
}

.otp-terms a {
    color: var(--color-maroon);
    text-decoration: underline;
}

/* OTP Gender Dropdown */
.otp-field-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--color-light-gray);
    border-radius: 10px;
    font-size: 0.92rem;
    background-color: #fff;
    color: var(--color-black);
    outline: none;
    transition: border-color 0.2s;
    cursor: pointer;
    font-family: inherit;
}

.otp-field-group select:focus {
    border-color: var(--color-maroon);
}

.otp-field-group select:hover {
    border-color: var(--color-maroon);
}

@media (max-width: 480px) {
    .otp-msg {
        font-size: 0.78rem;
        margin-top: 10px;
    }

    .otp-terms {
        font-size: 0.7rem;
        margin-top: 12px;
    }
}

/* ── Cart Page ── */
.cart-page {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 80px;
    min-height: 100vh;
}

.cart-page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 32px;
}

.cart-loading {
    text-align: center;
    padding: 80px 24px;
    color: var(--color-medium-gray);
}

.cart-empty {
    text-align: center;
    padding: 100px 24px;
    color: var(--color-dark-gray);
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.cart-empty h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-black);
}

.cart-empty p {
    margin-bottom: 24px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.cart-col-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 20px;
}

/* Cart Items */
.cart-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    position: relative;
    transition: box-shadow 0.2s;
}

.cart-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cart-item-img {
    width: 90px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--color-cream);
}

.cart-item-info h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-black);
}

.cart-item-size,
.cart-item-qty {
    font-size: 0.85rem;
    color: var(--color-dark-gray);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-black);
    margin-top: 8px;
}

.cart-remove-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #ccc;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.cart-remove-btn:hover {
    color: #c0392b;
}

/* Cart Summary */
.cart-summary-card,
.cart-address-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
}

.cart-summary-row:last-child {
    border-bottom: none;
}

.cart-summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-black);
}

.free-tag {
    color: #27ae60;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Address selection */
.cart-address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.addr-add-link {
    font-size: 0.8rem;
    color: var(--color-maroon);
    font-weight: 600;
    margin-bottom: 4px;
}

.addr-add-link:hover {
    text-decoration: underline;
}

.addr-option-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.addr-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    flex: 1;
    font-size: 0.85rem;
    color: var(--color-charcoal);
    line-height: 1.6;
    transition: all 0.2s;
}

.addr-option:hover {
    border-color: var(--color-maroon);
    background: rgba(107, 15, 43, 0.02);
}

.addr-option.selected {
    border-color: var(--color-maroon);
    background: rgba(107, 15, 43, 0.04);
}

.addr-radio {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    accent-color: var(--color-maroon);
    flex-shrink: 0;
}

.addr-option-content {
    flex: 1;
}

.addr-incomplete-msg {
    margin-top: 6px;
    color: #c0392b;
    font-size: 0.75rem;
    font-weight: 600;
}

.addr-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.addr-edit-btn,
.addr-delete-btn {
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
}

.addr-edit-btn {
    color: #2196F3;
    border: 1px solid #2196F3;
}

.addr-edit-btn:hover {
    background: #e3f2fd;
}

.addr-delete-btn {
    color: #f44336;
    border: 1px solid #f44336;
}

.addr-delete-btn:hover {
    background: #ffebee;
}

.no-addr {
    text-align: center;
    padding: 20px 0;
    color: var(--color-medium-gray);
}

.no-addr p {
    margin-bottom: 14px;
}

.cart-proceed-btn {
    width: 100%;
    padding: 16px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    border-radius: 12px;
}

.cart-proceed-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Address Page ── */
.address-page {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--color-off-white);
}

.address-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.addr-main-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.addr-recipient-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.addr-full {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-light-gray);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: var(--color-maroon);
}

.form-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 12px;
    min-height: 20px;
}

.addr-submit-btn {
    margin-top: 24px;
    width: 100%;
    padding: 16px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    border-radius: 12px;
}

/* Order Mode Toggle */
.order-mode-toggle {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-light-gray);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-maroon);
}

.checkbox-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
    transition: color 0.2s;
}

.checkbox-label:hover .checkbox-text {
    color: var(--color-maroon);
}

/* Form Sections */
.form-section {
    margin-bottom: 28px;
}

.section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-light-gray);
    letter-spacing: 0.5px;
}

@media (max-width: 600px) {
    .addr-grid {
        grid-template-columns: 1fr;
    }

    .address-form-card {
        padding: 24px 20px;
    }
}

/* ── Order Success Page ── */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--color-off-white), var(--color-cream));
}

.success-card {
    background: #fff;
    border-radius: 24px;
    padding: 60px 48px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-card h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-black);
    margin-bottom: 12px;
}

.success-sub {
    font-size: 0.92rem;
    color: var(--color-dark-gray);
    margin-bottom: 8px;
}

.success-order-id {
    background: var(--color-cream);
    border: 1px dashed var(--color-gold);
    border-radius: 10px;
    padding: 14px 24px;
    font-weight: 700;
    color: var(--color-maroon);
    font-size: 1.1rem;
    margin: 20px 0;
}

.success-actions {
    margin-top: 24px;
}

/* ── Product ATC button on grid ── */
.product-atc-btn {
    padding: 10px 16px !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    border-radius: 4px !important;
}

/* ── User Icon & Dropdown ── */
.user-menu-wrap {
    position: relative;
}

.user-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-charcoal);
    transition: color var(--transition-fast);
    border-radius: 50%;
}

.user-icon-btn:hover {
    color: var(--color-maroon);
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 2000;
    padding: 8px 0;
    border: 1px solid #f0f0f0;
}

.user-dropdown.open {
    display: block;
}

.dropdown-user-info {
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-maroon);
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--color-charcoal);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.dropdown-item:hover {
    background: #f8f5f0;
}

.dropdown-logout {
    color: #c0392b;
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
}

.dropdown-logout:hover {
    background: #fdf0f0;
    color: #a93226;
}

/* ── My Orders Page ── */
.orders-page {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 80px;
    min-height: 100vh;
}

.order-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.order-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #faf8f6;
    border-bottom: 1px solid #f0f0f0;
}

.order-id {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-black);
    margin-right: 12px;
}

.order-date {
    font-size: 0.82rem;
    color: var(--color-medium-gray);
}

.order-status-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.order-card-body {
    padding: 16px 20px;
}

.order-address {
    font-size: 0.85rem;
    color: var(--color-dark-gray);
    line-height: 1.6;
}

.order-card-footer {
    padding: 12px 20px;
    border-top: 1px solid #f5f5f5;
    text-align: right;
}

.order-total {
    font-size: 1rem;
    color: var(--color-charcoal);
}

.order-total strong {
    color: var(--color-black);
    font-size: 1.1rem;
}

/* ── Shake animation (size select) ── */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-4px);
    }

    40%,
    80% {
        transform: translateX(4px);
    }
}

.shake {
    animation: shake 0.5s ease;
}

/* ========================================
   OTP REGISTRATION FIELDS (New User)
   ======================================== */
#otpRegFields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 10px;
    padding-top: 0;
    border-top: 0;
    animation: fadeInUp 0.35s ease;
}

#otpRegFields .otp-field-group {
    margin-bottom: 0;
}

#otpRegFields .otp-field-group:nth-child(3),
#otpRegFields .otp-field-group:nth-child(4) {
    grid-column: auto;
}

#otpRegFields .otp-field-group>input {
    letter-spacing: normal;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 400;
}

@media (max-width: 1000px) {
    #otpRegFields {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

#otpStep2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#otpStep2>.otp-field-group:last-of-type {
    margin-top: 8px;
}

.otp-gender-options {
    display: flex;
    gap: 10px;
}

.otp-gender-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1.5px solid var(--color-light-gray);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-charcoal);
    transition: all 0.2s;
    min-height: 44px;
}

.otp-gender-option:hover {
    border-color: var(--color-maroon);
    background: rgba(107, 15, 43, 0.03);
}

.otp-gender-option input[type="radio"] {
    width: auto;
    padding: 0;
    accent-color: var(--color-maroon);
}

.otp-gender-option input[type="radio"]:checked+span {
    color: var(--color-maroon);
    font-weight: 600;
}

@media (max-width: 480px) {
    .otp-gender-options {
        gap: 8px;
    }

    .otp-gender-option {
        padding: 10px 6px;
        font-size: 0.78rem;
        gap: 4px;
        min-height: 40px;
    }
}

.otp-gender-option:has(input:checked) {
    border-color: var(--color-maroon);
    background: rgba(107, 15, 43, 0.05);
}

/* ========================================
   CUSTOMER DASHBOARD
   ======================================== */
.dashboard-body {
    margin: 0;
    font-family: 'Inter', var(--font-primary);
    background: #f7f5f2;
    min-height: 100vh;
}

/* ── Dashboard Header ── */
.dash-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.dash-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.dash-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.dash-header .logo-img {
    height: 36px;
    border-radius: 50%;
}

.dash-header .logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-maroon);
}

.dash-header .logo-v {
    font-size: 1.8rem;
    display: inline-block;
    transform: translateY(-0.05em);
}

.dash-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-charcoal);
    border-radius: 50%;
    transition: all 0.2s;
}

.dash-cart-link:hover {
    color: var(--color-maroon);
    background: rgba(107, 15, 43, 0.06);
}

.dash-mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--color-charcoal);
    cursor: pointer;
    border-radius: 8px;
}

.dash-mobile-toggle:hover {
    background: #f5f3f0;
}

/* ── Dashboard Layout ── */
.dash-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 65px);
}

/* ── Sidebar ── */
.dash-sidebar {
    background: #fff;
    border-right: 1px solid #eee;
    padding: 24px 0;
    position: sticky;
    top: 65px;
    height: calc(100vh - 65px);
    overflow-y: auto;
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 12px;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 13px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    white-space: nowrap;
}

.dash-nav-item:hover {
    background: #f8f5f2;
    color: var(--color-charcoal);
}

.dash-nav-item.active {
    background: rgba(107, 15, 43, 0.07);
    color: var(--color-maroon);
    font-weight: 600;
}

.dash-nav-item svg {
    flex-shrink: 0;
}

.dash-nav-divider {
    height: 1px;
    background: #eee;
    margin: 12px 18px;
}

.dash-nav-logout {
    color: #c0392b;
}

.dash-nav-logout:hover {
    background: #fdf0f0;
    color: #a93226;
}

/* ── Sidebar Overlay (mobile) ── */
.dash-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 150;
}

.dash-sidebar-overlay.visible {
    display: block;
}

/* ── Content Area ── */
.dash-content {
    padding: 32px 40px 60px;
    overflow-y: auto;
}

/* ── Sections ── */
.dash-section {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.dash-section.active {
    display: block;
}

.dash-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 24px;
}

/* ── Welcome Card ── */
.dash-welcome-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, var(--color-maroon), #8b1a3a);
    border-radius: 16px;
    padding: 28px 32px;
    color: #fff;
    margin-bottom: 28px;
}

.dash-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0;
}

.dash-welcome-info h1 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.dash-welcome-sub {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
}

/* ── Quick Links ── */
.dash-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.dash-quick-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}

.dash-quick-card:hover {
    border-color: var(--color-maroon);
    box-shadow: 0 6px 24px rgba(107, 15, 43, 0.1);
    transform: translateY(-3px);
}

.dash-quick-icon {
    width: 52px;
    height: 52px;
    background: rgba(107, 15, 43, 0.07);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--color-maroon);
}

.dash-quick-card h3 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 4px;
}

.dash-quick-card p {
    font-size: 0.78rem;
    color: var(--color-medium-gray);
    margin: 0;
}

/* ── Recent Orders + Order Cards ── */
.dash-recent-orders h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 16px;
}

.dash-simple-list {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.dash-order-list-item {
    padding: 16px 18px;
    border-bottom: 1px solid #f1f1f1;
}

.dash-order-list-item:last-child {
    border-bottom: none;
}

.dash-order-list-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.dash-order-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-dark-gray);
    font-size: 0.84rem;
    gap: 10px;
}

.dash-order-list-address {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: var(--color-medium-gray);
}

.dash-order-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s;
}

.dash-order-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.dash-order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dash-order-id {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-black);
}

.dash-order-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--color-dark-gray);
}

.dash-order-amount {
    font-weight: 700;
    color: var(--color-black);
}

.dash-order-details {
    border-top: 1px solid #f5f5f5;
    padding-top: 12px;
}

.dash-order-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.84rem;
}

.dash-label {
    color: var(--color-medium-gray);
}

.dash-value {
    color: var(--color-charcoal);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

/* ── Status Badges ── */
.dash-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dash-status-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.dash-status-pending {
    background: #fff8e1;
    color: #f57f17;
}

.dash-status-info {
    background: #e3f2fd;
    color: #1565c0;
}

.dash-status-error {
    background: #ffebee;
    color: #c62828;
}

.dash-status-default {
    background: #f5f5f5;
    color: #666;
}

/* ── Loading & Empty States ── */
.dash-loading {
    text-align: center;
    padding: 60px 24px;
    color: var(--color-medium-gray);
}

.dash-empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--color-dark-gray);
}

.dash-empty-state svg {
    color: #ccc;
    margin-bottom: 16px;
}

.dash-empty-state p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.dash-empty-hint {
    font-size: 0.82rem;
    color: var(--color-medium-gray);
}

.dash-empty-state .btn {
    margin-top: 16px;
    display: inline-block;
    width: auto;
    padding: 12px 32px;
}

.dash-error {
    text-align: center;
    color: #c0392b;
    padding: 40px 24px;
}

/* ── Payments Table ── */
.dash-payments-table-wrap {
    overflow-x: auto;
}

.dash-payments-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.dash-payments-table th {
    padding: 14px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-medium-gray);
    background: #faf8f6;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dash-payments-table td {
    padding: 14px 18px;
    font-size: 0.88rem;
    color: var(--color-charcoal);
    border-bottom: 1px solid #f5f5f5;
}

.dash-payments-table tr:last-child td {
    border-bottom: none;
}

.dash-payments-table tr:hover td {
    background: #faf8f6;
}

/* ── Address Card ── */
.dash-address-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
}

.dash-address-list {
    display: grid;
    gap: 12px;
}

.dash-address-list-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px 18px;
}

.dash-address-list-item h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: var(--color-black);
}

.dash-address-list-item p {
    margin: 0 0 3px;
    color: var(--color-dark-gray);
    font-size: 0.86rem;
}

.dash-address-icon {
    width: 48px;
    height: 48px;
    background: rgba(107, 15, 43, 0.07);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-maroon);
    flex-shrink: 0;
}

.dash-address-details h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
}

.dash-address-details p {
    margin: 0 0 4px;
    font-size: 0.88rem;
    color: var(--color-dark-gray);
    line-height: 1.5;
}

.dash-address-mobile {
    margin-top: 8px !important;
    font-weight: 500;
    color: var(--color-charcoal) !important;
}

/* ── Profile Form ── */
.dash-profile-form {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px;
}

.dash-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.dash-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.dash-form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--color-light-gray);
    border-radius: 10px;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
}

.dash-form-group input:focus {
    border-color: var(--color-maroon);
}

.dash-input-disabled {
    background: #f8f8f8 !important;
    color: #999 !important;
    cursor: not-allowed;
}

.dash-gender-options {
    display: flex;
    gap: 10px;
}

.dash-gender-opt {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px;
    border: 1.5px solid var(--color-light-gray);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-charcoal);
    transition: all 0.2s;
}

.dash-gender-opt:hover {
    border-color: var(--color-maroon);
}

.dash-gender-opt input[type="radio"] {
    accent-color: var(--color-maroon);
}

.dash-gender-opt:has(input:checked) {
    border-color: var(--color-maroon);
    background: rgba(107, 15, 43, 0.05);
}

.dash-gender-opt input:checked+span {
    color: var(--color-maroon);
    font-weight: 600;
}

.dash-save-btn {
    margin-top: 8px;
    padding: 14px 40px;
    width: auto;
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    border-radius: 10px;
}

/* ── Dashboard Responsive ── */
@media (max-width: 900px) {
    .dash-layout {
        grid-template-columns: 1fr;
    }

    .dash-sidebar {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100vh;
        z-index: 200;
        transition: left 0.3s ease;
        padding-top: 80px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .dash-sidebar.open {
        left: 0;
    }

    .dash-mobile-toggle {
        display: flex;
    }

    .dash-content {
        padding: 24px 20px 60px;
    }

    .dash-quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-form-row {
        grid-template-columns: 1fr;
    }

    .dash-profile-form {
        padding: 24px 20px;
    }

    .dash-welcome-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .dash-quick-links {
        grid-template-columns: 1fr;
    }

    .dash-content {
        padding: 20px 16px 60px;
    }

    .dash-order-detail-row {
        flex-direction: column;
        gap: 2px;
    }

    .dash-value {
        text-align: left;
        max-width: 100%;
    }
}