/* ============================================
   GIFTING 91 - Enterprise E-Commerce Stylesheet
   Premium Gift Store | India
   ============================================ */

/* ── CSS Custom Properties ── */
:root {
    /* Brand Colors */
    --primary: #082f2e;
    --primary-light: #16213e;
    --accent: #c9a96e;
    --accent-hover: #b8923f;
    --accent-light: #f5efe6;
    --text-dark: #1a1a1a;
    --text-medium: #555;
    --text-light: #888;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-cream: #f9f6f1;
    --border-light: #e8e8e8;
    --border-medium: #d0d0d0;
    --success: #2ecc71;
    --error: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition-base: 0.3s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);

    /* Layout */
    --container-max: 1400px;
    --header-height: 70px;
    --topbar-height: 40px;
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --border-radius-xl: 12px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ── Utility Classes ── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-error { color: var(--error); }
.text-success { color: var(--success); }

/* ── Animation Keyframes ── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.animate-fadeIn { animation: fadeIn 0.6s var(--ease-out) both; }
.animate-fadeInUp { animation: fadeInUp 0.6s var(--ease-out) both; }
.animate-fadeInDown { animation: fadeInDown 0.5s var(--ease-out) both; }
.animate-fadeInLeft { animation: fadeInLeft 0.6s var(--ease-out) both; }
.animate-fadeInRight { animation: fadeInRight 0.6s var(--ease-out) both; }
.animate-scaleIn { animation: scaleIn 0.5s var(--ease-spring) both; }

/* Stagger delays for children */
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(7) { animation-delay: 0.35s; }
.stagger-children > *:nth-child(8) { animation-delay: 0.4s; }

/* Scroll-triggered reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ── Top Bar ── */
.topbar {
    background: var(--primary);
    color: var(--text-white);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1001;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.topbar-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-white);
    opacity: 0.85;
    transition: opacity var(--transition-fast);
}

.topbar-left a:hover {
    opacity: 1;
}

.topbar-left .separator {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,0.3);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.topbar-right a {
    color: rgba(255,255,255,0.85);
    transition: color var(--transition-fast);
}

.topbar-right a:hover {
    color: var(--accent);
}

/* ── Header / Navigation ── */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-main {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    white-space: nowrap;
}

.logo span {
    color: var(--accent);
}

.logo img {
    height: 72px;
    width: auto;
}


@media only screen and (max-width: 479px) {
.logo img {
    height: 62px;
    width: auto;
}

}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: flex;
    align-items: center;
    padding: 0 var(--space-lg);
    height: var(--header-height);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-dark);
    position: relative;
    transition: color var(--transition-fast);
}

.main-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-base), left var(--transition-base);
}

.main-nav > ul > li:hover > a,
.main-nav > ul > li.active > a {
    color: var(--accent);
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after {
    width: 100%;
    left: 0;
}

/* Dropdown / Submenu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-top: 2px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
}

.main-nav > ul > li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: var(--accent-light);
    color: var(--accent-hover);
    padding-left: 26px;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast), transform var(--transition-fast);
    color: var(--text-dark);
}

.header-icon:hover {
    background: var(--bg-cream);
    transform: scale(1.08);
}

.header-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.header-icon .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: var(--text-white);
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.3s var(--ease-spring);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-base);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile-only nav links (hidden on desktop) */
.nav-mobile-links {
    display: none;
}

/* ── Search Overlay ── */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 90%;
    max-width: 700px;
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: var(--space-xl);
    transform: translateY(-30px) scale(0.95);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0) scale(1);
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: var(--space-md);
}

.search-input-wrap svg {
    width: 24px;
    height: 24px;
    color: var(--text-light);
    flex-shrink: 0;
}

.search-input-wrap input {
    flex: 1;
    font-size: 1.1rem;
    padding: var(--space-sm) 0;
    color: var(--text-dark);
}

.search-input-wrap input::placeholder {
    color: var(--text-light);
}

.search-close {
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition-fast);
}

.search-close:hover {
    color: var(--text-dark);
}

.search-results {
    margin-top: var(--space-lg);
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--bg-cream);
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.search-result-item .info h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-item .info .price {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

/* ── Hero / Banner Section ── */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    background: var(--primary);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img,
.hero-slide video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.4) 60%,
        rgba(0,0,0,0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
    padding: 0 var(--space-xl);
}

