/**
 * Zbona Mobilier - Minimalist Design
 * Inspired by Apple.com aesthetic
 * Clean, elegant, lots of whitespace
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Colors - Minimal palette */
    --color-black: #1d1d1f;
    --color-gray-900: #333;
    --color-gray-700: #424245;
    --color-gray-600: #525256;
    --color-gray-500: #636366;
    --color-gray-400: #757578;
    --color-gray-200: #d2d2d7;
    --color-gray-100: #f5f5f7;
    --color-white: #fff;

    /* Accent - Used sparingly */
    --color-accent: #ffb128;
    --color-accent-hover: #e9a020;

    /* Functional */
    --color-success: #15803d;
    --color-error: #ff3b30;

    /* Typography - Open Sans with Hungarian/Romanian diacritics support */
    --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 17px;
    --font-size-lg: 21px;
    --font-size-xl: 28px;
    --font-size-2xl: 40px;
    --font-size-3xl: 56px;
    --font-size-4xl: 80px;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;

    /* Layout */
    --max-width: 100%;
    --header-height: 64px;

    /* Effects */
    --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --shadow-subtle: 0 2px 10px rgba(0,0,0,0.04);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-strong: 0 12px 40px rgba(0,0,0,0.12);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-black);
    background: var(--color-white);
    letter-spacing: -0.022em;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--color-black);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: opacity var(--transition);
}

a:hover {
    opacity: 0.7;
}

.text-muted { color: var(--color-gray-400); }
.text-small { font-size: var(--font-size-sm); }

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 50px var(--space-lg);
}

.section {
    padding: 60px 0;
}

.section-lg {
    padding: 60px 0;
}

/* ============================================
   Header - Premium Luxurious Style
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.site-header.scrolled {
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.site-header.menu-open {
    background: rgba(20, 20, 22, 0.98);
}

.header-inner {
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-black);
    z-index: 10001;
    transition: all 0.4s ease;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.site-header.menu-open .logo {
    color: var(--color-white);
}

.logo img {
    height: 48px;
    transition: all 0.4s ease;
}

.site-header.scrolled .logo img {
    height: 40px;
}

.site-header.menu-open .logo img {
    filter: brightness(0) invert(1);
}

/* Navigation - Desktop */
.nav-main {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-black);
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.03);
    opacity: 1;
}

/* Navigation with Icons - Premium Style */
.nav-with-icons .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gray-700);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.nav-with-icons .nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.nav-with-icons .nav-link:hover {
    color: var(--color-black);
    transform: translateY(-3px);
}

.nav-with-icons .nav-link:hover::before {
    opacity: 1;
}

.nav-with-icons .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(145deg, #f8f8f8 0%, #efefef 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-with-icons .nav-link:hover .nav-icon {
    background: linear-gradient(145deg, #fff 0%, #f5f5f5 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: scale(1.05);
}

.nav-with-icons .nav-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
    transition: all 0.3s ease;
}

.nav-with-icons .nav-link:hover .nav-icon svg {
    stroke-width: 1.8;
}

/* Sale link - Elegant accent */
.nav-with-icons .nav-link-sale {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    border-radius: 14px;
    margin-left: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-with-icons .nav-link-sale::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

.nav-with-icons .nav-link-sale .nav-icon {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.nav-with-icons .nav-link-sale:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.nav-with-icons .nav-link-sale:hover .nav-icon {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.nav-with-icons .nav-link-sale .nav-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    stroke: none;
}

/* Header Actions - Refined */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    z-index: 10001;
}

.header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 10px;
}

.header-icon:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-black);
}

.site-header.menu-open .header-icon {
    color: var(--color-white);
}

.site-header.menu-open .header-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-icon svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.header-icon:hover svg {
    transform: scale(1.1);
}

.header-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.desktop-only {
    display: flex;
}

/* Menu Toggle - Apple Style Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.menu-toggle-bar {
    display: block;
    width: 17px;
    height: 1px;
    background: var(--color-black);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: absolute;
}

.menu-toggle-bar:first-child {
    transform: translateY(-4px);
}

.menu-toggle-bar:last-child {
    transform: translateY(4px);
}

.menu-toggle.is-active .menu-toggle-bar {
    background: var(--color-white);
}

.menu-toggle.is-active .menu-toggle-bar:first-child {
    transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-bar:last-child {
    transform: translateY(0) rotate(-45deg);
}

/* Body padding for fixed header */
body {
    padding-top: 80px;
}

/* Lock body scroll when mobile menu is open */
body:has(.mobile-nav.is-open) {
    overflow: hidden;
}

/* ============================================
   Mobile Navigation - Apple Style Full Screen
   ============================================ */
.mobile-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(29, 29, 31, 0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    max-width: 692px;
    margin: 0 auto;
    padding: 30px 48px 48px;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-list li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: block;
    padding: 16px 0;
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #f5f5f7;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--color-white);
    opacity: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.mobile-nav-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.mobile-nav-link-sale {
    color: #ff6b6b !important;
}

.mobile-nav-link-sale .mobile-nav-icon svg {
    fill: #ff6b6b;
    stroke: none;
    width: 24px;
    height: 24px;
}

.mobile-nav-footer {
    margin-top: 24px;
    padding-top: 12px;
}

.mobile-nav-footer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 400;
    color: #525256;
    transition: color 0.2s ease;
}

.mobile-nav-footer-link:hover {
    color: var(--color-white);
    opacity: 1;
}

.mobile-nav-footer-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mobile-nav-footer-link.logout {
    color: #ff453a;
}

.mobile-nav-footer-link .mobile-nav-badge {
    background: var(--color-accent);
    color: var(--color-black);
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

/* ============================================
   Search Modal - Apple Style
   ============================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
}

.search-modal {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, 0.97);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 10001;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.search-box-large {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 12px 16px;
}

.search-box-large svg {
    width: 22px;
    height: 22px;
    color: var(--color-gray-400);
    flex-shrink: 0;
}

.search-box-large input {
    flex: 1;
    border: none;
    background: none;
    font-size: 17px;
    outline: none;
    padding: 0;
}

.search-box-large input:focus {
    box-shadow: none;
}

.search-close {
    background: none;
    border: none;
    font-size: 17px;
    color: var(--color-accent);
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.search-close:hover {
    opacity: 0.7;
}

.search-results {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: var(--color-gray-100);
    opacity: 1;
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    background: var(--color-gray-100);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 4px;
}

.search-result-price {
    display: block;
    font-size: 14px;
    color: var(--color-gray-600);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    padding: 9px 22px;
    border-radius: 980px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-black);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
    opacity: 1;
}

.btn-secondary {
    background: var(--color-black);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-gray-900);
    opacity: 1;
}

.btn-ghost {
    background: transparent;
    color: var(--color-black);
    padding: 8px 0;
}

.btn-ghost:hover {
    opacity: 0.7;
}

.btn-ghost svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition);
}

.btn-ghost:hover svg {
    transform: translateX(4px);
}

.btn-sm {
    font-size: 13px;
    padding: 7px 16px;
}

.btn-lg {
    font-size: 16px;
    padding: 13px 30px;
}

/* Link style button */
.link {
    color: var(--color-accent);
    font-size: var(--font-size-base);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--color-gray-100);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    background: linear-gradient(180deg, var(--color-black) 0%, var(--color-gray-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 70vh;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
}

.hero-slide .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-slide-content {
    max-width: 600px;
    padding: var(--space-xl) 0;
}

.hero-slide-content.text-left {
    margin-right: auto;
}

.hero-slide-content.text-center {
    margin: 0 auto;
    text-align: center;
}

.hero-slide-content.text-right {
    margin-left: auto;
    text-align: right;
}

.hero-slide-content .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    background: none;
    -webkit-text-fill-color: inherit;
    color: inherit;
    line-height: 1.1;
}

.hero-slide-content .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--space-sm);
    opacity: 0.9;
    color: inherit;
}

.hero-slide-content .hero-description {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
    opacity: 0.8;
    max-width: 500px;
}

.hero-slide-content .hero-actions {
    justify-content: flex-start;
}

.hero-slide-content.text-center .hero-actions {
    justify-content: center;
}

.hero-slide-content.text-right .hero-actions {
    justify-content: flex-end;
}

/* Slider Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: var(--color-gray-900);
}

.hero-nav:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
    left: var(--space-lg);
}

.hero-nav-next {
    right: var(--space-lg);
}

/* Slider Dots */
.hero-dots {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-dot:hover,
.hero-dot.active {
    background: var(--color-white);
    transform: scale(1.2);
}

/* Slide Transitions */
.slide-enter {
    opacity: 0;
}

.slide-leave {
    opacity: 1;
}

[x-cloak] {
    display: none !important;
}

/* ============================================
   Category Cards - Apple Style
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
    padding: var(--space-sm);
}

.category-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-gray-100);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    transition: transform var(--transition);
}

.category-card:hover {
    transform: scale(0.98);
    opacity: 1;
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* În fotografia de mobilier subiectul stă în partea de jos a cadrului,
       așa că decupajul coboară — altfel sursele portret se taie peste produs. */
    object-position: 50% 75%;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card-content {
    position: relative;
    z-index: 1;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.category-card-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 2px;
}

.category-card-subtitle {
    font-size: var(--font-size-xs);
    color: rgba(255,255,255,0.8);
}

/* Large category card - now same size as others */
.category-card.large {
    grid-column: span 1;
    aspect-ratio: 4/3;
}

.category-card.large .category-card-title {
    font-size: var(--font-size-xl);
}

/* ============================================
   Product Grid
   ============================================ */
.products-section {
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xs);
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-gray-600);
    font-weight: 400;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* ============================================
   Product Card - Minimal
   ============================================ */
.product-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    /* hidden: colțurile imaginii se decupează după raza cardului, iar zoom-ul
       de la hover rămâne în interiorul lui */
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    border-color: var(--color-gray-400);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-link:hover {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    /* Fotografiile de produs au deja fundal alb; un fundal gri ar lăsa să se
       vadă dreptunghiul alb al pozei peste el. */
    background: var(--color-white);
    overflow: hidden;
    border-radius: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    /* contain: produsele au proporții diferite, nu le tăiem din cadru */
    object-fit: contain;
    object-position: center;
    padding: 12px;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    padding: 4px 10px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    border-radius: 4px;
    z-index: 2;
}

.product-badge.sale {
    background: var(--color-error);
    color: var(--color-white);
}

.product-badge.out {
    background: var(--color-gray-600);
    color: var(--color-white);
}

.product-badge.low {
    background: var(--color-accent);
    color: var(--color-black);
}

.product-actions {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    right: var(--space-sm);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

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

.product-card .product-info {
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.product-name {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-from {
    font-size: var(--font-size-xs);
    font-weight: 400;
    color: var(--color-gray-500);
}

.price-current {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-black);
}

.price-old {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    text-decoration: line-through;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-gray-400);
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition);
    z-index: 3;
}

.wishlist-btn:hover {
    color: var(--color-error);
    transform: scale(1.1);
}

.wishlist-btn.active {
    color: var(--color-error);
}

/* ============================================
   Features Section
   ============================================ */
/* Benefits Bar - Apple Style */
.benefits-bar {
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
    padding: var(--space-lg) 0;
}

.benefits-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 var(--space-xl);
    border-right: 1px solid var(--color-gray-200);
}

.benefit:last-child {
    border-right: none;
}

.benefit svg {
    color: var(--color-gray-900);
    flex-shrink: 0;
}

.benefit span {
    font-size: 14px;
    color: var(--color-gray-600);
    white-space: nowrap;
}

.benefit strong {
    color: var(--color-gray-900);
    font-weight: 600;
}

/* ============================================
   Banner / Promo Section
   ============================================ */
.promo-banner {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.promo-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.promo-banner-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: var(--space-lg);
}

.promo-banner.dark .promo-banner-content {
    color: var(--color-white);
}

.promo-banner.dark h2,
.promo-banner.dark p {
    color: var(--color-white);
}

/* ============================================
   Footer - Minimal
   ============================================ */
.site-footer {
    background: var(--color-gray-100);
    padding: var(--space-lg) 0 var(--space-md);
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: var(--space-md);
}

.footer-column h4 {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--color-gray-600);
    font-size: var(--font-size-xs);
}

.footer-links a:hover {
    color: var(--color-black);
    opacity: 1;
}

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

.footer-legal {
    display: flex;
    gap: var(--space-sm);
}

.footer-legal a {
    color: var(--color-gray-600);
}

/* ============================================
   Forms
   ============================================ */
input, select, textarea {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    padding: 12px 16px;
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    background: var(--color-white);
    transition: all var(--transition);
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

input::placeholder {
    color: var(--color-gray-400);
}

/* Search */
.search-box {
    position: relative;
}

.search-box input {
    padding-left: 44px;
    border-radius: 980px;
    background: var(--color-gray-100);
    border: none;
}

.search-box input:focus {
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
}

.search-box svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--color-gray-400);
}

/* ============================================
   Quantity Input
   ============================================ */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: var(--color-gray-600);
    transition: all var(--transition);
}

.quantity-selector button:hover {
    background: var(--color-gray-100);
    color: var(--color-black);
}

.quantity-selector input {
    width: 50px;
    height: 40px;
    border: none;
    border-radius: 0;
    text-align: center;
    font-weight: 500;
    padding: 0;
}

.quantity-selector input:focus {
    box-shadow: none;
}

/* ============================================
   Cards & Panels
   ============================================ */
.card {
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-md);
    box-shadow: var(--shadow-subtle);
}

.card-bordered {
    box-shadow: none;
    border: 1px solid var(--color-gray-200);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    padding: var(--space-sm) 0;
}

.breadcrumb a {
    color: var(--color-gray-600);
}

.breadcrumb a:hover {
    color: var(--color-black);
    opacity: 1;
}

.breadcrumb span {
    color: var(--color-gray-400);
}

/* ============================================
   Tabs
   ============================================ */
.tabs {
    display: flex;
    gap: var(--space-md);
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: var(--space-md);
}

.tab {
    padding: var(--space-sm) 0;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-gray-600);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: all var(--transition);
}

.tab:hover {
    color: var(--color-black);
}

.tab.active {
    color: var(--color-black);
    border-bottom-color: var(--color-black);
}

/* ============================================
   Rating Stars
   ============================================ */
.rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating svg {
    width: 14px;
    height: 14px;
    color: var(--color-gray-200);
}

.rating svg.filled {
    color: var(--color-accent);
}

.rating-count {
    margin-left: 8px;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
}

/* ============================================
   Toast / Notifications
   ============================================ */
.toast-container {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.toast {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: 12px;
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-strong);
    animation: toastIn 0.3s ease;
}

.toast.success {
    background: var(--color-success);
}

.toast.error {
    background: var(--color-error);
}

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

/* ============================================
   Loading
   ============================================ */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gray-200);
    border-top-color: var(--color-black);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, var(--color-gray-100) 25%, var(--color-gray-200) 50%, var(--color-gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease infinite;
    border-radius: 8px;
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--color-white);
    border-radius: 20px;
    padding: var(--space-lg);
    max-width: 500px;
    width: 90%;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Old mobile menu styles removed - using Apple-style full screen nav */

/* ============================================
   Checkout
   ============================================ */
.checkout-steps {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-gray-400);
    font-size: var(--font-size-sm);
}

.checkout-step.active {
    color: var(--color-black);
}

