/* ============================================
   CAFE WEBSITE - MAIN STYLESHEET
   ============================================ */

:root {
    --primary: #c8872a;
    --primary-dark: #a06820;
    --primary-light: #e4a84d;
    --dark: #1a1008;
    --dark-2: #2a1c0e;
    --dark-3: #3a2a18;
    --cream: #ffffff;
    --cream-light: #faf4e8;
    --text-light: #ffffff;
    --text-muted: #9a7a55;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0,0,0,0.25);
    --shadow-lg: 0 8px 48px rgba(0,0,0,0.4);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── NAVIGATION ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 16, 8, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200, 135, 42, 0.2);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(26, 16, 8, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.nav-logo-text span {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.75rem;
    color: #9a7a55;
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.2px;
}

.quote-mark {
    color: rgba(200, 135, 42, 0.5);
    font-size: 1.4rem;
    font-style: normal;
    line-height: 1;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 0.5rem;
}

.admin-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
}

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

.nav-cart-btn {
    position: relative;
    background: var(--primary);
    color: var(--dark) !important;
    font-weight: 700 !important;
    padding: 8px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cart-btn::after {
    display: none !important;
}

.nav-cart-btn:hover {
    background: var(--primary-light) !important;
    color: var(--dark) !important;
    transform: translateY(-1px);
}

.cart-count {
    background: var(--dark);
    color: var(--primary-light);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 1px;
    transition: var(--transition);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 16, 8, 0.88) 0%,
        rgba(26, 16, 8, 0.6) 50%,
        rgba(26, 16, 8, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 135, 42, 0.2);
    border: 1px solid rgba(200, 135, 42, 0.4);
    color: var(--primary-light);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease both;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s 0.1s ease both;
}

.hero-title .accent {
    color: var(--primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 4rem;
    animation: fadeInUp 0.6s 0.4s ease both;
}

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

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

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 135, 42, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(200, 135, 42, 0.5);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

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

/* ── SECTION LAYOUT ── */
.section {
    padding: 6rem 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--cream);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── PRODUCT CARDS ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--dark-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(200, 135, 42, 0.1);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 135, 42, 0.3);
}

.product-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark-3);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.product-card-img-placeholder svg {
    opacity: 0.4;
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-body {
    padding: 1.25rem;
}

.product-card-category {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.product-card-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.product-price span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* ── CATEGORY NAV BAR ── */
.category-nav {
    background: var(--dark-2);
    border-bottom: 1px solid rgba(200, 135, 42, 0.15);
    position: sticky;
    top: 70px;
    z-index: 100;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 0;
    align-items: center;
    white-space: nowrap;
}

.cat-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color var(--transition), border-color var(--transition);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    letter-spacing: 0.2px;
    position: relative;
}

.cat-nav-btn:hover {
    color: var(--text-light);
}

.cat-nav-btn.active {
    color: var(--primary-light);
    border-bottom-color: var(--primary);
}

.cat-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--transition);
}

.cat-nav-btn.active .cat-nav-dot {
    opacity: 1;
}

/* ── PAGE HEADER ── */
.page-header {
    padding-top: 130px;
    padding-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 135, 42, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--cream);
    letter-spacing: -1px;
}

.page-header p {
    color: var(--text-muted);
    margin-top: 0.75rem;
    font-size: 1rem;
}

/* ── PRODUCT DETAIL ── */
.product-detail {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 120px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.gallery-main {
    aspect-ratio: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark-2);
    border: 1px solid rgba(200, 135, 42, 0.15);
    margin-bottom: 1rem;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    display: block;
}

.gallery-main-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
}

.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.gallery-thumb {
    flex: 0 0 80px;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
}

.gallery-thumb.active {
    border-color: var(--primary);
}

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

.product-info-panel {
    padding-top: 0.5rem;
}

.product-info-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.product-info-breadcrumb a {
    color: var(--primary);
    transition: color var(--transition);
}

.product-info-breadcrumb a:hover {
    color: var(--primary-light);
}

.product-info-category {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.product-info-name {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--cream);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.product-info-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-info-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.product-add-cart {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--dark-2);
    border: 1px solid rgba(200, 135, 42, 0.25);
    border-radius: 50px;
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background var(--transition), color var(--transition);
}

.qty-btn:hover {
    background: rgba(200, 135, 42, 0.15);
    color: var(--primary-light);
}

.qty-value {
    padding: 0 1rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--cream);
    min-width: 40px;
    text-align: center;
}

/* ── CART ── */
.cart-layout {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 120px;
}

