body {
    font-family: 'Raleway', sans-serif;
    background-color: #FBF8F5;
    color: #2C2A2A;
    letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

:root {
    --accent-pink: #C9A9A6;
    --accent-sage: #8B9B8A;
    --accent-terracotta: #B87D6A;
    --accent-sand: #D4C4B5;
    --accent-gray: #9A9590;
    --bg-warm: #FBF8F5;
    --bg-cream: #F5F0EB;
    --text-dark: #2C2A2A;
    --text-muted: #6B6560;
    --border-soft: #E8E2DC;
    --shadow-soft: 0 4px 24px rgba(44, 42, 42, 0.06);
    --shadow-medium: 0 8px 32px rgba(44, 42, 42, 0.08);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(251, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border-soft);
}

@media (max-width: 991px) {
    .header-top {
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }
    .search-form,
    .header-top .col-lg-5 {
        display: none !important;
    }
}

.header-top .row {
    align-items: center;
}
.header-top .navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--text-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

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

.header-top .col-lg-4.text-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.btn-cart {
    border: none;
    background: none;
    color: var(--text-dark);
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

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

.cart-count {
    font-size: 0.7rem;
    min-width: 1.25rem;
    padding: 0.2em 0.5em;
    background: var(--accent-sage) !important;
    color: #fff !important;
    border: none;
}

.cart-count:empty,
.snipcart-items-count:empty {
    display: none;
}

.navbar-main {
    padding-top: 0;
    padding-bottom: 0.35rem;
}

.nav-menu-flex {
    width: auto;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    list-style: none;
}

.nav-menu-flex .nav-item {
    flex: 0 0 auto;
    min-width: 0;
    text-align: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.45rem 0.4rem;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    display: block;
    text-align: center;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-terracotta);
    background: rgba(184, 125, 106, 0.08);
}

@media (max-width: 991px) {
    .navbar-main {
        padding: 0.2rem 0;
        min-height: 0;
    }
    .navbar-main .container {
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
    }
    .navbar-toggler {
        padding: 0.25rem 0.4rem;
        font-size: 0.85rem;
        border-radius: 4px;
        border-color: var(--border-soft);
    }
    .navbar-toggler:focus {
        box-shadow: 0 0 0 2px rgba(139, 155, 138, 0.2);
    }
    .navbar-toggler-icon {
        width: 0.95rem;
        height: 0.95rem;
        background-size: 100%;
    }
    .navbar-collapse {
        padding-top: 0.3rem;
        padding-bottom: 0.15rem;
    }
    .nav-menu-flex {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
    }
    .nav-menu-flex .nav-item {
        flex: none;
        width: 100%;
    }
    .nav-menu-flex .nav-link {
        padding: 0.28rem 0.4rem;
        font-size: 0.75rem;
        border-radius: 3px;
        line-height: 1.3;
    }
}

@media (min-width: 992px) {
    .nav-menu-flex {
        justify-content: center;
        max-width: 680px;
    }
    .nav-menu-flex .nav-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.72rem;
    }
}

.search-form .form-control {
    border-color: var(--border-soft);
    border-right: none;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    background: var(--bg-cream);
}

.search-form .form-control:focus {
    box-shadow: 0 0 0 2px rgba(139, 155, 138, 0.2);
    border-color: var(--accent-sage);
}

.search-form .btn-outline-secondary {
    border-color: var(--border-soft);
    border-left: none;
    color: var(--text-muted);
    background: var(--bg-cream);
}

.search-form .btn-outline-secondary:hover {
    background: var(--accent-sage);
    color: #fff;
    border-color: var(--accent-sage);
}

.breadcrumb {
    margin-top: 1rem;
    font-size: 0.85rem;
}

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

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

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

.hero-section {
    margin-top: 0;
}