.checkout-step.completed {
    color: var(--color-success);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.checkout-step.active .step-number {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.checkout-step.completed .step-number {
    background: var(--color-success);
    border-color: var(--color-success);
    color: var(--color-white);
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.hidden { display: none; }
.visible { display: block; }

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
    }

    .benefit {
        padding: var(--space-xs) var(--space-md);
        border-right: none;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 833px) {
    .nav-main {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-nav-content {
        padding: 20px 24px 40px;
    }

    .mobile-nav-link {
        font-size: 24px;
        padding: 14px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-3xl: 40px;
        --font-size-2xl: 32px;
        --font-size-xl: 24px;
    }

    /* Header adjustments for mobile */
    .site-header {
        height: 70px;
    }

    .site-header.scrolled {
        height: 60px;
    }

    body {
        padding-top: 70px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .logo img {
        height: 38px;
    }

    .site-header.scrolled .logo img {
        height: 32px;
    }

    .header-actions {
        gap: 12px;
    }

    .header-icon {
        width: 36px;
        height: 36px;
    }

    .header-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Reduce container padding on mobile */
    .container {
        padding: 0 12px;
    }

    /* Hero slider - reduce margins */
    .hero-slider .container {
        padding: 0 12px;
    }

    .hero-slide-content {
        padding: var(--space-md) 0;
    }

    .hero {
        min-height: auto;
        padding: var(--space-lg) var(--space-md);
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    /* Categories grid - 2 columns on mobile */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }

    .category-card {
        border-radius: 12px;
        aspect-ratio: 1/1;
    }

    /* Prima categorie ocupă toată lățimea, cât două coloane, ca să deschidă
       grila. Restul de patru umplu exact două rânduri de câte două. */
    .category-card.large {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
    }

    .category-card-content {
        padding: var(--space-sm);
    }

    .category-card-title {
        font-size: 13px;
    }

    .category-card.large .category-card-content {
        padding: var(--space-md);
    }

    .category-card.large .category-card-title {
        font-size: 20px;
    }

    .category-card.large .category-card-subtitle {
        font-size: 12px;
    }

    .category-card-subtitle {
        font-size: 10px;
    }

    /* Products grid - 2 columns on mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .benefits-bar {
        padding: var(--space-sm) 0;
    }

    .benefits-list {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .benefit {
        padding: var(--space-xs) 0;
        justify-content: center;
    }

    .benefit span {
        font-size: 12px;
    }

    /* Footer - 2 columns on mobile */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    /* Features section - ensure 2x2 grid */
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section,
    .section-lg,
    .inspiration-section,
    .testimonials-section,
    .newsletter-section {
        padding: 40px 0;
    }

    .features-section,
    .craftsmanship-section {
        margin: 40px 0;
    }

    .checkout-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .header-actions {
        gap: 16px;
    }

    .search-modal {
        padding: 16px 0;
    }

    .search-box-large {
        padding: 10px 14px;
    }

    .search-box-large input {
        font-size: 16px;
    }

    /* Shop toolbar mobile */
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .products-count {
        text-align: center;
    }

    .sort-tabs {
        justify-content: center;
    }

    .sort-tab {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    /* Keep 2 columns for products on small mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    /* Keep 2 columns for footer on small mobile */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .footer-links h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 12px;
    }

    /* Categories - tighter on small mobile */
    .categories-grid {
        gap: 6px;
        padding: 6px;
    }

    .category-card-title {
        font-size: 12px;
    }

    /* Features - 2x2 grid, more compact */
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-section .feature-card {
        padding: var(--space-md) var(--space-sm);
    }

    .features-section .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .features-section .feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .features-section .feature-card h3 {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .features-section .feature-card p {
        font-size: 11px;
        display: none; /* Hide description on very small screens */
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    /* Product card adjustments for small screens */
    .product-card .product-name {
        font-size: 13px;
    }

    .product-card .price-current {
        font-size: 14px;
    }

    .product-card .price-old {
        font-size: 11px;
    }
}

/* ============================================
   Print
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .mobile-nav,
    .no-print {
        display: none !important;
    }

    body {
        padding: 0;
    }
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-section {
    background: var(--color-black);
    padding: var(--space-xl) 0;
}

.newsletter-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    color: var(--color-white);
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
}

.newsletter-text {
    color: var(--color-gray-400);
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
}

.newsletter-form {
    display: flex;
    gap: var(--space-xs);
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    background: var(--color-gray-900);
    border: 1px solid var(--color-gray-600);
    color: var(--color-white);
    padding: 14px 20px;
    border-radius: 980px;
}

.newsletter-form input::placeholder {
    color: var(--color-gray-400);
}

.newsletter-form input:focus {
    border-color: var(--color-white);
    box-shadow: none;
}

.newsletter-form button {
    background: var(--color-accent);
    color: var(--color-black);
    font-weight: 500;
    padding: 14px 28px;
    border: none;
    border-radius: 980px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--color-accent-hover);
    transform: scale(1.02);
}

/* ============================================
   Footer - Updated
   ============================================ */
.site-footer {
    background: var(--color-gray-100);
    padding: var(--space-lg) 0 var(--space-md);
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: var(--space-md);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.footer-logo img {
    height: 28px;
}

.footer-logo span {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-black);
}

.footer-description {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    color: var(--color-gray-600);
    transition: color var(--transition);
}

.footer-social a:hover {
    color: var(--color-black);
    opacity: 1;
}

.footer-links h4 {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-black);
    opacity: 1;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--color-gray-400);
}

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

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--color-gray-600);
    font-size: var(--font-size-xs);
}

.footer-legal a:hover {
    color: var(--color-black);
    opacity: 1;
}

.footer-copyright {
    color: var(--color-gray-600);
    font-size: var(--font-size-xs);
}

/* ============================================
   Toast Notifications - Updated
   ============================================ */
.toast {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: 12px;
    font-size: var(--font-size-sm);
    box-shadow: var(--shadow-strong);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

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

.toast.success {
    background: var(--color-success);
}

.toast.error {
    background: var(--color-error);
}

/* ============================================
   Cookie Consent
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    padding: var(--space-md);
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.cookie-content p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.cookie-content a {
    color: var(--color-accent);
}

.cookie-actions {
    display: flex;
    gap: var(--space-xs);
    flex-shrink: 0;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-medium);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-400);
}

.back-to-top svg {
    color: var(--color-black);
}

/* ============================================
   Spinner
   ============================================ */
.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--color-gray-200);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================
   [x-cloak] for Alpine.js
   ============================================ */
[x-cloak] {
    display: none !important;
}

/* ============================================
   Responsive Footer Updates
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

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

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: var(--space-md);
    }

    .toast {
        bottom: var(--space-md);
        left: var(--space-md);
        right: var(--space-md);
    }
}

@media (max-width: 480px) {
    /* Keep 2 columns for footer on small mobile */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-links h4 {
        font-size: 13px;
    }

    .footer-links a {
        font-size: 12px;
        padding: 3px 0;
    }
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    text-align: center;
    padding: var(--space-lg) 0;
}

.page-header h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xs);
}

.page-header p {
    font-size: var(--font-size-base);
    color: var(--color-gray-600);
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}

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

.alert li {
    margin-bottom: 4px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

.alert-success {
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    color: #166534;
}

/* ============================================
   Form Elements
   ============================================ */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: var(--font-size-base);
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    background: var(--color-white);
    transition: all var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236e6e73'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}

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

.form-hint {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    margin-top: 4px;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.required {
    color: var(--color-error);
}

.optional {
    font-weight: 400;
    color: var(--color-gray-400);
}

/* Checkbox & Toggle */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gray-200);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    margin-top: 2px;
}

.checkbox-label input:checked + .checkmark {
    background: var(--color-black);
    border-color: var(--color-black);
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Toggle Switch */
.toggle-section {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-100);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.toggle-checkbox {
    display: none;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--color-gray-200);
    border-radius: 12px;
    position: relative;
    transition: all var(--transition);
    flex-shrink: 0;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-white);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-checkbox:checked + .toggle-switch {
    background: var(--color-black);
}

.toggle-checkbox:checked + .toggle-switch::after {
    left: 22px;
}

.toggle-content {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--color-gray-100);
    border-radius: 12px;
}

.subsection-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-black);
}

/* ============================================
   Shop Page
   ============================================ */
.shop-page {
    padding-bottom: var(--space-xl);
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.shop-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
    height: fit-content;
}

.shop-content {
    min-width: 0;
}

/* Filters */
.filter-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.filters-panel {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-md);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-gray-100);
    position: relative;
}

.filters-close {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--color-gray-600);
    border-radius: 50%;
    transition: background 0.2s;
}

.filters-close:hover {
    background: var(--color-gray-100);
}

.filters-title {
    font-size: var(--font-size-base);
    font-weight: 600;
}

.filters-reset {
    font-size: var(--font-size-sm);
    color: var(--color-gray-700);
}

.filter-group {
    margin-bottom: var(--space-md);
}

.filter-label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: block;
}

.filter-options {
    max-height: 200px;
    overflow-y: auto;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-black);
}

.filter-checkbox span {
    flex: 1;
}

.filter-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-price-inputs input {
    flex: 1;
    padding: 10px 12px;
    font-size: var(--font-size-sm);
}

.filter-price-inputs span {
    color: var(--color-gray-400);
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    padding: var(--space-sm) 0;
    gap: var(--space-sm);
}

.products-count {
    font-size: 14px;
    color: var(--color-gray-600);
    margin: 0;
}

/* Sort Tabs - Apple Segmented Control Style */
.sort-tabs {
    display: flex;
    background: var(--color-gray-100);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.sort-tab {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-600);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sort-tab:hover {
    color: var(--color-black);
}

.sort-tab.active {
    background: var(--color-white);
    color: var(--color-black);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Sort Select - fallback/alternative */
.sort-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    background-color: var(--color-gray-100);
    border: none;
    border-radius: 980px;
    cursor: pointer;
    transition: all var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
}

.sort-select:hover {
    background-color: var(--color-gray-200);
}

.sort-select:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    color: var(--color-gray-400);
}

.empty-state svg {
    margin-bottom: var(--space-md);
    color: var(--color-gray-200);
}

.empty-state h3 {
    font-size: var(--font-size-lg);
    color: var(--color-black);
    margin-bottom: var(--space-xs);
}

.empty-state p {
    margin-bottom: var(--space-md);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-lg);
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-gray-600);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    transition: all var(--transition);
}

.pagination-btn:hover {
    border-color: var(--color-black);
    color: var(--color-black);
    opacity: 1;
}

.pagination-btn.active {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

/* ============================================
   Category Page
   ============================================ */
.category-hero {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.category-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.category-hero-content h1 {
    color: var(--color-white);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-xs);
}

.category-hero-content p {
    color: rgba(255,255,255,0.8);
    font-size: var(--font-size-lg);
}

.category-description {
    padding: var(--space-lg);
    background: var(--color-gray-100);
    border-radius: 16px;
    margin-top: var(--space-xl);
}

.category-description p {
    line-height: 1.8;
}

/* Subcategories */
.subcategories-grid {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    overflow-x: auto;
    padding-bottom: var(--space-xs);
}

.subcategory-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 980px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-black);
    transition: all var(--transition);
}

.subcategory-card:hover {
    border-color: var(--color-black);
    opacity: 1;
}

.subcategory-card img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

/* ============================================
   Product Page
   ============================================ */
.product-page {
    padding: var(--space-md) 0 var(--space-xl);
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
    max-width: 500px;
}

.product-main-image {
    position: relative;
    width: 500px;
    height: 500px;
    max-width: 100%;
    background: var(--color-gray-100);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

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

.product-page-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 6px 12px;
    background: var(--color-error);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: 6px;
}

.product-thumbnails {
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-gray-100);
    transition: all var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--color-black);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Product Info */
.product-info {
    padding-top: var(--space-sm);
}

.product-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xs);
}

.product-short-desc {
    font-size: var(--font-size-base);
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.product-price-main {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-black);
}

.product-price-old {
    font-size: var(--font-size-lg);
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.product-price-save {
    font-size: var(--font-size-sm);
    color: var(--color-success);
    font-weight: 500;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.product-stock.in-stock {
    color: var(--color-success);
}

.product-stock.out-of-stock {
    color: var(--color-error);
}

/* Variations */
.product-variations {
    margin-bottom: var(--space-md);
}

.variation-group {
    margin-bottom: var(--space-sm);
}

.variation-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-option {
    padding: 10px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.variation-option:hover {
    border-color: var(--color-gray-400);
}

.variation-option.active {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

/* Product Actions */
.product-actions-block {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-bottom: var(--space-md);
}

.qty-btn {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    font-size: 20px;
    color: var(--color-black);
    cursor: pointer;
    transition: all var(--transition);
}

.qty-btn:hover:not(:disabled) {
    background: var(--color-gray-100);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-weight: 500;
}

.qty-value {
    width: 40px;
    text-align: center;
    font-size: var(--font-size-base);
    font-weight: 500;
}

.add-to-cart-btn {
    flex: 1;
}

.wishlist-btn-large {
    width: 52px;
    height: 52px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-gray-400);
    transition: all var(--transition);
}

.wishlist-btn-large:hover {
    border-color: var(--color-error);
    color: var(--color-error);
}

.wishlist-btn-large.active {
    background: var(--color-error);
    border-color: var(--color-error);
    color: var(--color-white);
}

/* Out of Stock Block */
.out-of-stock-block {
    flex-direction: column;
    gap: var(--space-md);
}

.out-of-stock-message {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    color: #991b1b;
}

.out-of-stock-message svg {
    flex-shrink: 0;
    color: #dc2626;
}

.out-of-stock-title {
    font-weight: 600;
    font-size: var(--font-size-base);
    margin-bottom: 4px;
}

.out-of-stock-text {
    font-size: var(--font-size-sm);
    color: #7f1d1d;
}

.out-of-stock-actions {
    display: flex;
    gap: var(--space-sm);
}

.out-of-stock-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Product Features */
.product-features {
    padding: var(--space-md);
    background: var(--color-gray-100);
    border-radius: 12px;
}

.product-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.product-features .feature:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-200);
}

.product-features .feature svg {
    color: var(--color-gray-400);
    flex-shrink: 0;
}

/* Product Tabs */
.product-tabs {
    border-top: 1px solid var(--color-gray-200);
    padding-top: var(--space-lg);
}

.tabs-nav {
    display: flex;
    gap: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-200);
    margin-bottom: var(--space-md);
}

.tabs-nav button {
    background: none;
    border: none;
    padding: var(--space-sm) 0;
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-gray-400);
    cursor: pointer;
    position: relative;
    transition: all var(--transition);
}

.tabs-nav button:hover {
    color: var(--color-black);
}

.tabs-nav button.active {
    color: var(--color-black);
}

.tabs-nav button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-black);
}

.tab-panel {
    min-height: 200px;
}

.prose {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--color-gray-600);
}

.prose p {
    margin-bottom: var(--space-md);
}

.prose ul,
.prose ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.prose li {
    margin-bottom: var(--space-xs);
}

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

.specs-table tr:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-100);
}

.specs-table th,
.specs-table td {
    padding: 12px 0;
    text-align: left;
    font-size: var(--font-size-sm);
}

.specs-table th {
    width: 40%;
    color: var(--color-gray-600);
    font-weight: 400;
}

.specs-table td {
    color: var(--color-black);
}

/* Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.review-item {
    padding: var(--space-md);
    background: var(--color-gray-100);
    border-radius: 12px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.review-author {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.review-rating {
    display: flex;
    gap: 2px;
    color: var(--color-accent);
}

.review-date {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    margin-left: auto;
}

.review-content {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* ============================================
   Cart Page
   ============================================ */
.cart-page {
    padding: var(--space-md) 0 var(--space-xl);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-lg);
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--color-gray-100);
    border-radius: 12px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cart-item-image .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
}

.cart-item-details {
    min-width: 0;
}

.cart-item-name {
    font-size: var(--font-size-base);
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-name a {
    color: var(--color-black);
}

.cart-item-variant {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.cart-item-price-mobile {
    display: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-top: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-quantity .qty-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
}

.cart-item-price {
    font-weight: 600;
    font-size: var(--font-size-base);
    min-width: 100px;
    text-align: right;
}

.cart-item-remove {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: var(--color-gray-400);
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.cart-item-remove:hover {
    background: #fef2f2;
    color: var(--color-error);
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    margin-top: var(--space-sm);
    padding: var(--space-sm) 0;
    align-self: flex-start;
    width: auto;
}

.continue-shopping:hover {
    color: var(--color-black);
    opacity: 1;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-200);
    margin-top: var(--space-md);
}

.clear-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: var(--font-size-sm);
    color: var(--color-error);
    background: transparent;
    border: 1px solid var(--color-error);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
}

.clear-cart-btn:hover {
    background: var(--color-error);
    color: var(--color-white);
}

.clear-cart-btn svg {
    width: 16px;
    height: 16px;
}

/* Cart Summary */
.cart-summary {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    padding: var(--space-md);
}

.summary-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: var(--font-size-sm);
    border-bottom: 1px solid var(--color-gray-100);
}

.summary-row.discount span:last-child {
    color: var(--color-success);
}

.summary-row .free-shipping,
.summary-row .free {
    color: var(--color-success);
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-top: var(--space-xs);
}

.summary-note {
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
    text-align: center;
    margin-top: var(--space-sm);
}

/* Coupon Form */
.coupon-form {
    display: flex;
    gap: 8px;
    margin: var(--space-sm) 0;
}

.coupon-form input {
    flex: 1;
    padding: 10px 14px;
    font-size: var(--font-size-sm);
}

.coupon-form .btn {
    padding: 10px 16px;
    font-size: var(--font-size-sm);
}

.coupon-message {
    font-size: var(--font-size-xs);
    margin-top: 4px;
}

.coupon-message.error {
    color: var(--color-error);
}

/* Free Shipping Progress */
.free-shipping-progress {
    padding: var(--space-sm);
    background: var(--color-gray-100);
    border-radius: 10px;
    margin: var(--space-sm) 0;
}

.free-shipping-progress p {
    font-size: var(--font-size-sm);
    margin-bottom: 8px;
}

.progress-bar {
    height: 6px;
    background: var(--color-gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-100);
}

.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: var(--font-size-xs);
    font-weight: 500;
    border-radius: 4px;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-page {
    padding: var(--space-md) 0 var(--space-xl);
    background: var(--color-gray-100);
    min-height: calc(100vh - var(--header-height));
}

.checkout-page .container {
    max-width: 1100px;
}

/* Progress Steps */
.checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: var(--space-lg);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-gray-400);
}

.progress-step .step-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
}

.progress-step.active .step-number {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.progress-step.active .step-label {
    color: var(--color-black);
    font-weight: 500;
}

.progress-step.completed .step-number {
    background: var(--color-success);
    border-color: var(--color-success);
    color: var(--color-white);
}

.progress-step.completed .step-label {
    color: var(--color-success);
}

.progress-line {
    width: 60px;
    height: 2px;
    background: var(--color-gray-200);
    margin: 0 var(--space-sm);
}

.progress-line.active {
    background: var(--color-black);
}

/* Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-lg);
    align-items: start;
}

.checkout-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.checkout-section {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.checkout-section .section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-md);
    background: var(--color-black);
    color: var(--color-white);
    text-align: left;
    margin: 0;
}

.checkout-section .section-header svg {
    flex-shrink: 0;
}

.checkout-section .section-header h2 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

.checkout-section .section-content {
    padding: var(--space-md);
}

/* Option Cards */
.option-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.option-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition);
}

