/* Global Styles */
:root {
    --primary-color: #00a651;
    --primary-dark: #008c44;
    --secondary-color: #ffd700;
    --tertiary-color: #ff9f43;
    --light-blue: #e3f2fd;
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f5f5f5;
    --text-color: #333333;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --light-gray: #e0e0e0;
    --danger-color: #f44336;
    --success-color: #4CAF50;
    --white: #fff;
    --gray: #777;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* .btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #3e8e41;
    transform: translateY(-2px);
} */

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 5px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
}



.logo img {
    max-width: 100%;
    height: 70px;
    border: 1px solid gray;
    max-height: 90px;
    border-radius: 50%;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}




nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cart-icon {
    display: flex;
    align-items: center;
}

.cart-icon::before {
    content: '🛒';
    margin-right: 5px;
}

.mobile-menu-btn {
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Hero Section */

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}



.slide {
    display: none;
    width: 100%;
    height: 90vh;
}

.slide img {
    height: 100%;
    /* object-fit: cover; */
    width: 100%;
}

@media (max-width: 768px) {

    .slider-container {
        position: relative;
        width: 100%;
        height: auto;
    }

    .slide {
        display: none;
        width: 100%;
        height: auto;
    }

    .slide img {
        height: auto;
        object-fit: cover;
        width: 100%;
    }
}

.arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    color: black;
    background-color: white;
    padding: 8px 18px;
    /* border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    font-size: 25px; */
    font-weight: bold;
}

.next {
    right: 10px;
}

.prev {
    left: 10px;
}


.caption {
    color: white;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.144);
    padding: 15px 0px;
}


/* Categories Section */
.categories {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.categories #container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.categories h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #2a7fba;
    position: relative;
    display: inline-block;
}

.categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #2a7fba, transparent);
    border-radius: 3px;
}

/* Grid Layout */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.category-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: slideUp 0.5s ease-out;
    animation-fill-mode: both;
    position: relative;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card h3 {
    padding: 15px;
    font-size: 18px;
    color: #333;
    text-align: center;
    margin: 0;
}

.category-card a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    z-index: 1;
}