.carousel-hero {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.carousel-hero .carousel-inner {
    border-radius: 12px;
}

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

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

.carousel-hero .carousel-caption {
    bottom: 2rem;
    left: 1.5rem;
    right: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(251, 248, 245, 0.88);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    text-align: left;
    box-shadow: var(--shadow-soft);
}

.carousel-hero .carousel-caption h1,
.carousel-hero .carousel-caption h2 {
    color: var(--text-dark);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

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

.carousel-hero .carousel-caption .btn {
    border-color: var(--accent-terracotta);
    color: var(--accent-terracotta);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
}

.carousel-hero .carousel-caption .btn:hover {
    background: var(--accent-terracotta);
    color: #fff;
    border-color: var(--accent-terracotta);
}

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

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

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

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

.carousel-hero .carousel-control-prev-icon,
.carousel-hero .carousel-control-next-icon {
    filter: invert(0.3);
    width: 1.25rem;
    height: 1.25rem;
}

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

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

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

.carousel-hero .carousel-indicators [data-bs-target]:hover {
    background: rgba(139, 155, 138, 0.4);
}

.carousel-hero .carousel-indicators .active {
    background: var(--accent-sage);
    border-color: var(--accent-sage);
    transform: scale(1.15);
}
.category-card {
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    background: #fff;
}

.product-card {
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: visible;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    background: #fff;
}

.category-card:hover,
.product-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
    border-color: var(--accent-sand);
}

.product-card a:first-child {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #fff;
    line-height: 0;
    border-radius: 14px 14px 0 0;
}

.product-card .card-img-top {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    vertical-align: top;
}

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

.products-section .row,
.featured-products .row,
.product-grid .row,
.row:has(.product-card) {
    align-items: flex-start !important;
}
.products-section .row .col-md-3,
.featured-products .row .col-md-3,
.product-grid .row .col-md-3,
.row:has(.product-card) .col-md-3,
.row:has(.product-card) .col-md-4 {
    height: auto !important;
    align-self: flex-start !important;
}

.product-card {
    height: auto !important;
    display: block;
}
.product-card .card-body {
    padding: 1.1rem 1.25rem;
    background: #fff;
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    flex: none !important;
    overflow: visible;
    border-radius: 0 0 14px 14px;
}
.product-card .card-body .product-title,
.product-card .card-body > p {
    margin-bottom: 0.35rem;
}
.product-card .card-body .product-title:last-of-type {
    margin-bottom: 0.2rem;
}

.product-card .product-title {
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0 0 0.25rem 0;
    line-height: 1.35;
}

.product-card .product-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.product-card .card-body > p {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-sage);
    letter-spacing: 0.02em;
}

.product-card .card-body .btn,
.product-card .snipcart-add-item {
    margin-top: 0.35rem;
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.product-card .btn-outline-dark,
.product-card .snipcart-add-item.btn-outline-dark {
    border: 2px solid var(--accent-sage);
    color: var(--accent-sage);
    background: transparent;
}

.product-card .btn-outline-dark:hover,
.product-card .snipcart-add-item.btn-outline-dark:hover {
    background: var(--accent-sage);
    border-color: var(--accent-sage);
    color: #fff;
    transform: translateY(-1px);
}

.category-card .card-img-top {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.category-card .card-body {
    padding: 1.25rem;
    background: #fff;
}

.category-card .card-body h2,
.category-card .card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.products-section h1,
.products-section h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.btn-outline-dark {
    border-color: var(--accent-terracotta);
    color: var(--accent-terracotta);
    border-radius: 8px;
    font-weight: 500;
}

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

.contact-info-section .card,
.contact-form-section .card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-section .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.contact-info-section .fas,
.contact-form-section .fas {
    color: var(--accent-sage);
}

.contact-form-section .form-control,
.contact-form-section .form-select {
    border-color: var(--border-soft);
    padding: 0.8rem;
    border-radius: 8px;
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
    border-color: var(--accent-sage);
    box-shadow: 0 0 0 3px rgba(139, 155, 138, 0.15);
}

.contact-form-section .btn-dark {
    background: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
    border-radius: 8px;
}

.contact-form-section .btn-dark:hover {
    background: var(--accent-sage);
    border-color: var(--accent-sage);
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--bg-cream);
    color: var(--text-dark);
    border-color: var(--border-soft);
}

.faq-section .accordion-button:focus {
    border-color: var(--accent-sage);
    box-shadow: 0 0 0 3px rgba(139, 155, 138, 0.15);
}
