:root {
    --primary-color: #C17F4A;
    --primary-dark: #A66B3A;
    --secondary-color: #3D4F3D;
    --accent-color: #E8B86D;
    --background-color: #FAF8F5;
    --surface-color: #F2EDE6;
    --footer-bg: #2C2C2A;
    --footer-text: #E8E4DF;
    --text-color: #2D2A26;
    --text-muted: #5C5854;
    --link-hover: #A66B3A;
    --carousel-overlay: linear-gradient(to bottom, rgba(45,42,38,0.15) 0%, rgba(45,42,38,0.5) 100%);
    --shadow-soft: 0 4px 24px rgba(45,42,38,0.08);
    --shadow-medium: 0 8px 32px rgba(45,42,38,0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 56px;
}

.navbar.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(250, 248, 245, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    padding: 0.6rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: 2px;
    font-size: 1.45rem;
}

.nav-menu-flex {
    display: flex;
    flex: 1 1 auto;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 720px;
    margin: 0 auto !important;
    min-height: 44px;
}

.nav-menu-flex .nav-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav-menu-flex .nav-link {
    color: var(--secondary-color) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.4rem !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: var(--radius-md);
}

.nav-menu-flex .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(193, 127, 74, 0.08);
}

.navbar-search .input-group-nav {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.navbar-search .form-control {
    border: 1px solid rgba(61,79,61,0.2);
    border-right: none;
}

.btn-search-nav {
    background: var(--secondary-color);
    color: #fff !important;
    border: 1px solid var(--secondary-color);
    padding: 0.4rem 0.75rem;
}

.btn-search-nav:hover {
    background: #2f3d2f;
    color: #fff !important;
}

.navbar-cart .btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: color 0.2s ease, background 0.2s ease;
    border: none;
    background: transparent;
}

.navbar-cart .btn-cart:hover {
    color: var(--primary-color);
    background: rgba(193, 127, 74, 0.1);
}

.navbar-cart .cart-count,
.navbar-cart .snipcart-items-count {
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.25rem;
    font-size: 0.8rem;
    line-height: 1.25rem;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 999px;
}

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

@media (max-width: 991px) {
    .nav-menu-flex {
        flex-wrap: wrap;
        justify-content: flex-start;
        max-width: none;
    }
    .nav-menu-flex .nav-item {
        flex: 0 0 auto;
    }
    .nav-menu-flex .nav-link {
        justify-content: flex-start;
        padding: 0.6rem 1rem !important;
    }
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

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

.carousel-inner {
    border-radius: var(--radius-lg);
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    min-height: 320px;
    max-height: 520px;
}

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

.carousel-caption {
    bottom: 2.5rem;
    left: 1.5rem;
    right: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    z-index: 2;
}

.carousel-caption.text-dark .display-4,
.carousel-caption.text-dark h1,
.carousel-caption.text-dark h2 {
    color: var(--text-color) !important;
    font-family: 'Playfair Display', serif;
}

.carousel-caption .lead {
    color: var(--text-muted);
}

.carousel-caption .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--radius-md);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
}

.carousel-caption .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.carousel-indicators {
    margin-bottom: 1.25rem;
    gap: 0.5rem;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    background: rgba(61, 79, 61, 0.25);
    opacity: 1;
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.carousel-indicators [data-bs-target]:hover {
    background: rgba(61, 79, 61, 0.5);
}

.carousel-indicators .active {
    width: 28px;
    border-radius: 5px;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(250, 248, 245, 0.9);
    border-radius: 50%;
    opacity: 1;
    border: none;
    box-shadow: var(--shadow-soft);
    transition: background 0.2s ease, transform 0.2s ease;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: none;
    background-color: var(--secondary-color);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(250, 248, 245, 1);
    transform: translateY(-50%) scale(1.05);
}

.footer-section {
    background: var(--footer-bg);
    border-top: none;
    color: var(--footer-text);
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    color: var(--footer-text);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-text {
    line-height: 1.8;
    color: rgba(232, 228, 223, 0.85);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(232, 228, 223, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact {
    line-height: 1.8;
    color: rgba(232, 228, 223, 0.85);
}

.footer-contact .company-name {
    font-family: 'Playfair Display', serif;
    color: var(--footer-text);
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
}

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

.footer-divider {
    margin: 2rem 0;
    opacity: 0.25;
    border-color: rgba(232, 228, 223, 0.2) !important;
}

.copyright {
    color: rgba(232, 228, 223, 0.6);
    font-size: 0.9rem;
}

.product-image {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-title {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-weight: 600;
}

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

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--radius-md);
}

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

.category-card,
.card {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card:hover,
.card:hover {
    box-shadow: var(--shadow-medium);
}

.product-description {
    line-height: 1.8;
    color: var(--text-color);
}

.product-features {
    margin-top: 2rem;
}

.product-features h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-top: 1rem;
}

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

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

.form-control {
    border-color: #ddd;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(184, 115, 51, 0.25);
}
.categories-section h1,
.categories-section h2,
.featured-products h2,
section h2.text-center {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    font-weight: 600;
}

.alert-info {
    background: rgba(61, 79, 61, 0.08);
    border-color: rgba(61, 79, 61, 0.25);
    color: var(--text-color);
    border-radius: var(--radius-md);
}

.contact-hero {
    background: linear-gradient(to right, var(--background-color), var(--surface-color));
    padding: 4rem 0;
    margin-top: -2rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem;
    border-radius: 8px;
    color: white;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-form-wrapper {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
}

.opening-hours {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-section .accordion-button {
    background: linear-gradient(to right, var(--background-color), #fff);
    color: var(--secondary-color);
    font-weight: 600;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.product-card .card-title a,
.category-card .card-title {
    color: var(--secondary-color);
}

.product-card .card-title a:hover {
    color: var(--primary-color);
}
