/**
 * CARNISSERIA LLACH - PIZZES ARTESANES
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --stone-50: #FFFCF9;
    --stone-100: #F5F2ED;
    --stone-200: #E6E2DC;
    --stone-300: #D1CCC4;
    --stone-400: #A8A29E;
    --stone-500: #78716C;
    --stone-600: #57534E;
    --stone-700: #44403C;
    --stone-800: #292524;
    --stone-900: #1C1917;
    
    --terracotta-500: #E64A19;
    --terracotta-600: #D84315;
    
    --olive-400: #8B8569;
    --olive-500: #756F59;
    --olive-600: #5F5A48;
    --olive-700: #4A4639;
    
    --sage-400: #9CAF88;
    --sage-500: #7D9B69;
    --sage-600: #6B8759;
    
    --earth-500: #A67C52;
    --earth-600: #8B6544;
    
    --white: #FFFFFF;
    
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-spring: cubic-bezier(0.43, 0.195, 0.02, 1.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--stone-50);
    color: var(--stone-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

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

@media (max-width: 767px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 252, 249, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(230, 226, 220, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
}

.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    color: var(--terracotta-500);
    transition: transform 0.2s;
}

@media (min-width: 640px) {
    .logo-text {
        font-size: 1.25rem;
    }
}

.nav-logo:hover .logo-text {
    transform: scale(1.02);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-500);
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--stone-900);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--stone-900);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-badge {
    display: none;
    align-items: center;
    gap: 0.375rem;
    background: var(--stone-100);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--stone-200);
}

@media (min-width: 640px) {
    .status-badge {
        display: flex;
    }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.status-dot.open {
    background: var(--sage-500);
    animation: pulse-soft 2s infinite;
}

.status-dot.closed {
    background: var(--stone-400);
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.status-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--stone-600);
}

.nav-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-btn:hover {
    background: var(--stone-100);
    transform: translateY(-2px);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
    color: var(--stone-600);
    transition: color 0.2s ease;
}

.nav-btn:hover svg {
    color: var(--stone-900);
}

.nav-badge-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--olive-500);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--stone-50);
    transform: scale(0);
    transition: transform 0.3s var(--ease-out-back);
}

.nav-badge-count.visible {
    display: flex;
    transform: scale(1);
    animation: badge-pop 0.4s var(--ease-out-back);
}

@keyframes badge-pop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* HERO */
.hero {
    padding: 6rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 767px) {
    .hero {
        padding-bottom: 1rem;
    }
}

@media (min-width: 768px) {
    .hero {
        padding-top: 8rem;
        grid-template-columns: 7fr 5fr;
        gap: 2rem;
    }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--terracotta-500);
    background: rgba(230, 74, 25, 0.05);
    border: 1px solid rgba(230, 74, 25, 0.1);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero-badge-icon {
    font-size: 0.875rem;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--stone-900);
    margin-bottom: 1.5rem;
}

.hero-title-accent {
    color: var(--terracotta-500);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--stone-500);
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .hero-image {
        display: none;
    }
}

@media (min-width: 768px) {
    .hero-image {
        height: 500px;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    padding: 5rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: white;
}

.hero-image-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-style: italic;
}

.hero-image-desc {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.hero-image-price {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    font-size: 1.25rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn:hover::before {
    opacity: 1;
}

.btn-dark {
    background: var(--stone-900);
    color: var(--white);
    border-radius: 50px;
}

@media (max-width: 767px) {
    .btn-dark {
        display: none;
    }
}

.btn-dark:hover {
    background: var(--stone-800);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-dark:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: var(--terracotta-500);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--terracotta-600);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(230, 74, 25, 0.3);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:active {
    transform: translateY(0) scale(0.98);
}

.btn-full {
    width: 100%;
    flex-shrink: 0;
    min-height: 48px;
}

/* FLOATING CART BUTTON */
.floating-cart-btn {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.25rem;
    background: var(--olive-600);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s var(--ease-out-expo), opacity 0.4s ease, visibility 0.4s ease, background 0.2s ease, box-shadow 0.3s ease;
}

.floating-cart-btn.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.floating-cart-btn.hidden-scroll {
    transform: translateX(-50%) translateY(120px);
    opacity: 0;
    visibility: hidden;
}

.floating-cart-btn:hover {
    background: var(--stone-800);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(-50%) translateY(-2px);
}

.floating-cart-btn:active {
    transform: translateX(-50%) translateY(0) scale(0.98);
}

.floating-cart-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease-out-back);
}

.floating-cart-btn:hover svg {
    transform: scale(1.1);
}

.floating-cart-text {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 400px) {
    .floating-cart-text {
        font-size: 0.8125rem;
    }
}

.floating-cart-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--olive-500);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease-out-back);
}

.floating-cart-btn:hover .floating-cart-badge {
    transform: scale(1.1);
}

/* MENU SECTION */
.menu-section {
    padding: 0rem 0 6rem;
    overflow: visible;
}

@media (max-width: 767px) {
    .menu-section {
        padding-top: 0rem;
    }
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--stone-200);
}

@media (min-width: 640px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: var(--stone-900);
    letter-spacing: -0.02em;
}