.option-card:hover {
    border-color: var(--color-gray-400);
}

.option-card.selected {
    border-color: var(--color-black);
    background: var(--color-gray-100);
}

.option-card input[type="radio"] {
    display: none;
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gray-200);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition);
}

.option-card.selected .option-radio,
.option-card input:checked ~ .option-radio {
    border-color: var(--color-black);
    border-width: 6px;
}

.option-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    flex-shrink: 0;
}

.option-content {
    flex: 1;
    min-width: 0;
}

.option-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-black);
}

.option-desc {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    margin-top: 2px;
}

.option-price {
    font-size: var(--font-size-base);
    font-weight: 600;
    flex-shrink: 0;
}

.option-price.free {
    color: var(--color-success);
}

/* Bank Details */
.bank-details {
    margin-top: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-gray-100);
    border-radius: 12px;
}

.bank-details h4 {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-sm);
}

.bank-info {
    background: var(--color-white);
    padding: var(--space-sm);
    border-radius: 8px;
}

.bank-info p {
    font-size: var(--font-size-sm);
    margin-bottom: 6px;
}

.bank-info span {
    color: var(--color-gray-400);
}

.bank-info .mono {
    font-family: monospace;
}

.bank-note {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    margin-top: var(--space-sm);
}

/* Free Shipping Notice */
.free-shipping-notice {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--color-gray-100);
    border-radius: 12px;
}

.free-shipping-notice p {
    font-size: var(--font-size-sm);
    margin-bottom: 8px;
}

/* Order Summary */
.checkout-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
}

.order-summary {
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-md);
    box-shadow: var(--shadow-subtle);
}

.order-summary .summary-title {
    font-size: var(--font-size-lg);
    margin-bottom: 4px;
}

.summary-subtitle {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    margin-bottom: var(--space-md);
}

.summary-products {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: var(--space-md);
    padding-right: 8px;
}

.summary-product {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 0;
}

.summary-product:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-100);
}

.product-thumb {
    width: 50px;
    height: 50px;
    background: var(--color-gray-100);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.product-thumb svg {
    color: var(--color-gray-400);
}

.summary-product .product-details {
    flex: 1;
    min-width: 0;
}

.summary-product .product-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-black);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-product .product-variant {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    display: block;
}

.summary-product .product-qty {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    display: block;
}

.summary-product .product-price {
    font-size: var(--font-size-sm);
    font-weight: 600;
    flex-shrink: 0;
}

.summary-totals {
    border-top: 1px solid var(--color-gray-200);
    padding-top: var(--space-sm);
}

/* Loyalty Box */
.loyalty-box {
    margin: var(--space-sm) 0;
    padding: var(--space-sm);
    background: #fef3c7;
    border-radius: 10px;
}

.loyalty-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.loyalty-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
}

.loyalty-text {
    flex: 1;
}

.loyalty-text strong {
    display: block;
    font-size: var(--font-size-sm);
}

.loyalty-text small {
    font-size: var(--font-size-xs);
    color: #92400e;
}

.points-earn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--space-sm);
    background: #dcfce7;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    color: #166534;
    margin: var(--space-sm) 0;
}

/* Terms */
.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: var(--space-md) 0;
}

.terms-label input {
    display: none;
}

.terms-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gray-200);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    margin-top: 2px;
}

.terms-label input:checked + .terms-checkbox {
    background: var(--color-black);
    border-color: var(--color-black);
}

.terms-label input:checked + .terms-checkbox::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-text {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.5;
}

.terms-text a {
    color: var(--color-accent);
}

/* ============================================
   Auth Pages
   ============================================ */
.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--color-white);
}

.auth-visual {
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--color-accent);
    opacity: 0.1;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 400px;
}

.auth-visual-content h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
    color: var(--color-black);
}

.auth-visual-content p {
    font-size: var(--font-size-lg);
    color: var(--color-gray-600);
}

.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--color-white);
    border-radius: 0;
    padding: var(--space-lg);
    box-shadow: none;
}

@media (max-width: 1024px) {
    .auth-page {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black) 200px, var(--color-gray-100) 200px);
    }

    .auth-visual {
        display: flex;
        padding: var(--space-xl) var(--space-md) var(--space-lg);
        background: transparent;
        min-height: auto;
    }

    .auth-visual::before {
        width: 300px;
        height: 300px;
        background: var(--color-accent);
        opacity: 0.15;
        top: 30%;
    }

    .auth-visual-content {
        max-width: 100%;
    }

    .auth-visual-content h2 {
        font-size: var(--font-size-xl);
        color: var(--color-white);
        margin-bottom: var(--space-xs);
    }

    .auth-visual-content p {
        font-size: var(--font-size-sm);
        color: rgba(255, 255, 255, 0.7);
    }

    .auth-form-side {
        min-height: auto;
        background: transparent;
        padding: 0 var(--space-md) var(--space-lg);
        align-items: flex-start;
    }

    .auth-card {
        max-width: 100%;
        background: var(--color-white);
        border-radius: 20px;
        box-shadow: var(--shadow-strong);
    }
}

@media (max-width: 480px) {
    .auth-page {
        background: linear-gradient(180deg, var(--color-black) 0%, var(--color-black) 160px, var(--color-gray-100) 160px);
    }

    .auth-visual {
        padding: var(--space-lg) var(--space-md) var(--space-md);
    }

    .auth-visual-content h2 {
        font-size: var(--font-size-lg);
    }

    .auth-card {
        padding: var(--space-md);
        border-radius: 16px;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.auth-header h1 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
}

.auth-header p {
    font-size: var(--font-size-base);
    color: var(--color-gray-400);
}

.auth-form {
    margin-bottom: var(--space-md);
}

.auth-footer {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-100);
}

.auth-footer p {
    font-size: var(--font-size-sm);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: var(--space-md) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-gray-200);
}

.auth-divider span {
    padding: 0 var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-black);
    transition: all var(--transition);
}

.social-btn:hover {
    border-color: var(--color-gray-400);
    background: var(--color-gray-100);
    opacity: 1;
}

/* Auth Benefits */
.auth-benefits {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-100);
}

.auth-benefits h3 {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: var(--space-md);
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.benefits-list svg {
    color: var(--color-success);
    flex-shrink: 0;
}

/* Button Block */
.btn-block {
    display: flex;
    width: 100%;
}

/* ============================================
   Hero with Background Image
   ============================================ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--space-lg);
}

.hero.dark .hero-title,
.hero.dark .hero-subtitle,
.hero.dark h1,
.hero.dark p {
    color: var(--color-white);
}

/* CTA Section */
.cta-section {
    padding: var(--space-xl) 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: var(--space-sm);
}

.cta-section p {
    margin-bottom: var(--space-md);
}

/* ============================================
   Responsive Updates
   ============================================ */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 220px 1fr;
    }

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

    .checkout-sidebar {
        position: static;
        order: -1;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .product-gallery {
        position: static;
        max-width: 100%;
    }

    .product-main-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

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

    .cart-summary {
        position: static;
    }
}

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

    .shop-sidebar {
        position: static;
    }

    .filter-toggle {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        padding: 14px 24px;
        background: var(--color-black);
        color: var(--color-white);
        border: none;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        z-index: 100;
        font-weight: 600;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .filter-toggle:active {
        transform: translateX(-50%) scale(0.95);
    }

    .filter-toggle svg {
        stroke: var(--color-white);
    }

    .filters-panel {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        border-radius: 0;
        overflow-y: auto;
        padding-top: 0;
        background: var(--color-white);
    }

    .filters-panel.active {
        display: flex;
        flex-direction: column;
    }

    .filters-panel .filters-header {
        position: sticky;
        top: 0;
        background: var(--color-white);
        padding: 16px 20px;
        margin: 0;
        border-bottom: 1px solid var(--color-gray-200);
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .filters-panel .filters-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    .filters-panel .filters-title {
        flex: 1;
        text-align: center;
        font-size: 17px;
    }

    .filters-panel .filters-reset {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: var(--color-primary);
    }

    .filters-panel .filter-group {
        padding: 0 20px;
    }

    .filters-panel .filter-group:first-of-type {
        padding-top: 16px;
    }

    .filters-panel > .btn {
        margin: auto 20px 20px;
        flex-shrink: 0;
    }

    .cart-item {
        grid-template-columns: 80px 1fr auto;
    }

    .cart-item-quantity {
        grid-column: 2;
    }

    .cart-item-price {
        display: none;
    }

    .cart-item-price-mobile {
        display: block;
    }

    .cart-item-remove {
        grid-row: 1;
        grid-column: 3;
    }

    .checkout-progress {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .progress-line {
        display: none;
    }

    .progress-step .step-label {
        display: none;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

    .category-hero {
        height: 200px;
    }

    .category-hero-content h1 {
        font-size: var(--font-size-xl);
    }

    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: var(--space-md);
    }

    .tabs-nav button {
        white-space: nowrap;
    }

    .auth-card {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .cart-item {
        grid-template-columns: 70px 1fr auto;
        gap: var(--space-sm);
        padding: var(--space-sm);
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .product-actions-block {
        flex-wrap: wrap;
    }

    .add-to-cart-btn {
        order: 3;
        width: 100%;
    }
}

/* ============================================
   Account Pages - Minimalist Apple Style
   ============================================ */

/* Account Page Layout */
.account-page {
    padding: var(--space-lg) 0;
    min-height: calc(100vh - var(--header-height) - 200px);
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.account-content {
    min-width: 0;
}

/* Account Sidebar */
.account-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-md));
    height: fit-content;
}

.account-user-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-black);
    border-radius: 16px;
    margin-bottom: var(--space-sm);
}

.account-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-user-initials {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
}

.account-user-info {
    min-width: 0;
}

.account-user-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-user-email {
    font-size: 13px;
    color: var(--color-gray-400);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Account Navigation */
.account-nav {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-xs);
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--color-gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.account-nav-link:hover {
    background: var(--color-gray-100);
    color: var(--color-black);
}

.account-nav-link.active {
    background: var(--color-gray-100);
    color: var(--color-black);
}

.account-nav-link.logout {
    color: var(--color-error);
}

.account-nav-link.logout:hover {
    background: rgba(255, 59, 48, 0.08);
}

.account-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.account-nav-badge {
    margin-left: auto;
    background: var(--color-error);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.account-nav-divider {
    height: 1px;
    background: var(--color-gray-200);
    margin: var(--space-xs) var(--space-sm);
}

/* Account Points Card */
.account-points-card {
    margin-top: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-accent);
    border-radius: 16px;
    text-align: center;
}

.account-points-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-black);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-points-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-black);
    margin: 4px 0;
}

.account-points-worth {
    font-size: 13px;
    color: var(--color-black);
    opacity: 0.8;
}

/* Account Welcome */
.account-welcome {
    margin-bottom: var(--space-lg);
}

.account-welcome h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xs);
}

.account-welcome p {
    font-size: 17px;
    color: var(--color-gray-600);
}

/* Account Page Header */
.account-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.account-page-header h1 {
    font-size: var(--font-size-xl);
    margin-bottom: 4px;
}

.account-header-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.account-stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-md);
    text-align: center;
    transition: var(--transition);
}

.account-stat-card:hover {
    border-color: var(--color-gray-400);
    transform: translateY(-2px);
}

.account-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    background: var(--color-gray-100);
    border-radius: 12px;
    color: var(--color-gray-600);
}

.account-stat-icon svg {
    width: 24px;
    height: 24px;
}

.account-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1;
}

.account-stat-label {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-top: 4px;
}

/* Account Sections */
.account-section {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.account-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-gray-200);
}

.account-section-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.account-section-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
}

.account-section-link:hover {
    color: var(--color-accent-hover);
}

/* Settings Page Tabs */
.settings-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-md);
    padding: 4px;
    background: var(--color-gray-100);
    border-radius: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.settings-tabs::-webkit-scrollbar {
    display: none;
}

.settings-tab {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.settings-tab:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.5);
}

.settings-tab.active {
    color: var(--color-text);
    background: var(--color-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.settings-tab.danger {
    color: var(--color-error);
}

.settings-tab.danger:hover {
    background: rgba(220, 38, 38, 0.1);
}

.settings-tab.danger.active {
    background: rgba(220, 38, 38, 0.1);
    color: var(--color-error);
}

/* Settings Form */
.settings-form {
    max-width: 500px;
}

.settings-form .form-group {
    margin-bottom: var(--space-md);
}

.settings-form .form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
}

.settings-form .form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--color-gray-300);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-form .form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.settings-form .form-input.disabled {
    background: var(--color-gray-100);
    color: var(--color-gray-500);
    cursor: not-allowed;
}

.settings-form .form-hint {
    font-size: 13px;
    color: var(--color-gray-500);
    margin-top: 6px;
}

.settings-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.settings-form .form-actions {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-200);
}

/* Checkbox Label for Settings */
.settings-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 16px;
    background: var(--color-gray-50);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.settings-form .checkbox-label:hover {
    background: var(--color-gray-100);
}

.settings-form .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.settings-form .checkbox-label span {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
}

/* Danger Zone */
.danger-zone {
    background: rgba(220, 38, 38, 0.05);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 12px;
    padding: var(--space-lg);
}

.danger-zone h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-error);
    margin-bottom: var(--space-sm);
}

.danger-zone p {
    font-size: 14px;
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.danger-zone .settings-form {
    max-width: 400px;
}

/* Form Errors */
.form-errors {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 10px;
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.form-errors p {
    color: var(--color-error);
    font-size: 14px;
    margin: 0;
}

.form-errors p + p {
    margin-top: 8px;
}

/* Settings Responsive */
@media (max-width: 768px) {
    .settings-tabs {
        gap: 4px;
    }

    .settings-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .settings-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Account Empty State */
.account-empty {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
}

.account-empty svg {
    color: var(--color-gray-400);
    margin-bottom: var(--space-md);
}

.account-empty h3 {
    font-size: 20px;
    margin-bottom: var(--space-xs);
}

.account-empty p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Account Orders Table */
.account-orders-table {
    overflow-x: auto;
}

.account-orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.account-orders-table th {
    text-align: left;
    padding: var(--space-sm) var(--space-md);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--color-gray-100);
}

.account-orders-table td {
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
    border-bottom: 1px solid var(--color-gray-100);
}

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

.account-orders-table tr:hover td {
    background: var(--color-gray-100);
}

.table-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.table-link:hover {
    color: var(--color-accent-hover);
}

/* Order Status */
.order-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.status-confirmed {
    background: #cce5ff;
    color: #004085;
}

.order-status.status-processing {
    background: #d4edda;
    color: #155724;
}

.order-status.status-shipped {
    background: #e2d6f5;
    color: #6f42c1;
}

.order-status.status-delivered {
    background: #d4edda;
    color: #155724;
}

.order-status.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Account Address Cards */
.account-addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.account-address-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    overflow: hidden;
}

.account-address-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-gray-100);
}

.account-address-header h3 {
    font-size: 15px;
    font-weight: 600;
}

.account-address-header a {
    font-size: 13px;
    color: var(--color-accent);
    text-decoration: none;
}

.account-address-card address {
    padding: var(--space-md);
    font-style: normal;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray-600);
}

.account-add-link {
    display: inline-block;
    margin-top: var(--space-xs);
    color: var(--color-accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Addresses Grid */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.address-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.address-card:hover {
    border-color: var(--color-gray-400);
}

.address-card.default {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-100);
}

.address-type {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-gray-500);
}

.address-default-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 20px;
}

.address-card-body {
    padding: var(--space-md);
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-gray-600);
}

.address-card-body strong {
    color: var(--color-gray-900);
    font-weight: 600;
}

.address-card-footer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--color-gray-100);
    background: var(--color-gray-50);
}

.address-card-footer a,
.address-card-footer .btn-link {
    font-size: 13px;
    color: var(--color-gray-600);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.address-card-footer a:hover,
.address-card-footer .btn-link:hover {
    color: var(--color-accent);
}

.address-card-footer .btn-link.danger:hover {
    color: var(--color-error);
}

/* Address Type Selector (in form) */
.address-type-selector {
    display: flex;
    gap: var(--space-sm);
}

.address-type-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-gray-50);
    border: 2px solid var(--color-gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.address-type-option input {
    display: none;
}

.address-type-option span {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-600);
}

.address-type-option.active,
.address-type-option:has(input:checked) {
    background: var(--color-white);
    border-color: var(--color-accent);
}

.address-type-option.active span,
.address-type-option:has(input:checked) span {
    color: var(--color-gray-900);
}

