/* ========================================
   THE RITUAL EXPERIENCE - STYLES
   Luxury Barbershop • San Diego
   ======================================== */

/* ----------------------------------------
   CSS VARIABLES
   ---------------------------------------- */
:root {
    /* Colors */
    --color-bg: #0a0a0a;
    --color-bg-elevated: #111111;
    --color-bg-card: #161616;
    --color-text: #f5f5f5;
    --color-text-secondary: #a0a0a0;
    --color-accent-gold: #c9a962;
    --color-accent-gold-hover: #d4b872;
    --color-border: #2a2a2a;
    --color-border-light: #333333;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* 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;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;
}

/* ----------------------------------------
   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-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ----------------------------------------
   TYPOGRAPHY
   ---------------------------------------- */
.display-hero {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.display-xl {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.display-lg {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
}

.display-md {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.25;
}

.heading-sm {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.body-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

.body-sm {
    font-size: 0.875rem;
    line-height: 1.6;
}

.label {
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.label-gold {
    color: var(--color-accent-gold);
}

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

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

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

/* ----------------------------------------
   LAYOUT
   ---------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-4xl) 0;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

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

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

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

/* Spacing utilities */
.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); }
.mt-xl { margin-top: var(--space-xl); }

.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); }
.mb-xl { margin-bottom: var(--space-xl); }

/* ----------------------------------------
   NAVIGATION
   ---------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: transparent;
    transition: var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 60px;
    width: auto;
    transition: var(--transition-base);
}

.nav.scrolled .nav-logo img {
    height: 50px;
}

.nav-menu {
    display: none;
    align-items: center;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-gold);
    transition: var(--transition-base);
}

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

.nav-cta {
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-bg);
    background: var(--color-accent-gold);
    padding: var(--space-sm) var(--space-lg);
    transition: var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-accent-gold-hover);
}

/* Mobile nav toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-bg-elevated);
    z-index: 2000;
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 2rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.mobile-menu-close:hover {
    color: var(--color-text);
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.mobile-menu a:hover {
    color: var(--color-accent-gold);
    padding-left: var(--space-sm);
}

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--space-md) var(--space-xl);
    border: 1px solid transparent;
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 0.8rem;
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.7rem;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-text);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border-light);
}

.btn-secondary:hover {
    border-color: var(--color-text);
}

.btn-gold {
    background: var(--color-accent-gold);
    color: var(--color-bg);
    border-color: var(--color-accent-gold);
}

.btn-gold:hover {
    background: var(--color-accent-gold-hover);
    border-color: var(--color-accent-gold-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--color-accent-gold);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.btn-ghost:hover {
    color: var(--color-accent-gold-hover);
}

.btn-ghost::after {
    content: '→';
    transition: var(--transition-base);
}

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

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-bg img,
.hero-bg .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-xl);
    max-width: 900px;
}

.hero-label {
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent-gold), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ----------------------------------------
   PAGE HEADER
   ---------------------------------------- */
.page-header {
    padding: calc(var(--space-4xl) + 80px) 0 var(--space-3xl);
    text-align: center;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}

.page-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ----------------------------------------
   CARDS
   ---------------------------------------- */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition-base);
}

.card:hover {
    border-color: var(--color-border-light);
}

.card-image {
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--color-bg-elevated);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

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

.card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: var(--space-xs);
}

.card-subtitle {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

/* Barber cards */
.barber-card {
    display: block;
    text-decoration: none;
}

.barber-info {
    padding: var(--space-lg);
    text-align: center;
}

/* Product cards */
.product-card .card-image {
    aspect-ratio: 1;
}

.product-category {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: var(--space-xs);
}

.product-price {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

/* ----------------------------------------
   IMAGE PLACEHOLDER
   ---------------------------------------- */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-elevated) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px dashed var(--color-border);
}

/* ----------------------------------------
   SERVICE ITEMS
   ---------------------------------------- */
.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
}

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

.service-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: var(--space-xs);
}

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