@media (max-width: 767px) {
    .section-title-desktop {
        display: none;
    }
}

.category-tabs {
    display: flex;
    gap: 1.5rem;
}

.category-tab {
    background: none;
    border: none;
    padding: 0 0 1rem 0;
    margin-bottom: -1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-500);
    cursor: pointer;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.category-tab:hover {
    color: var(--stone-900);
}

.category-tab.active {
    color: var(--stone-900);
    border-bottom-color: var(--stone-900);
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
    .filters-bar {
        justify-content: center;
    }
}

.filters-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--stone-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 767px) {
    .filters-label {
        width: 100%;
        text-align: center;
    }
}

.allergen-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 767px) {
    .allergen-filters {
        justify-content: center;
        gap: 0.375rem;
    }
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.625rem;
    background: var(--white);
    border: 1px solid var(--stone-200);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--stone-600);
    cursor: pointer;
    transition: all 0.2s;
}

@media (max-width: 767px) {
    .filter-chip {
        padding: 0.375rem 0.5rem;
        font-size: 0.6875rem;
        gap: 0.2rem;
    }
}

.filter-chip:hover {
    border-color: var(--stone-300);
}

.filter-chip.active {
    background: var(--stone-800);
    border-color: var(--stone-800);
    color: var(--white);
}

.filter-chip span {
    font-size: 0.8125rem;
}

.sizes-info {
    font-size: 0.8125rem;
    color: var(--stone-400);
    margin-bottom: 2rem;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 1.5rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem 1.5rem;
    }
}

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

.product-card {
    cursor: pointer;
    transition: transform 0.3s var(--ease-out-expo);
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--stone-100);
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

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

.favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s var(--ease-out-back);
    z-index: 10;
}

.product-card:hover .favorite-btn {
    opacity: 1;
    transform: scale(1);
}

.favorite-btn:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.favorite-btn:active {
    transform: scale(0.95) !important;
}

.favorite-btn svg {
    width: 16px;
    height: 16px;
    color: var(--stone-400);
    transition: color 0.2s ease, transform 0.3s var(--ease-out-back);
}

.favorite-btn.active svg {
    color: #EF4444;
    fill: #EF4444;
    animation: heart-pop 0.4s var(--ease-out-back);
}

@keyframes heart-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    z-index: 5;
}

.product-badge.vegetarian {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #BBF7D0;
}

.product-badge.not-available {
    background: var(--stone-700);
    color: var(--white);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.product-title-row {
    flex: 1;
    min-width: 0;
}

.product-name {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--stone-900);
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card:hover .product-name {
    color: var(--terracotta-500);
}

.product-allergens {
    display: none;
}

.product-prices {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.product-price {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stone-700);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-price .size {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--stone-400);
    background: var(--stone-100);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

.product-price .amount {
    color: var(--stone-800);
}

.product-subtitle {
    font-size: 0.8125rem;
    color: var(--terracotta-500);
    font-weight: 500;
}

.product-ingredients {
    font-size: 0.875rem;
    color: var(--stone-500);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--stone-100);
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    align-items: center;
    flex: 1;
}

.footer-left {
    justify-content: flex-start;
}

.footer-center {
    justify-content: center;
}

.footer-right {
    justify-content: flex-end;
}

.add-to-cart {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.size-select {
    padding: 0.5rem 1.75rem 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--stone-200);
    border-radius: 8px;
    background: var(--white);
    color: var(--stone-700);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    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='%2378716C' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.size-select:hover {
    border-color: var(--stone-300);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.size-select:focus {
    outline: none;
    border-color: var(--olive-500);
    box-shadow: 0 0 0 3px rgba(117, 111, 89, 0.1);
}

.size-select:active {
    transform: scale(0.98);
}

.quantity-control {
    display: flex;
    align-items: center;
    background: var(--stone-100);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.quantity-control:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--stone-600);
    font-size: 1.125rem;
    font-weight: 500;
    transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.quantity-btn:hover {
    background: var(--stone-200);
}

.quantity-btn:active {
    transform: scale(0.9);
}

.quantity-btn.add {
    background: var(--olive-500);
    color: var(--white);
}

.quantity-btn.add:hover {
    background: var(--olive-600);
}

.quantity-btn.add:active {
    transform: scale(0.9);
    background: var(--olive-700);
}

.quantity-value {
    min-width: 32px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--stone-700);
    transition: transform 0.2s var(--ease-out-back);
}

.quantity-value.bump {
    animation: bump 0.3s var(--ease-out-back);
}

@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ABOUT SECTION */
.about-section {
    padding: 5rem 0;
    background: var(--white);
    border-top: 1px solid var(--stone-200);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--stone-900);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.about-text {
    font-size: 0.9375rem;
    color: var(--stone-500);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-700);
}

.feature-icon {
    font-size: 1.25rem;
}

/* FOOTER */
footer {
    background: var(--stone-900);
    color: var(--stone-300);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--stone-700);
}

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

.footer-brand .logo-text {
    color: var(--white);
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--stone-400);
    margin-top: 0.25rem;
}

