:root {
    --primary: #5C4033;
    --primary-light: #8B6914;
    --accent: #2D5016;
    --accent-soft: #4A7C23;
    --warm: #C4A35A;
    --copper: #B87333;
    --bg: #FAF8F5;
    --bg-card: #FFFDF8;
    --text: #2C1810;
    --text-muted: #5C4A3D;
    --border: #E8E0D4;
    --gradient-warm: linear-gradient(135deg, #5C4033 0%, #8B6914 50%, #B87333 100%);
    --gradient-soft: linear-gradient(180deg, rgba(44,24,16,0.4) 0%, transparent 60%);
    --shadow-sm: 0 2px 8px rgba(44,24,16,0.06);
    --shadow-md: 0 8px 24px rgba(44,24,16,0.08);
    --shadow-lg: 0 16px 48px rgba(44,24,16,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --header-height: 92px;
}

body {
    font-family: 'Cormorant', serif;
    background-color: var(--bg);
    color: var(--text);
    padding-top: var(--header-height);
}

.site-header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.top-bar {
    background: linear-gradient(90deg, var(--primary) 0%, #4A3528 100%);
    border-bottom: none;
    padding: 0.25rem 0;
}

.top-bar .form-control {
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.95);
}

.top-bar .btn {
    border-radius: 8px;
    color: var(--primary);
    background: white;
    border: 1px solid var(--border);
}

.navbar {
    padding: 0.35rem 0;
}

.navbar .container {
    max-width: 1200px;
}

.navbar-nav.nav-fill {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
}

.navbar-nav.nav-fill .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav.nav-fill .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.35rem 0.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
}

.navbar-nav.nav-fill .nav-link:hover {
    color: var(--primary);
    background: rgba(92,64,51,0.06);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-trigger {
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4em;
    height: 1.4em;
    padding: 0 0.35em;
    margin-left: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1;
    color: white;
    background: var(--accent);
    border-radius: 999px;
    vertical-align: middle;
}

.cart-count:empty {
    display: none;
}

.cart-count:not(:empty) {
    display: inline-flex;
}

.snipcart-total-price {
    display: none !important;
}

.main-content-top {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.hero-section {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-section .carousel {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-section .carousel-inner {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-section .carousel-item {
    position: relative;
}

.hero-section .carousel-item img {
    object-fit: cover;
    max-height: 420px;
    width: 100%;
}

.hero-section .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-soft);
    pointer-events: none;
}

.hero-section .carousel-caption {
    bottom: 2.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: rgba(255,253,248,0.92);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

.hero-section .carousel-caption h1,
.hero-section .carousel-caption h2 {
    color: var(--primary);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 0.5rem;
}

.hero-section .carousel-caption .lead {
    color: var(--text-muted);
    font-size: 1rem;
}

.hero-section .carousel-caption .btn-primary {
    background: var(--gradient-warm);
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.hero-section .carousel-caption .btn-primary:hover {
    filter: brightness(1.08);
    box-shadow: var(--shadow-md);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    background: transparent;
    border-radius: 999px;
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    opacity: 0.6;
    transition: opacity 0.2s, background 0.2s, transform 0.2s;
}

.carousel-indicators [data-bs-target]:hover {
    opacity: 1;
}

.carousel-indicators [data-bs-target].active {
    background: var(--primary);
    opacity: 1;
    transform: scale(1.15);
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(255,253,248,0.9);
    border-radius: 50%;
    border: 1px solid var(--border);
    opacity: 0.9;
    transition: opacity 0.2s, background 0.2s;
    z-index: 3;
}

.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--bg-card);
    opacity: 1;
    box-shadow: var(--shadow-md);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    opacity: 0.7;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    opacity: 1;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text);
}

.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

.btn-link {
    color: var(--text);
    text-decoration: none;
}

.btn-link:hover {
    color: var(--primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 10px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-outline-primary:hover {
    background: var(--gradient-warm);
    color: white;
    border-color: transparent;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient-warm);
    border: none;
    color: white;
    border-radius: 10px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s, filter 0.2s;
}

.btn-primary:hover {
    filter: brightness(1.08);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.contact-info-section .card,
.faq-section .accordion {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.contact-info-section .card-body {
    background: var(--gradient-warm);
    color: white;
    border-radius: var(--radius);
}

.contact-form .form-control {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 0.8rem;
    font-family: 'Lato', sans-serif;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-warm);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.categories-section h2 {
    color: var(--primary);
}

.category-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--warm);
}

.category-card .card-img-top {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.category-card .card-body {
    padding: 1.5rem 1.5rem 1.75rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card) 0%, #F5F2ED 100%);
    border-top: 3px solid var(--primary);
}

.category-card .card-title {
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.category-card .card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.featured-products,
section.py-5.bg-light {
    background: linear-gradient(180deg, #F0EDE8 0%, var(--bg) 100%) !important;
}

.product-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--warm);
}

.product-card .card-img-top {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card .card-body {
    padding: 1.35rem 1.35rem 1.5rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.product-card .card-body .h5 a,
.product-card .card-body h2.h5 a {
    color: var(--text);
    font-weight: 600;
    transition: color 0.2s;
}

.product-card .card-body .h5 a:hover,
.product-card .card-body h2.h5 a:hover {
    color: var(--primary);
}

.product-card .price {
    color: var(--accent-soft);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card .card-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-card .btn-primary {
    width: 100%;
}

.card-img-top {
    border-radius: var(--radius) var(--radius) 0 0;
}

@media (max-width: 991.98px) {
    :root {
        --header-height: 88px;
    }
    .navbar-nav.nav-fill {
        flex-direction: column;
        align-items: stretch;
    }
    .navbar-nav.nav-fill .nav-link {
        justify-content: flex-start;
        min-height: 42px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --header-height: 80px;
    }
    .hero-section .carousel-caption {
        bottom: 1rem;
        padding: 1rem;
    }
    .carousel-control-prev { left: 0.5rem; }
    .carousel-control-next { right: 0.5rem; }
    .carousel-indicators {
        padding: 0.4rem 0.6rem;
    }
}
