:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #c9a962;
    --accent-hover: #b8963d;
    --bg: #f8f6f1;
    --bg-white: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 8px 30px rgba(15, 23, 42, 0.12);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text);
    background-color: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

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

.top-bar {
    background: var(--primary);
    border-bottom: none;
}

.top-bar .form-control {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.top-bar .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.btn-search {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

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

.search-form {
    max-width: 280px;
    margin: 0 auto;
}

.navbar {
    background: var(--bg-white) !important;
    box-shadow: none;
    min-height: 56px;
}

.navbar-brand {
    letter-spacing: 2px;
    color: var(--primary) !important;
}

.nav-menu-items {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: stretch;
    margin: 0 auto;
    max-width: 720px;
    padding: 0;
}

.nav-menu-items .nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

.nav-menu-items .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text) !important;
    padding: 0.75rem 0.5rem;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu-items .nav-link:hover {
    color: var(--accent) !important;
}

.nav-cart-wrap {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.btn-cart {
    position: relative;
    background: none;
    border: none;
    color: var(--primary);
    padding: 0.5rem 0.75rem;
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

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

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    background: var(--accent);
    color: var(--primary);
    border-radius: 10px;
}

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

.btn {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
}

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

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

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

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-white) !important;
}

.footer-payment-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    font-size: 1.75rem;
    color: var(--primary);
}

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

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

.footer-heading {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-weight: 600;
}

.footer-description {
    color: var(--text);
    line-height: 1.6;
}

.contact-info {
    color: var(--text);
}

.search-form .form-control {
    border-radius: 24px 0 0 24px;
    border-right: none;
}

.search-form .btn {
    border-radius: 0 24px 24px 0;
    border-left: none;
}

.hero-section .carousel,
.carousel.slide {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.carousel-item {
    height: 520px;
    background: var(--primary);
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.5) 0%, rgba(15,23,42,0.75) 50%, rgba(15,23,42,0.85) 100%);
    pointer-events: none;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0 15%;
    z-index: 2;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption.text-dark h1,
.carousel-caption.text-dark h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 4px 20px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.4);
    margin-bottom: 0.75rem;
}

.carousel-caption .lead,
.carousel-caption.text-dark .lead {
    color: rgba(255,255,255,0.98) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 2px 12px rgba(0,0,0,0.6);
    margin-bottom: 1.25rem;
}

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

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

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

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

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

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

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(15,23,42,0.5);
    border-radius: 50%;
    opacity: 1;
    transition: background 0.25s ease;
}

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

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

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

@media (max-width: 991px) {
    .nav-menu-items {
        max-width: none;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-menu-items .nav-item {
        flex: none;
        min-height: 48px;
    }
    .nav-cart-wrap {
        margin-left: 0;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border);
    }
}

.nav-link, .btn {
    transition: all 0.25s ease;
}

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

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

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

.category-overlay {
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    padding: 2rem 1.5rem;
    transition: background 0.3s ease;
}

.category-overlay h2,
.category-overlay h3,
.category-overlay.text-dark h2,
.category-overlay.text-dark h3 {
    color: #fff !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7), 0 4px 16px rgba(0,0,0,0.5);
}

.category-overlay p,
.category-overlay.text-dark p {
    color: rgba(255, 255, 255, 0.98) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.category-overlay .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.category-overlay .btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
}

.category-overlay:hover {
    background: rgba(15, 23, 42, 0.88);
}

.product-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-white);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    border-color: var(--accent);
}

.product-card .card-body {
    padding: 1.25rem 1.5rem;
}

.product-card h3,
.product-card .h5 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card h3 a,
.product-card .h5 a {
    color: var(--primary) !important;
    transition: color 0.2s ease;
}

.product-card h3 a:hover,
.product-card .h5 a:hover {
    color: var(--accent) !important;
}

.product-card .card-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .d-flex.justify-content-between {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-card .h5.mb-0 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.product-card .snipcart-add-item,
.product-card .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--primary);
    border-color: var(--primary);
    transition: background 0.25s ease, transform 0.2s ease;
}

.product-card .snipcart-add-item:hover,
.product-card .btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: scale(1.02);
}

.product-card > a {
    display: block;
    overflow: hidden;
}

.product-card img {
    height: 220px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.5s ease;
}

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

.service-card {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    height: 100%;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-info i {
    color: var(--accent);
}

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

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

.contact-info-section i {
    color: var(--accent);
}

.contact-form label {
    font-weight: 500;
    color: var(--text);
}

.contact-form .form-control {
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
}

.faq-section .accordion-button {
    font-weight: 600;
    color: var(--text);
    background: var(--bg);
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--accent);
}

.faq-section .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(0);
}

.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.contact-info-section .badge {
    font-weight: 500;
    padding: 0.5em 1em;
    background: var(--accent);
    color: var(--primary);
}

.contact-form .btn-primary {
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--primary);
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-placeholder-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.map-placeholder-caption i {
    color: var(--accent);
}