/* Wishlist Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.wishlist-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.wishlist-item:hover {
    border-color: var(--color-gray-400);
}

.wishlist-item-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.wishlist-item:hover .wishlist-item-image img {
    transform: scale(1.05);
}

.wishlist-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-error);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.wishlist-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    color: #ff3b5c;
    transition: var(--transition);
}

.wishlist-remove:hover {
    transform: scale(1.1);
}

.wishlist-out-of-stock {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-out-of-stock span {
    background: var(--color-white);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.wishlist-item-info {
    padding: var(--space-sm);
}

.wishlist-item-info h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.wishlist-item-info h3 a {
    color: var(--color-black);
    text-decoration: none;
}

.wishlist-item-info h3 a:hover {
    color: var(--color-accent);
}

.wishlist-item-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.wishlist-item-price .price-sale {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-error);
}

.wishlist-item-price .price-old {
    font-size: 13px;
    color: var(--color-gray-400);
    text-decoration: line-through;
}

.wishlist-item-price .price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
}

.wishlist-add-cart {
    width: 100%;
}

.wishlist-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
}

.btn-text-danger {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--color-error);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-text-danger:hover {
    background: rgba(255, 59, 48, 0.08);
}

/* Orders Filters */
.orders-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: var(--space-sm);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-gray-600);
    text-decoration: none;
    background: var(--color-gray-100);
    transition: var(--transition);
}

.filter-tab:hover {
    background: var(--color-gray-200);
    color: var(--color-black);
}

.filter-tab.active {
    background: var(--color-black);
    color: var(--color-white);
}

.filter-count {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.1);
}

.filter-tab.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.order-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.order-card:hover {
    border-color: var(--color-gray-400);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--color-gray-100);
    gap: var(--space-md);
    flex-wrap: wrap;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-badge-pos {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    background: #6f42c1;
    color: var(--color-white);
    border-radius: 4px;
    text-transform: uppercase;
}

.order-date {
    font-size: 13px;
    color: var(--color-gray-600);
}

.order-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.order-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
}

.order-items {
    display: flex;
    gap: 12px;
    padding: var(--space-md);
    align-items: center;
}

.order-item-thumb {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-gray-100);
}

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

.order-item-thumb .order-item-qty {
    position: absolute;
    bottom: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 4px;
}

.order-items-more {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-600);
}

.order-tracking {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px var(--space-md);
    background: #f3e8ff;
    font-size: 13px;
}

.tracking-label {
    color: #6f42c1;
}

.tracking-number {
    font-weight: 600;
    font-family: monospace;
    color: #6f42c1;
}

.tracking-link {
    margin-left: auto;
    color: #6f42c1;
    font-weight: 500;
    text-decoration: none;
}

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

.order-card-footer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-top: 1px solid var(--color-gray-100);
}

.order-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
}

.order-link:hover {
    color: var(--color-accent-hover);
}

/* Account Responsive */
@media (max-width: 1024px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-user-card {
        display: flex;
    }

    .account-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .account-nav-link {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        text-align: center;
        padding: 10px 12px;
    }

    .account-nav-link span:not(.account-nav-badge) {
        display: none;
    }

    .account-nav-icon {
        margin: 0;
    }

    .account-nav-divider {
        display: none;
    }

    .account-points-card {
        display: none;
    }

    .account-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .account-addresses-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .account-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .orders-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: var(--space-xs);
    }

    .filter-tab {
        white-space: nowrap;
    }

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

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

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

    .address-card-footer {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .address-type-selector {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .account-nav {
        gap: 2px;
    }

    .account-nav-link {
        min-width: 50px;
        padding: 10px;
    }

    .account-stat-card {
        padding: var(--space-sm);
    }

    .account-stat-icon {
        width: 40px;
        height: 40px;
    }

    .account-stat-icon svg {
        width: 20px;
        height: 20px;
    }

    .account-stat-value {
        font-size: 22px;
    }
}

/* ============================================
   Order View Page Styles
   ============================================ */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-600);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: var(--space-md);
    transition: var(--transition);
}

.back-link:hover {
    color: var(--color-black);
}

.order-view-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.order-view-info h1 {
    font-size: var(--font-size-xl);
    margin-bottom: 4px;
}

.order-view-date {
    font-size: 14px;
    color: var(--color-gray-600);
}

/* Order Progress Steps */
.order-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: var(--space-md);
    background: var(--color-gray-100);
    border-radius: 16px;
    margin-bottom: var(--space-lg);
}

.order-progress::before {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--color-gray-300);
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.progress-step .step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-400);
    transition: var(--transition);
}

.progress-step.complete .step-indicator {
    background: var(--color-success);
    border-color: var(--color-success);
    color: var(--color-white);
}

.progress-step.current .step-indicator {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.progress-step .step-label {
    font-size: 12px;
    color: var(--color-gray-400);
    text-align: center;
    max-width: 100px;
    word-wrap: break-word;
    hyphens: auto;
}

.progress-step.complete .step-label,
.progress-step.current .step-label {
    color: var(--color-black);
    font-weight: 500;
}

/* Tracking Card */
.tracking-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: #f3e8ff;
    border-radius: 16px;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.tracking-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #6f42c1;
}

.tracking-card .tracking-label {
    font-size: 13px;
    color: #6f42c1;
}

.tracking-card .tracking-number {
    font-size: 20px;
    font-weight: 700;
    font-family: monospace;
    color: var(--color-black);
}

/* Order View Grid */
.order-view-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-lg);
    overflow: hidden;
}

.order-view-main,
.order-view-sidebar {
    overflow: hidden;
}

.order-view-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.order-view-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Order Items List */
.order-items-list {
    display: flex;
    flex-direction: column;
}

.order-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-gray-100);
}

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

.order-item-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.order-item-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
    flex-shrink: 0;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-details h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.order-item-details h3 a {
    color: var(--color-black);
}

.order-item-details h3 a:hover {
    color: var(--color-accent);
}

.order-item-variant {
    font-size: 13px;
    color: var(--color-gray-600);
}

.order-item-qty {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-top: 4px;
    word-break: break-word;
}

.order-item-total {
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    text-align: right;
    word-break: break-word;
    min-width: 80px;
}

/* Order Summary */
.order-summary {
    padding: var(--space-md);
    background: var(--color-gray-100);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.order-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-gray-600);
}

.order-summary .summary-row.discount span:last-child {
    color: var(--color-success);
}

.order-summary .summary-row.earned span:last-child {
    color: var(--color-accent);
}

.order-summary .summary-row.total {
    border-top: 1px solid var(--color-gray-200);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
}

/* Order History Timeline */
.order-history {
    position: relative;
    padding: var(--space-md);
}

.order-history::before {
    content: '';
    position: absolute;
    left: calc(var(--space-md) + 8px);
    top: var(--space-md);
    bottom: var(--space-md);
    width: 2px;
    background: var(--color-gray-200);
}

.history-item {
    display: flex;
    gap: var(--space-md);
    position: relative;
    padding-bottom: var(--space-md);
}

.history-item:last-child {
    padding-bottom: 0;
}

.history-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-gray-300);
    border: 4px solid var(--color-white);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.history-item.current .history-dot {
    background: var(--color-accent);
}

.history-content {
    flex: 1;
}

.history-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 2px;
}

.history-date {
    font-size: 13px;
    color: var(--color-gray-600);
}

/* Info Cards */
.info-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    overflow: hidden;
}

.info-card.note {
    background: #fef3c7;
    border-color: #fde68a;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-gray-100);
}

.info-card-header h3 {
    font-size: 14px;
    font-weight: 600;
}

.info-card-header svg {
    color: var(--color-gray-400);
}

.info-card-body {
    padding: var(--space-md);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray-600);
    word-break: break-word;
    overflow-wrap: break-word;
}

.info-card-body p {
    margin-bottom: 4px;
}

.info-card-body .info-name {
    font-weight: 600;
    color: var(--color-black);
}

.info-card-body .info-company {
    font-weight: 600;
}

.info-card-body .info-phone {
    margin-top: 8px;
}

.payment-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.payment-status.paid {
    background: #d4edda;
    color: #155724;
}

.payment-status.pending {
    background: #fff3cd;
    color: #856404;
}

/* Order Actions */
.order-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: var(--space-md);
}

.order-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-danger {
    background: none;
    border: 1px solid #fecaca;
    color: var(--color-error);
}

.btn-danger:hover {
    background: #fef2f2;
    border-color: var(--color-error);
}

/* ============================================
   Order View - New Modern Design
   ============================================ */
.order-view-page {
    min-height: 60vh;
    padding-bottom: var(--space-xl);
}

/* Hero Section */
.ov-hero {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-white) 100%);
    border-radius: 20px;
}

.ov-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 12px;
    color: var(--color-gray-600);
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow-subtle);
}

.ov-back:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.ov-hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.ov-hero-main {
    min-width: 200px;
}

.ov-order-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray-400);
    font-weight: 600;
}

.ov-order-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-black);
    margin: 4px 0;
    line-height: 1.2;
}

.ov-order-date {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.ov-hero-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.ov-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.ov-status svg {
    flex-shrink: 0;
}

.ov-status-pending {
    background: #fef3cd;
    color: #856404;
}

.ov-status-confirmed {
    background: #cce5ff;
    color: #004085;
}

.ov-status-processing {
    background: #e2e3f0;
    color: #383d6e;
}

.ov-status-on_hold {
    background: #fff3cd;
    color: #856404;
}

.ov-status-shipped {
    background: #e8daef;
    color: #6f42c1;
}

.ov-status-delivered {
    background: #d4edda;
    color: #155724;
}

.ov-status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.ov-status-refunded {
    background: #fce4ec;
    color: #c2185b;
}

.ov-total {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
}

/* Timeline Progress */
.ov-timeline {
    position: relative;
    padding: var(--space-lg) var(--space-md);
    background: var(--color-white);
    border-radius: 16px;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-subtle);
}

.ov-timeline-track {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--color-gray-200);
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 0;
}

.ov-timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--color-success);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.ov-timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.ov-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.ov-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ov-step.complete .ov-step-dot {
    background: var(--color-success);
    border-color: var(--color-success);
    color: var(--color-white);
}

.ov-step.current .ov-step-dot {
    background: var(--color-black);
    border-color: var(--color-black);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.1);
}

.ov-step-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-gray-400);
    max-width: 80px;
    line-height: 1.3;
    word-wrap: break-word;
}

.ov-step.complete .ov-step-label,
.ov-step.current .ov-step-label {
    color: var(--color-black);
    font-weight: 600;
}

/* Tracking Card */
.ov-tracking {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, #ede9fe 0%, #faf5ff 100%);
    border-radius: 16px;
    margin-bottom: var(--space-lg);
}

.ov-tracking-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
    flex-shrink: 0;
}

.ov-tracking-info {
    flex: 1;
    min-width: 0;
}

.ov-tracking-label {
    display: block;
    font-size: var(--font-size-xs);
    color: #7c3aed;
    font-weight: 500;
    margin-bottom: 2px;
}

.ov-tracking-code {
    font-size: 18px;
    font-weight: 700;
    font-family: 'SF Mono', monospace;
    color: var(--color-black);
    letter-spacing: 1px;
}

.ov-tracking-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #7c3aed;
    color: var(--color-white);
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: var(--transition);
    flex-shrink: 0;
}

.ov-tracking-btn:hover {
    background: #6d28d9;
    color: var(--color-white);
}

/* Main Content Grid */
.ov-content {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: var(--space-lg);
}

.ov-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.ov-sidebar {
    display: flex !important;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 300px;
}

/* Cards */
.ov-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.ov-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-gray-100);
}

.ov-card-header h2 {
    font-size: 16px;
    font-weight: 700;
}

.ov-items-count {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    background: var(--color-gray-100);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Products List */
.ov-products {
    padding: 0 var(--space-lg);
}

.ov-product {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.ov-product:last-child {
    border-bottom: none;
}

.ov-product-image {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: var(--color-gray-100);
}

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

.ov-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
}

.ov-product-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.ov-product-info {
    flex: 1;
    min-width: 0;
}

.ov-product-name {
    display: block;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ov-product-name:hover {
    color: var(--color-accent);
}

.ov-product-variant {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    margin-bottom: 2px;
}

.ov-product-unit {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
}

.ov-product-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-black);
    flex-shrink: 0;
    text-align: right;
}

/* Summary Section */
.ov-summary {
    padding: var(--space-md) var(--space-lg);
    background: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-100);
}

.ov-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.ov-summary-row.ov-discount span:last-child {
    color: var(--color-success);
    font-weight: 600;
}

.ov-summary-row.ov-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--color-gray-200);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
}

.ov-summary-bonus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px;
    background: #fef3c7;
    border-radius: 10px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #92400e;
}

.ov-summary-bonus svg {
    color: #f59e0b;
}

/* Order History */
.ov-history {
    padding: var(--space-md) var(--space-lg);
    position: relative;
}

.ov-history::before {
    content: '';
    position: absolute;
    left: calc(var(--space-lg) + 7px);
    top: var(--space-md);
    bottom: var(--space-md);
    width: 2px;
    background: var(--color-gray-200);
}

.ov-history-item {
    display: flex;
    gap: var(--space-md);
    position: relative;
    padding-bottom: var(--space-md);
}

.ov-history-item:last-child {
    padding-bottom: 0;
}

.ov-history-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-gray-300);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-top: 2px;
}

.ov-history-item.current .ov-history-marker {
    background: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(255, 158, 0, 0.2);
}

.ov-history-content {
    flex: 1;
    min-width: 0;
}

.ov-history-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 2px;
}

.ov-history-date {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

/* Actions Card */
.ov-actions-card {
    background: var(--color-gray-100);
}

.ov-quick-actions {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ov-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-gray-700);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.ov-action-btn:hover {
    border-color: var(--color-gray-400);
    color: var(--color-black);
}

.ov-action-btn.primary {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

.ov-action-btn.primary:hover {
    background: var(--color-gray-800);
}

.ov-action-btn.danger {
    border-color: #fecaca;
    color: var(--color-error);
}

.ov-action-btn.danger:hover {
    background: #fef2f2;
    border-color: var(--color-error);
}

/* Info Sections */
.ov-info-section {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
}

.ov-info-icon {
    width: 40px;
    height: 40px;
    background: var(--color-gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-500);
    flex-shrink: 0;
}

.ov-info-content {
    flex: 1;
    min-width: 0;
}

.ov-info-content h3 {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-gray-400);
    font-weight: 600;
    margin-bottom: 8px;
}

.ov-info-content p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    margin-bottom: 2px;
    line-height: 1.5;
}

.ov-info-name {
    font-weight: 600;
    color: var(--color-black) !important;
}

.ov-info-company {
    font-weight: 600;
}

.ov-info-phone {
    margin-top: 8px !important;
}

.ov-info-divider {
    height: 1px;
    background: var(--color-gray-100);
    margin: 0 var(--space-md);
}

.ov-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.ov-payment-badge.paid {
    background: #d4edda;
    color: #155724;
}

.ov-payment-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.ov-note-card {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.ov-note-card .ov-info-icon {
    background: #fef3c7;
    color: #d97706;
}

/* Responsive */
@media (max-width: 1024px) {
    .ov-content {
        grid-template-columns: 1fr;
    }

    .ov-sidebar {
        order: -1;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ov-hero {
        flex-direction: column;
        padding: var(--space-md);
    }

    .ov-back {
        align-self: flex-start;
    }

    .ov-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .ov-hero-status {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: var(--space-sm);
    }

    .ov-order-number {
        font-size: 22px;
    }

    .ov-total {
        font-size: 20px;
    }

    .ov-timeline {
        padding: var(--space-md) var(--space-sm);
    }

    .ov-timeline-track {
        left: 20px;
        right: 20px;
    }

    .ov-step-dot {
        width: 26px;
        height: 26px;
    }

    .ov-step-dot svg {
        width: 10px;
        height: 10px;
    }

    .ov-step-label {
        font-size: 10px;
        max-width: 60px;
    }

    .ov-tracking {
        flex-wrap: wrap;
        padding: var(--space-md);
    }

    .ov-tracking-btn {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-sm);
    }

    .ov-card-header {
        padding: var(--space-sm) var(--space-md);
    }

    .ov-products {
        padding: 0 var(--space-md);
    }

    .ov-product {
        flex-wrap: wrap;
    }

    .ov-product-image {
        width: 60px;
        height: 60px;
    }

    .ov-product-total {
        width: 100%;
        text-align: right;
        padding-left: 76px;
        margin-top: -8px;
    }

    .ov-summary {
        padding: var(--space-md);
    }

    .ov-history {
        padding: var(--space-md);
    }

    .ov-history::before {
        left: calc(var(--space-md) + 7px);
    }
}

@media (max-width: 480px) {
    .ov-timeline-steps {
        overflow-x: auto;
        padding-bottom: var(--space-xs);
        gap: var(--space-md);
        justify-content: flex-start;
    }

    .ov-step {
        min-width: 60px;
    }
}

/* ============================================
   Reviews Page Styles
   ============================================ */
.products-to-review {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.products-to-review-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.products-to-review-header svg {
    color: var(--color-accent);
}

.products-to-review-header h2 {
    font-size: 16px;
    margin-bottom: 2px;
}

.products-to-review-header p {
    font-size: 13px;
    color: #92400e;
}

.products-to-review-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.product-to-review {
    background: var(--color-white);
    border-radius: 12px;
    padding: var(--space-sm);
    text-align: center;
    transition: var(--transition);
}

.product-to-review:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.product-to-review-image {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

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

.product-to-review h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.write-review-link {
    font-size: 12px;
    color: var(--color-accent);
    font-weight: 500;
}

.products-to-review-more {
    text-align: center;
    font-size: 13px;
    color: #92400e;
    margin-top: var(--space-sm);
}

/* Review Card */
.review-card {
    display: flex;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--color-gray-400);
}

.review-card-image {
    width: 140px;
    flex-shrink: 0;
}

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

.review-card-content {
    flex: 1;
    padding: var(--space-md);
    min-width: 0;
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.review-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
}

.review-product-name:hover {
    color: var(--color-accent);
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.review-date {
    font-size: 13px;
    color: var(--color-gray-600);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    background: #fef3c7;
    padding: 6px 10px;
    border-radius: 8px;
}

.review-rating .star {
    color: var(--color-gray-300);
}

.review-rating .star.filled {
    color: var(--color-accent);
}

.rating-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    margin-left: 4px;
}

.review-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.review-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-gray-600);
}