.category-info {
    padding-bottom: 15px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sequential animation for cards */
.category-card:nth-child(1) {
    animation-delay: 0.1s;
}

.category-card:nth-child(2) {
    animation-delay: 0.2s;
}

.category-card:nth-child(3) {
    animation-delay: 0.3s;
}

.category-card:nth-child(4) {
    animation-delay: 0.4s;
}

.category-card:nth-child(5) {
    animation-delay: 0.5s;
}

.category-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .category-card img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .categories h2 {
        font-size: 26px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .category-card img {
        height: 120px;
    }

    .category-card h3 {
        font-size: 16px;
        padding: 10px;
    }
}

/* .health-cards */
/* Health Cards Section - Mobile Responsive */
.health-cards {
    padding: 2rem 1rem;
    background-color: #f5f5f5;
}

.health-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.health-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.health-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.health-card.orange {
    background-color: #ff9f43;
    color: #fff;
}

.health-card.blue {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.health-card.yellow {
    background-color: #ffd700;
    color: #3e2723;
}

.health-content {
    margin-bottom: 1rem;
}

.health-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.health-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.health-image {
    text-align: center;
    margin-top: 1rem;
}

.health-image img {
    max-width: 100px;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.dark-btn {
    background-color: #333;
    color: white;
}

.dark-btn:hover {
    background-color: #111;
    transform: translateY(-2px);
}

/* Tablet View */
@media (min-width: 600px) {
    .health-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .health-card {
        flex-direction: row;
        align-items: center;
    }

    .health-image {
        margin-top: 0;
        text-align: right;
    }
}

/* Desktop View */
@media (min-width: 900px) {
    .health-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .health-cards {
        padding: 3rem 2rem;
    }

    .health-content h3 {
        font-size: 1.4rem;
    }
}


/* Cereal Healthy Food */
.cereal-healthy {
    padding: 3rem 1rem;
    background-color: var(--light-blue);
}

.cereal-healthycontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cereal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.cereal-content {
    width: 100%;
    text-align: center;
}

.cereal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.cereal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cereal-features li {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.cereal-features i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.cereal-image {
    width: 100%;
    text-align: center;
}

.cereal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Customer Reviews */
.customer-reviews {
    padding: 3rem 1rem;
    background-color: #F5F5F5;
}

.customer-reviewscontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.rating {
    color: #ffc107;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.rating span {
    margin-left: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.review-card {
    background-color: var(--light-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.review-date {
    color: #999;
    font-size: 0.75rem;
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* Promotional Offers */
.promo-offers {
    padding: 3rem 1rem;
    background-color: var(--light-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.offer-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.offer-card.dark {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.offer-card.green {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.offer-badge {
    position: absolute;
    top: 5.4rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.offer-content {
    position: relative;
    z-index: 2;
}

.offer-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.offer-content p {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.offer-image {
    text-align: center;
    margin-top: 1rem;
}

.offer-image img {
    max-width: 120px;
    height: auto;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 1rem;
    background-color: #F5F5F5;
}

.faq-sectioncontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    color: var(--dark-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-color);
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-color);
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1rem;
    max-height: 300px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    gap: 0.5rem;
}

.dark-btn {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.dark-btn:hover {
    background-color: #222;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.light-btn {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.light-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Media Queries */
@media (min-width: 768px) {
    .cereal-healthy {
        padding: 4rem 2rem;
    }

    .cereal-container {
        flex-direction: row;
        gap: 3rem;
    }

    .cereal-content {
        text-align: left;
    }

    .cereal-image {
        text-align: right;
    }

    .cereal-content h2 {
        font-size: 2rem;
    }

    .customer-reviews,
    .promo-offers,
    .faq-section {
        padding: 4rem 2rem;
    }

    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer-card {
        flex-direction: row;
        min-height: auto;
    }

    .offer-image {
        margin-top: 0;
        text-align: right;
    }

    .section-header h2,
    .faq-section h2 {
        font-size: 2rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .cereal-content h2 {
        font-size: 2.25rem;
    }

    .section-header h2,
    .faq-section h2 {
        font-size: 2.25rem;
    }

    .offer-content h3 {
        font-size: 1.5rem;
    }
}

/* Products Section */

#featured-products {
    padding: 4rem 1.5rem;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

.container_featured-products {
    max-width: 1200px;
    margin: 0 auto;
}

#featured-products h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.25rem;
    color: #111827;
    font-weight: 700;
    letter-spacing: -0.025em;
    position: relative;
    padding-bottom: 1rem;
}

#featured-products h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #a855f7);
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border-color: #d1d5db;
}

.product-image-container {
    position: relative;
    padding: 1rem;
    background: #f9fafb;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.25rem;
}

.product-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



.price-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.old-price {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    z-index: 10;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-group {
    display: flex;
    gap: 0.75rem;
}

.btn {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.add-to-cart {
    background-color: #4f46e5;
    color: white;
    border: 1px solid #4f46e5;
}

.add-to-cart:hover {
    background-color: #4338ca;
    transform: translateY(-1px);
}

.buy-now {
    background-color: white;
    color: #4f46e5;
    border: 1px solid #d1d5db;
}

.buy-now:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background-color: #111827;
    color: white;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.view-all-btn:hover {
    background-color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .btn-group {
        flex-direction: column;
    }
}

/* banner section  */

#banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider img {
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    object-fit: cover;
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;

}

.banner-nav.prev {
    left: 10px;
}

.banner-nav.next {
    right: 10px;
}

.banner-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


/* Filters */
.filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    display: flex;
    flex: 1;
    min-width: 250px;
}

.search-box button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background-color: #3e8e41;
}

.category-filter {
    min-width: 200px;
}

.category-filter select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
}


/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: var(--white);
        position: absolute;
        top: 60px;
        right: 40px;
        width: 200px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    }

    .btn-group {
        display: flex;
        flex-direction: column;
    }

    #btn {
        font-size: 10px;

    }

    nav ul.show {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .product-info h3,
    .category-card h3 {
        font-size: 1rem;
    }

    /* .container {
        padding: 0 10px;
    } */
}


/* Product Listing Section */
#product-listing {
    padding: 60px 0;
}

#product-listing h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--dark-color);
}

/* Filters */
#filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

#search-box {
    display: flex;
    flex: 1;
    min-width: 250px;
}

#search-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
}

#search-box button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

#search-box button:hover {
    background-color: #3e8e41;
}

#category-filter {
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

#category-filter label {
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--dark-color);
}

#category-filter select {
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
}

/* Product Grid */
#product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Product Card */
.product-card {
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-info .category {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-info .price {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Pagination */
#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#pagination button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

#pagination button:hover {
    background-color: #1976d2;
}

#page-info {
    font-weight: 500;
    color: var(--dark-color);
}

/* Responsive */
@media (max-width: 768px) {
    #filters {
        flex-direction: column;
        align-items: stretch;
    }

    #search-box {
        flex-direction: column;
    }

    #search-box input {
        margin-bottom: 10px;
    }

    #search-box button {
        margin-left: 0;
    }

    #category-filter {
        width: 100%;
    }

    #pagination {
        flex-direction: column;
        gap: 10px;
    }
}