.hero-content .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: var(--space-md);
    animation: fadeInDown 0.8s var(--ease-out) 0.2s both;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: float 2s ease-in-out infinite;
    color: var(--text-white);
    opacity: 0.7;
}

.hero-scroll svg {
    width: 30px;
    height: 30px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-white);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 169, 110, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--primary);
    color: var(--text-white);
    border: 2px solid var(--primary);
}

.btn-dark:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.3);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.btn-lg {
    padding: 18px 42px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ── Section Styles ── */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    position: relative;
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.section-header .underline {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: var(--space-md) auto 0;
}

/* ── Product Card ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.product-card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.product-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
}

.product-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--bg-light);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card-action {
    width: 38px;
    height: 38px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    color: var(--text-dark);
}

.product-card-action:hover {
    background: var(--accent);
    color: var(--text-white);
    transform: scale(1.1);
}

.product-card-action.wishlisted {
    background: var(--error);
    color: var(--text-white);
}

.product-card-action svg {
    width: 18px;
    height: 18px;
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 1;
}

.badge-sale {
    background: var(--error);
    color: var(--text-white);
}

.badge-new {
    background: var(--accent);
    color: var(--text-white);
}

.product-card-info {
    padding: var(--space-lg);
    text-align: center;
}

.product-card-brand {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-card-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-name a:hover {
    color: var(--accent);
}

.product-card-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.product-card-price .current {
    font-weight: 600;
    color: var(--text-dark);
}

.product-card-price .original {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card-price .discount {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 500;
}

/* Product Carousel */
.product-carousel {
    position: relative;
    overflow: hidden;
    container-type: inline-size;
}

.product-carousel-track {
    display: flex;
    gap: var(--space-xl);
    transition: transform 0.4s cubic-bezier(.25,.46,.45,.94);
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.product-carousel-track:active {
    cursor: grabbing;
}

.product-carousel-track a {
    -webkit-user-drag: none;
}

/* Mobile-converted carousel */
.mobile-carousel {
    container-type: inline-size;
}

.mobile-carousel .product-carousel-track {
    gap: var(--space-md);
}

.mobile-carousel .product-carousel-track .product-card {
    width: 75cqi;
    min-width: 75cqi;
    flex-shrink: 0;
}

.product-carousel-track .product-card {
    width: calc((100cqi - var(--space-xl) * 2) / 3);
    min-width: calc((100cqi - var(--space-xl) * 2) / 3);
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    z-index: 10;
    color: var(--text-dark);
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
}

.carousel-btn.prev { left: -5px; }
.carousel-btn.next { right: -5px; }

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* ── Category Banner Cards ── */
.category-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.category-card {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    transition: background var(--transition-base);
}

.category-card:hover .category-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%);
}

.category-card-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.category-card:hover .category-card-overlay h3 {
    transform: translateY(0);
}

.category-card-overlay .card-link {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.category-card:hover .category-card-overlay .card-link {
    opacity: 1;
    transform: translateY(0);
}

/* ── Shop / Listing Page ── */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
    padding: var(--space-3xl) 0;
}

.shop-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
    align-self: start;
}

.filter-section {
    margin-bottom: var(--space-2xl);
}

.filter-section h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* ── Price Range Slider ── */
.price-range-filter {
    padding: 8px 0;
}

.price-range-slider {
    position: relative;
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 30px 0 22px;
}

.price-range-progress {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    pointer-events: none;
    left: 0%;
    right: 0%;
}

.price-range-slider input[type="range"] {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    background: none;
    pointer-events: none;
    transform: translateY(-50%);
    outline: none;
    z-index: 2;
}

.price-range-slider input.range-min { z-index: 3; }

.price-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    cursor: grab;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    box-shadow: 0 0 0 5px rgba(201, 169, 110, 0.2);
}

.price-range-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: 50%;
    cursor: grab;
    pointer-events: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    border: 0;
}