.review-images {
    display: flex;
    gap: 8px;
    margin-top: var(--space-sm);
}

.review-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.review-image:hover {
    border-color: var(--color-accent);
}

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

.admin-reply {
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    background: var(--color-gray-100);
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
}

.admin-reply-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 4px;
}

.admin-reply p {
    font-size: 13px;
    color: var(--color-gray-600);
}

.review-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-gray-100);
}

.btn-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent);
    cursor: pointer;
    padding: 0;
}

.btn-link:hover {
    color: var(--color-accent-hover);
}

.btn-link.danger {
    color: var(--color-error);
}

.btn-link.danger:hover {
    color: #dc2626;
}

/* Image Modal */
.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.image-modal.active {
    display: flex;
}

.image-modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 12px;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
}

/* ============================================
   Loyalty Page Styles
   ============================================ */
.loyalty-hero {
    background: var(--color-black);
    border-radius: 20px;
    padding: var(--space-lg);
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.loyalty-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.loyalty-points-label {
    font-size: 13px;
    color: var(--color-gray-400);
    margin-bottom: 8px;
}

.loyalty-points-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.loyalty-points-value .points-number {
    font-size: 48px;
    font-weight: 700;
}

.loyalty-points-value .points-text {
    font-size: 20px;
    color: var(--color-gray-400);
}

.loyalty-points-worth {
    margin-top: var(--space-sm);
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    display: inline-block;
}

.loyalty-level-badge {
    text-align: right;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.loyalty-level-badge .level-label {
    font-size: 12px;
    color: var(--color-gray-400);
    margin-bottom: 4px;
}

.loyalty-level-badge .level-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.loyalty-level-badge .level-discount {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.loyalty-progress {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.loyalty-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 8px;
}

.loyalty-progress-labels .progress-remaining {
    color: var(--color-gray-400);
}

.loyalty-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.loyalty-progress-fill {
    height: 100%;
    background: var(--color-white);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.loyalty-stats {
    grid-template-columns: repeat(3, 1fr);
}

/* How it works */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    padding: var(--space-md);
}

.how-step {
    text-align: center;
}

.how-step-icon {
    width: 64px;
    height: 64px;
    background: var(--color-gray-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    color: var(--color-gray-600);
}

.how-step h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.how-step p {
    font-size: 14px;
    color: var(--color-gray-600);
}

/* Referral Card */
.referral-card {
    background: var(--color-accent);
    border-radius: 16px;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.referral-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.referral-content svg {
    color: var(--color-black);
}

.referral-content h2 {
    font-size: 18px;
    margin-bottom: 2px;
}

.referral-content p {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
}

.referral-code-box {
    text-align: center;
}

.referral-label {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 4px;
}

.referral-code {
    font-size: 24px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

/* Loyalty Levels */
.loyalty-levels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
    padding: var(--space-md);
}

.loyalty-level {
    position: relative;
    background: var(--color-gray-100);
    border-radius: 12px;
    padding: var(--space-md);
    text-align: center;
    transition: var(--transition);
}

.loyalty-level.current {
    background: var(--color-white);
    border: 2px solid var(--color-accent);
}

.current-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-black);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.level-bar {
    height: 4px;
    border-radius: 2px;
    margin-bottom: var(--space-sm);
}

.level-bar.level-bronze { background: #cd7f32; }
.level-bar.level-silver { background: #c0c0c0; }
.level-bar.level-gold { background: var(--color-accent); }
.level-bar.level-platinum { background: #1a1a1a; }

.loyalty-level h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.level-points {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 8px;
}

.level-benefit {
    display: inline-block;
    padding: 4px 10px;
    background: #d4edda;
    color: #155724;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.level-benefit-none {
    font-size: 12px;
    color: var(--color-gray-400);
}

/* Points History */
.points-history {
    padding: 0;
}

.history-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--color-gray-100);
}

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

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-icon.earned {
    background: #d4edda;
    color: #155724;
}

.history-icon.used {
    background: #fef2f2;
    color: var(--color-error);
}

.history-details {
    flex: 1;
    min-width: 0;
}

.history-description {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-black);
}

.history-date {
    font-size: 13px;
    color: var(--color-gray-600);
}

.history-points {
    font-size: 16px;
    font-weight: 700;
}

.history-points.earned {
    color: #155724;
}

.history-points.used {
    color: var(--color-error);
}

.account-empty.small {
    padding: var(--space-lg);
}

.account-empty.small svg {
    margin-bottom: var(--space-sm);
}

.account-empty.small p {
    margin-bottom: 4px;
}

.account-empty.small span {
    font-size: 13px;
    color: var(--color-gray-400);
}

/* ============================================
   Support Page Styles
   ============================================ */
.ticket-view {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    overflow: hidden;
}

.ticket-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-gray-100);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.ticket-header h1 {
    font-size: 18px;
    margin-bottom: 4px;
}

.ticket-meta {
    font-size: 13px;
    color: var(--color-gray-600);
}

.ticket-order {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-top: 4px;
}

.ticket-order a {
    color: var(--color-accent);
}

/* Ticket Messages */
.ticket-messages {
    padding: var(--space-md);
    background: var(--color-gray-100);
    max-height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ticket-message {
    max-width: 85%;
    padding: var(--space-sm) var(--space-md);
    border-radius: 16px;
}

.ticket-message.admin {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    align-self: flex-start;
}

.ticket-message.user {
    background: var(--color-black);
    color: var(--color-white);
    align-self: flex-end;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.message-avatar.admin {
    background: var(--color-accent);
    color: var(--color-black);
}

.message-author {
    font-size: 13px;
    font-weight: 600;
}

.message-body {
    font-size: 14px;
    line-height: 1.6;
}

.message-time {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.6;
}

.ticket-message.user .message-time {
    color: var(--color-white);
}

/* Ticket Reply Form */
.ticket-reply-form {
    padding: var(--space-md);
    border-top: 1px solid var(--color-gray-200);
}

.ticket-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: var(--space-sm);
    background: #fef3c7;
    border-radius: 10px;
    margin-bottom: var(--space-md);
    font-size: 13px;
}

.ticket-notice svg {
    flex-shrink: 0;
    color: #92400e;
}

.ticket-notice p {
    color: #78350f;
}

.reply-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-sm);
}

.reply-input-group textarea {
    flex: 1;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-success {
    background: #10b981;
    color: var(--color-white);
}

.btn-success:hover {
    background: #059669;
}

.full-width {
    width: 100%;
}

.ticket-closed-notice {
    padding: var(--space-lg);
    text-align: center;
    background: var(--color-gray-100);
    color: var(--color-gray-600);
}

.ticket-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-sm);
}

.ticket-rating .stars {
    display: flex;
    gap: 2px;
}

.ticket-rating .star {
    color: var(--color-gray-300);
}

.ticket-rating .star.filled {
    color: var(--color-accent);
}

/* Tickets List */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ticket-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.ticket-card:hover {
    border-color: var(--color-gray-400);
}

.ticket-card.unread {
    border-color: var(--color-accent);
    background: #fffbeb;
}

.ticket-card-content {
    flex: 1;
    min-width: 0;
}

.ticket-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.ticket-card-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black);
}

.unread-badge {
    background: var(--color-error);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.ticket-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 13px;
    color: var(--color-gray-600);
}

/* Modal - Support & Account Pages */
.account-page .modal,
#newTicketModal,
#closeTicketModal {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border-radius: 0;
    width: 100%;
    max-width: none;
}

.account-page .modal.active,
#newTicketModal.active,
#closeTicketModal.active {
    display: flex;
    transform: none;
}

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

.modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-large);
    z-index: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-gray-100);
}

.modal-header.success {
    background: #d4edda;
}

.modal-header-icon {
    width: 36px;
    height: 36px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-right: 8px;
}

.modal-header h2 {
    font-size: 18px;
    flex: 1;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

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

.modal-body {
    padding: var(--space-md);
}

.modal-description {
    font-size: 14px;
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

/* Star Rating Input */
.star-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.star-btn:hover {
    transform: scale(1.1);
}

.star-btn .star {
    color: var(--color-gray-300);
    transition: var(--transition);
}

.star-btn .star.filled {
    color: var(--color-accent);
}

.rating-text {
    text-align: center;
    font-size: 14px;
    color: var(--color-gray-600);
    margin-top: 8px;
}

/* Additional Responsive */
@media (max-width: 1024px) {
    .order-view-grid {
        grid-template-columns: 1fr;
    }
    
    .order-view-sidebar {
        order: -1;
    }
    
    .loyalty-levels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .how-it-works {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .order-progress {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    .order-progress::before {
        left: calc(var(--space-md) + 8px);
        top: 0;
        bottom: 0;
        width: 2px;
        height: auto;
    }
    
    .progress-step {
        flex-direction: row;
    }
    
    .progress-step .step-label {
        max-width: none;
        text-align: left;
    }

    .order-item {
        flex-wrap: wrap;
    }

    .order-item-image,
    .order-item-placeholder {
        width: 60px;
        height: 60px;
    }

    .order-item-details {
        flex: 1;
        min-width: 150px;
    }

    .order-item-total {
        width: 100%;
        text-align: right;
        margin-top: var(--space-sm);
        padding-top: var(--space-sm);
        border-top: 1px dashed var(--color-gray-200);
    }

    .products-to-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .review-card {
        flex-direction: column;
    }
    
    .review-card-image {
        width: 100%;
        height: 150px;
    }
    
    .loyalty-levels {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .referral-card {
        flex-direction: column;
        text-align: center;
    }
    
    .referral-content {
        flex-direction: column;
    }
    
    .ticket-message {
        max-width: 90%;
    }
}

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

    .loyalty-level-badge {
        text-align: left;
        width: 100%;
    }

    .loyalty-points-value .points-number {
        font-size: 36px;
    }
}

/* ============================================
   Search Page
   ============================================ */
.search-page {
    padding: var(--space-lg) 0 var(--space-xl);
}

.search-hero {
    text-align: center;
    padding: var(--space-xl) 0;
}

.search-hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.search-form-large {
    max-width: 640px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-gray-100);
    padding: 8px 8px 8px 20px;
    border-radius: 50px;
    transition: all var(--transition);
}

.search-input-wrapper:focus-within {
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.search-input-wrapper svg {
    color: var(--color-gray-400);
    flex-shrink: 0;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: var(--font-size-base);
    padding: 8px 0;
}

.search-input-wrapper input:focus {
    outline: none;
}

.search-input-wrapper .btn {
    border-radius: 50px;
    padding: 12px 24px;
}

.search-results-count {
    margin-top: var(--space-md);
    color: var(--color-gray-400);
}

/* Search Suggestions */
.search-suggestions {
    text-align: center;
    padding: var(--space-lg) 0;
}

.search-suggestions h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-xs);
}

.search-suggestions .text-muted {
    margin-bottom: var(--space-lg);
}

.popular-searches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-xl);
}

.search-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--color-gray-100);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    color: var(--color-black);
    transition: all var(--transition);
}

.search-tag:hover {
    background: var(--color-gray-200);
    opacity: 1;
}

.search-tag-rank {
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    color: var(--color-black);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quick Categories */
.quick-categories {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-100);
}

.quick-categories h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
}

.quick-categories .categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.category-quick-card {
    padding: var(--space-md);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    text-align: center;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition);
}

.category-quick-card:hover {
    border-color: var(--color-black);
    opacity: 1;
}

/* Empty State Links */
.empty-state-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-md);
}

.empty-state-links a {
    color: var(--color-black);
    font-weight: 500;
}

.suggestions-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-100);
}

.suggestions-section > p {
    font-weight: 500;
    margin-bottom: var(--space-md);
}

/* Sort Dropdown */
.sort-dropdown select {
    padding: 10px 40px 10px 16px;
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none;
    font-size: var(--font-size-sm);
    cursor: pointer;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page {
    padding: var(--space-lg) 0 var(--space-xl);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info .info-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-lg);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    margin-bottom: var(--space-md);
}

.info-card-content h3 {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.info-card-content p {
    font-size: var(--font-size-base);
    font-weight: 500;
}

.info-card-hint {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    margin-top: 4px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--color-gray-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--color-black);
    color: var(--color-white);
    opacity: 1;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    padding: var(--space-xl);
}

.contact-form-section h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
}

.contact-form-section .success-message {
    text-align: center;
    padding: var(--space-xl) 0;
}

.contact-form-section .success-icon {
    width: 64px;
    height: 64px;
    background: rgba(52, 199, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--color-success);
}

/* FAQ Section */
.faq-section {
    margin-top: var(--space-xxl);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.faq-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-lg);
}

.faq-card h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-sm);
}

.faq-card p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.faq-link {
    text-align: center;
    margin-top: var(--space-lg);
}

.faq-link a {
    color: var(--color-black);
    font-weight: 500;
}

/* ============================================
   404 Error Page
   ============================================ */
.error-page {
    padding: var(--space-xxl) 0;
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xxl);
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-gray-200);
    margin-bottom: var(--space-md);
}

.error-content h1 {
    font-size: var(--font-size-xxl);
    margin-bottom: var(--space-md);
}

.error-content p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.error-search {
    max-width: 400px;
    margin: 0 auto;
}

.error-search form {
    display: flex;
    gap: 10px;
}

.error-search input {
    flex: 1;
}

.error-recommendations {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-100);
}

.error-recommendations h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* ============================================
   Checkout Success Page
   ============================================ */
.checkout-success-page {
    padding: var(--space-xl) 0 var(--space-xxl);
}

.success-header {
    text-align: center;
    padding: var(--space-lg) 0 var(--space-xl);
}

.success-header .success-icon {
    width: 80px;
    height: 80px;
    background: rgba(52, 199, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--color-success);
}

.success-header h1 {
    font-size: var(--font-size-xxl);
    margin-bottom: var(--space-sm);
}

.success-header p {
    color: var(--color-gray-600);
}

/* Order Summary Card */
.order-summary-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    padding: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.order-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-gray-100);
    margin-bottom: var(--space-lg);
}

.order-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.order-number {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.order-total-display {
    text-align: right;
}

.order-total-amount {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

/* Order Details Grid */
.order-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.order-detail-box {
    background: var(--color-gray-100);
    border-radius: 16px;
    padding: var(--space-lg);
}

.detail-box-icon {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-gray-600);
}

.order-detail-box h3 {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.order-detail-box p {
    font-size: var(--font-size-sm);
    margin-bottom: 4px;
}

.transfer-info {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-200);
    font-size: var(--font-size-sm);
}

/* Loyalty Info Grid */
.loyalty-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.loyalty-box {
    padding: var(--space-md);
    border-radius: 12px;
    text-align: center;
}

.loyalty-box.used {
    background: rgba(255, 59, 48, 0.1);
}

.loyalty-box.earned {
    background: rgba(52, 199, 89, 0.1);
}

.loyalty-box .loyalty-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
    margin-bottom: 4px;
}

.loyalty-box .loyalty-value {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.loyalty-box.used .loyalty-value {
    color: var(--color-error);
}

.loyalty-box.earned .loyalty-value {
    color: var(--color-success);
}

.loyalty-box .loyalty-hint {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    margin-top: 4px;
}

/* Order Items Section */
.order-items-section {
    border-top: 1px solid var(--color-gray-100);
    padding-top: var(--space-lg);
}

.order-items-section h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-md);
}

/* Order Totals Card */
.order-totals {
    background: var(--color-gray-50);
    border-radius: 12px;
    padding: var(--space-md);
    margin-top: var(--space-lg);
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    border-bottom: 1px solid var(--color-gray-200);
}

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

.order-total-row span:first-child {
    font-weight: 500;
}

.order-total-row span:last-child {
    font-weight: 600;
    color: var(--color-black);
}

.order-total-row.discount span:last-child {
    color: var(--color-success);
}

.order-total-row.final {
    border-bottom: none;
    border-top: 2px solid var(--color-gray-300);
    margin-top: 8px;
    padding-top: 16px;
    font-size: var(--font-size-lg);
}

.order-total-row.final span:first-child {
    font-weight: 700;
    color: var(--color-black);
}

.order-total-row.final span:last-child {
    font-weight: 700;
    font-size: var(--font-size-xl);
    color: var(--color-accent);
}

/* Order Items List - Checkout Success */
.order-items-list .order-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: var(--space-sm);
    align-items: start;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.order-items-list .order-item:last-child {
    border-bottom: none;
}

