:root {
    --color-cream: #F5F2EB;
    --color-cream-dark: #E8E4DB;
    --color-sage: #7D9B76;
    --color-sage-light: #9BB396;
    --color-terracotta: #C17F59;
    --color-terracotta-hover: #A86A47;
    --color-navy: #2C3E50;
    --color-charcoal: #1A1A1A;
    --color-sand: #D4C4A8;
    --color-dusty-rose: #C4A49A;
    --color-mint: #B8D4BE;
    --color-white: #FFFFFF;
    --shadow-soft: 0 4px 20px rgba(44, 62, 80, 0.08);
    --shadow-carousel: 0 12px 40px rgba(44, 62, 80, 0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.25s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-charcoal);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-cream-dark);
    box-shadow: var(--shadow-soft);
}

.site-header .header-top-row {
    flex-wrap: nowrap;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-navy);
    letter-spacing: 1.5px;
    transition: color var(--transition);
    display: inline-block;
    line-height: 1.2;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.5rem;
        white-space: nowrap;
    }
}

.navbar-brand:hover {
    color: var(--color-terracotta);
}

.btn-cart {
    color: var(--color-navy) !important;
    text-decoration: none !important;
    padding: 0.5rem 0.75rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
}

.btn-cart:hover {
    color: var(--color-terracotta) !important;
}

.cart-count {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-terracotta);
    min-width: 1.25rem;
    text-align: center;
}

.navbar-main {
    background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-cream) 100%) !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-main .navbar-nav.nav-fill {
    display: flex;
    flex-wrap: wrap;
}

.navbar-main .nav-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: var(--color-navy);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.6px;
    padding: 0.65rem 0.5rem !important;
    text-align: center;
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
    transition: background var(--transition), color var(--transition);
}

.nav-link:hover {
    color: var(--color-terracotta);
    background: rgba(255,255,255,0.6);
}

.search-form .form-control {
    border-radius: 24px 0 0 24px;
    border-color: var(--color-cream-dark);
    padding-left: 1.2rem;
}

.search-form .btn {
    border-radius: 0 24px 24px 0;
    border-color: var(--color-cream-dark);
    background-color: var(--color-white);
    color: var(--color-navy);
}

.search-form .btn:hover {
    background-color: var(--color-terracotta);
    border-color: var(--color-terracotta);
    color: var(--color-white);
}

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

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

.bg-accent {
    background-color: var(--color-terracotta) !important;
}

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

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

.breadcrumb-item.active {
    color: #666;
}

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

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

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

.hero-section .carousel-caption {
    bottom: 2.5rem;
    left: 1.5rem;
    right: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.hero-section .carousel-caption.text-dark h1,
.hero-section .carousel-caption.text-dark h2,
.hero-section .carousel-caption .lead {
    color: var(--color-navy) !important;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 1;
    border: 1px solid var(--color-cream-dark);
    transition: background var(--transition), transform var(--transition);
}

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

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

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

.hero-section .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-section .carousel-control-next:hover .carousel-control-next-icon {
    opacity: 1;
    filter: none;
}

.hero-section .carousel-indicators {
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.hero-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: background var(--transition), transform var(--transition);
}

.hero-section .carousel-indicators [data-bs-target]:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-section .carousel-indicators .active {
    background: var(--color-terracotta) !important;
    border-color: var(--color-terracotta);
    transform: scale(1.15);
}

@media (max-width: 991.98px) {
    .navbar-main .nav-item {
        flex: 1 1 100%;
    }
    .navbar-nav {
        margin-top: 0.5rem;
    }
    .hero-section .carousel-caption {
        bottom: 1rem;
        padding: 1rem;
    }
    .hero-section .carousel-item img {
        max-height: 280px;
    }
}

.card {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-cream-dark);
    box-shadow: var(--shadow-soft);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: 0 8px 28px rgba(44, 62, 80, 0.1);
}

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

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

footer {
    background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-cream) 100%) !important;
    border-top: 1px solid rgba(44, 62, 80, 0.08);
}

.footer-brand {
    color: var(--color-navy);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

footer h5 {
    color: var(--color-navy);
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact a,
footer a {
    color: #555;
    text-decoration: none;
    transition: color var(--transition);
}

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

footer .payment-icons {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    color: var(--color-navy);
    opacity: 0.85;
}

footer .payment-icons i {
    transition: opacity 0.2s ease;
}

footer .payment-icons i:hover {
    opacity: 1;
}

.cookie-consent {
    z-index: 1050;
    border-top: 1px solid var(--color-cream-dark);
    background: var(--color-white);
}

.cookie-consent .btn {
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
    color: var(--color-white);
}

.cookie-consent .btn:hover {
    background: var(--color-terracotta-hover);
    border-color: var(--color-terracotta-hover);
    color: var(--color-white);
}

.contact-info a {
    color: var(--color-navy);
    text-decoration: none;
    transition: color var(--transition);
}

.contact-info a:hover {
    color: var(--color-terracotta);
}

.contact-info i {
    width: 20px;
    text-align: center;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-sand) 50%, var(--color-mint) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--color-cream-dark);
}