.price-range-slider input[type="range"]::-moz-range-track {
    background: transparent;
    border: none;
    height: 0;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.price-input {
    flex: 1;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 8px 12px;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.price-input:focus-within {
    border-color: var(--accent);
}

.price-input span {
    color: var(--text-light);
    margin-right: 4px;
}

.price-input input {
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.price-inputs .separator {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Sort Bar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.shop-toolbar .results-count {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-medium);
}

.sort-select select {
    padding: 8px 30px 8px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    background: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: border-color var(--transition-fast);
}

.sort-select select:focus {
    border-color: var(--accent);
}

/* ── Product Detail Page ── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
    align-self: start;
}

.product-gallery-main {
    aspect-ratio: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: var(--space-md);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-out);
    cursor: zoom-in;
}

.product-gallery-main:hover img {
    transform: scale(1.15);
}

.product-gallery-thumbs {
    display: flex;
    gap: var(--space-sm);
}

.product-gallery-thumbs .thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition-fast);
    opacity: 0.6;
}

.product-gallery-thumbs .thumb.active,
.product-gallery-thumbs .thumb:hover {
    border-color: var(--accent);
    opacity: 1;
}

.product-gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: var(--space-md) 0;
}

.product-info .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.product-info .breadcrumb a:hover {
    color: var(--accent);
}

.product-info .breadcrumb span {
    color: var(--text-light);
}

.product-info h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.product-info .category-name {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-light);
}

.product-price-block .current-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.product-price-block .original-price {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-price-block .discount-tag {
    padding: 4px 10px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--border-radius);
}

.product-description {
    margin-bottom: var(--space-xl);
    line-height: 1.8;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    width: fit-content;
}

.quantity-selector button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: background var(--transition-fast);
}

.quantity-selector button:hover {
    background: var(--bg-cream);
}

.quantity-selector input {
    width: 60px;
    height: 44px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    color: var(--text-dark);
}

.product-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.product-actions .btn { flex: 1; }

.product-meta {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-meta span {
    color: var(--text-dark);
    font-weight: 500;
}

/* ── Cart Page ── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    padding: var(--space-3xl) 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead th {
    text-align: left;
    padding: var(--space-md) var(--space-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    border-bottom: 2px solid var(--border-light);
}

.cart-table tbody td {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-item-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-info .details h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-info .details .category-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.cart-item-remove {
    color: var(--text-light);
    transition: color var(--transition-fast);
    cursor: pointer;
}

.cart-item-remove:hover {
    color: var(--error);
}

/* Cart Summary */
.cart-summary {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
    align-self: start;
}

.cart-summary h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
}

.cart-summary-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    border-top: 2px solid var(--border-light);
}

.cart-summary .btn {
    margin-top: var(--space-xl);
}

/* ── Checkout Page ── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--space-2xl);
    padding: var(--space-3xl) 0;
}

.checkout-section {
    margin-bottom: var(--space-2xl);
}

.checkout-section h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* ── Forms ── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-medium);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-error {
    font-size: 0.78rem;
    color: var(--error);
    margin-top: 4px;
}

/* Payment Method */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.payment-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-method.selected,
.payment-method:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}

.payment-method input[type="radio"] {
    accent-color: var(--accent);
    width: 18px;
    height: 18px;
}

.payment-method .method-info h4 {
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-method .method-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Order Summary (checkout sidebar) */
.order-summary {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
    align-self: start;
}

.order-summary h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent);
}

.order-summary-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
}

.order-summary-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.order-summary-item .item-details {
    flex: 1;
}

.order-summary-item .item-details h4 {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2px;
}

.order-summary-item .item-details .qty {
    font-size: 0.78rem;
    color: var(--text-light);
}

.order-summary-item .item-price {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ── Wishlist Page ── */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    padding: var(--space-3xl) 0;
}

/* ── My Account Page ── */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-2xl);
    padding: var(--space-3xl) 0;
}

.account-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
    align-self: start;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    width: fit-content;
}

.account-sidebar-header {
    padding: var(--space-xl);
    background: var(--primary);
    color: var(--text-white);
    text-align: center;
}

.account-sidebar-header .avatar {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto var(--space-sm);
}

.account-sidebar-header h3 {
    font-size: 1rem;
    font-weight: 500;
}

.account-sidebar-header p {
    font-size: 0.8rem;
    opacity: 0.7;
}