/* about  */

.about {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
}

.about_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.about-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.about-text ul li {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        gap: 40px;
    }

    .about h2 {
        font-size: 2.2rem;
    }

    .about-text p,
    .about-text ul li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 50px 0;
    }

    .about h2 {
        font-size: 1.8rem;
    }

    .about-text h3 {
        font-size: 1.2rem;
    }

    .about-text p,
    .about-text ul li {
        font-size: 0.95rem;
    }

    .about-image {
        min-width: 100%;
    }
}

/* contact  */


.contact {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(240, 248, 255, 0.1) 0%, rgba(240, 248, 255, 0) 100%);
    z-index: 0;
}

.contact .contact_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 50px;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info,
.contact-form {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover,
.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.contact-info h3::after,
.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.7;
}

.contact-method {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-method-content h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-method-content p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #444;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.contact-form .btn:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact h2 {
        font-size: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 50px 0;
    }

    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .contact-info h3,
    .contact-form h3 {
        font-size: 1.4rem;
    }

    .contact-method {
        flex-direction: column;
        gap: 10px;
    }

    .contact-method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
    }

    .contact-form .btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* checkout  */

.checkout {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.checkout h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 40px;
}

.checkout-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.checkout-form,
.order-summary {
    flex: 1;
    min-width: 300px;
}

.checkout-form h3,
.order-summary h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.checkout-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.checkout-form .btn {
    padding: 12px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-form .btn:hover {
    background-color: #1565c0;
}

.order-summary {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
}

.order-items {
    margin-bottom: 20px;
}

.order-items p {
    margin: 5px 0;
}

.order-totals {
    border-top: 1px solid #ccc;
    padding-top: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1rem;
}

.grand-total {
    font-weight: bold;
    font-size: 1.1rem;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-grid {
        flex-direction: column;
    }

    .checkout h2 {
        font-size: 1.8rem;
    }
}


/* gallery */

.gallery-wrap {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    background-color: #f9f9f9;
}

.gallery-wrap h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.gallery-wrap p {
    margin-bottom: 30px;
    color: #666;
}

#backbtn,
#nextbtn {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    padding: 5px;
}

#backbtn {
    left: 10px;
}

#nextbtn {
    right: 10px;
}

.gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 50px;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery div {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 20px;
    flex-shrink: 0;
    min-width: 100%;
}

.gallery div span {
    display: block;
}

.gallery div img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery div img:hover {
    transform: scale(1.05);
    cursor: pointer;
}



/* articles  */

