/* CSS Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Fonts: All Round Gothic (headings) + Inter (body) */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #111111;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Apply All Round Gothic to all headings */
h1, h2, h3, h4, h5, h6,
.hero__title,
.section__title,
.card__title,
.footer__title,
.nav__dropdown-title {
    font-family: "all-round-gothic", sans-serif;
    font-weight: 600;
}

/* Global list styling */
ul,
ol {
    list-style-position: inside;
}

/* Enhanced Color System (Museum Monochrome) */
:root {
    /* Primary Colors */
    --primary: #111111;
    --primary-dark: #0d0d0d;
    --primary-light: #222222;
    --primary-rgb: 17, 17, 17;
    --primary-purple: #111111; /* reusing var names to neutralize */
    --primary-purple-dark: #0d0d0d;
    --primary-purple-light: #222222;
    --secondary-purple: #111111;
    --accent-blue: #111111;
    --accent-gold: #111111;
    
    /* Text Colors */
    --text-primary: #111111;
    --text-secondary: #3a3a3a;
    --text-muted: #777777;
    --text-tertiary: #9a9a9a;
    
    /* Background Colors */
    --background-white: #FFFFFF;
    --background-light: #FAFAFA;
    --background-gray: #F2F2F2;
    --background-dark: #0f0f0f;
    --background-darker: #000000;
    
    /* Border Colors */
    --border-light: #E5E5E5;
    --border-medium: #CCCCCC;
    --border-dark: #999999;
    
    /* Status Colors */
    --success: #111111;
    --success-light: #F2F2F2;
    --success-rgb: 17, 17, 17;
    --success-green: #111111;
    --warning-orange: #111111;
    --warning-light: #F2F2F2;
    --error: #111111;
    --error-light: #F2F2F2;
    --error-rgb: 17, 17, 17;
    --error-red: #111111;
    --info-blue: #111111;
    --info-light: #F2F2F2;
    
    /* Shadows (softer) */
    --shadow-light: none;
    --shadow-medium: 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-heavy: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 4px 10px rgba(0, 0, 0, 0.1);
    
    /* Gradients (neutralized) */
    --gradient-primary: #111111;
    --gradient-secondary: #111111;
    --gradient-hero: #FFFFFF;
    --gradient-gold: #111111;
    --gradient-dark: #111111;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    
    /* Border Radius (straight edges) */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;
    --radius-full: 0;
    
    /* Typography */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Editorial serif headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "all-round-gothic", sans-serif;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

/* Museum: enforce straight edges and monochrome accents */
/* Flatten all remaining rounded corners from common UI components */
.card,
.watch-card,
.listing-card,
.reference-card,
.model-image,
.product-seller,
.spec-card,
.fee-card,
.auth-form-container,
.modal-content,
.gallery-main,
.gallery-thumbnail,
.watch-card__image,
.btn,
.badge,
.condition-badge,
.popular-label,
.tab-btn,
.filter-btn,
input,
select,
textarea,
.mobile-nav,
.nav__dropdown,
.hero-gallery,
.chip,
.pill,
.gallery-thumbnail img,
.watch-card__image img {
    border-radius: 0 !important;
}

/* Thin monochrome borders where relevant */
.card,
.watch-card,
.listing-card,
.reference-card,
.model-image,
.product-seller,
.spec-card,
.fee-card,
.gallery-main,
.gallery-thumbnail,
.mobile-nav,
.nav__dropdown {
    border: 1px solid var(--border-light);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    /* Ensure content doesn't wrap */
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
}

/* Keep header centered on desktop: logo left (flex), nav centered, spacer right */
@media (min-width: 850px) {
    .header__logo { flex: 1 1 0; }
    .header__nav { flex: 0 0 auto; display: flex; justify-content: center; }
    .header__content::after { content: ""; flex: 1 1 0; }
}

/* Navigation wrapper to control visibility based on available space */
.header__nav {
    flex-shrink: 1;
    min-width: 0;
}

/* Logo */
.header__logo {
    flex-shrink: 0;
}

.logo {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo__text {
    color: var(--text-primary);
}

.logo__icon {
    font-size: 1.75rem;
    color: var(--text-primary);
}

.logo__img {
    height: 40px;
    width: auto;
    display: block;
}

/* Desktop Navigation */
.nav__list {
    display: none;
    list-style: none;
    gap: 1.5rem;
}

/* Progressive breakpoints to prevent text wrapping */
/* First show nav at a smaller gap */
@media (min-width: 850px) {
    .nav__list {
        display: flex;
        gap: 1.25rem;
    }
}

/* Then increase gap when there's more space */
@media (min-width: 1000px) {
    .nav__list {
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .nav__list {
        gap: 2rem;
    }
}

.nav__link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

/* Increase font size when there's more space */
@media (min-width: 1000px) {
    .nav__link {
        font-size: 0.95rem;
    }
}

.nav__link:hover,
.nav__link--active {
    color: var(--text-primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

/* Desktop Buy Dropdown */
.nav__item {
    position: relative;
}

.nav__dropdown {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    height: 0;
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.32, 0.08, 0.24, 1);
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav__item:hover .nav__dropdown,
.nav__item.nav__item--active .nav__dropdown {
    height: 450px;
}

.nav__dropdown-container {
    padding: 3rem 2rem 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.35s cubic-bezier(0.32, 0.08, 0.24, 1) 0.1s;
}

.nav__item:hover .nav__dropdown-container,
.nav__item.nav__item--active .nav__dropdown-container {
    opacity: 1;
    transform: translateY(0);
}

.nav__dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.nav__dropdown-column {
    min-height: 250px;
}

.nav__dropdown-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-purple);
    letter-spacing: -0.02em;
}

.nav__dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav__dropdown-item {
    margin-bottom: 0.75rem;
}

.nav__dropdown-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.2s ease;
    border-radius: var(--radius-sm);
}

.nav__dropdown-link:hover {
    color: var(--primary-purple);
    background: rgba(17, 17, 17, 0.05);
    padding-left: 0.5rem;
}

.nav__dropdown-placeholder {
    color: var(--text-muted);
    font-style: italic;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

/* Mobile responsive dropdown adjustments */
@media (max-width: 849px) {
    /* Hide desktop grid on mobile */
    .nav__dropdown-grid {
        display: none;
    }
    
    /* Disable hover on mobile */
    .nav__item:hover .nav__dropdown {
        height: 0;
    }
}

/* Mobile Menu Toggle */
.header__menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

/* Hide mobile toggle only when desktop nav is shown */
@media (min-width: 850px) {
    .header__menu-toggle {
        display: none;
    }
}

.menu-toggle__line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-toggle__line:nth-child(1) {
    top: 8px;
}

.menu-toggle__line:nth-child(2) {
    top: 14px;
}

.menu-toggle__line:nth-child(3) {
    top: 20px;
}

/* X Animation */
.header__menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

.header__menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}

/* Enhanced Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--background-white);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav[aria-hidden="false"] {
    transform: translateX(0);
}

.mobile-nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--background-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.mobile-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-nav__logo .material-icons {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.mobile-nav__logo .logo__img {
    height: 30px;
    width: auto;
}

.mobile-nav__close {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav__close:hover {
    background: var(--background-light);
}

.mobile-nav__close .material-icons {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.mobile-nav__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

/* Mobile responsiveness: universal image scaling */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Homepage responsive layout - image overlay hero */
.hero--image-overlay {
    position: relative;
    padding: 0;
    min-height: 800px;
    max-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero__image-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}
.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 4rem 0;
}
.hero__text {
    max-width: 600px;
}
@media (min-width: 768px) {
    .hero__text {
        text-align: left;
    }
    .hero__content {
        padding-left: 2rem;
    }
}
@media (max-width: 767px) {
    .hero__text {
        text-align: center;
        max-width: 100%;
    }
    .hero__content {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 6rem;
        padding-left: 0;
    }
    .hero--image-overlay {
        min-height: 500px;
        max-height: 500px;
    }
}

/* Homepage styling refinements */
.hero--image-overlay .hero__title { 
    font-family: "all-round-gothic", sans-serif; 
    font-size: clamp(2rem, 3.5vw, 3rem); 
    line-height: 1.2; 
    letter-spacing: 0.01em; 
    color: #ffffff; 
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero--image-overlay .hero__subtitle { 
    max-width: 60ch; 
    color: #ffffff; 
    margin: 0.75rem 0 1.25rem; 
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
.hero--image-overlay .hero__cta { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.75rem 1.25rem; 
    border: 1px solid #ffffff; 
    color: #ffffff; 
    background: transparent; 
    text-decoration: none; 
    backdrop-filter: blur(4px);
}
.hero--image-overlay .hero__cta:hover { 
    background: rgba(255, 255, 255, 0.2);
}
.hero--image-overlay .hero__cta .material-icons { font-size: 1.2rem; }

.section { padding: 3rem 0; }
.section__title { font-family: "all-round-gothic", sans-serif; font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--text-primary); margin-bottom: 1rem; }
.section__content { margin-bottom: 1.25rem; }
.section__text { color: var(--text-secondary); }

.card { border: 1px solid var(--border-light); box-shadow: none; }
.card__title { display: flex; align-items: center; gap: 0.5rem; color: var(--text-primary); }
.card__title .material-icons { color: var(--text-primary); font-size: 1.2rem; }
.card__text { color: var(--text-secondary); }

.brands__strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: center;
}

.highlights__mosaic {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 220px;
    gap: 1rem;
}
.highlights__item {
    border: 1px solid var(--border-light);
    overflow: hidden;
}
.highlights__item--tall {
    grid-row: span 2;
}
.highlights__item--wide {
    grid-column: span 2;
}

.cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}
.cta__image {
    width: 100%;
    aspect-ratio: 3/2;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

@media (max-width: 900px) {
    .brands__strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    .highlights__mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .highlights__item--wide {
        grid-column: span 2;
    }
    .cta__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero__image { aspect-ratio: 3/4; }
    .brands__strip { grid-template-columns: repeat(2, 1fr); }
    .highlights__mosaic { grid-template-columns: 1fr; grid-auto-rows: 200px; }
}

/* Article layout responsive */
.product-specs-grid + .product-specs-grid { margin-top: 1rem; }
.article-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.article-toc { position: sticky; top: 90px; height: max-content; }
@media (max-width: 900px) {
    .article-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .article-toc { position: static; }
}

/* Article body container - optimal reading width and spacing */
.article-body {
    max-width: 100%;
    color: var(--text-primary);
}

/* Article imagery spacing and presentation */
.article-body figure { 
    border: 1px solid var(--border-light); 
    background: var(--background-white);
    padding: 0.5rem; 
    margin: 2rem 0 2.5rem;
}
.article-body p { 
    margin: 1.25rem 0 1.5rem; 
    line-height: 1.85;
    font-size: 1.0625rem;
    color: var(--text-primary);
}
.article-body h2 { 
    margin: 3rem 0 1.25rem;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}
.article-body h3 { 
    margin: 2.25rem 0 1rem;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-primary);
}
.article-body h4 { 
    margin: 1.75rem 0 0.875rem;
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: 600;
    color: var(--text-primary);
}
/* Enhanced list styling for better readability */
.article-body ul,
.article-body ol { 
    margin: 1.5rem 0 2rem; 
    padding-left: 0;
    list-style-position: outside;
    padding-left: 1.75rem;
}
.article-body ul {
    list-style-type: disc;
}
.article-body ol {
    list-style-type: decimal;
}
.article-body li { 
    margin: 0.75rem 0; 
    padding-left: 0.5rem;
    line-height: 1.8;
    font-size: 1.0625rem;
    color: var(--text-primary);
}
.article-body li::marker {
    color: var(--text-secondary);
    font-weight: 500;
}
.article-body li > ul,
.article-body li > ol { 
    margin-top: 0.75rem; 
    margin-bottom: 0.75rem;
    padding-left: 2rem;
}
.article-body li > ul {
    list-style-type: circle;
}
.article-body li > ul > li > ul {
    list-style-type: square;
}
.article-body figure > img { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
}
.article-body figcaption { 
    color: var(--text-secondary); 
    margin-top: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    font-style: italic;
}
.article-body p + figure { margin-top: 1.75rem; }
figure + .article-body p, .article-body figure + p { margin-top: 1.5rem; }
/* Better spacing for paragraphs after headings */
.article-body h2 + p,
.article-body h3 + p,
.article-body h4 + p {
    margin-top: 1rem;
}
/* Enhanced readability for strong/bold text */
.article-body strong {
    font-weight: 600;
    color: var(--text-primary);
}
/* Better spacing for lists after paragraphs */
.article-body p + ul,
.article-body p + ol {
    margin-top: 1.25rem;
}

