body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand .site-title {
    font-size: 1.8rem;
    color: #2196f3;
}

.navbar-nav .nav-link {
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #2196f3;
}

.btn-primary {
    background-color: #2196f3;
    border-color: #2196f3;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1976d2;
    border-color: #1976d2;
}

.btn-outline-light {
    border-color: #f8f9fa;
    color: #f8f9fa;
}

.btn-outline-light:hover {
    background-color: #f8f9fa;
    color: #2196f3;
}

#hero {
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 70px; /* Adjust for fixed navbar */
}

.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#hero .container {
    z-index: 2;
}

#hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

#hero p.lead {
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.section-title {
    color: #2196f3;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.text-secondary {
    color: #6c757d !important;
}

.product-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.product-img {
    height: 300px;
    object-fit: contain;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.product-card .card-title {
    min-height: 60px; /* Ensure consistent title height */
}

.product-card .card-text {
    min-height: 40px; /* Ensure consistent description height */
}

.card-text.flex-grow-1 {
    display: flex;
    align-items: center;
}

.btn-add-to-cart {
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

footer {
    background-color: #1a1a1a !important;
}

footer .site-title {
    color: #e0f7fa;
}

footer .list-inline-item a {
    font-size: 0.9rem;
}

/* Cart Modal Styles */
#cartItemsContainer .cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

#cartItemsContainer .cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#cartItemsContainer .cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 5px;
}

#cartItemsContainer .cart-item-details {
    flex-grow: 1;
}

#cartItemsContainer .cart-item-details h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

#cartItemsContainer .cart-item-details .text-muted {
    font-size: 0.85rem;
}

#cartItemsContainer .cart-item-controls {
    display: flex;
    align-items: center;
}

#cartItemsContainer .cart-item-quantity {
    width: 70px;
    margin: 0 10px;
}

#cartItemsContainer .cart-item-subtotal {
    min-width: 80px;
    text-align: right;
    font-weight: 600;
    color: #2196f3;
}

#cartSummary {
    border-top: 1px solid #eee;
}

/* Checkout Modal Styles */
#checkoutForm label {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Cookie Banner Styles */
#cookieConsentBanner {
    background-color: #212529 !important;
    color: #f8f9fa !important;
    padding: 15px 0;
    font-size: 0.875rem;
}

#cookieConsentBanner a {
    color: #0dcaf0 !important;
}

#cookieConsentBanner .btn-primary {
    background-color: #2196f3;
    border-color: #2196f3;
}

#cookieConsentBanner .btn-outline-light {
    border-color: #f8f9fa;
    color: #f8f9fa;
}

#cookieConsentBanner .btn-outline-light:hover {
    background-color: #f8f9fa;
    color: #2196f3;
}

/* Responsive Typography */
@media (max-width: 1023px) {
    .navbar-brand .site-title {
        font-size: 1.5rem;
    }
    .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    }
    #hero h1 {
        font-size: clamp(2rem, 4.5vw, 3.5rem);
    }
    #hero p.lead {
        font-size: clamp(0.9rem, 1.8vw, 1.25rem);
    }
}

@media (max-width: 767px) {
    .navbar-brand .site-title {
        font-size: 1.25rem;
    }
    .section-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    #hero h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }
    #hero p.lead {
        font-size: clamp(0.85rem, 1.5vw, 1.1rem);
    }
    .offcanvas-body {
        padding-bottom: 70px; /* Space for cart button if it moves */
    }
    .navbar-nav {
        margin-bottom: 1rem;
    }
    .navbar-nav .nav-link {
        padding-left: 1rem;
    }
    .btn-add-to-cart {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    .product-img {
        height: 150px;
    }
    .product-card .card-title {
        min-height: auto;
    }
    .product-card .card-text {
        min-height: auto;
    }
    #contact .d-flex.flex-column.flex-md-row {
        flex-direction: column !important;
    }
    #contact .mb-2.mb-md-0 {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 1100px) {
    .navbar-collapse {
        display: none !important;
    }
    .navbar-toggler {
        display: block !important;
    }
}

@media (min-width: 1101px) {
    .navbar-toggler {
        display: none !important;
    }
    .offcanvas {
        visibility: visible !important;
        background-color: transparent !important;
        border: none !important;
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
    }
    .offcanvas-header {
        display: none;
    }
    .offcanvas-body {
        display: flex;
        flex-grow: 1;
        padding: 0;
    }
}
/* Styles for the main container of terms and conditions */
.termsCaveBox {
    margin-top: 50px;
    padding: 40px 30px; /* Top/bottom and left/right padding for the box */
    /* You might want to add max-width and margin: 0 auto; here
       if you need to center the content and limit its width. */
}

/* Heading 1 styles */
.termsCaveBox h1 {
    font-size: 32px; /* Moderate font size for main headings */
    font-weight: 700; /* Bold */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 40px; /* Space above the heading */
    margin-bottom: 20px; /* Space below the heading */
}

/* Heading 2 styles */
.termsCaveBox h2 {
    font-size: 28px; /* Slightly smaller than h1 */
    font-weight: 600; /* Semi-bold */
    line-height: 1.3;
    margin-top: 35px;
    margin-bottom: 18px;
}

/* Heading 3 styles */
.termsCaveBox h3 {
    font-size: 24px; /* Smaller than h2 */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Heading 4 styles */
.termsCaveBox h4 {
    font-size: 20px; /* Smaller than h3 */
    font-weight: 500; /* Medium weight */
    line-height: 1.5;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* Heading 5 styles */
.termsCaveBox h5 {
    font-size: 18px; /* Smallest heading, close to body text */
    font-weight: 500;
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraph styles */
.termsCaveBox p {
    font-size: 16px; /* Standard base font size */
    line-height: 1.7; /* Good readability for body text */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.termsCaveBox ul {
    list-style-type: disc; /* Default disc bullets */
    list-style-position: outside; /* Bullets outside the content flow */
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indent for bullet points */
}

/* List item styles */
.termsCaveBox li {
    font-size: 16px; /* Inherit or set explicitly, matching paragraph text */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 8px; /* Space between list items */
}


@media (max-width: 767px){
    .cart-item{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}