.order-items-list .order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--color-gray-100);
}

.order-items-list .order-item-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
}

.order-items-list .order-item-details {
    min-width: 0;
    flex: 1;
}

.order-items-list .order-item-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 4px 0;
    word-wrap: break-word;
}

.order-items-list .order-item-variant {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
    margin: 0 0 4px 0;
    word-wrap: break-word;
}

.order-items-list .order-item-qty {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    margin: 0;
}

.order-items-list .order-item-total {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-black);
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .order-items-list .order-item {
        grid-template-columns: 50px 1fr;
        grid-template-rows: auto auto;
    }

    .order-items-list .order-item-image {
        width: 50px;
        height: 50px;
        grid-row: 1 / 3;
    }

    .order-items-list .order-item-details {
        grid-column: 2;
    }

    .order-items-list .order-item-total {
        grid-column: 2;
        text-align: left;
        font-size: var(--font-size-sm);
        padding-top: 4px;
    }

    .order-totals {
        padding: var(--space-sm);
    }

    .order-total-row {
        font-size: var(--font-size-xs);
        padding: 8px 0;
    }

    .order-total-row.final {
        font-size: var(--font-size-base);
    }

    .order-total-row.final span:last-child {
        font-size: var(--font-size-lg);
    }
}

/* Next Steps Section */
.next-steps-section {
    max-width: 800px;
    margin: var(--space-xl) auto 0;
}

.next-steps-section h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.step-content strong {
    display: block;
    margin-bottom: 4px;
}

.step-content p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
}

/* Success Actions */
.success-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-100);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-600);
    font-size: var(--font-size-sm);
}

/* ============================================
   Compare Page
   ============================================ */
.compare-page {
    padding: var(--space-lg) 0 var(--space-xxl);
}

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.compare-header h1 {
    font-size: var(--font-size-xxl);
    margin-bottom: var(--space-xs);
}

.btn-danger-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--color-error);
    border-radius: 10px;
    color: var(--color-error);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-danger-outline:hover {
    background: var(--color-error);
    color: var(--color-white);
}

.compare-notice {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 204, 0, 0.1);
    padding: var(--space-lg);
    border-radius: 16px;
    margin-bottom: var(--space-lg);
}

.compare-notice svg {
    color: #cc9900;
    flex-shrink: 0;
}

.compare-notice h3 {
    font-size: var(--font-size-base);
    margin-bottom: 4px;
}

.compare-notice p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}

.single-product-display {
    max-width: 300px;
}

/* Compare Table */
.compare-table-wrapper {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 20px;
    overflow: hidden;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-label-cell {
    width: 160px;
    padding: var(--space-md);
    text-align: left;
    font-weight: 600;
    font-size: var(--font-size-sm);
    background: var(--color-gray-100);
    position: sticky;
    left: 0;
    z-index: 1;
}

.compare-product-cell,
.compare-value-cell {
    padding: var(--space-md);
    text-align: center;
    min-width: 200px;
    border-left: 1px solid var(--color-gray-100);
}

.compare-table tbody tr {
    border-top: 1px solid var(--color-gray-100);
}

.compare-table tbody tr:hover {
    background: var(--color-gray-100);
}

.compare-table tbody tr:hover .compare-label-cell {
    background: var(--color-gray-200);
}

.compare-product-header {
    position: relative;
}

.compare-remove-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--color-error);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.compare-remove-btn:hover {
    transform: scale(1.1);
}

.compare-product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto var(--space-sm);
}

.compare-product-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.4;
}

.compare-price {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.compare-price-old {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
    text-decoration: line-through;
    margin-top: 4px;
}

.compare-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.compare-rating span {
    margin-left: 6px;
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
}

.compare-value-cell code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: var(--font-size-xs);
    color: var(--color-gray-600);
}

.compare-description {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    text-align: left;
}

.compare-actions-row {
    background: var(--color-gray-100);
}

.compare-actions-row .compare-label-cell {
    background: var(--color-gray-200);
}

.btn-full {
    width: 100%;
}

.btn-disabled {
    background: var(--color-gray-200);
    color: var(--color-gray-400);
    cursor: not-allowed;
}

/* Compare Back Link */
.compare-back {
    text-align: center;
    margin-top: var(--space-xl);
}

.compare-back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-600);
    font-weight: 500;
}

.compare-back a:hover {
    color: var(--color-black);
}

/* ============================================
   Promotions Page
   ============================================ */
.promotions-page .promo-header {
    position: relative;
}

.promotions-page .promo-header::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ff9500 100%);
    border-radius: 50%;
    opacity: 0.1;
}

/* ============================================
   Auth Pages (Forgot/Reset Password)
   ============================================ */
.auth-description {
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
}

.auth-links {
    text-align: center;
    margin-top: var(--space-lg);
}

.auth-links a {
    color: var(--color-black);
    font-weight: 500;
}

.error-state {
    text-align: center;
    padding: var(--space-lg) 0;
}

.error-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 59, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--color-error);
}

.error-state h1 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
}

.error-state p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-lg);
}

/* ============================================
   Responsive - New Pages
   ============================================ */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 768px) {
    .search-hero h1 {
        font-size: 1.75rem;
    }

    .search-input-wrapper {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: var(--space-sm);
    }

    .search-input-wrapper input {
        width: 100%;
        padding: 12px;
    }

    .search-input-wrapper .btn {
        width: 100%;
    }

    .quick-categories .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-form-section {
        padding: var(--space-lg);
    }

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

    .error-code {
        font-size: 80px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-search form {
        flex-direction: column;
    }

    .order-summary-header {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .order-total-display {
        text-align: center;
    }

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

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

    .success-actions {
        flex-direction: column;
        align-items: center;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .compare-header {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .compare-table-wrapper {
        overflow-x: auto;
    }

    .compare-label-cell {
        width: 120px;
        font-size: var(--font-size-xs);
    }

    .compare-product-cell,
    .compare-value-cell {
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .search-hero {
        padding: var(--space-lg) 0;
    }

    .search-hero h1 {
        font-size: 1.5rem;
    }

    .popular-searches {
        justify-content: flex-start;
    }

    .search-tag {
        padding: 8px 16px;
        font-size: var(--font-size-xs);
    }

    .contact-form-section {
        padding: var(--space-md);
    }

    .faq-card {
        padding: var(--space-md);
    }

    .order-summary-card {
        padding: var(--space-md);
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: var(--font-size-sm);
    }
}

/* =====================================================
   STATIC PAGES - Apple Minimalist Style
   ===================================================== */

.static-page {
    min-height: 60vh;
}

.static-hero {
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
    color: var(--color-white);
    padding: var(--space-3xl) 0;
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.static-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.static-hero p {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.static-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding-top: var(--space-lg);
}

.static-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.static-header p {
    font-size: var(--font-size-lg);
    color: var(--color-gray-500);
}

.static-section {
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    text-align: center;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.01em;
}

/* Prose Content */
.prose {
    max-width: 800px;
    margin: 0 auto;
    color: var(--color-gray-600);
    line-height: 1.8;
}

.prose p {
    margin-bottom: var(--space-md);
}

.prose h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.prose ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.prose li {
    margin-bottom: var(--space-xs);
}

.prose a {
    color: var(--color-accent);
    text-decoration: none;
}

.prose a:hover {
    text-decoration: underline;
}

/* Values Grid */
.values-card {
    background: var(--color-gray-50);
    border-radius: 20px;
    padding: var(--space-xl) var(--space-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.value-item {
    text-align: center;
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--color-gray-700);
}

.value-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-xs);
}

.value-item p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
}

.stat-value {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
}


.feature-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-gray-50);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--color-gray-100);
}

.feature-icon {
    flex-shrink: 0;
    color: var(--color-success);
}

.feature-content h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.5;
}

/* Static CTA */
.static-cta {
    background: var(--color-gray-900);
    color: var(--color-white);
    border-radius: 20px;
    padding: var(--space-2xl);
    text-align: center;
}

.static-cta.light {
    background: var(--color-gray-50);
    color: var(--color-gray-900);
}

.static-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.static-cta.light h2 {
    color: var(--color-gray-900);
}

.static-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.static-cta.light p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-md);
}

.static-cta .btn {
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
}

.static-cta .btn:hover {
    background: #e6a025;
    color: var(--color-white);
}

/* Shipping Options */
.shipping-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.shipping-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition);
}

.shipping-card:hover {
    border-color: var(--color-gray-400);
    transform: translateY(-2px);
}

.shipping-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}

.shipping-icon {
    width: 56px;
    height: 56px;
    background: var(--color-gray-100);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--color-gray-700);
}

.shipping-card.featured .shipping-icon {
    background: rgba(255, 177, 40, 0.1);
    color: var(--color-accent);
}

.shipping-card h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-sm);
}

.shipping-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: var(--space-xs);
}

.shipping-card.featured .shipping-price {
    color: var(--color-accent);
}

.shipping-time {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    margin-bottom: var(--space-xs);
}

.shipping-note {
    font-size: var(--font-size-xs);
    color: var(--color-gray-500);
}

.shipping-note.success {
    color: var(--color-success);
    font-weight: 500;
}

/* Info Card */
.info-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-xl);
}

.info-card h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: var(--space-lg);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-sm);
}

.partner-item {
    background: var(--color-gray-50);
    border-radius: 12px;
    padding: var(--space-md);
    text-align: center;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--color-gray-700);
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: var(--space-md);
    cursor: pointer;
    font-weight: 500;
    color: var(--color-gray-900);
    transition: var(--transition);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-gray-400);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: var(--color-gray-50);
}

.faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Responsive Static Pages */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

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

    .shipping-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .static-hero {
        padding: var(--space-xl) 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .value-icon {
        width: 56px;
        height: 56px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .stat-item {
        padding: var(--space-md);
    }

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

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

    .static-cta {
        padding: var(--space-xl);
    }

    .info-card {
        padding: var(--space-md);
    }
}

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

    .stat-value {
        font-size: 1.75rem;
    }

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

/* ============================================
   Homepage New Sections
   ============================================ */

/* Section Tag */
.section-tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-600);
    margin-bottom: var(--space-sm);
}

.section-tag.light {
    color: rgba(255, 255, 255, 0.8);
}

/* Inspiration Section */
.inspiration-section {
    background: var(--color-gray-100);
    padding: 60px 0;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    height: 600px;
}

.inspiration-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.inspiration-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.inspiration-card:hover img {
    transform: scale(1.05);
}

.inspiration-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: var(--color-white);
}

.inspiration-tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    margin-bottom: 4px;
}

.inspiration-card h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-white);
    margin: 0;
}

.inspiration-card-large {
    grid-row: span 2;
}

.inspiration-card-large h3 {
    font-size: var(--font-size-xl);
}

/* Inspiration Grid - 5 items layout (1 large + 4 small) */
.inspiration-grid-5 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    height: 560px;
}

.inspiration-grid-5 .inspiration-card:nth-child(1) {
    grid-row: 1 / 3;
}

@media (max-width: 1024px) {
    .inspiration-grid-5 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
        height: auto;
    }

    .inspiration-grid-5 .inspiration-card:nth-child(1) {
        grid-row: 1 / 3;
    }

    .inspiration-grid-5 .inspiration-card:nth-child(5) {
        grid-column: 1 / -1;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .inspiration-grid-5 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }

    .inspiration-grid-5 .inspiration-card:nth-child(1) {
        grid-row: span 1;
    }

    .inspiration-grid-5 .inspiration-card:nth-child(5) {
        grid-column: 1;
    }
}

/* Features Section - Full Width */
.features-section {
    background: var(--color-gray-100);
    padding: 0;
    margin: 60px 0;
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--color-gray-200);
}

.features-section .feature-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-white);
    border-radius: 0;
    transition: background var(--transition);
}

.features-section .feature-card:hover {
    background: var(--color-gray-100);
}

.features-section .feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: 50%;
}

.features-section .feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-black);
}

.features-section .feature-card h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 8px;
}

.features-section .feature-card p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-section .feature-card {
        padding: var(--space-lg) var(--space-md);
    }

    .features-section .feature-icon {
        width: 56px;
        height: 56px;
    }

    .features-section .feature-card h3 {
        font-size: var(--font-size-sm);
    }

    .features-section .feature-card p {
        font-size: var(--font-size-xs);
    }
}

/* Craftsmanship Section */
.craftsmanship-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    margin: 60px 0;
}

.craftsmanship-image {
    position: relative;
    overflow: hidden;
}

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

.craftsmanship-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl);
    background: var(--color-gray-100);
}

.craftsmanship-content h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-md);
    max-width: 500px;
}

.craftsmanship-content p {
    font-size: var(--font-size-base);
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    max-width: 500px;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--color-black);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-dark:hover {
    background: var(--color-gray-900);
    opacity: 1;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--color-white);
    padding: 60px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.testimonial-card {
    background: var(--color-gray-100);
    border-radius: 20px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
}

.testimonial-text {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-gray-900);
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-gray-200);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.testimonial-author strong {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-black);
}

.testimonial-author span {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.newsletter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.newsletter-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-white);
}

.newsletter-content h2 {
    font-size: var(--font-size-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.newsletter-content > p {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
}

.newsletter-form {
    margin-bottom: var(--space-md);
}

.newsletter-input-group {
    display: flex;
    gap: var(--space-sm);
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 50px;
    font-size: var(--font-size-sm);
    background: var(--color-white);
    color: var(--color-black);
}

.newsletter-input-group input::placeholder {
    color: var(--color-gray-400);
}

.newsletter-input-group .btn {
    white-space: nowrap;
    border-radius: 50px;
    padding: 16px 28px;
}

.newsletter-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(52, 199, 89, 0.2);
    border-radius: 50px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-success svg {
    width: 24px;
    height: 24px;
    color: var(--color-success);
}

.newsletter-success span {
    color: var(--color-white);
    font-weight: 500;
}

.newsletter-privacy {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive - Homepage Sections */
@media (max-width: 1024px) {
    .inspiration-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
    }

    .inspiration-card {
        height: 280px;
    }

    .inspiration-card-large {
        grid-row: span 1;
        grid-column: span 2;
        height: 320px;
    }

    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .craftsmanship-section {
        grid-template-columns: 1fr;
    }

    .craftsmanship-image {
        height: 300px;
    }

    .craftsmanship-content {
        padding: var(--space-xl);
    }

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

@media (max-width: 768px) {
    .inspiration-grid {
        grid-template-columns: 1fr;
    }

    .inspiration-card,
    .inspiration-card-large {
        height: 250px;
        grid-column: span 1;
    }

    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .features-section .feature-card {
        padding: var(--space-md);
    }

    .craftsmanship-content h2 {
        font-size: var(--font-size-xl);
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .inspiration-card,
    .inspiration-card-large {
        height: 200px;
    }

    /* Keep 2x2 grid for features on mobile */
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-section .feature-card {
        padding: var(--space-sm);
    }

    .features-section .feature-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 6px;
    }

    .features-section .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .features-section .feature-card h3 {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .features-section .feature-card p {
        display: none;
    }

    .craftsmanship-content {
        padding: var(--space-lg);
    }

    .newsletter-content h2 {
        font-size: var(--font-size-xl);
    }

    .testimonial-card {
        padding: var(--space-md);
    }
}

/* ============================================
   Language & Currency Switchers
   ============================================ */

/* Container for both switchers */
.header-i18n {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 8px;
}

/* Language Switcher */
.language-switcher,
.currency-switcher {
    position: relative;
}

.language-switcher .lang-current,
.currency-switcher .currency-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-family: var(--font-family);
    background: transparent;
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--color-gray-600);
    transition: var(--transition);
}

.language-switcher .lang-current:hover,
.currency-switcher .currency-current:hover {
    border-color: var(--color-gray-400);
    color: var(--color-black);
}

.language-switcher .flag-icon {
    width: 18px;
    height: 14px;
    border-radius: 2px;
}

.language-switcher .lang-name {
    font-weight: 500;
}

.language-switcher .lang-arrow,
.currency-switcher .currency-arrow {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* Currency Switcher specific */
.currency-switcher .currency-symbol {
    font-weight: 600;
    font-size: 14px;
}

.currency-switcher .currency-code {
    font-weight: 500;
}

/* Dropdowns */
.language-switcher .lang-dropdown,
.currency-switcher .currency-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 160px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    overflow: hidden;
}

.language-switcher .lang-option,
.currency-switcher .currency-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-family: var(--font-family);
    color: var(--color-gray-600);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.language-switcher .lang-option:hover,
.currency-switcher .currency-option:hover {
    background: var(--color-gray-100);
    color: var(--color-black);
}

.language-switcher .lang-option .flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    flex-shrink: 0;
}

.currency-switcher .currency-option .currency-symbol {
    font-weight: 600;
    font-size: 15px;
    min-width: 20px;
}

.currency-switcher .currency-option .currency-name {
    flex: 1;
}

/* Mobile styles */
@media (max-width: 767px) {
    .header-i18n {
        display: none;
    }

    /* Mobile i18n in mobile nav */
    .mobile-nav-i18n {
        display: flex;
        gap: 12px;
        padding: 16px 24px;
        border-top: 1px solid var(--color-gray-200);
    }

    .mobile-nav-i18n .language-switcher,
    .mobile-nav-i18n .currency-switcher {
        flex: 1;
    }

    .mobile-nav-i18n .lang-current,
    .mobile-nav-i18n .currency-current {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    .mobile-nav-i18n .lang-dropdown,
    .mobile-nav-i18n .currency-dropdown {
        left: 0;
        right: 0;
        min-width: auto;
    }
}

/* Flag icon fixes for smaller sizes */
.fi {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
}

/* ============================================
   Address Edit Page - Modern Design (ae-)
   ============================================ */
.address-edit-page {
    min-height: 60vh;
    padding-bottom: var(--space-xl);
}

/* Hero Section */
.ae-hero {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-white) 100%);
    border-radius: 20px;
}