/* Responsive improvements for article body */
@media (max-width: 768px) {
    .article-body p {
        font-size: 1rem;
        line-height: 1.75;
        margin: 1rem 0 1.25rem;
    }
    .article-body h2 {
        font-size: 1.75rem;
        margin: 2.5rem 0 1rem;
    }
    .article-body h3 {
        font-size: 1.375rem;
        margin: 2rem 0 0.875rem;
    }
    .article-body h4 {
        font-size: 1.125rem;
        margin: 1.5rem 0 0.75rem;
    }
    .article-body ul,
    .article-body ol {
        padding-left: 1.5rem;
        margin: 1.25rem 0 1.75rem;
    }
    .article-body li {
        margin: 0.625rem 0;
        font-size: 1rem;
    }
    .article-body figure {
        margin: 1.5rem 0 2rem;
    }
}

@media (min-width: 1100px) {
    /* Give images a bit more breathing room on wide screens */
    .article-body figure { padding: 0.75rem; margin: 2rem 0 2.5rem; }
    /* Optimal reading width for paragraphs */
    .article-body p {
        max-width: 65ch;
    }
}

/* ==============================
   Individual Watch - Responsive
   ============================== */
.product-hero__content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.product-gallery .gallery-main {
    border: 1px solid var(--border-light);
}

