:root {
    --primary-color: #0f3460;
    --primary-dark: #0a2647;
    --accent-color: #e85d04;
    --accent-hover: #dc2f02;
    --background-color: #f0f4f8;
    --surface-color: #ffffff;
    --text-color: #1a1d21;
    --text-muted: #5c6370;
    --border-color: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #0f3460 0%, #1a4d7a 100%);
    --gradient-accent: linear-gradient(135deg, #e85d04 0%, #f48c06 100%);
    --shadow-sm: 0 1px 3px rgba(15, 52, 96, 0.08);
    --shadow-md: 0 4px 12px rgba(15, 52, 96, 0.12);
    --shadow-lg: 0 8px 24px rgba(15, 52, 96, 0.15);
    --radius-md: 12px;
    --radius-lg: 16px;
    --navbar-height: 64px;
}

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

body.body-with-fixed-nav {
    padding-top: var(--navbar-height);
}

p {
    font-family: 'Open Sans', sans-serif;
}

.navbar {
    box-shadow: var(--shadow-md);
    background: var(--surface-color);
    padding: 0.5rem 0;
    min-height: var(--navbar-height);
    z-index: 1030;
}

.navbar .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: 0.5px;
    font-size: 1.5rem;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
}

.nav-menu-even {
    display: flex;
    align-items: stretch;
    flex: 1;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu-even .nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 44px;
    max-width: 160px;
}

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

.nav-menu-even .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(15, 52, 96, 0.06);
}

.search-form-nav {
    margin: 0 1rem;
    min-width: 200px;
}

.navbar-cart {
    display: flex;
    align-items: center;
}

.btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem !important;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cart:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-cart .cart-count,
.btn-cart .snipcart-items-count {
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    font-size: 0.8rem;
    line-height: 1.25rem;
    background: var(--accent-color);
    color: #fff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991.98px) {
    .nav-menu-even {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-menu-even .nav-item {
        max-width: none;
    }
    .navbar-collapse {
        flex-direction: column;
        align-items: stretch;
    }
    .search-form-nav {
        margin: 0.5rem 0;
    }
}

.form-control {
    border-radius: 20px 0 0 20px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(15, 52, 96, 0.15);
}

.btn-outline-primary {
    border-radius: 0 20px 20px 0;
    border: 1px solid var(--border-color);
    border-left: none;
    color: var(--primary-color);
}

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

.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: #fff !important;
    border-radius: var(--radius-md);
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a2647 0%, #0f3460 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn {
    padding: 0.375rem 0.75rem;
}

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

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

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

.hero-section {
    margin-bottom: 2rem;
}

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

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

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

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

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

.hero-section .carousel-caption h1,
.hero-section .carousel-caption h2 {
    color: var(--primary-color);
    text-shadow: none;
}

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

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

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

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

.carousel-indicators .active {
    background-color: #fff;
    transform: scale(1.2);
    border-color: #fff;
}

.carousel-indicators [data-bs-target] {
    border-color: var(--primary-color);
    background-color: rgba(15, 52, 96, 0.3);
}

.carousel-indicators .active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    opacity: 1;
    box-shadow: var(--shadow-md);
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-control-prev {
    left: 0.5rem;
}

.carousel-control-next {
    right: 0.5rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

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

.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

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

.card-img-top {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.footer {
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 600;
}

.footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.company-info p {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.company-info i {
    width: 20px;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.contact-section .card {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-section .form-control,
.contact-section .form-select {
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    font-size: 1rem;
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(15, 52, 96, 0.15);
}

.business-hours .card {
    border: none;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
}

.business-hours .table td {
    padding: 1rem;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    z-index: 1000;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.badge.bg-primary {
    background: var(--gradient-primary) !important;
}

.alert-primary {
    background: rgba(15, 52, 96, 0.08);
    border-color: rgba(15, 52, 96, 0.2);
    color: var(--primary-dark);
}

.price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.15rem;
}