.ae-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 12px;
    color: var(--color-gray-600);
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow-subtle);
}

.ae-back:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.ae-hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.ae-hero-main {
    min-width: 200px;
}

.ae-label {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray-400);
    font-weight: 600;
}

.ae-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-black);
    margin: 4px 0;
    line-height: 1.2;
}

.ae-hero-icon {
    width: 64px;
    height: 64px;
    background: var(--color-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    box-shadow: var(--shadow-subtle);
}

/* Error Messages */
.ae-errors {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: #fef2f2;
    border-radius: 12px;
    margin-bottom: var(--space-md);
    border: 1px solid #fecaca;
}

.ae-errors > svg {
    flex-shrink: 0;
    color: var(--color-error);
    margin-top: 2px;
}

.ae-errors-list p {
    color: #dc2626;
    font-size: var(--font-size-sm);
    margin: 0 0 4px 0;
}

.ae-errors-list p:last-child {
    margin-bottom: 0;
}

/* Content Layout */
.ae-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-lg);
}

.ae-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.ae-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Cards */
.ae-card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
}

.ae-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-md) 0;
}

.ae-card-header h2 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-black);
}

.ae-optional {
    font-size: var(--font-size-xs);
    color: var(--color-gray-400);
    background: var(--color-gray-100);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Address Type Selector */
.ae-type-selector {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
}

.ae-type-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: var(--space-md);
    background: var(--color-gray-100);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.ae-type-option input {
    display: none;
}

.ae-type-option svg {
    color: var(--color-gray-400);
    transition: var(--transition);
}

.ae-type-option span {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-gray-600);
    transition: var(--transition);
}

.ae-type-option:hover {
    background: var(--color-gray-200);
}

.ae-type-option.active,
.ae-type-option:has(input:checked) {
    background: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 177, 40, 0.2);
}

.ae-type-option.active svg,
.ae-type-option:has(input:checked) svg {
    color: var(--color-accent);
}

.ae-type-option.active span,
.ae-type-option:has(input:checked) span {
    color: var(--color-black);
}

/* Form Fields */
.ae-fields {
    padding: var(--space-md);
}

.ae-field {
    margin-bottom: var(--space-md);
}

.ae-field:last-child {
    margin-bottom: 0;
}

.ae-field label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-gray-600);
    margin-bottom: 8px;
}

.ae-field input,
.ae-field select {
    width: 100%;
    padding: 14px 16px;
    font-size: var(--font-size-base);
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    background: var(--color-white);
    color: var(--color-black);
    transition: var(--transition);
}

.ae-field input:focus,
.ae-field select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 177, 40, 0.15);
}

.ae-field input::placeholder {
    color: var(--color-gray-400);
}

.ae-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.ae-field-row .ae-field {
    margin-bottom: 0;
}

.ae-field-row-3 {
    grid-template-columns: 2fr 1fr 1fr;
}

/* Default Toggle */
.ae-card-default {
    padding: var(--space-md);
}

.ae-default-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.ae-default-toggle input {
    display: none;
}

.ae-toggle-switch {
    position: relative;
    width: 52px;
    height: 32px;
    background: var(--color-gray-200);
    border-radius: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

.ae-toggle-switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.ae-default-toggle input:checked + .ae-toggle-switch {
    background: var(--color-accent);
}

.ae-default-toggle input:checked + .ae-toggle-switch::after {
    transform: translateX(20px);
}

.ae-toggle-content {
    display: flex;
    flex-direction: column;
}

.ae-toggle-label {
    font-weight: 600;
    color: var(--color-black);
}

.ae-toggle-desc {
    font-size: var(--font-size-sm);
    color: var(--color-gray-400);
}

/* Submit Mobile */
.ae-submit-mobile {
    display: none;
}

.ae-btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: var(--font-size-base);
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.ae-btn-submit:hover {
    background: var(--color-accent-hover);
}

/* Sidebar Actions */
.ae-actions-card {
    padding: var(--space-md);
}

.ae-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ae-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: var(--transition);
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    border: none;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
}

.ae-action-btn:hover {
    background: var(--color-gray-200);
    color: var(--color-black);
}

.ae-action-btn.primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.ae-action-btn.primary:hover {
    background: var(--color-accent-hover);
}

.ae-action-btn.danger {
    background: #fef2f2;
    color: var(--color-error);
}

.ae-action-btn.danger:hover {
    background: #fee2e2;
}

.ae-action-btn svg {
    flex-shrink: 0;
}

/* Help Card */
.ae-help-card {
    padding: var(--space-md);
    text-align: center;
}

.ae-help-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    color: var(--color-gray-400);
}

.ae-help-card h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 8px;
}

.ae-help-card p {
    font-size: var(--font-size-sm);
    color: var(--color-gray-600);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .ae-content {
        grid-template-columns: 1fr;
    }

    .ae-sidebar {
        display: none;
    }

    .ae-submit-mobile {
        display: block;
        margin-top: var(--space-md);
    }
}

@media (max-width: 768px) {
    .ae-hero {
        flex-direction: column;
        padding: var(--space-md);
    }

    .ae-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .ae-hero-icon {
        display: none;
    }

    .ae-title {
        font-size: 24px;
    }

    .ae-type-selector {
        flex-direction: column;
    }

    .ae-field-row,
    .ae-field-row-3 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESTRUCTURED HEADER - Modern Design 2024
   ============================================ */

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    font-size: 13px;
    position: relative;
    z-index: 10000;
}

.top-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-center {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
}

.top-bar-center svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.top-bar-center strong {
    color: #4ade80;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    transition: color 0.2s ease;
}

.top-bar-item:hover {
    color: #ffffff;
}

.top-bar-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.top-bar-i18n {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-i18n .language-switcher,
.top-bar-i18n .currency-switcher {
    position: relative;
}

.top-bar-i18n .lang-current,
.top-bar-i18n .currency-current {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.top-bar-i18n .lang-current:hover,
.top-bar-i18n .currency-current:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.desktop-only-flex {
    display: flex;
}

/* Header language switcher */
.header-lang {
    display: flex;
    align-items: center;
}

.header-lang .lang-current {
    height: 42px;
    padding: 0 12px;
    background: #f5f5f7;
    border-color: transparent;
    border-radius: 10px;
    color: var(--color-gray-700);
}

.header-lang .lang-current:hover {
    background: #ebebed;
    border-color: transparent;
}

/* Updated Site Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    /* Înălțimea fixă veche (80px) tăia bara de categorii, care se suprapunea peste conținut */
    height: auto;
}

.site-header.scrolled {
    height: auto;
}

.site-header .header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo adjustments */
.site-header .logo img {
    height: 42px;
    transition: all 0.3s ease;
}

/* Header Search - Desktop Inline */
.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.search-form-inline {
    position: relative;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: #f5f5f7;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0 4px 0 16px;
    transition: all 0.2s ease;
}

.search-input-wrap:focus-within {
    background: #ffffff;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.search-input-wrap svg {
    width: 20px;
    height: 20px;
    color: #525256;
    flex-shrink: 0;
}

.search-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 15px;
    outline: none;
    min-width: 0;
}

.search-input-wrap input::placeholder {
    color: #525256;
}

.search-submit {
    background: var(--color-black);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.search-submit:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Inline Search Results */
.search-results-inline {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-results-inline .search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.search-results-inline .search-result-item:last-child {
    border-bottom: none;
}

.search-results-inline .search-result-item:hover {
    background: #f8f8f8;
}

.search-results-inline .search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

/* Header Actions - Restructured */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--color-gray-700);
}

.header-action-btn:hover {
    background: #f5f5f7;
    color: var(--color-black);
}

.header-action-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #f5f5f7;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.header-action-btn:hover .header-action-icon {
    background: #ebebed;
}

.header-action-icon svg {
    width: 22px;
    height: 22px;
}

.header-action-icon .header-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #b91c1c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.header-action-text small {
    font-size: 11px;
    color: #525256;
}

.header-action-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
}

/* Cart Button Special Style */
.header-cart-btn .header-action-icon {
    background: var(--color-black);
}

.header-cart-btn .header-action-icon svg {
    color: #ffffff;
}

.header-cart-btn:hover .header-action-icon {
    background: #333;
}

/* Navigation Bar */
.nav-bar {
    background: #fafafa;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-bar .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-bar .nav-link:hover {
    color: var(--color-black);
    background: rgba(0, 0, 0, 0.03);
}

.nav-bar .nav-link .nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-bar .nav-link .nav-icon svg,
.nav-bar .nav-link svg {
    width: 18px;
    height: 18px;
}

.nav-bar .nav-link-all {
    font-weight: 600;
    color: var(--color-black);
}

.nav-bar .nav-link-sale {
    color: #dc2626;
    font-weight: 600;
}

.nav-bar .nav-link-sale:hover {
    color: #b91c1c;
    background: rgba(220, 38, 38, 0.05);
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 8px;
}

/* Mobile Search Bar */
.mobile-search-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 10002;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-search-form {
    position: relative;
}

.mobile-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f5f5f7;
    border-radius: 12px;
    padding: 12px 16px;
}

.mobile-search-input-wrap svg {
    width: 22px;
    height: 22px;
    color: #525256;
    flex-shrink: 0;
}

.mobile-search-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
}

.mobile-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: #525256;
}

.mobile-search-close svg {
    width: 20px;
    height: 20px;
}

.mobile-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 60vh;
    overflow-y: auto;
}

/* Mobile Only/Desktop Only Classes */
.mobile-only {
    display: none !important;
}

/* Header icon for mobile (search, wishlist) */
.header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-gray-700);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.header-icon:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-black);
}

.header-icon svg {
    width: 22px;
    height: 22px;
}

.header-icon .header-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #b91c1c;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu - Restructured */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 70px;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

/* Mobile User Card */
.mobile-user-card {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-black);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.mobile-user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-user-details strong {
    font-size: 16px;
    color: var(--color-black);
}

.mobile-user-details small {
    font-size: 13px;
    color: #525256;
}

.mobile-guest-actions {
    display: flex;
    gap: 12px;
}

.mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-btn svg {
    width: 20px;
    height: 20px;
}

.mobile-btn-primary {
    background: var(--color-black);
    color: #ffffff;
}

.mobile-btn-primary:hover {
    background: #333;
}

.mobile-btn-secondary {
    background: #ffffff;
    color: var(--color-black);
    border: 1px solid #e5e5e5;
}

.mobile-btn-secondary:hover {
    background: #f5f5f5;
}

/* Mobile Quick Actions */
.mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.mobile-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.mobile-quick-action:hover {
    border-color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-quick-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #f5f5f7;
    border-radius: 12px;
}

.mobile-quick-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-700);
}

.mobile-quick-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: #b91c1c;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-quick-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-black);
}

.mobile-quick-value {
    font-size: 14px;
    font-weight: 700;
    color: #15803d;
}

/* Mobile Nav Sections */
.mobile-nav-section {
    margin-bottom: 24px;
}

.mobile-nav-section-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #636366;
    margin-bottom: 12px;
    padding-left: 4px;
}

/* Mobile Categories Grid */
.mobile-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mobile-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.mobile-category-card:hover {
    border-color: var(--color-black);
    background: #fafafa;
}

.mobile-category-card svg {
    width: 28px;
    height: 28px;
    color: var(--color-gray-700);
}

.mobile-category-card span {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.3;
}

.mobile-category-all {
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    border-color: transparent;
}

.mobile-category-all:hover {
    background: linear-gradient(135deg, #e5e5e5 0%, #d5d5d5 100%);
}

.mobile-category-sale {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}

.mobile-category-sale svg,
.mobile-category-sale span {
    color: #dc2626;
}

.mobile-category-sale:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #f87171;
}

/* Mobile Contact Links */
.mobile-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mobile-contact-link:hover {
    background: #f5f5f5;
    border-color: #d5d5d5;
}

.mobile-contact-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-gray-600);
    flex-shrink: 0;
}

.mobile-contact-link span {
    font-size: 14px;
    color: var(--color-black);
}

/* Mobile i18n */
.mobile-nav-i18n {
    display: flex;
    gap: 12px;
}

.mobile-nav-i18n .language-switcher,
.mobile-nav-i18n .currency-switcher {
    flex: 1;
}

.mobile-nav-i18n .lang-current,
.mobile-nav-i18n .currency-current {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* Mobile Logout */
.mobile-nav-logout {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.mobile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-logout-btn:hover {
    background: #fee2e2;
}

.mobile-logout-btn svg {
    width: 20px;
    height: 20px;
}

/* Body padding for new header */
/* Desktop: no padding needed - header is sticky, not fixed */
body {
    padding-top: 0;
}

/* ============================================
   RESPONSIVE - Header Restructured
   ============================================ */

@media (max-width: 1200px) {
    .top-bar-inner {
        padding: 8px 24px;
    }

    .site-header .header-inner {
        padding: 10px 24px;
    }

    .nav-bar-inner {
        padding: 0 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-bar-inner::-webkit-scrollbar {
        display: none;
    }

    .header-search {
        max-width: 350px;
    }

    .header-action-text {
        display: none;
    }

    .header-action-btn {
        padding: 0;
    }
}

@media (max-width: 992px) {
    .top-bar-center {
        display: none;
    }

    .nav-bar {
        display: none;
    }

    .header-search {
        display: none !important;
    }

    .desktop-only {
        display: none !important;
    }

    .desktop-only-flex {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .menu-toggle {
        display: flex;
    }

    .site-header .header-inner {
        padding: 10px 16px;
    }

    .site-header .logo img {
        height: 36px;
    }

    .header-actions {
        gap: 4px;
    }

    .header-action-icon {
        width: 40px;
        height: 40px;
    }

    .header-action-icon svg {
        width: 20px;
        height: 20px;
    }

}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .site-header {
        position: fixed;
        top: 0;
    }

    body {
        padding-top: 60px;
    }

    .mobile-nav {
        padding-top: 60px;
    }

    .mobile-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .mobile-nav-content {
        padding: 16px;
    }

    .mobile-user-card {
        padding: 16px;
    }

    .mobile-guest-actions {
        flex-direction: column;
    }

    .mobile-btn {
        padding: 12px 16px;
    }

    .mobile-quick-action {
        padding: 12px;
    }

    .mobile-quick-icon {
        width: 40px;
        height: 40px;
    }

    .mobile-quick-icon svg {
        width: 20px;
        height: 20px;
    }

    .mobile-category-card {
        padding: 12px 6px;
    }

    .mobile-category-card svg {
        width: 24px;
        height: 24px;
    }

    .mobile-category-card span {
        font-size: 11px;
    }
}

/* ==========================================================================
   Pagini legale
   ========================================================================== */

.legal-page .legal-updated {
    font-size: var(--font-size-sm);
    color: var(--color-gray-500);
    margin-top: var(--space-sm);
}

.legal-prose h3 {
    font-size: var(--font-size-lg);
    margin: var(--space-lg) 0 var(--space-xs);
}

.legal-prose ol {
    margin: 0 0 var(--space-md);
    padding-left: 1.25rem;
}

.legal-prose ol li {
    margin-bottom: var(--space-xs);
    color: var(--color-gray-700);
    line-height: 1.7;
}

.legal-prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.875em;
    background: var(--color-gray-100);
    padding: 0.1em 0.4em;
    border-radius: 4px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0 var(--space-lg);
    font-size: var(--font-size-sm);
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--color-gray-200);
    padding: var(--space-sm);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: var(--color-gray-100);
    font-weight: 600;
}

.legal-table-wrap {
    overflow-x: auto;
}

.legal-callout {
    border: 1px solid var(--color-gray-200);
    border-left: 3px solid var(--color-accent);
    background: var(--color-gray-100);
    padding: var(--space-md) var(--space-lg);
    border-radius: 8px;
    margin: 0 0 var(--space-lg);
}

.legal-callout.legal-callout-warning {
    border-left-color: var(--color-error);
}

.legal-callout h3 {
    margin: 0 0 var(--space-xs);
    font-size: var(--font-size-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
}

.legal-callout p:last-child,
.legal-callout ul:last-child {
    margin-bottom: 0;
}

.legal-tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.15em 0.6em;
    border-radius: 999px;
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    vertical-align: middle;
    margin-left: var(--space-xs);
}

.legal-tag-required {
    background: var(--color-gray-900);
    color: var(--color-white);
}

.withdrawal-form {
    border: 1px solid var(--color-gray-200);
    border-radius: 8px;
    padding: var(--space-lg);
    margin: var(--space-md) 0 var(--space-lg);
}

.withdrawal-recipient {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
}

.withdrawal-recipient li {
    margin: 0;
}

.withdrawal-line,
.withdrawal-blank {
    color: var(--color-gray-400);
    letter-spacing: 0.08em;
}

.legal-print-actions {
    margin: var(--space-lg) 0;
}

@media print {
    .site-header,
    .site-footer,
    .top-bar,
    .cookie-consent,
    .back-to-top,
    .breadcrumb,
    .legal-print-actions {
        display: none !important;
    }

    .legal-page .info-card {
        border: 0;
        box-shadow: none;
        padding: 0;
    }
}

/* ==========================================================================
   Banner ANPC / SAL
   ========================================================================== */

.footer-anpc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-anpc a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 50px;
    overflow: hidden;
    border-radius: 4px;
}

