body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
    padding-top: 70px; /* Adjust for fixed header */
    box-sizing: border-box;
}

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

.text-primary {
    color: #007bff !important;
}

.bg-primary {
    background-color: #007bff !important;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

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

.hero-section {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 100px; /* More space for content */
    padding-bottom: 100px;
}

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

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

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

.hero-card {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hero-card .card-img-top {
    height: 120px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.hero-card .card-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.info-box {
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-card .card-img-top,
.product-item-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

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

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

.product-item-card .old-price {
    color: #adb5bd;
}

.promo-banner-block {
    min-height: 40vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-banner-block .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.promo-banner-block h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.promo-banner-block .countdown-timer {
    font-size: clamp(2.5rem, 6vw, 4rem);
}

.delivery-timeline .timeline-item {
    border: 1px solid #e9ecef;
}

.guarantee-box {
    border: 1px solid #e9ecef;
}

.contact-info {
    border: 1px solid #e9ecef;
}

.footer-section {
    background-color: #212529 !important;
}

.footer-section h5 {
    font-size: 1.1rem;
}

.footer-section a {
    color: #adb5bd;
}

.footer-section a:hover {
    color: #ffffff;
}

/* Cart Modal Specific Styles */
#cartItemsContainer {
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

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

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #007bff;
    font-weight: 500;
}

.cart-item-quantity select {
    width: 70px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.btn-remove-item {
    color: #dc3545;
    background: none;
    border: none;
    font-size: 1.2rem;
    padding: 0 10px;
}

.btn-remove-item:hover {
    color: #c82333;
}

/* Checkout Form Specific Styles */
#checkoutForm label {
    font-weight: 500;
    margin-bottom: 5px;
}

#checkoutForm .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Cookie Banner */
#cookieConsentBanner {
    z-index: 1050;
    transform: translateY(0%);
    transition: transform 0.3s ease-in-out;
}

#cookieConsentBanner.hidden {
    transform: translateY(100%);
}

/* General button styles */
.btn {
    text-decoration: none !important;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

/* Adaptive Typography */
@media (min-width: 1024px) {
    h1 {
        font-size: 2.5rem; /* ~40px */
    }
    h2 {
        font-size: 2rem; /* ~32px */
    }
   
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: 2.2rem; /* ~35px */
    }
    h2 {
        font-size: 1.8rem; /* ~29px */
    }
   
}

 .navbar-brand .h4 {
        font-size: 1.1rem; /* ~20px */
    }

@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem; /* ~28px */
    }
    h2 {
        font-size: 1.5rem; /* ~24px */
    }
   
    .hero-section {
        min-height: 60vh;
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p.lead {
        font-size: 0.95rem;
    }
    .hero-card .card-img-top {
        height: 100px;
    }
    .hero-card .card-title {
        font-size: 1rem;
    }
    .promo-banner-block h2 {
        font-size: 1.8rem;
    }
    .promo-banner-block .countdown-timer {
        font-size: 2rem;
    }
    .offcanvas-body .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .offcanvas-body .nav-item {
        width: 100%;
    }
    .offcanvas-body .nav-link, .offcanvas-body .btn {
        width: 100%;
        text-align: left;
    }
    .offcanvas-body .btn {
        margin-top: 10px;
    }
    .footer-section .col-lg-4, .footer-section .col-lg-2 {
        text-align: center !important;
    }
    .footer-section .navbar-brand {
        justify-content: center !important;
    }
    .footer-section ul {
        padding-left: 0;
    }
}

@media (max-width: 1199px) {
    .navbar-nav {
        flex-wrap: wrap;
    }
    .navbar-toggler {
        display: block;
    }
    .offcanvas {
        visibility: visible;
    }
    .navbar-collapse {
        display: none;
    }
}

@media (min-width: 1200px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        visibility: hidden;
    }
    .navbar-collapse {
        display: flex !important;
    }
}

/* Ensure menu items don't break lines on larger screens before burger */
.navbar-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.navbar-nav .nav-item {
    flex-shrink: 0;
}

.email-break-word {
    word-break: break-all;
}

/* Ensure modal scrollability */
.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}
/* Wrapper for content, providing overall spacing and centering */
.regShieldWrap {
    /* Padding for internal content spacing */
    padding: 20px;
    /* Margin for external spacing from elements above */
    margin-top: 30px;
    /* Center the wrapper and limit its width for readability on larger screens */
    max-width: 960px; /* A common maximum width for content */
    margin-left: auto;
    margin-right: auto;
}

/* Heading styles - Modest font sizes as requested */
.regShieldWrap h1 {
    /* Font size for the main heading */
    font-size: 1.8em;
    /* Font weight for emphasis */
    font-weight: 600;
    /* Line height for readability */
    line-height: 1.2;
    /* Top margin to separate from preceding content */
    margin-top: 1.5em;
    /* Bottom margin to separate from following content */
    margin-bottom: 0.8em;
}

.regShieldWrap h2 {
    /* Font size for sub-headings */
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 1.4em;
    margin-bottom: 0.7em;
}

.regShieldWrap h3 {
    /* Font size for minor headings */
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.3em;
    margin-bottom: 0.6em;
}

.regShieldWrap h4 {
    /* Font size for smaller headings */
    font-size: 1.1em;
    font-weight: 500; /* Slightly less bold than h1-h3 */
    line-height: 1.3;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.regShieldWrap h5 {
    /* Font size for very small headings, often same as body text but with emphasis */
    font-size: 1em;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 1.1em;
    margin-bottom: 0.4em;
}

/* Paragraph styles */
.regShieldWrap p {
    /* Standard font size for body text */
    font-size: 1em;
    /* Line height for good readability */
    line-height: 1.6;
    /* No top margin for paragraphs by default, relies on previous element's bottom margin */
    margin-top: 0;
    /* Bottom margin to separate paragraphs */
    margin-bottom: 1em;
}

/* Unordered list styles */
.regShieldWrap ul {
    /* Default bullet style */
    list-style-type: disc;
    /* No top margin by default */
    margin-top: 0;
    /* Bottom margin to separate list from following content */
    margin-bottom: 1em;
    /* Indentation for bullet points */
    padding-left: 25px;
}

/* List item styles */
.regShieldWrap li {
    /* Standard font size for list items */
    font-size: 1em;
    /* Line height for readability within list items */
    line-height: 1.5;
    /* Spacing between individual list items */
    margin-bottom: 0.5em;
}


#cookieConsentBanner .container{
    flex-wrap: wrap !important;
}