.account-nav {
    padding: var(--space-sm) 0;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    font-size: 0.9rem;
    color: var(--text-medium);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.account-nav a:hover,
.account-nav a.active {
    background: var(--bg-white);
    color: var(--accent);
    border-left-color: var(--accent);
}

.account-nav a svg {
    width: 18px;
    height: 18px;
}

.account-content {
    min-height: 500px;
}

.account-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* ── Orders List ── */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead th {
    text-align: left;
    padding: var(--space-md) var(--space-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    border-bottom: 2px solid var(--border-light);
}

.orders-table tbody td {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.orders-table tbody tr {
    transition: background var(--transition-fast);
}

.orders-table tbody tr:hover {
    background: var(--bg-cream);
}

.status-pending {
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning);
}

.status-processing {
    background: rgba(52, 152, 219, 0.1);
    color: var(--info);
}

.status-shipped {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.status-delivered {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success);
}

.status-cancelled {
    background: rgba(231, 76, 60, 0.1);
    color: var(--error);
}

/* ── Auth Pages (Login / Register) ── */
.auth-page {
    min-height: calc(100vh - var(--header-height) - var(--topbar-height) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) 0;
    background: var(--bg-cream);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-white);
    border-radius: var(--border-radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s var(--ease-out);
}

.auth-card .auth-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-card .auth-header h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.auth-card .auth-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-card .auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-card .auth-footer a {
    color: var(--accent);
    font-weight: 500;
}

.auth-card .auth-footer a:hover {
    text-decoration: underline;
}

/* ── Page Header / Breadcrumb ── */
.page-header {
    background: var(--primary);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    color: var(--text-white);
    margin-bottom: var(--space-sm);
    position: relative;
    padding: 0 var(--space-md);
    line-height: 1.3;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    position: relative;
}

.page-header .breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

.page-header .breadcrumb a:hover {
    color: var(--accent);
}

.page-header .breadcrumb .current {
    color: var(--accent);
}

/* ── Footer ── */
.site-footer {
    background: var(--primary);
    color: var(--text-white);
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
}

.footer-col h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: rgba(255,255,255,0.7);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-white);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-md) !important;
}

.footer-contact li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: var(--space-lg) 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ── Toast Notifications ── */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 300px;
    max-width: 450px;
    animation: fadeInRight 0.4s var(--ease-spring);
    border-left: 4px solid var(--accent);
}

.toast.toast-success { border-left-color: var(--success); }
.toast.toast-error { border-left-color: var(--error); }
.toast.toast-warning { border-left-color: var(--warning); }

.toast .toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast .toast-message {
    flex: 1;
    font-size: 0.88rem;
}

.toast .toast-close {
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-fast);
    padding: 4px;
}

.toast .toast-close:hover {
    color: var(--text-dark);
}

.toast.removing {
    animation: fadeInRight 0.3s var(--ease-out) reverse forwards;
}

/* ── Loading Spinner ── */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.spinner-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

/* ── Pagination ── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--space-2xl) 0;
}

.pagination a,
.pagination span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    color: var(--text-medium);
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination .active {
    background: var(--accent);
    color: var(--text-white);
    border-color: var(--accent);
}

.pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.empty-state svg {
    width: 100px;
    height: 100px;
    color: var(--border-light);
    margin-bottom: var(--space-xl);
}

.empty-state h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-xl);
}

/* ── Alert Messages ── */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--error);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    color: var(--info);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* ── Skeleton Loading ── */
.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--bg-cream) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--border-radius);
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 80%;
}

.skeleton-text.short { width: 50%; }
.skeleton-text.full { width: 100%; }

.skeleton-image {
    aspect-ratio: 3/4;
    width: 100%;
}

/* ── Newsletter Section ── */
.newsletter-section {
    background: var(--bg-cream);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.newsletter-section h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.newsletter-section p {
    color: var(--text-light);
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border-light);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 0.9rem;
    background: var(--bg-white);
    color: var(--text-dark);
}

.newsletter-form input:focus {
    border-color: var(--accent);
}

.newsletter-form button {
    padding: 14px 28px;
    background: var(--accent);
    color: var(--text-white);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

/* ── Account Page Wrapper ── */
.account-page {
    background: var(--bg-white);
}

.account-user {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--primary);
    color: var(--text-white);
}

