@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --cream-bg: #FFFBF6;
    --cream-warm: #FDF8F2;
    --gold-accent: #B8956B;
    --gold-hover: #9A7B4F;
    --amber: #D4A574;
    --terracotta: #C67B5C;
    --honey: #E8B86D;
    --text-dark: #2C2A28;
    --text-light: #5C5854;
    --shadow-soft: 0 4px 20px rgba(44, 42, 40, 0.06);
    --shadow-hover: 0 8px 30px rgba(44, 42, 40, 0.12);
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--cream-bg);
    color: var(--text-dark);
}

.header {
    background: linear-gradient(180deg, rgba(255, 251, 246, 0.98) 0%, rgba(255, 251, 246, 0.95) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 149, 107, 0.25);
    padding: 0.75rem 0;
    transition: box-shadow 0.3s ease;
}

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.header-sticky.scrolled {
    box-shadow: var(--shadow-soft);
}

.navbar {
    align-items: stretch;
}

.navbar-collapse {
    flex: 1;
}

.navbar-nav {
    display: flex;
    flex: 1;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.25rem;
    margin: 0 !important;
}

.navbar-nav .nav-item {
    flex: 1;
    text-align: center;
    min-width: 0;
    display: flex;
}

.navbar-nav .nav-item .nav-link {
    width: 100%;
}

.search-form {
    position: relative;
    max-width: 280px;
    margin: 0 1rem;
    flex-shrink: 0;
}

.search-form input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid rgba(184, 149, 107, 0.4);
    border-radius: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
}

.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gold-accent);
    cursor: pointer;
}

.search-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(184, 149, 107, 0.2);
    border-color: var(--gold-accent);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 3px;
    margin-right: 1.5rem;
}

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

.navbar-toggler {
    border-color: rgba(184, 149, 107, 0.4);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(184, 149, 107, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(184, 149, 107, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.6rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--gold-accent);
    background: rgba(184, 149, 107, 0.08);
}

.nav-cart {
    flex-shrink: 0;
}

.nav-cart .cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--gold-accent);
    font-size: 1.15rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-cart .cart-btn:hover {
    background: rgba(184, 149, 107, 0.12);
}

.nav-cart .cart-count,
.nav-cart .snipcart-items-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 1.2em;
}

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

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

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

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--gold-accent);
}

.footer {
    background-color: var(--cream-bg);
    border-top: 1px solid var(--gold-accent);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

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

.footer-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.footer-contact {
    color: #333;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(180, 160, 124, 0.3);
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 251, 246, 0.95);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 1px solid var(--gold-accent);
}

.cookie-consent p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.cookie-consent .btn-accept {
    background-color: var(--gold-accent);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
}

.cookie-consent .btn-accept:hover {
    opacity: 0.9;
}

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

.hero-section .carousel {
    border-radius: inherit;
}

.hero-section .carousel-item {
    height: 520px;
    background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream-bg) 100%);
}

.hero-section .carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.92) saturate(1.05);
}

.carousel-control-prev,
.carousel-control-next {
    width: 56px;
    height: 56px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    box-shadow: var(--shadow-soft);
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 24px;
}

.carousel-control-next {
    right: 24px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: white;
    box-shadow: var(--shadow-hover);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    filter: invert(35%) sepia(15%) saturate(800%) hue-rotate(15deg);
}

.carousel-indicators {
    bottom: 28px;
    margin-bottom: 0;
    gap: 10px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    opacity: 1;
    transition: all 0.3s ease;
}

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

.carousel-indicators .active {
    width: 28px;
    border-radius: 5px;
    background-color: white;
    border-color: white;
}

.carousel-caption {
    bottom: 70px;
    left: 5%;
    right: 5%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 2rem 2.5rem;
    border-radius: var(--radius-lg);
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
}

.carousel-caption h1,
.carousel-caption h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.carousel-caption p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.carousel-caption .btn {
    border-radius: 24px;
    padding: 0.6rem 1.5rem;
}

.text-gold {
    color: var(--gold-accent) !important;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--amber) 100%);
    color: white;
    border: none;
    border-radius: 24px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold-accent) 100%);
    color: white;
}

.btn-outline-gold {
    border: 2px solid var(--gold-accent);
    color: var(--gold-accent);
    border-radius: 24px;
}

.btn-outline-gold:hover {
    background-color: var(--gold-accent);
    color: white;
}

.alert-gold {
    background-color: rgba(184, 149, 107, 0.1);
    border-color: rgba(184, 149, 107, 0.3);
    color: var(--text-dark);
}

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

.category-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card {
    border: 1px solid rgba(184, 149, 107, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: rgba(184, 149, 107, 0.3);
}

.product-content .price {
    color: var(--gold-accent);
}

.welcome-section h1,
.welcome-section .display-4 {
    color: var(--text-dark);
}

.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card .fa-hand-holding-heart,
.feature-card .fa-leaf,
.feature-card .fa-gift {
    color: var(--gold-accent);
}

.categories-section.bg-light {
    background: linear-gradient(180deg, var(--cream-warm) 0%, rgba(253, 248, 242, 0.5) 100%) !important;
}

.newsletter-section {
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.08) 0%, rgba(212, 165, 116, 0.05) 100%) !important;
}

@media (max-width: 991px) {
    .navbar {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        padding-left: 0;
        padding-right: 0;
        border-top: 1px solid rgba(184, 149, 107, 0.2);
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-collapse .navbar-nav,
    .navbar-collapse .search-form,
    .navbar-collapse .nav-cart {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex: none;
        gap: 0;
        margin: 0 0 1rem 0 !important;
    }

    .navbar-nav .nav-item {
        flex: none;
        text-align: left;
        display: block;
    }

    .navbar-nav .nav-item .nav-link {
        width: 100%;
    }

    .nav-link {
        justify-content: flex-start;
        padding: 0.85rem 1rem;
        min-height: auto;
        border-radius: var(--radius-md);
    }

    .search-form {
        max-width: 100%;
        margin: 0 0 1rem 0 !important;
    }

    .search-form input {
        width: 100%;
    }

    .nav-cart {
        display: flex;
        justify-content: flex-start;
    }

    .nav-cart .cart-btn {
        padding: 0.75rem 1rem;
    }

    .hero-section .carousel-item {
        height: 380px;
    }

    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
}