.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.cart-empty h2 {
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cart-item {
    background: var(--dark-2);
    border: 1px solid rgba(200, 135, 42, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    transition: border-color var(--transition);
}

.cart-item:hover {
    border-color: rgba(200, 135, 42, 0.25);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--dark-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
}

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

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

.cart-item-cat {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream);
    margin: 2px 0 4px;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cart-item-subtotal {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
    display: flex;
}

.cart-item-remove:hover {
    color: #e05555;
    background: rgba(224, 85, 85, 0.1);
}

.cart-summary {
    background: var(--dark-2);
    border: 1px solid rgba(200, 135, 42, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.cart-summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(200, 135, 42, 0.1);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.cart-summary-row.total {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--cream);
    border-top: 1px solid rgba(200, 135, 42, 0.15);
    margin-top: 0.75rem;
    padding-top: 1rem;
}

.cart-summary-row.total .val {
    color: var(--primary);
}

.cart-summary-row .val {
    font-weight: 600;
    color: var(--text-light);
}

.place-order-btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* ── SIZE SELECTOR ── */
.size-selector {
    margin-bottom: 1.5rem;
}

.size-selector-label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cream);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.size-selected-name {
    font-weight: 500;
    color: var(--primary);
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85rem;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.size-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    border: 2px solid rgba(200, 135, 42, 0.2);
    background: var(--dark-2);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
    user-select: none;
    min-width: 80px;
    text-align: center;
}

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

.size-option:hover {
    border-color: rgba(200, 135, 42, 0.5);
    background: rgba(200, 135, 42, 0.06);
}

.size-option.selected {
    border-color: var(--primary);
    background: rgba(200, 135, 42, 0.1);
    transform: translateY(-1px);
}

.size-option-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.2;
}

.size-option-price {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
}

/* ── FEATURES SECTION ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--dark-2);
    border: 1px solid rgba(200, 135, 42, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 135, 42, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(200, 135, 42, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── FOOTER ── */
.footer {
    background: var(--dark-2);
    border-top: 1px solid rgba(200, 135, 42, 0.12);
    padding: 3rem 2rem 1.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.footer-brand-name span {
    color: var(--primary);
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(200, 135, 42, 0.08);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ── TOAST NOTIFICATION ── */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    background: var(--dark-2);
    border: 1px solid rgba(200, 135, 42, 0.3);
    border-radius: var(--radius);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 360px;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.35s ease forwards;
    pointer-events: all;
}

.toast.toast-success {
    border-color: rgba(37, 211, 102, 0.4);
}

.toast.toast-error {
    border-color: rgba(224, 85, 85, 0.4);
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-msg {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.toast.hiding {
    animation: toastOut 0.3s ease forwards;
}

/* ── LOADING SPINNER ── */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(200, 135, 42, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ── EMPTY STATE ── */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.empty-state h3 {
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

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

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100%); }
}

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

.animate-in {
    animation: fadeInUp 0.5s ease both;
}

/* ── DIVIDER ── */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 135, 42, 0.3), transparent);
    margin: 0 auto;
    max-width: 200px;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .product-detail {
        grid-template-columns: 1fr;
        padding: 1rem;
        padding-top: 90px;
        gap: 1.25rem;
        max-width: 600px;
    }
    .product-gallery {
        position: static;
        top: auto;
    }
    .gallery-main {
        border-radius: var(--radius);
        margin-bottom: 0.75rem;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .nav { padding: 0 1rem; height: 64px; }
    .nav-logo-img { height: 38px; }
    .nav-logo-text { font-size: 1rem; }
    .nav-logo-text span { font-size: 0.65rem; letter-spacing: 1.5px; }
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--dark-2);
        border-bottom: 1px solid rgba(200, 135, 42, 0.15);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
        z-index: 999;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a {
        padding: 0.875rem 1.5rem;
        display: block;
        border-bottom: 1px solid rgba(200, 135, 42, 0.06);
    }
    .nav-links a::after { display: none; }
    .nav-cart-btn {
        margin: 0.75rem 1.5rem 0;
    }
    .nav-toggle { display: flex; }
    .hero-stats { gap: 1.5rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer { padding: 2rem 1rem 1rem; }
    .section { padding: 3rem 1rem; }
    .page-header { padding: 90px 1rem 1.5rem; }
    .category-nav { top: 64px; }
    .category-nav-inner { padding: 0 1rem; }
    .cat-nav-btn { padding: 0.85rem 1rem; font-size: 0.85rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .product-card-body { padding: 0.85rem; }
    .product-card-name { font-size: 0.92rem; }
    .product-card-desc { display: none; }
    .product-card-category { font-size: 0.68rem; }
    .product-price { font-size: 1rem; }

    /* Product detail page – mobile polish */
    .product-detail { padding-top: 80px; }
    .product-info-panel { padding-top: 0; }
    .product-info-name { font-size: 1.5rem; margin-bottom: 0.6rem; }
    .product-info-price { font-size: 1.6rem; margin-bottom: 1rem; }
    .product-info-desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
    .product-info-breadcrumb { margin-bottom: 1rem; font-size: 0.78rem; }
    .product-add-cart { gap: 0.75rem; }
    .product-add-cart .btn { flex: 1; justify-content: center; min-width: 140px; }
    .gallery-thumbs { gap: 0.5rem; }
    .gallery-thumb { flex: 0 0 64px; }

    .cart-layout { padding: 1rem; padding-top: 90px; }
    .cart-item { flex-wrap: wrap; padding: 1rem; gap: 0.85rem; }
    .cart-item-img { width: 64px; height: 64px; }
    .cart-item-controls { width: 100%; justify-content: space-between; }
    .cart-summary { padding: 1.25rem; }
    .toast-container { left: 1rem; right: 1rem; bottom: 1rem; }
    .toast { min-width: unset; max-width: unset; }
}

@media (max-width: 380px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-card-desc { display: -webkit-box; }
}