.service-price {
    font-size: 1rem;
    color: var(--color-accent-gold);
    white-space: nowrap;
}

/* ----------------------------------------
   OWNER SECTION
   ---------------------------------------- */
.owner-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(
        180deg,
        var(--color-bg) 0%,
        var(--color-bg-elevated) 50%,
        var(--color-bg) 100%
    );
}

.owner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .owner-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.owner-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.owner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-label {
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: var(--space-sm);
}

.owner-name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-style: italic;
    margin-bottom: var(--space-xs);
}

.owner-title {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.owner-bio {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.owner-stats {
    display: flex;
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.owner-stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent-gold);
}

.owner-stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-top: var(--space-xs);
}

/* ----------------------------------------
   TABS (Shop)
   ---------------------------------------- */
.tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    background: transparent;
    transition: var(--transition-base);
}

.tab-btn:hover {
    border-color: var(--color-border-light);
    color: var(--color-text);
}

.tab-btn.active {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: var(--color-bg);
}

.tab-content {
    display: none;
}

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

/* ----------------------------------------
   CART SIDEBAR
   ---------------------------------------- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-bg-elevated);
    border-left: 1px solid var(--color-border);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--color-bg-card);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--color-accent-gold);
}

.cart-item-remove {
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.cart-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-accent-gold);
    color: var(--color-bg);
    font-size: 0.65rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----------------------------------------
   UPSELL MODAL
   ---------------------------------------- */
.upsell-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

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

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

.upsell-content {
    position: relative;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    padding: var(--space-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
}

.upsell-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.upsell-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    margin: var(--space-sm) 0;
}

.upsell-text {
    margin-bottom: var(--space-lg);
}

.upsell-products {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.upsell-skip {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.upsell-skip:hover {
    color: var(--color-text);
}

/* ----------------------------------------
   CHAT WIDGET
   ---------------------------------------- */
.chat-widget {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 1000;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.3);
    transition: var(--transition-base);
}

.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(201, 169, 98, 0.4);
}

.chat-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--color-bg);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 2rem);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition-base);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-accent-gold);
    color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.chat-header-text h4 {
    font-size: 0.9rem;
    font-weight: 500;
}

.chat-header-text span {
    color: #4ade80;
}

.chat-close {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.chat-close:hover {
    color: var(--color-text);
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.chat-message {
    max-width: 85%;
    padding: var(--space-sm) var(--space-md);
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.bot {
    background: var(--color-bg-card);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background: var(--color-accent-gold);
    color: var(--color-bg);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-container {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.chat-input {
    flex: 1;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    border-radius: 20px;
    outline: none;
    transition: var(--transition-base);
}

.chat-input:focus {
    border-color: var(--color-accent-gold);
}

.chat-input::placeholder {
    color: var(--color-text-secondary);
}

.chat-send {
    background: var(--color-accent-gold);
    color: var(--color-bg);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    transition: var(--transition-base);
}

.chat-send:hover {
    background: var(--color-accent-gold-hover);
}

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
.footer {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

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

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

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer-heading {
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-accent-gold);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.footer-social {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-social {
        justify-content: flex-end;
    }
}

.footer-social a {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    transition: var(--transition-base);
}

.footer-social a:hover {
    color: var(--color-accent-gold);
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ----------------------------------------
   RESPONSIVE ADJUSTMENTS
   ---------------------------------------- */
@media (max-width: 767px) {
    .section {
        padding: var(--space-2xl) 0;
    }
    
    .hero-content {
        padding: var(--space-lg);
    }
    
    .owner-stats {
        gap: var(--space-lg);
    }
    
    .owner-stat-number {
        font-size: 1.5rem;
    }
}

/* ----------------------------------------
   UTILITY CLASSES
   ---------------------------------------- */
.add-to-cart {
    cursor: pointer;
}

.add-to-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Quantity controls */
.qty-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.qty-btn:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
}

.qty-value {
    min-width: 20px;
    text-align: center;
}