.footer-anpc img {
    width: 250px;
    height: 50px;
    display: block;
    object-fit: contain;
}

/* Rezervă vizibilă cât timp pictograma oficială nu e încărcată pe server. */
.footer-anpc .anpc-fallback {
    border: 1px solid var(--color-gray-400);
    background: var(--color-white);
    color: var(--color-gray-900);
    font-size: var(--font-size-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.2;
    padding: 0 var(--space-xs);
}

/* ==========================================================================
   Consimțământ cookie-uri
   ========================================================================== */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    box-shadow: 0 -8px 32px rgba(29, 29, 31, 0.10);
    padding: 0;
}

.cookie-consent.is-hidden {
    display: none;
}

.cookie-consent-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 24px;
}

/* `display` din regulile de mai jos ar învinge stilul implicit al atributului
   `hidden`, așa că ascunderea nivelurilor se declară explicit. */
.cookie-consent [data-cookie-view][hidden] {
    display: none;
}

/* --- Nivelul 1: totul pe un rând, pe desktop --- */
.cookie-consent-main {
    display: flex;
    align-items: center;
    gap: 28px;
}

.cookie-consent-main .cookie-consent-title {
    display: none; /* pe desktop titlul dublează textul; îl arătăm doar pe mobil */
}

.cookie-consent-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--color-gray-600);
    margin: 0;
    max-width: 78ch;
}

.cookie-consent-text a {
    color: var(--color-gray-900);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* „Acceptă" și „Respinge" au aceeași greutate vizuală (cerință EDPB). */
.cookie-consent-actions .cookie-btn {
    min-width: 132px;
    font-size: 14px;
    padding: 8px 18px;
    white-space: nowrap;
}

.cookie-consent-actions .cookie-btn-link {
    background: none;
    border: 0;
    padding: 8px 4px;
    font-size: 13px;
    color: var(--color-gray-600);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-consent-actions .cookie-btn-link:hover {
    color: var(--color-black);
}

/* --- Nivelul 2: panoul de categorii --- */
.cookie-consent-prefs .cookie-consent-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
}

.cookie-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
    max-height: 38vh;
    overflow-y: auto;
}

.cookie-category {
    border: 1px solid var(--color-gray-200);
    border-radius: 10px;
    padding: 10px 14px;
}

.cookie-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cookie-category-title {
    font-weight: 600;
    font-size: 13px;
}

.cookie-category-required {
    font-size: 11px;
    color: var(--color-gray-500);
}

.cookie-category-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-gray-600);
    margin: 4px 0 0;
}

.cookie-consent-note {
    font-size: 12px;
    color: var(--color-gray-500);
    margin: 10px 0 0;
}

.cookie-consent-note a {
    color: var(--color-gray-600);
    text-decoration: underline;
}

/* --- Comutator --- */
.cookie-switch {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.cookie-switch input {
    position: absolute;
    opacity: 0;
    width: 40px;
    height: 22px;
    margin: 0;
    cursor: pointer;
}

.cookie-switch-track {
    display: block;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: var(--color-gray-200);
    transition: background var(--transition);
    pointer-events: none;
}

.cookie-switch-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-white);
    box-shadow: 0 1px 3px rgba(29, 29, 31, 0.3);
    transition: transform var(--transition);
}

.cookie-switch input:checked + .cookie-switch-track {
    background: var(--color-accent);
}

.cookie-switch input:checked + .cookie-switch-track::after {
    transform: translateX(18px);
}

.cookie-switch input:focus-visible + .cookie-switch-track {
    outline: 2px solid var(--color-black);
    outline-offset: 2px;
}

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

/* --- Tabletă: butoanele trec sub text --- */
@media (max-width: 1080px) {
    .cookie-consent-main {
        display: block;
    }

    .cookie-consent-text {
        margin-bottom: 12px;
        max-width: none;
    }

    .cookie-consent-actions {
        flex-wrap: wrap;
    }
}

/* --- Mobil: foaie de jos, butoane pe toată lățimea --- */
@media (max-width: 640px) {
    .cookie-consent {
        border-radius: 16px 16px 0 0;
        max-height: 88vh;
        overflow-y: auto;
    }

    .cookie-consent-inner {
        padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    }

    .cookie-consent-main .cookie-consent-title {
        display: block;
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 6px;
    }

    .cookie-consent-text {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .cookie-consent-actions .cookie-btn {
        min-width: 0;
        width: 100%;
        padding: 11px 12px;
    }

    .cookie-consent-actions .cookie-btn-link {
        grid-column: 1 / -1;
        text-align: center;
        padding: 6px 0 0;
    }

    .cookie-categories {
        grid-template-columns: 1fr;
        max-height: 46vh;
    }
}

.footer-legal-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

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

/* Produs: informare produs la comandă + GPSR */
.pp-no-withdrawal {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    background: #faf9f7;
    border-left: 3px solid #c2410c;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 16px 0 0;
}

.pp-no-withdrawal a {
    color: #c2410c;
    text-decoration: underline;
    white-space: nowrap;
}

.pp-gpsr {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.pp-gpsr h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px;
}

.pp-gpsr-note {
    font-size: 12px;
    color: #8a8a8a;
    margin: 12px 0 0;
}

.payment-only-note {
    font-size: 13px;
    color: var(--color-gray-600);
    margin: var(--space-sm) 0 0;
}

.terms-label-custom {
    margin-top: var(--space-sm);
}

/* ==========================================================================
   Hero homepage
   Text fix la stânga, fotografia se rotește la dreapta, bara de categorii
   de dedesubt e în același timp catalog și navigație.
   ========================================================================== */

.hero-stage {
    --hero-scrim: #2b2320;
    padding: 56px 24px 0;
    background: var(--color-white);
}

.hero-stage-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 38%) 1fr;
    gap: 64px;
    align-items: center;
}

/* --- Coloana de text --- */
.hero-stage-copy {
    max-width: 30rem;
}

.hero-stage-title {
    font-size: clamp(2.25rem, 3.4vw, 3.5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--color-black);
    margin: 0 0 20px;
    text-wrap: balance;
}

.hero-stage-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin: 0 0 28px;
    max-width: 44ch;
}

.hero-stage-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-stage-actions .btn-ghost {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Fotografia: tranziție tip cortină, cu parallax --- */
.hero-stage-media {
    /* Setate din Alpine, ca să știe cortina din ce parte vine. */
    --wipe-closed: inset(0 0 0 100%);
    --parallax: 7%;
    --wipe-dur: 900ms;
    --wipe-ease: cubic-bezier(0.76, 0, 0.24, 1);

    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-gray-100);
    touch-action: pan-y;     /* derularea verticală rămâne a paginii */
    user-select: none;
}

/*
 * Cadrul activ stă deasupra și își deschide masca; cel vechi rămâne întreg
 * dedesubt pe toată durata mișcării și abia apoi se închide instantaneu
 * (întârziere egală cu durata). Așa nu apare niciun gol între ele.
 */
.hero-stage-frame {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: 1;
    /* `opacity` merge în tandem cu masca: dacă un browser nu animează
       clip-path, schimbarea slide-ului tot se produce. */
    opacity: 0;
    clip-path: var(--wipe-closed);
    transition: clip-path 0s linear var(--wipe-dur), opacity 0s linear var(--wipe-dur);
}

.hero-stage-frame.is-active {
    z-index: 2;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path var(--wipe-dur) var(--wipe-ease), opacity 0s linear 0s;
}

.hero-stage-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 75%;
    display: block;
    transform: translateX(var(--parallax)) scale(1.05);
    transition: transform 0s linear var(--wipe-dur);
    -webkit-user-drag: none;
}

/* Imaginea aterizează puțin mai târziu decât masca — de aici senzația de adâncime. */
.hero-stage-frame.is-active img {
    transform: translateX(0) scale(1);
    transition: transform calc(var(--wipe-dur) + 350ms) var(--wipe-ease);
}

/* Scrim cald, per cadru, ca să se deplaseze odată cu fotografia. */
.hero-stage-frame::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 48%;
    background: linear-gradient(to top, rgba(43, 35, 32, 0.74), rgba(43, 35, 32, 0));
    pointer-events: none;
}

.hero-stage-caption {
    position: absolute;
    left: 28px;
    bottom: 26px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    color: var(--color-white);
    pointer-events: none;
}

.hero-stage-frame.is-active .hero-stage-caption {
    pointer-events: auto;
}

/* Textul urcă dintr-o mască, cu mic decalaj față de cortină. */
.hero-stage-caption-label,
.hero-stage-caption-cta {
    display: block;
    overflow: hidden;
}

.hero-stage-caption-label > span,
.hero-stage-caption-cta > span {
    display: block;
    transform: translateY(115%);
    transition: transform 0s linear var(--wipe-dur);
}

.hero-stage-frame.is-active .hero-stage-caption-label > span {
    transform: translateY(0);
    transition: transform 700ms var(--wipe-ease) 360ms;
}

.hero-stage-frame.is-active .hero-stage-caption-cta > span {
    transform: translateY(0);
    transition: transform 700ms var(--wipe-ease) 450ms;
}

.hero-stage-caption-label {
    font-size: clamp(1.4rem, 2.1vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.hero-stage-caption-cta {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.hero-stage-caption-cta > span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-stage-caption:hover .hero-stage-caption-cta {
    color: var(--color-white);
}

.hero-stage-caption:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 6px;
}

/* Fără mișcare: schimbare simplă, fără cortină și fără parallax. */
@media (prefers-reduced-motion: reduce) {
    .hero-stage-frame {
        clip-path: none;
        opacity: 0;
        transition: opacity 200ms linear;
    }

    .hero-stage-frame.is-active {
        opacity: 1;
        transition: opacity 200ms linear;
    }

    .hero-stage-frame img,
    .hero-stage-frame.is-active img,
    .hero-stage-caption-label > span,
    .hero-stage-caption-cta > span,
    .hero-stage-frame.is-active .hero-stage-caption-label > span,
    .hero-stage-frame.is-active .hero-stage-caption-cta > span {
        transform: none;
        transition: none;
    }
}

/* --- Bara de categorii --- */
.hero-stage-rail {
    max-width: 1320px;
    margin: 36px auto 0;
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--color-gray-200);
    padding-top: 0;
}

.hero-stage-rail-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    background: none;
    border: 0;
    padding: 18px 4px 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-500);
    transition: color var(--transition);
}

.hero-stage-rail-item span:first-child {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-stage-rail-item:hover,
.hero-stage-rail-item.is-active {
    color: var(--color-black);
}

/* Indicatorul de progres răspunde la „când se schimbă?" */
.hero-stage-rail-bar {
    position: absolute;
    top: -1px;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--color-accent);
}

.hero-stage-rail-bar.is-running {
    animation: heroRailProgress 6s linear forwards;
}

.hero-stage-rail-item.is-active .hero-stage-rail-bar {
    width: 100%;
}

@keyframes heroRailProgress {
    from { width: 0; }
    to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-stage-rail-bar.is-running {
        animation: none;
        width: 100%;
    }
}

/* --- Tabletă --- */
@media (max-width: 1024px) {
    .hero-stage {
        padding: 36px 20px 0;
    }

    .hero-stage-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-stage-copy {
        max-width: none;
        order: 2;
    }

    .hero-stage-media {
        order: 1;
        aspect-ratio: 16 / 10;
    }
}

/* --- Mobil --- */
@media (max-width: 640px) {
    .hero-stage {
        padding: 20px 16px 0;
    }

    .hero-stage-media {
        aspect-ratio: 1 / 1;
        border-radius: 14px;
    }

    .hero-stage-caption {
        left: 18px;
        bottom: 18px;
    }

    .hero-stage-title {
        font-size: clamp(1.9rem, 8.5vw, 2.4rem);
    }

    .hero-stage-lead {
        font-size: 0.9375rem;
    }

    .hero-stage-actions {
        gap: 12px;
        margin-bottom: 26px;
    }

    .hero-stage-actions .btn-primary {
        flex: 1 1 100%;
    }

    /* Bara devine derulabilă orizontal. */
    .hero-stage-rail {
        margin-top: 26px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .hero-stage-rail::-webkit-scrollbar {
        display: none;
    }

    .hero-stage-rail-item {
        flex: 0 0 auto;
        min-width: 104px;
        font-size: 13px;
        padding-top: 14px;
    }
}

/* ==========================================================================
   Bara de beneficii — 6 elemente: 6 coloane pe desktop, 3 pe mobil.
   Separatoarele sunt fundalul care transpare prin gap-ul de 1px, ca linia
   să apară corect și între rânduri, oricum s-ar rupe grila.
   ========================================================================== */

.benefits-bar {
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 0;
}

.benefits-bar .benefits-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    background: var(--color-gray-200);
    align-items: stretch;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: stretch;
}

.benefits-bar .benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 14px;
    background: var(--color-white);
    border: 0;
}

.benefits-bar .benefit svg {
    grid-row: 1 / 3;
    width: 20px;
    height: 20px;
    color: var(--color-gray-400);
    flex-shrink: 0;
}

.benefits-bar .benefit-value {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-black);
    white-space: normal;
}

.benefits-bar .benefit-label {
    font-size: 11px;
    line-height: 1.3;
    color: var(--color-gray-500);
    white-space: normal;
}

/* Tabletă: trei pe rând, două rânduri. */
@media (max-width: 1024px) {
    .benefits-bar .benefits-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobil: tot trei pe rând, dar pictograma deasupra și text centrat. */
@media (max-width: 640px) {
    .benefits-bar .benefits-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .benefits-bar .benefit {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        justify-items: center;
        text-align: center;
        gap: 5px;
        padding: 14px 6px;
    }

    .benefits-bar .benefit svg {
        grid-row: auto;
        width: 18px;
        height: 18px;
    }

    .benefits-bar .benefit-value {
        font-size: 11.5px;
        line-height: 1.25;
    }

    .benefits-bar .benefit-label {
        font-size: 10.5px;
        line-height: 1.25;
    }
}

/* ==========================================================================
   Hero pe mobil: bara de categorii stă imediat sub fotografie, ca schimbarea
   să fie vizibilă fără derulare.
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-stage {
        display: flex;
        flex-direction: column;
    }

    /* Copiii gridului devin copii direcți ai secțiunii, ca să-i putem reordona
       împreună cu bara, care stă în afara gridului. */
    .hero-stage-grid {
        display: contents;
    }

    .hero-stage-media {
        order: 1;
        margin-bottom: 0;
    }

    .hero-stage-rail {
        order: 2;
        margin: 0;
        border-top: 0;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .hero-stage-copy {
        order: 3;
        margin-top: 28px;
    }

    .hero-stage-rail-item {
        padding: 14px 4px 14px;
    }

    .hero-stage-rail-bar {
        top: auto;
        bottom: -1px;
    }
}

/* ==========================================================================
   Subsolul de jos: ANPC + linkuri legale + copyright.
   Un singur rând pe desktop, două coloane de linkuri pe mobil.
   (Suprascrie regulile mai vechi, duplicate, de mai sus în fișier.)
   ========================================================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    flex-direction: row;
    text-align: left;
}

.footer-bottom .footer-anpc {
    margin: 0;
    flex-shrink: 0;
}

/* Dimensiunea pictogramei rămâne 250x50, cum cere Ordinul ANPC 449/2022. */

.footer-bottom .footer-legal {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
}

.footer-bottom .footer-legal a,
.footer-bottom .footer-legal .footer-legal-link {
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-gray-600);
    white-space: nowrap;
}

.footer-bottom .footer-copyright {
    /* împinge dreptul de autor la capătul rândului */
    margin-left: auto;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

/* Sub 1180px linkurile nu mai încap lângă banner, deci primesc rând propriu:
   rândul 1 = pictograma ANPC + copyright, rândul 2 = linkurile legale. */
@media (max-width: 1180px) {
    .footer-bottom .footer-legal {
        order: 3;
        flex-basis: 100%;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
}

/* Mobil: bannerul pe rândul lui, linkurile în două coloane aliniate. */
@media (max-width: 640px) {
    .footer-bottom {
        display: block;
        text-align: left;
    }

    .footer-bottom .footer-anpc {
        display: flex;
        justify-content: flex-start;
        margin-bottom: 16px;
    }

    .footer-bottom .footer-legal {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
        justify-content: stretch;
    }

    .footer-bottom .footer-legal a,
    .footer-bottom .footer-legal .footer-legal-link {
        white-space: normal;
        text-align: left;
        justify-self: start;
    }

    .footer-bottom .footer-copyright {
        margin: 16px 0 0;
        white-space: normal;
    }
}