.account-avatar {
    width: 52px;
    height: 52px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    flex-shrink: 0;
}

.account-user h3 {
    font-size: 0.95rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 170px;
}

.account-user p {
    font-size: 0.8rem;
    opacity: 0.7;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 170px;
}

.account-section {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.account-section h2 {
    display: block;
    border-bottom: 2px solid var(--accent);
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-xl);
}

.account-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* ── Status Badge (used in orders & order detail) ── */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ── Orders Table Wrapper ── */
.orders-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
}

/* ── Order Detail Page Styles ── */
.order-status-banner {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.order-status-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.order-date {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.order-meta-row {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    font-size: 0.88rem;
    color: var(--text-medium);
}

.order-meta-row strong {
    color: var(--text-dark);
}

.order-section {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.order-section h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.order-items-list {
    display: flex;
    flex-direction: column;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-light);
}

.order-item-row:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-details h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.order-item-details h4 a:hover {
    color: var(--accent);
}

.order-item-meta {
    display: flex;
    gap: var(--space-lg);
    font-size: 0.85rem;
    color: var(--text-light);
}

.order-item-total {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.order-summary-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.summary-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-top: var(--space-md);
    margin-top: var(--space-sm);
    border-top: 2px solid var(--border-light);
}

.order-address {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.order-address strong {
    color: var(--text-dark);
}

/* ── Shop Page Wrapper ── */
.shop-page {
    padding: var(--space-3xl) 0;
}

/* ── Search Bar Section ── */
.search-bar-section {
    margin-bottom: var(--space-2xl);
}

.search-bar-form {
    display: flex;
    gap: var(--space-md);
    max-width: 600px;
}

.search-bar-form .form-control {
    flex: 1;
}

.results-count {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: var(--space-xl);
}

/* ── Responsive Design ── */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    :root {
        --header-height: 60px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-xl) 0;
    }

    .product-gallery {
        position: static;
        max-width: 100%;
    }

    .product-info {
        max-width: 100%;
        overflow: hidden;
    }

    .product-info h1 {
        font-size: 1.4rem;
    }

    .product-description {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .product-actions {
        flex-wrap: wrap;
    }

    .product-actions .btn {
        min-width: 0;
        font-size: 0.85rem;
        padding: 12px 16px;
    }

    .product-price-block .current-price {
        font-size: 1.4rem;
    }

    .product-gallery-thumbs .thumb {
        width: 60px;
        height: 60px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .category-cards {
        grid-template-columns: 1fr 1fr;
    }

    .product-carousel-track .product-card {
        width: calc((100cqi - var(--space-xl)) / 2);
        min-width: calc((100cqi - var(--space-xl)) / 2);
    }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .wishlist-grid { grid-template-columns: repeat(2, 1fr); }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--space-xl);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        z-index: 999;
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav > ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav > ul > li > a {
        height: auto;
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--border-light);
        justify-content: space-between;
    }

    .main-nav > ul > li > a::after { display: none; }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border-left: 2px solid var(--accent);
        margin-left: var(--space-md);
    }

    .dropdown-menu.open {
        display: block;
    }

    .menu-toggle { display: flex; }

    .header-icon-desktop { display: none !important; }

    .nav-mobile-links {
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--border-light);
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
        gap: 0;
    }

    .nav-mobile-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--border-light);
        color: var(--text-dark);
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
        transition: color var(--transition-fast);
    }

    .nav-mobile-links a:hover {
        color: var(--accent);
    }

    .nav-mobile-links svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .nav-mobile-links .badge {
        margin-left: auto;
        background: var(--accent);
        color: var(--text-white);
        font-size: 0.7rem;
        padding: 2px 8px;
        border-radius: 10px;
        font-weight: 600;
    }

    .hero-content h1 { font-size: 2rem; }
    .hero-section { height: 60vh; min-height: 400px; }

    .category-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .cart-table thead { display: none; }
    .cart-table tbody td {
        display: block;
        padding: var(--space-sm) var(--space-md);
        text-align: right;
    }
    .cart-table tbody td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .cart-table tbody tr {
        display: block;
        margin-bottom: var(--space-md);
        border: 1px solid var(--border-light);
        border-radius: var(--border-radius);
        padding: var(--space-sm);
    }

    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; gap: var(--space-md); }
    .wishlist-grid { grid-template-columns: 1fr; }

    .container { padding: 0 var(--space-md); }

    .section { padding: var(--space-2xl) 0; }

    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 0.95rem; }

    .product-carousel-track .product-card {
        width: 85cqi;
        min-width: 85cqi;
    }
}