.product-gallery .gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

@media (max-width: 1024px) {
    .product-hero__content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .product-gallery .gallery-thumbnails {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 30%;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }
    .product-gallery .gallery-thumbnail {
        min-width: 140px;
    }
}

/* Condition grid and detail cards */
.condition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 1024px) {
    .condition-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .condition-grid { grid-template-columns: 1fr; }
}

/* Specs and seller blocks if present later */
.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 768px) {
    .product-specs-grid { grid-template-columns: 1fr; }
}

.mobile-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-nav__item {
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav__item:last-child {
    border-bottom: none;
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link--active {
    color: var(--primary-purple);
    background: rgba(17, 17, 17, 0.05);
}

.mobile-nav__link .material-icons {
    font-size: 1.25rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.mobile-nav__link:hover .material-icons,
.mobile-nav__link--active .material-icons {
    color: var(--primary-purple);
}

.mobile-nav__link--toggle {
    justify-content: space-between;
}

.mobile-nav__link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav__link-content .material-icons {
    font-size: 1.25rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.mobile-nav__link:hover .mobile-nav__link-content .material-icons,
.mobile-nav__link--active .mobile-nav__link-content .material-icons {
    color: var(--primary-purple);
}

.mobile-nav__toggle-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.mobile-nav__item--has-submenu.mobile-nav__item--open .mobile-nav__toggle-icon {
    transform: rotate(180deg);
}

.mobile-nav__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--background-light);
}

.mobile-nav__item--open .mobile-nav__submenu {
    max-height: 500px;
}

.mobile-nav__submenu-section {
    padding: 1rem 1.5rem 0.5rem;
}

.mobile-nav__submenu-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav__submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav__submenu-item {
    margin-bottom: 0.5rem;
}

.mobile-nav__submenu-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.mobile-nav__submenu-link:hover {
    color: var(--primary-purple);
}

.mobile-nav__auth {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    background: var(--background-white);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Main Content */
.main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Sell Page Styles */
.sell-hero {
    color: var(--text-primary);
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #1a1a2e 75%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.sell-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

.sell-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="watch-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23watch-pattern)"/></svg>');
    opacity: 0.3;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-5px) translateY(-10px);
    }
    50% {
        transform: translateX(5px) translateY(5px);
    }
    75% {
        transform: translateX(-3px) translateY(8px);
    }
}

.sell-hero__content {
    position: relative;
    z-index: 2;
}

.sell-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sell-hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sell-hero__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat__label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.sell-process {
    padding: 4rem 0;
    background: var(--background-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

.process-step__icon {
    width: 80px;
    height: 80px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.process-step__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-step__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.sell-form-section {
    padding: 4rem 0;
}

.sell-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.sell-form__header {
    text-align: center;
    margin-bottom: 3rem;
}

.sell-form__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.sell-form__subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.sell-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed var(--border-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--background-light);
}

.file-label:hover {
    border-color: var(--primary-purple);
    background: rgba(17, 17, 17, 0.05);
}

.file-label .material-icons {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.file-text {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.file-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.checkbox-text {
    color: var(--text-secondary);
}

.link {
    color: var(--primary-purple);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.sell-benefits {
    padding: 4rem 0;
    background: var(--background-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-light);
}

.benefit__icon {
    width: 60px;
    height: 60px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.benefit__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.sell-brands {
    padding: 4rem 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.brand-item {
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.brand-item:hover {
    border-color: var(--primary-purple);
    background: rgba(17, 17, 17, 0.05);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sell-hero {
        padding: 4rem 0;
    }
    
    .sell-hero__title {
        font-size: 2rem;
    }
    
    .sell-hero__subtitle {
        font-size: 1.1rem;
    }
    
    .sell-hero__stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat__number {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .sell-form-container {
        padding: 2rem 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 91, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 4rem;
    }
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: 1.5rem;
    }
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    background: var(--gradient-secondary);
}

.hero__cta .material-icons {
    font-size: 1.25rem;
}

/* Section */
.section {
    padding: 4rem 0;
}

.section--alt {
    background: var(--background-light);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.section__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section__text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

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

@media (min-width: 768px) {
    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (min-width: 768px) {
    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Card */
.card {
    background: var(--background-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-purple);
}

.card:hover::before {
    transform: scaleX(1);
}

.card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card__title .material-icons {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.card__text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer__content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e5e7eb;
}

.footer__description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: white;
}

.footer__bottom {
    border-top: 1px solid var(--border-medium);
    padding-top: 1rem;
    text-align: center;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Enhanced Utility Classes */
/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Spacing Utilities */
.m-0 { margin: 0; }
.m-1 { margin: var(--space-xs); }
.m-2 { margin: var(--space-sm); }
.m-3 { margin: var(--space-md); }
.m-4 { margin: var(--space-lg); }
.m-5 { margin: var(--space-xl); }
.m-6 { margin: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mt-6 { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.mb-6 { margin-bottom: var(--space-2xl); }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: var(--space-xs); }
.ml-2 { margin-left: var(--space-sm); }
.ml-3 { margin-left: var(--space-md); }
.ml-4 { margin-left: var(--space-lg); }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: var(--space-xs); }
.mr-2 { margin-right: var(--space-sm); }
.mr-3 { margin-right: var(--space-md); }
.mr-4 { margin-right: var(--space-lg); }

/* Padding Utilities */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }
.p-6 { padding: var(--space-2xl); }

/* Display Utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flexbox Utilities */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.align-start { align-items: flex-start; }
.align-center { align-items: center; }
.align-end { align-items: flex-end; }

/* Text Utilities */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success-green); }
.text-warning { color: var(--warning-orange); }
.text-error { color: var(--error-red); }

/* Background Utilities */
.bg-white { background-color: var(--background-white); }
.bg-light { background-color: var(--background-light); }
.bg-gray { background-color: var(--background-gray); }
.bg-primary { background: var(--gradient-primary); }
.bg-success { background-color: var(--success-light); }
.bg-warning { background-color: var(--warning-light); }
.bg-error { background-color: var(--error-light); }

/* Border Utilities */
.border { border: 1px solid var(--border-light); }
.border-medium { border: 1px solid var(--border-medium); }
.border-dark { border: 1px solid var(--border-dark); }
.border-0 { border: none; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-light); }
.shadow { box-shadow: var(--shadow-medium); }
.shadow-lg { box-shadow: var(--shadow-heavy); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-none { box-shadow: none; }

/* Responsive Utilities */
@media (max-width: 767px) {
    .mobile-hidden { display: none !important; }
    .mobile-block { display: block !important; }
    .mobile-flex { display: flex !important; }
    .mobile-text-center { text-align: center !important; }
    .mobile-text-left { text-align: left !important; }
    .mobile-full-width { width: 100% !important; }
    .mobile-p-2 { padding: var(--space-sm) !important; }
    .mobile-p-3 { padding: var(--space-md) !important; }
    .mobile-m-2 { margin: var(--space-sm) !important; }
    .mobile-m-3 { margin: var(--space-md) !important; }
}

@media (min-width: 768px) {
    .desktop-hidden { display: none !important; }
    .desktop-block { display: block !important; }
    .desktop-flex { display: flex !important; }
}

/* Accessibility Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.focus-visible:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}

/* Smooth Transitions */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }

/* Hover Effects */
.hover-lift:hover { transform: translateY(-2px); }
.hover-scale:hover { transform: scale(1.05); }
.hover-shadow:hover { box-shadow: var(--shadow-medium); }

/* Enhanced Dashboard Form Styles */
.form-select:disabled {
    background-color: var(--background-gray);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-select:not(:disabled):hover {
    border-color: var(--primary-purple);
}

.form-group {
    position: relative;
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Cascading dropdown animation */
.form-select, .form-input {
    transition: all 0.3s ease;
}

.form-select:not(:disabled) {
    border-color: var(--border-medium);
}

.form-select:not(:disabled):focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

/* Technical fields transition */
.technical-field, .edit-technical-field {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.technical-field[style*="display: none"], .edit-technical-field[style*="display: none"] {
    opacity: 0;
    transform: translateY(-10px);
}

/* Form section headers */
.form-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-section-header .material-icons {
    color: var(--primary-purple);
    font-size: 1.25rem;
}

/* Improved form grid for dashboard */
.dashboard .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

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

@media (max-width: 768px) {
    .dashboard .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Custom input styling when shown */
.form-input[style*="display: block"] {
    animation: slideDown 0.3s ease;
}

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

/* Modal Styles for Dashboard */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--background-white);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    z-index: 1001;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--background-gray);
    color: var(--text-primary);
}

.modal-form {
    padding: 2rem;
}

/* Ensure modal appears above everything */
.modal[style*="flex"] {
    display: flex !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Remove default focus styles when focus-visible is supported */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
}

/* Watches Page Styles */
.watches-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    justify-content: center;
}

.search-box {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.25rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 1rem;
    background: var(--background-white);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.filter-label .material-icons {
    font-size: 1rem;
    color: var(--primary-purple);
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--background-white);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.filter-select:hover {
    border-color: var(--border-dark);
}

.filter-reset {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    background: var(--background-gray);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-reset:hover {
    background: var(--border-light);
    color: var(--text-primary);
    transform: translateY(-1px);
}

.watches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.watches-count {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.watches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.watch-card {
    background: var(--background-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

.watch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-purple);
    cursor: pointer;
}

.watch-card__image {
    position: relative;
    aspect-ratio: 1;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    min-height: 200px;
}

.watch-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
}

.watch-placeholder .material-icons {
    font-size: 2rem;
}

.watch-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.watch-card__badge--premium {
    background: var(--gradient-secondary);
}

.watch-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.watch-card__brand {
    color: var(--primary-purple);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.watch-card__model {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.watch-card__reference {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.watch-card__details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.watch-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.watch-detail .material-icons {
    font-size: 1rem;
    color: var(--primary-purple);
}

.watch-card__price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: auto;
}

.watch-card__warranty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-green);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.watch-card__warranty .material-icons {
    font-size: 1rem;
}

.watch-card__stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.watch-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.watch-stat .material-icons {
    font-size: 0.875rem;
}

.watches-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design for Watches Page */
@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .watches-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .watches-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .watch-card__image {
        min-height: 180px;
    }
    
    .watch-card__content {
        padding: 1rem;
    }
    
    .watch-card__price {
        font-size: 1.25rem;
    }
    
    .watch-card__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .watch-card__details {
        margin-bottom: 0.75rem;
    }
    
    .watch-card__warranty {
        margin-bottom: 0.25rem;
    }
    
    .watch-card__brand {
        font-size: 0.75rem;
    }
    
    .watch-card__model {
        font-size: 1.125rem;
    }
    
    .watch-card__reference {
        font-size: 0.75rem;
    }
    
    .watch-detail {
        font-size: 0.75rem;
    }
    
    .watch-card__warranty {
        font-size: 0.75rem;
    }
    
    .watch-stat {
        font-size: 0.625rem;
    }
    
    .watch-stat .material-icons {
        font-size: 0.75rem;
    }
    
    .watch-card__warranty .material-icons {
        font-size: 0.875rem;
    }
    
    .watch-detail .material-icons {
        font-size: 0.875rem;
    }
    
    .watch-card__badge {
        font-size: 0.625rem;
        padding: 0.125rem 0.5rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .watch-card__badge--premium {
        font-size: 0.625rem;
        padding: 0.125rem 0.5rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .search-box {
        max-width: 100%;
    }
}

/* Product Page Styles */
.product-hero {
    padding: 2rem 0;
    background: var(--background-white);
}

.product-hero__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-hero__content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--background-light);
    aspect-ratio: 1;
}

.gallery-main__image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.watch-placeholder--large {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.watch-placeholder--large .material-icons {
    font-size: 3rem;
}

.gallery-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-medium);
}

.gallery-badge .material-icons {
    font-size: 1rem;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-thumbnail {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-thumbnail:hover,
.gallery-thumbnail--active {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-light);
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
}

.product-brand {
    color: var(--primary-purple);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.product-reference {
    color: var(--text-muted);
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-current {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-green);
    font-size: 0.875rem;
    font-weight: 500;
}

.price-note .material-icons {
    font-size: 1rem;
}

.product-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .product-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.highlight .material-icons {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.highlight div {
    display: flex;
    flex-direction: column;
}

.highlight strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.highlight span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .product-actions {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
    background: var(--gradient-secondary);
}

.btn--secondary {
    background: var(--background-white);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.btn--secondary:hover {
    background: var(--background-light);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.product-seller {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.seller-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success-green);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    align-self: flex-start;
}

.seller-details strong {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    display: block;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.seller-rating .material-icons {
    color: #FFB800;
    font-size: 1rem;
}

/* Product Tabs */
.product-tabs {
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 2rem;
    overflow-x: auto;
    gap: 0.5rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn--active {
    color: var(--primary-purple);
    border-bottom-color: var(--primary-purple);
}

.tab-btn .material-icons {
    font-size: 1.25rem;
}

.tab-content {
    display: none;
}

.tab-content--active {
    display: block;
}

/* Specifications */
.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-category {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.spec-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--background-light);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}

.spec-title .material-icons {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.spec-list {
    padding: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    gap: 1rem;
}

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

.spec-label {
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 120px;
}

.spec-value {
    color: var(--text-primary);
    text-align: right;
    font-weight: 500;
}

/* Description */
.description-content {
    max-width: 800px;
    line-height: 1.7;
}

.description-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.description-content h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.description-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Warranty */
.warranty-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .warranty-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.warranty-card {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.warranty-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-bottom: 1px solid var(--border-light);
}

.warranty-header .material-icons {
    color: var(--success-green);
    font-size: 1.5rem;
}

.warranty-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.warranty-details {
    padding: 1.5rem;
}

.warranty-details p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.warranty-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.warranty-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.warranty-list li::before {
    content: '✓';
    color: var(--success-green);
    font-weight: 600;
}

/* Shipping */
.shipping-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shipping-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .shipping-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.shipping-option {
    background: var(--background-white);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.shipping-option:hover {
    border-color: var(--primary-purple);
    box-shadow: var(--shadow-light);
}

.shipping-option--recommended {
    border-color: var(--success-green);
    background: linear-gradient(135deg, rgba(0, 217, 36, 0.05) 0%, rgba(0, 217, 36, 0.02) 100%);
}

.shipping-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: white;
}

.shipping-icon .material-icons {
    font-size: 1.5rem;
}

.shipping-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.shipping-details p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.shipping-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.recommended-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: var(--success-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shipping-info {
    background: var(--background-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.shipping-info h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.shipping-info ul {
    list-style: none;
    padding: 0;
}

.shipping-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.shipping-info li::before {
    content: '•';
    color: var(--primary-purple);
    font-weight: 600;
    margin-top: 0.1rem;
}

/* Related Products */
.related-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .related-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .related-products {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive Design for Product Page */
@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }
    
    .price-current {
        font-size: 1.75rem;
    }
    
    .tabs-nav {
        gap: 0;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .shipping-options {
        grid-template-columns: 1fr;
    }
}

/* Product Overview Page Styles */
.product-overview {
    padding: 2rem 0;
    background: var(--background-white);
}

/* Breadcrumb - Global Styles */
.breadcrumbs-section {
    padding: 1.5rem 0;
}

.breadcrumb {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb__link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.breadcrumb__link:hover {
    color: #374151;
    text-decoration: underline;
}

.breadcrumb__item--current {
    color: #111827;
    font-weight: 500;
    font-size: 0.875rem;
}

.breadcrumb__separator {
    color: #9ca3af;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Legacy breadcrumb support for backward compatibility */
.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #374151;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

.breadcrumb-current {
    color: #111827;
    font-weight: 500;
    font-size: 0.875rem;
}



.reference-gallery {
    position: sticky;
    top: 2rem;
}

.gallery-main {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.gallery-main__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.reference-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b35;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.gallery-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: #6b46c1;
}


.reference-info {
    padding: 1rem 0;
}

.reference-brand {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.reference-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.reference-ref {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.reference-model {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 2rem;
}

.reference-price {
    background: #f3f4f6;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.price-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.reference-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 2rem;
}

.reference-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reference-warranty {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
}

.reference-warranty .material-icons {
    color: #0ea5e9;
    font-size: 1.5rem;
}

.reference-warranty strong {
    color: #111827;
    font-weight: 600;
}

.reference-warranty p {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
}

/* Reference Listings */
.reference-listings {
    padding: 4rem 0;
    background: white;
}

.listings-container {
    margin-top: 2rem;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.listing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.listing-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.listing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.listing-condition {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: capitalize;
}

.listing-body {
    padding: 1rem;
}

.listing-dealer {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.listing-location {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.no-listings {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

/* Model Page Styles */
.model-hero {
    padding: 2rem 0 4rem 0;
    margin-top: 70px;
}

.model-hero__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* When no visual, make info full width */
.model-hero__content:has(.model-info:only-child) {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.model-info {
    padding: 1rem 0;
}

.model-brand {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.model-name {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.model-category {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.model-year {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.model-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 2rem;
}

.model-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.spec-item .material-icons {
    color: #6b46c1;
    font-size: 1.5rem;
}

.spec-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-weight: 600;
    color: #111827;
}

.model-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.model-image {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.model-image__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}


/* Model Stats */
.model-stats {
    padding: 3rem 0;
    background: white;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6b46c1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Model References */
.model-references {
    padding: 4rem 0;
    background: #f8f9fa;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.reference-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.reference-card__image {
    height: 200px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.reference-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.reference-card__content {
    padding: 1.5rem;
}

.reference-card__name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.reference-card__ref {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.reference-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #6b46c1;
    margin-bottom: 1rem;
}

.reference-card__description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .reference-hero__content,
    .model-hero__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reference-name,
    .model-name {
        font-size: 2rem;
    }
    
    .model-specs {
        grid-template-columns: 1fr;
    }
    
    .reference-actions {
        flex-direction: column;
    }
    
    .listings-grid,
    .references-grid {
        grid-template-columns: 1fr;
    }
}

/* Dealers Page Styles */

/* Dealers Hero Section */
.dealers-hero {
    padding: 6rem 0 4rem;
    background: var(--gradient-hero);
    margin-top: 70px;
}

.dealers-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.dealers-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.dealers-hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.dealers-hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.stat__label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tier Cards */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tier-card {
    background: var(--background-white);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-light);
    transition: background 0.3s ease;
}

.tier-card--featured {
    border-color: var(--primary-purple);
    box-shadow: 0 8px 32px rgba(99, 91, 255, 0.15);
    transform: scale(1.05);
}

.tier-card--featured::before {
    background: var(--gradient-primary);
}

.tier-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.tier-card--featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.tier-card__header {
    text-align: center;
    margin-bottom: 2rem;
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.tier-badge--essential {
    background: var(--background-gray);
    color: var(--text-secondary);
}

.tier-badge--professional {
    background: var(--gradient-primary);
    color: white;
}

.tier-badge--elite {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--text-primary);
}

.tier-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tier-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.price-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.tier-card__features {
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.feature-item .material-icons {
    color: var(--success-green);
    font-size: 1.25rem;
}

.tier-card__requirements {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
}

.tier-card__requirements h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.requirements-list li::before {
    content: '•';
    color: var(--primary-purple);
    margin-right: 0.5rem;
}

.tier-card__action {
    text-align: center;
}

/* Feature Comparison Table */
.comparison-table-container {
    margin-top: 3rem;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
    background: var(--background-white);
}

.feature-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    background: var(--background-white);
}

.feature-table th,
.feature-table td {
    padding: 1.5rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.feature-table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-medium);
}

.feature-header {
    width: 30%;
    font-size: 1rem;
    text-align: left;
}

.tier-header {
    width: 23.33%;
    text-align: center;
    padding: 1rem;
}

.tier-header--featured {
    background: rgba(99, 91, 255, 0.02);
    border-left: 2px solid var(--primary-purple);
    border-right: 2px solid var(--primary-purple);
    position: relative;
}

.tier-header--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.tier-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tier-rate {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.popular-label {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.category-row {
    background: var(--background-gray);
}

.category-title {
    text-align: center;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    padding: 1rem;
    border-top: 2px solid var(--border-medium);
}

.feature-name {
    font-weight: 500;
    color: var(--text-primary);
    padding-left: 1.5rem;
}

.feature-cell {
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.status-included {
    background: var(--success-green);
    color: white;
}

.status-excluded {
    background: var(--text-muted);
    color: white;
}

.status-premium {
    background: var(--primary-purple);
    color: white;
}

.status-elite {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--text-primary);
}

/* Table hover effects */
.feature-table tbody tr:hover {
    background: rgba(99, 91, 255, 0.02);
}

.feature-table tbody tr:hover .tier-header--featured {
    background: rgba(99, 91, 255, 0.06);
}

/* Responsive Design for Feature Table */
@media (max-width: 768px) {
    .comparison-table-container {
        margin: 2rem -1.5rem 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .feature-table {
        min-width: 700px;
        font-size: 0.875rem;
    }
    
    .feature-table th,
    .feature-table td {
        padding: 1rem 0.75rem;
    }
    
    .feature-header {
        min-width: 150px;
    }
    
    .tier-header {
        min-width: 140px;
    }
    
    .feature-name {
        padding-left: 1rem;
        font-size: 0.875rem;
    }
    
    .feature-cell {
        font-size: 0.8125rem;
    }
    
    .status-icon {
        width: 18px;
        height: 18px;
        font-size: 0.6875rem;
    }
}

@media (max-width: 480px) {
    .feature-table {
        min-width: 600px;
    }
    
    .feature-table th,
    .feature-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .tier-rate {
        font-size: 0.75rem;
    }
    
    .popular-label {
        font-size: 0.6875rem;
        padding: 0.125rem 0.5rem;
    }
}

/* Fee Structure */
.fee-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.fee-card {
    background: var(--background-white);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
}

.fee-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.fee-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
}

.fee-tier {
    font-weight: 500;
    color: var(--text-primary);
}

.fee-rate {
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 1.125rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step__number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step__content {
    flex: 1;
}

.step__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--background-light);
    border-radius: 16px;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced Interactive States */
.tier-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
}



.fee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.step:hover .step__number {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(99, 91, 255, 0.3);
}

/* Enhanced Typography */
.dealers-hero__title {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading States */
.tier-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.tier-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tiers-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    

}

@media (max-width: 768px) {
    .dealers-hero {
        padding: 4rem 0 2rem;
    }
    
    .dealers-hero__title {
        font-size: 2.5rem;
        background: var(--text-primary);
        -webkit-text-fill-color: var(--text-primary);
        background-clip: unset;
    }
    
    .dealers-hero__stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tiers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tier-card {
        padding: 1.5rem;
    }
    
    .tier-card--featured {
        transform: none;
        margin: 0;
    }
    
    .tier-card--featured:hover {
        transform: translateY(-8px);
    }
    

    
    .fee-structure {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .fee-card {
        padding: 1.5rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .dealers-hero {
        padding: 3rem 0 1.5rem;
    }
    
    .dealers-hero__title {
        font-size: 2rem;
    }
    
    .dealers-hero__subtitle {
        font-size: 1.125rem;
    }
    
    .stat__number {
        font-size: 2rem;
    }
    
    .tier-card {
        padding: 1.25rem;
    }
    
    .price-number {
        font-size: 2.5rem;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .section__subtitle {
        font-size: 1.125rem;
    }
}

/* Product Header */
.product-header {
    margin-bottom: 3rem;
}

.product-hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .product-hero-content {
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
    }
}

/* Hero Image */
.product-hero-image {
    position: relative;
}

.hero-gallery {
    background: var(--background-light);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(99, 91, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-main-image {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.hero-main-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.watch-placeholder--hero {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    box-shadow: var(--shadow-heavy);
}

.watch-placeholder--hero .material-icons {
    font-size: 4rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.trust-badge .material-icons {
    color: var(--success-green);
    font-size: 1rem;
}

/* Product Hero Info */
.product-hero-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.product-meta {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 2rem;
}

.brand-logo {
    margin-bottom: 1rem;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-purple);
    letter-spacing: 2px;
}

.model-name {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .model-name {
        font-size: 2.25rem;
    }
}

.model-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.reference {
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    font-size: 0.875rem;
    background: var(--background-light);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.year {
    color: var(--success-green);
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(0, 217, 36, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.price-range {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.availability-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-green);
    font-weight: 500;
}

.availability-info .material-icons {
    font-size: 1.25rem;
}

.key-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .key-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.feature .material-icons {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.watch-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.125rem;
}

/* Listings Section */
.listings-section {
    padding: 3rem 0;
    background: var(--background-light);
}

.listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

/* Condition Filter */
.condition-filter {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-buttons {
    display: flex;
    background: var(--background-white);
    border-radius: 12px;
    padding: 0.25rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn--active,
.filter-btn:hover {
    background: var(--gradient-primary);
    color: white;
}

.filter-btn .count {
    font-size: 0.875rem;
    opacity: 0.8;
}

.sort-dropdown {
    position: relative;
}

.sort-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--background-white);
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Reference Page Styles */
.reference-hero {
    padding: 2rem 0 4rem 0;
}

.reference-hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.reference-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    background: var(--background-white);
    box-shadow: var(--shadow-lg);
}

.gallery-main__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.gallery-placeholder {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--background-gray);
    color: var(--text-muted);
    border-radius: 16px;
    font-size: 1.1rem;
}

.gallery-placeholder .material-icons {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gallery-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.gallery-thumbnail:hover {
    border-color: var(--primary-purple);
    opacity: 0.8;
}

.gallery-thumbnail.active {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 2px rgba(99, 91, 255, 0.2);
}

.reference-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reference-badge--premium {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
}

.reference-badge--current {
    background: var(--success-green);
}

.reference-badge--new {
    background: var(--primary-purple);
}

.reference-info {
    padding: 1rem 0;
}

.reference-brand {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.reference-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.reference-ref {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.reference-model {
    font-size: 1rem;
    color: var(--primary-purple);
    font-weight: 500;
    margin-bottom: 2rem;
}

.reference-price {
    background: var(--background-white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.reference-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.reference-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reference-warranty {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--background-success);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-success);
}

.reference-warranty .material-icons {
    color: var(--success);
    font-size: 1.5rem;
    margin-top: 0.1rem;
}

.reference-warranty strong {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: block;
}

.reference-warranty p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .reference-hero__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .reference-gallery {
        order: 2;
    }
    
    .reference-info {
        order: 1;
    }
    
    .reference-name {
        font-size: 2rem;
    }
    
    .reference-actions {
        flex-direction: column;
    }
}

/* Reference Page Listings */
.reference-listings {
    padding: 4rem 0;
    background: var(--background-white);
}

/* Reference Specifications */
.reference-specs {
    background: var(--background-light);
    padding: 4rem 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-category {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.spec-category__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-bottom: 1px solid var(--border-light);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.spec-category__title .material-icons {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.spec-list {
    padding: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

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

.spec-label {
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 120px;
}

.spec-value {
    color: var(--text-primary);
    text-align: right;
    font-weight: 500;
}

/* Reference About Section */
.reference-about {
    padding: 4rem 0;
    background: var(--background-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.about-content {
    padding-right: 2rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.reference-highlights {
    margin-top: 2rem;
}

.reference-highlights h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    position: relative;
    padding-left: 2rem;
}

.highlights-list li:last-child {
    border-bottom: none;
}

.highlights-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
}

.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.sidebar-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-option:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-1px);
}

.contact-option .material-icons {
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.contact-option:hover .material-icons {
    color: white;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.services-list .material-icons {
    color: var(--success-green);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

/* Related References */
.related-references {
    background: var(--background-light);
    padding: 4rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-card {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-purple);
}

.related-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-placeholder {
    width: 100%;
    height: 100%;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-placeholder .material-icons {
    font-size: 3rem;
    color: var(--text-secondary);
}

.related-content {
    padding: 1.5rem;
}

.related-ref {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.related-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.related-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-purple);
}

/* Responsive Design for Reference Page */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-options {
        gap: 0.5rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .spec-category__title {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .spec-item {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .spec-value {
        text-align: left;
    }
}

.listings-container {
    margin-top: 2rem;
}

.no-listings {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--background-light);
    border-radius: 16px;
}

.no-listings-icon .material-icons {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.no-listings h3 {
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.no-listings p {
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.notify-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Listing Card - Updated for Reference Pages */
.listing-card {
    background: var(--background-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-purple);
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--background-light);
}

.condition-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.condition-badge--unworn {
    background: var(--gradient-secondary);
    color: white;
}

.condition-badge--pre-owned {
    background: var(--warning-orange);
    color: white;
}

.condition-badge .material-icons {
    font-size: 1rem;
}

.listing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.listing-image {
    padding: 0rem;
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.listing-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.listing-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.listing-reference {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-family: 'Courier New', monospace;
    background: var(--background-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.listing-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: var(--background-light);
    border-radius: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.feature-badge:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-1px);
}

.feature-badge .material-icons {
    font-size: 1rem;
    opacity: 0.8;
}

.listing-specs {
    margin-bottom: 1.5rem;
}

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

.spec:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.seller-info {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.seller-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seller-name:before {
    content: '🏪';
    font-size: 0.9rem;
}

.seller-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.seller-location:before {
    content: '📍';
    font-size: 0.8rem;
}

.seller-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success-green);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.seller-details strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.125rem;
}

.stars .material-icons {
    font-size: 1rem;
    color: #FFB800;
}

.seller-rating span:last-child {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.listing-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
    background: var(--background-light);
}

.listing-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.listing-actions .btn--primary {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: white;
}

.listing-actions .btn--primary:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-1px);
}

.listing-actions .btn--secondary {
    background: var(--background-white);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.listing-actions .btn--secondary:hover {
    background: var(--text-primary);
    color: var(--background-white);
    transform: translateY(-1px);
}

/* Trust Features */
.trust-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .trust-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-feature {
    text-align: center;
    padding: 2rem 1rem;
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: white;
}

.trust-icon .material-icons {
    font-size: 2rem;
}

.trust-feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.trust-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .listings-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .condition-filter {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.75rem 1rem;
    }
    
    .price-range {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .key-features {
        grid-template-columns: 1fr;
    }
}

/* Accessibility & Performance */
.tier-card:focus {
    outline: 3px solid var(--primary-purple);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--primary-purple);
    outline-offset: 2px;
}



/* High contrast mode support */
@media (prefers-contrast: high) {
    .tier-card {
        border-width: 3px;
    }
    
    .tier-badge--professional,
    .tier-badge--elite {
        border: 2px solid currentColor;
    }
    
    .feature-value .material-icons.check {
        background: var(--success-green);
        color: white;
        border-radius: 50%;
    }
}

/* Print styles */
@media print {
    .dealers-hero {
        background: none !important;
        color: black !important;
    }
    
    .tier-card {
        border: 2px solid black !important;
        box-shadow: none !important;
        break-inside: avoid;
    }
    

    
    .btn {
        display: none !important;
    }
}

/* GPU acceleration for smooth animations */
.tier-card,
.fee-card,
.step__number {
    will-change: transform;
    transform: translateZ(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .dealers-hero__title {
        background: var(--text-primary) !important;
        -webkit-text-fill-color: var(--text-primary) !important;
        background-clip: unset !important;
    }
    
    .tier-card,
    .fee-card,
    .step__number {
        will-change: auto;
        transform: none;
    }
}

/* Authentication Styles */
.auth-hero {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-content {
    max-width: 500px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.auth-form-container {
    background: var(--background-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    background-color: var(--background-white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: var(--border-dark);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-purple);
}

.checkbox-label {
    margin: 0;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-purple);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.auth-switch {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.auth-switch a {
    color: var(--primary-purple);
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-links {
    text-align: center;
    margin: 1rem 0;
}

.auth-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-header {
    background: var(--background-light);
    padding: 100px 0 2rem;
    border-bottom: 1px solid var(--border-light);
}

.dashboard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.dashboard-content {
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon .material-icons {
    color: white;
    font-size: 24px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.dashboard-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-container {
    position: relative;
}

.search-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    font-size: 0.9rem;
    width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--background-light);
    border-radius: 8px;
    border: 2px dashed var(--border-medium);
}

.empty-icon {
    width: 64px;
    height: 64px;
    background: var(--background-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.empty-icon .material-icons {
    font-size: 32px;
    color: var(--text-muted);
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.dashboard-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.dashboard-listing-card {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.dashboard-listing-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.dashboard-listing-card:hover .listing-brand {
    color: var(--primary);
}

.dashboard-listing-card:hover .listing-model {
    color: var(--text-primary);
}

.listing-image {
    position: relative;
    aspect-ratio: 1;
    background: var(--background-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.listing-clickable-indicator {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.dashboard-listing-card:hover .listing-clickable-indicator {
    opacity: 1;
    transform: scale(1);
    color: var(--primary);
}

.listing-image .material-icons {
    font-size: 48px;
    color: var(--text-muted);
}

.listing-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.listing-status.active {
    background: var(--success-green);
    color: white;
}

.listing-status.pending {
    background: var(--warning-orange);
    color: white;
}

.listing-status.sold {
    background: var(--text-muted);
    color: white;
}

.listing-content {
    padding: 1.5rem;
}

.listing-brand {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.listing-model {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0.25rem 0;
}

.listing-reference {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.listing-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.listing-condition {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--background-light);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: capitalize;
    margin-bottom: 1rem;
}

.listing-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.listing-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.listing-stats .material-icons {
    font-size: 16px;
}

.listing-actions {
    display: flex;
    gap: 0.75rem;
}

.listing-actions .btn {
    flex: 1;
    min-width: 80px;
    justify-content: center;
    white-space: nowrap;
}

.listing-actions .btn .material-icons {
    font-size: 16px;
    margin-right: 0.25rem;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.modal-content {
    background: var(--background-white);
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background: var(--background-gray);
}

.modal-close .material-icons {
    color: var(--text-muted);
    font-size: 24px;
}

.modal-form {
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    margin-top: 1.5rem;
}

/* Enhanced Button Styles */
.btn--danger {
    background: var(--error-red);
    color: white;
    border: 1px solid transparent;
}

.btn--danger:hover {
    background: #DC2626;
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.btn--full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-spinner {
    display: none;
}

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Authentication Area in Header */
.auth-area {
    position: relative;
    min-width: 220px; /* Ensure consistent width for Dashboard + Sign Out buttons */
    height: 40px; /* Match button height */
}

.auth-buttons,
.user-menu {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    height: 100%;
    white-space: nowrap;
}

.user-menu {
    display: none;
}

/* Ensure auth buttons don't wrap */
.auth-area .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Image Upload Styles */
.image-upload-container {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    background: var(--background-light);
}

.image-upload-container:hover {
    border-color: var(--primary);
    background: var(--background-white);
}

.image-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.image-upload-area:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.upload-icon .material-icons {
    font-size: 3rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.image-upload-area:hover .upload-icon .material-icons {
    color: var(--primary);
}

.upload-text {
    text-align: center;
}

.upload-text strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.upload-text p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.upload-text small {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.form-file {
    display: none;
}

.image-preview-container {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    gap: 0.5rem;
    max-width: 100%;
}

.image-preview-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--background-white);
    border: 1px solid var(--border);
    aspect-ratio: 1;
    width: 80px;
    height: 80px;
}

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

.image-preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--danger);
}

.image-preview-remove:hover {
    background: var(--danger);
    color: white;
    transform: scale(1.1);
}

.image-preview-remove .material-icons {
    font-size: 12px;
}

.current-images-container {
    margin-top: 1rem;
}

.current-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    gap: 0.5rem;
    max-width: 100%;
}

.current-image-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: var(--background-white);
    border: 1px solid var(--border);
    aspect-ratio: 1;
    width: 80px;
    height: 80px;
}

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

.current-image-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--danger);
}

.current-image-remove:hover {
    background: var(--danger);
    color: white;
    transform: scale(1.1);
}

.current-image-primary {
    position: absolute;
    top: 2px;
    left: 2px;
    background: var(--primary);
    color: white;
    padding: 1px 4px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

.image-upload-progress {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--background-white);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--background-light);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Card image styles - make all card images square */
.listing-image img,
.watch-card__image img,
.watch-card__image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Ensure watch placeholder maintains square aspect ratio */
.watch-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
}

/* Dashboard listing cards - ensure consistent square layout */
.dashboard-listing-card .listing-image {
    margin-bottom: 1rem;
}

.watch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumbnail img {
    border-radius: 4px;
}

/* Responsive Design for Auth */
@media (max-width: 768px) {
    .auth-hero {
        padding: 100px 0 60px;
    }
    
    .auth-content {
        max-width: none;
        margin: 0;
    }
    
    .auth-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-form {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column-reverse;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    .auth-area {
        display: none;
    }
}