.article-card {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    background-color: #fff;
    margin: 8px;
    width: 250px;
    flex: 0 0 auto;
}

.article-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 12px;
}


.article-slider-wrap {
    margin: 60px auto;
    padding: 20px;
    text-align: center;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.article-slider-wrap h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.article-slider-wrap .view-all {
    display: block;
    margin-bottom: 10px;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}

.article-slider {
    display: flex;
    overflow-x: scroll;
    gap: 20px;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.article-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    flex: 0 0 300px;
    min-height: 150px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.article-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.article-slider::-webkit-scrollbar {
    display: none;
}

#articleBackBtn,
#articleNextBtn {
    width: 40px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#articleBackBtn {
    left: 10px;
}

#articleNextBtn {
    right: 10px;
}



.deals-slider-wrap {
    margin: 50px auto;
    padding: 20px;
    max-width: 100%;
    position: relative;
    background: #f4f8fb;
    overflow: hidden;
    border-radius: 8px;
}

.deals-slider-wrap h3 {
    font-size: 24px;
    color: #222;
    margin-bottom: 15px;
    text-align: center;
}

.deals-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px;
}

.deals-slider::-webkit-scrollbar {
    display: none;
}

.deal-card {
    flex: 0 0 230px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.deal-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 5px;
}

.deal-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
    color: #333;
}

.deal-card p {
    font-size: 13px;
    color: #555;
    min-height: 40px;
    margin-bottom: 8px;
}

.price {
    font-size: 14px;
    margin-bottom: 10px;
}

.mrp {
    text-decoration: line-through;
    color: #888;
    margin-right: 5px;
}

.offer-price {
    font-weight: bold;
    color: #28a745;
}

.discount {
    color: #e53935;
    margin-left: 5px;
    font-weight: bold;
}

.deal-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    flex: 1;
    padding: 6px 8px;
    font-size: 13px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #007bff;
    color: white;
    transition: 0.3s;
}

.btn.buy {
    background: #28a745;
}

.btn:hover {
    background: #0056b3;
}

.btn.buy:hover {
    background: #218838;
}

#dealsBackBtn,
#dealsNextBtn {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 100;
}

#dealsBackBtn {
    left: 10px;
}

#dealsNextBtn {
    right: 10px;
}




:root {
    --primary: #3a0ca3;
    --primary-light: #4cc9f0;
    --secondary: #f72585;
    --dark: #14213d;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #4bb543;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fafafa;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

.buy-now-container {
    max-width: 1200px;
    margin: 50px auto;
    background: #ffffff;
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.buy-now-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-gallery img.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.thumbnail-gallery img.thumbnail:hover,
.thumbnail-gallery img.thumbnail.active {
    border-color: #6e45e2;
    transform: scale(1.05);
}

#pay_button {
    background: linear-gradient(135deg, #6e45e2 0%, #89d4cf 100%);
    color: white;
    padding: 22px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(110, 69, 226, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#pay_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

#pay_button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(110, 69, 226, 0.3);
}

#pay_button:hover::before {
    left: 100%;
}

#pay_button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(110, 69, 226, 0.4);
}

#pay_button span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

#pay_button span:first-child::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.3s;
}

#pay_button:hover span:first-child::after {
    transform: translateX(5px);
}

#pay-amount {
    font-weight: 700;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    #pay_button {
        padding: 18px 20px;
        font-size: 16px;
    }

    #pay-amount {
        font-size: 18px;
        padding: 6px 12px;
    }
}