/* ── Scrollbar Styling ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* ── Selection Styling ── */
::selection {
    background: var(--accent);
    color: var(--text-white);
}

/* ── Focus Visible ── */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Print Styles ── */
@media print {
    .topbar, .site-header, .site-footer, .toast-container { display: none !important; }
    body { color: #000; background: #fff; }
}

.has-dropdown {
    text-wrap: nowrap;
}

/* ══════════════════════════════════════════════
   INFO PAGES  (About, CEO, Founder, Contact)
   ══════════════════════════════════════════════ */

/* --- generic content section --- */
.info-section {
    padding: 3rem 0;
}
.info-section:nth-child(even) {
    background: var(--bg-cream);
}
.info-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.9;
    color: var(--text-medium);
}
.info-block h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}
.info-block h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}
.info-block.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}
.info-block p + p {
    margin-top: var(--space-md);
}
.info-block .highlight {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary);
    font-style: italic;
    border-left: 4px solid var(--accent);
    padding: var(--space-md) var(--space-xl);
    margin: var(--space-2xl) 0;
    background: rgba(201,169,110,.06);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}
.info-block .tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
    text-align: center;
}

/* --- values grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}
.value-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.value-card .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.value-card .icon svg {
    width: 26px;
    height: 26px;
}
.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}
.value-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- awards list --- */
.awards-list {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) 0;
}
.awards-list li {
    position: relative;
    padding: var(--space-md) 0 var(--space-md) var(--space-2xl);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-medium);
}
.awards-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
}

/* --- profile hero (no banner, just centered card) --- */
.profile-hero {
    padding: 2rem 0 var(--space-2xl);
    text-align: center;
}
.profile-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
}
.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.profile-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: var(--space-xs);
}
.profile-hero .subtitle {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--accent);
    font-style: italic;
}

/* --- contact page --- */
.contact-map {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-2xl);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}
.contact-info-card {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    transition: var(--transition-base);
}
.contact-info-card:hover {
    box-shadow: var(--shadow-md);
}
.contact-info-card .card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info-card .card-icon svg {
    width: 22px;
    height: 22px;
}
.contact-info-card h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-info-card p,
.contact-info-card a {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}
.contact-info-card a:hover {
    color: var(--accent);
}
.contact-form-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
}
.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

/* --- legal pages (Privacy Policy, Terms & Conditions) --- */
.legal-content h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-sm);
}
.legal-content h3:first-of-type {
    margin-top: var(--space-md);
}
.legal-effective {
    display: inline-block;
    background: var(--accent-light);
    color: var(--text-medium);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent);
    margin-bottom: var(--space-xl);
}
.legal-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}
.legal-list li {
    position: relative;
    padding: var(--space-sm) 0 var(--space-sm) var(--space-xl);
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.8;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.legal-list li:last-child {
    border-bottom: none;
}
.legal-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
}
.legal-list li strong {
    color: var(--primary);
}
.legal-list li a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-list li a:hover {
    color: var(--accent-hover);
}
.legal-contact {
    background: var(--bg-cream);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    margin-top: var(--space-xl);
}
.legal-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.92rem;
    color: var(--text-medium);
    line-height: 1.8;
}
.legal-contact p:first-child {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}
.legal-contact svg {
    flex-shrink: 0;
    color: var(--accent);
}
.legal-contact a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-contact a:hover {
    color: var(--accent-hover);
}

/* --- responsive --- */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-map {
        height: 250px;
    }
    .profile-hero h1 {
        font-size: 1.6rem;
    }
    .profile-image {
        width: 140px;
        height: 140px;
    }
    .legal-contact {
        padding: var(--space-lg);
    }
    .legal-contact p {
        flex-wrap: wrap;
    }
}