.footer-contact p,
.footer-hours p {
    font-size: 0.875rem;
    color: var(--stone-400);
    margin-bottom: 0.25rem;
}

.footer-phone {
    color: var(--white) !important;
    font-weight: 500;
    margin-top: 0.5rem !important;
}

.footer-hours-title {
    color: var(--stone-200) !important;
    font-weight: 500;
    margin-bottom: 0.5rem !important;
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--stone-500);
}

/* LOADING */
.loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    gap: 1rem;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--stone-200);
    border-top-color: var(--terracotta-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading p {
    color: var(--stone-400);
    font-size: 0.875rem;
}

/* CART SIDEBAR */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--white);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--stone-200);
}

.cart-header h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--stone-900);
}

.cart-close,
.back-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s var(--ease-out-back);
}

.cart-close:hover,
.back-btn:hover {
    background: var(--stone-100);
    transform: scale(1.1);
}

.cart-close:active,
.back-btn:active {
    transform: scale(0.95);
}

.cart-close svg,
.back-btn svg {
    width: 20px;
    height: 20px;
    color: var(--stone-600);
    transition: color 0.2s ease;
}

.cart-close:hover svg,
.back-btn:hover svg {
    color: var(--stone-900);
}

.cart-view,
.checkout-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.checkout-view {
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
}

.checkout-view.active {
    transform: translateX(0);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--stone-400);
    gap: 1rem;
}

.cart-empty svg {
    width: 48px;
    height: 48px;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--stone-100);
}

.cart-item-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.cart-item-name {
    font-weight: 500;
    color: var(--stone-800);
    font-size: 0.9375rem;
}

.cart-item-size {
    font-size: 0.75rem;
    color: var(--stone-400);
    margin: 0.125rem 0 0.5rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--stone-700);
    font-size: 0.875rem;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.cart-item-remove {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--stone-400);
    transition: all 0.2s;
}

.cart-item-remove:hover {
    background: var(--stone-100);
    color: var(--stone-600);
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    background: var(--stone-100);
    border-radius: 6px;
}

.cart-item-quantity button {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--stone-600);
    font-size: 1rem;
}

.cart-item-quantity button:hover {
    background: var(--stone-200);
}

.cart-item-quantity span {
    min-width: 24px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
}

.cart-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--stone-200);
    background: var(--stone-50);
    flex-shrink: 0;
}

.cart-footer.hidden {
    display: none;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cart-total span:first-child {
    color: var(--stone-500);
}

.cart-total span:last-child {
    font-weight: 600;
    color: var(--stone-800);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex-shrink: 0;
}

.cart-actions .btn {
    flex-shrink: 0;
    min-height: 48px;
}

.btn-clear-cart {
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius);
    color: var(--stone-500);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-clear-cart:hover {
    background: var(--stone-100);
    border-color: var(--stone-300);
    color: var(--stone-700);
}

.btn-clear-cart:active {
    transform: scale(0.98);
}

/* CHECKOUT FORM */
.checkout-form {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--stone-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--stone-800);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--stone-400);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-400);
}

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

.order-summary {
    background: var(--stone-50);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    margin-top: auto;
}

.order-summary h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--stone-500);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    padding: 0.375rem 0;
    color: var(--stone-600);
}

.order-summary-item .qty {
    color: var(--stone-400);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--stone-200);
    font-weight: 600;
    color: var(--stone-800);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

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

.product-card {
    animation: fadeInScale 0.6s var(--ease-out-expo) forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0s; }
.product-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3) { animation-delay: 0.1s; }
.product-card:nth-child(4) { animation-delay: 0.15s; }
.product-card:nth-child(5) { animation-delay: 0.2s; }
.product-card:nth-child(6) { animation-delay: 0.25s; }
.product-card:nth-child(7) { animation-delay: 0.3s; }
.product-card:nth-child(8) { animation-delay: 0.35s; }
.product-card:nth-child(9) { animation-delay: 0.4s; }
.product-card:nth-child(10) { animation-delay: 0.45s; }
.product-card:nth-child(11) { animation-delay: 0.5s; }
.product-card:nth-child(12) { animation-delay: 0.55s; }

.cart-item {
    animation: slideUp 0.4s var(--ease-out-expo) forwards;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cart-item:hover {
    transform: translateX(4px);
}

.hero-content {
    animation: fadeIn 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-image {
    animation: fadeInScale 0.8s var(--ease-out-expo) 0.4s both;
}

.hero-badge {
    animation: fadeIn 0.6s var(--ease-out-expo) 0.6s both;
}

.filter-chip {
    transition: all 0.2s var(--ease-out-expo);
}

.filter-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-chip:active {
    transform: scale(0.95);
}

.category-tab {
    position: relative;
    transition: color 0.2s ease;
}

.category-tab::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--stone-900);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out-expo);
}

.category-tab.active::after {
    transform: scaleX(1);
}

.about-image {
    animation: fadeInScale 0.8s var(--ease-out-expo) both;
}

.about-content {
    animation: fadeIn 0.8s var(--ease-out-expo) 0.2s both;
}

.feature {
    transition: transform 0.2s ease;
}

.feature:hover {
    transform: translateX(4px);
}