.product-preview {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-image-container {
    position: relative;
    flex-shrink: 0;
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image-container img {
    width: 60%;
    height:60%;
    object-fit: contain;
    transition: var(--transition);
}

.product-image-container:hover img {
    transform: scale(1.03);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(247, 37, 133, 0.3);
}

.product-info {
    flex: 1;
    padding-top: 20px;
}

.product-info h2 {
    margin: 0 0 20px 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--dark);
}

.product-description {
    margin: 25px 0;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
    /* background: red; */
    max-height: 500px; /* Set maximum height */
    overflow-y: auto; /* Enable vertical scrolling */
    padding-right: 15px; /* Space for scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f0f0f0;
}

.product-description::-webkit-scrollbar {
    width: 8px;
}

.product-description::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.product-description::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.current-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
}

.original-price {
    font-size: 22px;
    color: var(--gray);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--secondary);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
}

.delivery-info {
    margin-top: 30px;
    padding: 25px;
    background: var(--light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.delivery-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.delivery-item:last-child {
    margin-bottom: 0;
}

.delivery-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

form {
    margin-top: 40px;
}

.form-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    letter-spacing: -0.3px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary);
}

.form-group {
    margin-bottom: 30px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 15px;
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 5px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
    transition: var(--transition);
    background: #fcfcfc;
    color: var(--dark);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 12, 163, 0.1);
    background: #ffffff;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    background: var(--light);
    border: none;
    border-radius: var(--border-radius);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--dark);
}

.quantity-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.quantity-input {
    width: 80px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    padding: 14px;
}

.price-breakdown {
    background: var(--light);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.price-label {
    color: var(--gray);
}

.price-value {
    font-weight: 600;
    color: var(--dark);
}

.total-row {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    margin-top: 15px;
    font-size: 20px;
}

.total-row .price-label {
    color: var(--dark);
    font-weight: 700;
}

.total-row .price-value {
    color: var(--primary);
    font-weight: 700;
    font-size: 22px;
}

button[type="submit"] {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(58, 12, 163, 0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(58, 12, 163, 0.3);
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 40px 0 25px;
    color: var(--success);
    font-weight: 600;
    font-size: 16px;
    justify-content: center;
    padding: 15px;
    background: rgba(75, 181, 67, 0.1);
    border-radius: var(--border-radius);
}

.secure-icon {
    font-size: 24px;
}

.error-message {
    color: #dc2626;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

#pay-amount {
    font-weight: 700;
    font-size: 22px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.payment-method {
    width: 70px;
    height: 45px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.payment-method img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: var(--transition);
}

.payment-method:hover img {
    filter: grayscale(0);
    opacity: 1;
}

@media (max-width: 1200px) {
    .buy-now-container {
        padding: 50px;
    }

    .product-preview {
        gap: 40px;
    }

    .product-image-container {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .buy-now-container {
        padding: 40px;
    }

    .product-info h2 {
        font-size: 30px;
    }

    .current-price {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .buy-now-container {
        padding: 30px;
        margin: 20px;
    }

    .product-preview {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .product-image-container {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .product-info {
        padding-top: 0;
    }

    .product-info h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .price-breakdown {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .buy-now-container {
        padding: 25px 20px;
    }

    .product-info h2 {
        font-size: 24px;
    }

    .current-price {
        font-size: 26px;
    }

    .original-price {
        font-size: 18px;
    }

    button[type="submit"] {
        padding: 18px;
        font-size: 16px;
    }

    .quantity-btn {
        width: 42px;
        height: 42px;
    }
}

#spe-offer {
    margin: 20px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-offers h3 {
    color: #333;
    font-size: 24px;
    /* margin-bottom: 20px; */
    /* padding-bottom: 10px; */
    border-bottom: 2px solid #e74c3c;
}

.offers-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.offer-item {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.offer-image {
    width: 30%;
    height: 100px;
    object-fit: contain;
    border-bottom: 1px solid #eee;
}

.offer-details {
    padding: 15px;
}

.offer-details h4 {
    color: #2c3e50;
    font-size: 13px;
    margin: 0 0 10px 0;
}

.offer-details p {
    color: #7f8c8d;
    font-size: 10px;
    margin: 5px 0;
}

.offer-details p:first-of-type {
    color: #e74c3c;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offers-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .offers-list {
        grid-template-columns: 1fr;
    }
    
    #spe-offer {
        padding: 15px;
    }
}