/* Variables */
:root {
    --color-light: #ffffff;
    --color-dark: #1c1c21;
    --color-primary: #ffb8c0; /* Updated text color for buttons in day theme */
    --color-primary-hover: #ff868e; /* Similar color for hover in day theme */
    --color-secondary: #61dafb; /* Updated text color for buttons in dark theme */
    --color-secondary-hover: #21a1f1; /* Similar color for hover in dark theme */
    --color-bg-light: #f1f3f5; /* Updated background color for day theme */
    --color-bg-dark: #282c34;
    --transition: 0.3s ease;
    --font-size-base: 1rem;
    --font-size-small: 0.9rem;
    --font-size-large: 1.2rem;
    --font-size-xlarge: 1.5rem;
    --font-size-xxlarge: 2rem;
    --main-color: #007bff;
    --main-color-hover: #0056b3;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --gray-color: #6c757d;
    --light-bg: #f9f9f9;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
}

/* Import custom fonts */
@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb.eot');
    src: url('../fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'),
         url('../fonts/IRANSansWeb.woff2') format('woff2'),
         url('../fonts/IRANSansWeb.woff') format('woff'),
         url('../fonts/IRANSansWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IRANSansWeb';
    src: url('../fonts/IRANSansWeb-Bold.eot');
    src: url('../fonts/IRANSansWeb-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/IRANSansWeb-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansWeb-Bold.woff') format('woff'),
         url('../fonts/IRANSansWeb-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html, body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Base Styles */
body {
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    font-family: 'IRANSansWeb', sans-serif;
    font-size: var(--font-size-base);
    transition: background-color var(--transition), color var(--transition);
    overflow-x: hidden; /* Prevent horizontal scroll */
    margin: 0; /* Set margin to 0 */
    direction: ltr; /* Default text direction */
}

body.dark-mode {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-hover);
}

button {
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

button:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    width: 100%; /* Ensure full width */
    background-color: var(--color-bg-light); /* Updated background color */
    color: var(--color-dark);
    padding: 0 0 20px;
    text-align: center;
    position: relative;
}

body.dark-mode .footer {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0;
    width: 100%; /* Ensure full width */
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition);
}

body.dark-mode .footer-content {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

.footer-section {
    margin: 20px;
    padding: 20px;
    border-radius: 5px;
    transition: background-color var(--transition), transform var (--transition);
}

.footer-section:hover {
    transform: scale(1.05);
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: var(--font-size-xlarge);
}

.footer-section p, .footer-section a {
    margin: 5px 0;
    font-size: var(--font-size-base);
    color: var(--color-primary); /* Updated text color */
}

.footer-section a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .footer-section a {
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .footer-section a:hover {
    color: var(--color-secondary-hover);
}

.language-link {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: transform var(--transition);
    color: var(--color-primary); /* Updated text color */
}

.language-link:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
    transform: scale(1.1);
}

body.dark-mode .language-link {
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .language-link:hover {
    color: var(--color-secondary-hover);
}

.language-transition {
    transition: all var(--transition);
}

.theme-toggle-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.theme-toggle-btn img {
    width: 30px;
    height: 30px;
}

/* Bottom Navigation */
.bottom-nav {
    width: 100%; /* Ensure full width */
    height: 152px;
    background-color: var(--color-bg-light); /* Updated background color */
    color: var(--color-dark);
    padding: 10px 0;
    text-align: center;
    position: relative;
    background-image: none;
}

body.dark-mode .bottom-nav {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensure full width */
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Add gap between buttons */
    margin-right: 140px; /* Move buttons slightly to the left */                  
}

.nav-link {
    color: var(--color-primary); /* Updated text color */
    text-decoration: none;
    font-size: var(--font-size-large);
    margin: 0 10px;
    transition: color var(--transition), transform var(--transition);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.nav-link:hover {
    color: var(--color-primary-hover); /* Swap text color on hover */
    transform: translateY(5px);
}

body.dark-mode .nav-link {
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .nav-link:hover {
    color: var(--color-secondary-hover); /* Swap text color on hover */
}

.search-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    margin-right: auto;
    margin-left: 20px;
    margin-top: 80px;
}

.search-input {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: var(--font-size-base);
    margin-right: 10px;
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.search-input:focus {
    background-color: #e0e0e0;
    outline: none;
}

body.dark-mode .search-input {
    background-color: #333;
    color: var(--color-secondary);
}

body.dark-mode .search-input:focus {
    background-color: #444;
}

.search-btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    background-color: var(--color-primary); /* Updated background color */
    color: var(--color-light);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.search-btn:hover {
    background-color: var(--color-primary-hover); /* Swap background color on hover */
}

body.dark-mode .search-btn {
    background-color: var(--color-secondary); /* Updated background color */
}

body.dark-mode .search-btn:hover {
    background-color: var(--color-secondary-hover); /* Swap background color on hover */
}

.new-buttons {
    position: absolute;
    top: -20px;
    left: 20px;
    display: flex;
    gap: 0.1px;
    margin-bottom: 10px; /* Add margin to bring buttons closer to the carousel */
}

.new-btn {
    color: var(--color-primary); /* Updated text color */
    text-decoration: none;
    font-size: var(--font-size-large);
    padding: 10px 20px;
    border-radius: 5px;
    background-color: transparent;
    border: none;
    transition: color var(--transition), transform var(--transition);
    animation: pulse 2s infinite;
}

.new-btn:hover {
    color: var(--color-primary-hover); /* Swap text color on hover */
    transform: translateY(5px);
}

body.dark-mode .new-btn {
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .new-btn:hover {
    color: var(--color-secondary-hover); /* Swap text color on hover */
}

.pattern {
    width: 30px;
    background: url('../images/lego/c7892ebbb139886662c6f2fc8c450710.png') no-repeat;
    margin-left: 10px;
}

.separator {
    align-self: center;
    margin: 0 5px; /* Adjust this value to move the separator closer to the buttons */
}

/* Logo */
.logo-container {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
}

.logo {
    width: 50px;
    height: 72px;
}

/* Advertisement Slider */
.ad-slider {
    position: relative;
    width: 100%; /* Ensure full width */
    height: 600px;
    overflow: hidden;
    margin: 0; /* Remove margin to make it flush with the edges */
    padding: 0; /* Remove padding to make it flush with the edges */
    border: none;
    border-radius: 0; /* Make corners straight */
    box-shadow: none;
}

.ad-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

#prev-btn {
    left: 10px;
    animation: prevBtnAnimation 1s infinite alternate;
}

#next-btn {
    right: 10px;
    animation: nextBtnAnimation 1s infinite alternate;
}

@keyframes prevBtnAnimation {
    0% {
        transform: translateY(-50%) scale(1);
    }
    100% {
        transform: translateY(-50%) scale(1.1);
    }
}

@keyframes nextBtnAnimation {
    0% {
        transform: translateY(-50%) scale(1);
    }
    100% {
        transform: translateY(-50%) scale(1.1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* New Section Below Slider */
.new-section {
    width: 100% !important;
    background-color: var(--color-bg-light);
    padding: 25px;
    margin: 0px auto;
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 5px;
}

body.dark-mode .new-section {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

/* New Section Below the Line */
.new-section-below {
    width: 100%;
    background-color: #262626;
}

/* New Black Section Below the Red Section */
.new-black-section {
    width: 100%;
    height: 52px;
    background-color: var(--color-bg-light); /* Use variable for background color */
}

body.dark-mode .new-black-section {
    background-color: #1f1f1f; /* Use variable for background color */
}

/* New Black Section Below the Red Section */
.new-black-sectionn {
    width: 100%;
    height: 52px;
    margin: 20px 0; /* Add margin to create spacing */
    background-color: var(--color-bg-light); /* Use variable for background color */
    margin-bottom: 0;
}

body.dark-mode .new-black-sectionn {
    background-color: #1f1f1f; /* Use variable for background color */
}

/* Product Carousel */
.product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .product-carousel {
    background-color: var(--color-bg-dark);
}

.product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .product-container {
    flex-direction: row-reverse;
}

.product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .product-carousel .product-card {
    background-color: var(--color-dark);
    /* color: var(--color-light); */
}

.product-carousel .product-card img {
    width: 280px; /* Set width to 350 pixels */
    height: 280px; /* Set height to 350 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.product-carousel .carousel-btn:hover {
    background-color: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

body.dark-mode .product-carousel .carousel-btn {
    background-color: transparent;
}

body.dark-mode .product-carousel .carousel-btn:hover {
    background-color: transparent;
    box-shadow: none;
}

.product-carousel #prev-page-btn {
    left: 130px; /* Move closer to the content */
    animation: prevBtnAnimation 1s infinite alternate;
}

.product-carousel #next-page-btn {
    right: 130px; /* Move closer to the content */
    animation: nextBtnAnimation 1s infinite alternate;
}

/* New Product Carousel Section Below the Last Black Line */
.new-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .new-product-carousel {
    background-color: var(--color-bg-dark);
}

.new-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .new-product-container {
    flex-direction: row-reverse;
}

.new-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .new-product-carousel .product-card {
    background-color: var(--color-dark);
    /* color: var(--color-light); */
}

.new-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.new-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.new-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.new-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.new-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.new-product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

body.dark-mode .new-product-carousel .carousel-btn {
    background-color: transparent;
}

body.dark-mode .new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    box-shadow: none;
}

.new-product-carousel #prev-new-page-btn {
    left: 130px;
    animation: prevBtnAnimation 1s infinite alternate;
}

.new-product-carousel #next-new-page-btn {
    right: 38px; 
    animation: nextBtnAnimation 1s infinite alternate;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-carousel #prev-page-btn,
    .new-product-carousel #prev-new-page-btn {
        left: 100px; /* Adjust for smaller screens */
    }

    .product-carousel #next-page-btn,
    .new-product-carousel #next-new-page-btn {
        right: 100px; /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .product-carousel #prev-page-btn,
    .new-product-carousel #prev-new-page-btn {
        left: 70px; /* Adjust for tablets */
    }

    .product-carousel #next-page-btn,
    .new-product-carousel #next-new-page-btn {
        right: 70px; /* Adjust for tablets */
    }
}

@media (max-width: 480px) {
    .product-carousel #prev-page-btn,
    .new-product-carousel #prev-new-page-btn {
        left: 40px; /* Adjust for mobile devices */
    }

    .product-carousel #next-page-btn,
    .new-product-carousel #next-new-page-btn {
        right: 40px; /* Adjust for mobile devices */
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .product-carousel .product-card,
    .new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
    }

    .product-carousel .product-card img,
    .new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .product-carousel .product-card h3,
    .new-product-carousel .product-card h3 {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .product-carousel .product-card p,
    .new-product-carousel .product-card p {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .product-carousel .product-card .product-price,
    .new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .product-carousel .product-card,
    .new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
        box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    }

    .product-carousel .product-card img,
    .new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
        object-fit: cover; /* Ensure image covers the container without distortion */
        display: block;
        margin: 0 auto; /* Center the image */
    }

    .product-carousel .product-card h3,
    .new-product-carousel .product-card h3,
    .product-carousel .product-card p,
    .new-product-carousel .product-card p,
    .product-carousel .product-card .product-price,
    .new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
        margin: 10px 0; /* Ensure consistent margin */
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.product-carousel .product-card,
.new-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* padding: 10px; */
    box-sizing: border-box;
    margin-top: 30px;
}

.product-carousel .product-card img,
.new-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.product-carousel .product-card h3,
.new-product-carousel .product-card h3,
.product-carousel .product-card p,
.new-product-carousel .product-card p,
.product-carousel .product-card .product-price,
.new-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Add styles for the new text */
.category-title {
    text-align: center; 
    font-size: var(--font-size-xlarge);
    color: var(--color-primary);
    /* margin-bottom: 20px;  */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.category-title > p {
    margin-top: 0;
    margin-bottom: 0;
}

.category-title .line {
    flex: 1;
    /* height: 3px; */
    background-color: #b8b8e0;
    margin: 0 10px;
}

/* Add styles for the new text */
.category-title {
    text-align: center;
    font-size: var(--font-size-xlarge);
    color: var(--color-primary);
    margin-bottom: 20px; /* Add margin to separate from buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    margin-top: 0;

}

.category-title .line {
    flex: 1;
    /* height: 3px; */
    background-color: #b8b8e0;
    margin: 0 10px;
}

body.dark-mode .category-title {
    color: var(--color-secondary);
}

body.dark-mode .category-title .line {
    background-color: var(--color-secondary);
}

/* New Black Line Below Product Categories */
.new-black-line {
    width: 100%;
    height: 52px;
    background-color: var(--color-bg-light); /* Use variable for background color */
    margin: 20px 0; /* Add margin to create spacing */
    text-align: center;
    color: var (--color-dark);
    margin-bottom: 0px;
}

body.dark-mode .new-black-line {
    background-color: #1f1f1f; /* Use variable for background color */
}

/* Styles for images between the black lines */
.images-between-lines {
    display: flex;
    justify-content: center; /* Center the images horizontally */
    align-items: center;
    gap: 25px; /* Add gap between images */
    margin: 0 10px; /* Add margin to the left and right */
}

.images-between-lines img {
    width: 385px; /* Set width to 385px */
    height: 171px; /* Set height to 171px */
    object-fit: cover;
    border-radius: 10px;
    margin: 0;
    text-align: center;
}

@media (max-width: 1300px) {
    .images-between-lines {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        justify-items: center; 
    }

    .images-between-lines img:first-child {
        grid-column: 1 / -1;
        width: 100%; /* Full width for the first image */
        max-width: 400px; /* Max width for the first image */
    }

    .images-between-lines img:nth-child(2),
    .images-between-lines img:nth-child(3) {
        width: calc(100% - 2px); /* Increase the width of the smaller images */
        height: auto; /* Maintain aspect ratio */
    }
}

/* New Product Carousel Section Below the Last Black Line */
.new-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .new-product-carousel {
    background-color: var(--color-bg-dark);
}

.new-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .new-product-container {
    flex-direction: row-reverse;
}

.new-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .new-product-carousel .product-card {
    background-color: var(--color-dark);
    /* color: var(--color-light); */
}

.new-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.new-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.new-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.new-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.new-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.new-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.new-product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

body.dark-mode .new-product-carousel .carousel-btn {
    background-color: transparent;
}

body.dark-mode .new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    box-shadow: none;
}

.new-product-carousel #prev-new-page-btn {
    left: 130px;
    animation: prevBtnAnimation 1s infinite alternate;
}

.new-product-carousel #next-new-page-btn {
    right: 130px; /* Move closer to the content */
    animation: nextBtnAnimation 1s infinite alternate;
}

/* Another New Product Carousel Section */
.another-new-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .another-new-product-carousel {
    background-color: var(--color-bg-dark);
}

.another-new-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .another-new-product-container {
    flex-direction: row-reverse;
}

.another-new-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .another-new-product-carousel .product-card {
    background-color: var(--color-dark);
    /* color: var(--color-light); */
}

.another-new-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.another-new-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.another-new-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.another-new-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.another-new-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.another-new-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.another-new-product-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-light);
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.another-new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    transform: scale(1.2);
    box-shadow: none;
}

body.dark-mode .another-new-product-carousel .carousel-btn {
    background-color: transparent;
}

body.dark-mode .another-new-product-carousel .carousel-btn:hover {
    background-color: transparent;
    box-shadow: none;
}

.another-new-product-carousel #prev-another-new-page-btn {
    left: 130px; /* Move closer to the content */
    animation: prevBtnAnimation 1s infinite alternate;
}

.another-new-product-carousel #next-another-new-page-btn {
    right: 130px; /* Move closer to the content */
    animation: nextBtnAnimation 1s infinite alternate;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 100px; /* Adjust for smaller screens */
    }

    .another-new-product-carousel #next-another-new-page-btn {
        right: 100px; /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 70px; /* Adjust for tablets */
    }

    .another-new-product-carousel #next-another-new-page-btn {
        right: 70px; /* Adjust for tablets */
    }
}

@media (max-width: 480px) {
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 40px; /* Adjust for mobile devices */
    }

    .another-new-product-carousel #next-another-new-page-btn {
        right: 40px; /* Adjust for mobile devices */
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .another-new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
    }

    .another-new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .another-new-product-carousel .product-card h3 {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .another-new-product-carousel .product-card p {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .another-new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .another-new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
        box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    }

    .another-new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
        object-fit: cover; /* Ensure image covers the container without distortion */
        display: block;
        margin: 0 auto; /* Center the image */
    }

    .another-new-product-carousel .product-card h3,
    .another-new-product-carousel .product-card p,
    .another-new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
        margin: 10px 0; /* Ensure consistent margin */
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.another-new-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* padding: 10px; */
    box-sizing: border-box;
    margin-top: 30px;
}

.another-new-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.another-new-product-carousel .product-card h3,
.another-new-product-carousel .product-card p,
.another-new-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Fixed Product Carousel Section */
.fixed-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .fixed-product-carousel {
    background-color: var(--color-bg-dark);
}

.fixed-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: nowrap; /* Ensure items are in a single line */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .fixed-product-container {
    flex-direction: row-reverse;
}

.fixed-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .fixed-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.fixed-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.fixed-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.fixed-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.fixed-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.fixed-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.fixed-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 600px) {
    .fixed-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
    }

    .fixed-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .fixed-product-carousel .product-card h3 {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .fixed-product-carousel .product-card p {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .fixed-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.fixed-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* padding: 10px; */
    box-sizing: border-box;
}

.fixed-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.fixed-product-carousel .product-card h3,
.fixed-product-carousel .product-card p,
.fixed-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Second Fixed Product Carousel Section */
.second-fixed-product-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0; /* Remove padding to bring products closer to the top */
    transition: background-color var(--transition);
}

body.dark-mode .second-fixed-product-carousel {
    background-color: var(--color-bg-dark);
}

.second-fixed-product-carousel .product-container {
    display: flex;
    justify-content: center; /* Center the products horizontally */
    flex-wrap: wrap; /* Allow wrapping to create space between rows */
    overflow: hidden; /* Hide overflow */
    gap: 10px; /* Increase spacing between products */
    height: auto; /* Ensure the container takes full height */
}

body.fa .second-fixed-product-container {
    flex-direction: row-reverse;
}

.second-fixed-product-carousel .product-card {
    width: 350px; /* Set width to match image width */
    height: auto; /* Adjust height to fit content */
    margin: 0 5px;
    background-color: #1c1c21;
    color: #b8b8e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-dark);
    flex: 0 0 280px; /* Ensure fixed width */
    text-align: center; /* Center the text */
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
}

body.dark-mode .second-fixed-product-carousel .product-card {
    background-color: var(--color-dark);
    color: var (--color-light);
}

.second-fixed-product-carousel .product-card img {
    width: 280px; /* Set width to 280 pixels */
    height: 280px; /* Set height to 280 pixels */
    display: block;
    margin: 0 auto; /* Center the image */
}

.second-fixed-product-carousel .product-card h3 {
    font-size: var(--font-size-large);
    margin: 10px 0;
}

.second-fixed-product-carousel .product-card p {
    font-size: var(--font-size-base);
    padding: 8px 10px;
}

.second-fixed-product-carousel .product-card .product-price {
    color: #b7c1cb; /* Set color of the product price */
    display: flex;
    justify-content: center;
    align-items: center;
}

.second-fixed-product-carousel .product-card .product-price .price {
    margin-right: 5px; /* Add some space between the text and the price */
}

.second-fixed-product-carousel .product-card:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Center and stack every four products */
.second-fixed-product-carousel .product-container {
    justify-content: center; /* Center the products horizontally */
}

.second-fixed-product-carousel .product-card:nth-child(1),
.second-fixed-product-carousel .product-card:nth-child(2),
.second-fixed-product-carousel .product-card:nth-child(3),
.second-fixed-product-carousel .product-card:nth-child(4) {
    display: flex;
    /* justify-content: center; */
    margin-top: 30px;
}

.second-fixed-product-carousel .product-card:nth-child(5),
.second-fixed-product-carousel .product-card:nth-child(6),
.second-fixed-product-carousel .product-card:nth-child(7),
.second-fixed-product-carousel .product-card:nth-child(8) {
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 600px) {
    .second-fixed-product-carousel .product-card {
        flex: 0 0 90%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
    }

    .second-fixed-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
    }

    .second-fixed-product-carousel .product-card h3 {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .second-fixed-product-carousel .product-card p {
        font-size: var(--font-size-small); /* Reduce font size */
    }

    .second-fixed-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.second-fixed-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* padding: 10px; */
    box-sizing: border-box;
}

.second-fixed-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.second-fixed-product-carousel .product-card h3,
.second-fixed-product-carousel .product-card p,
.second-fixed-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Template Section */
.template-section {
    width: 100%;
    background-color: ver(--color-bg-light);
    padding: 20px 0;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

body.dark-mode .template-section {
    background-color: #1f1f1f; /* Dark theme background color */
}

/* FAQ Section */
.faq-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 20px;
    
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background-color: #1c1c21;
    color: #acacd2;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: none;
    border: 1px solid #cccccc26;
    border-radius: 5px;
}

.faq-icon {
    font-size: 1.5rem;
    background-color: #262626;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.faq-icon:hover {
    background-color: #661921;
    color: #fff;
}

.faq-answer {
    display: none;
    padding: 18px 10px 10px 10px; 
    align-items: center;
    justify-content: center;
    text-align: center; 
    direction: ltr; 
    background-color: #1f1f1f;
    color: #afafd6;
    border: 1px solid #cccccc26;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: none;
    display: flex;
    flex-direction: column; 
}


.faq-question, .faq-answer {
    min-height: 64px;
    box-sizing: border-box;
}

.faq-question:hover, .faq-answer:hover {
    transform: none;
}

body.fa .faq-question, body.fa .faq-answer {
    direction: rtl;
    text-align: right; 
}

/* FAQ Section */
.faq-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 20px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background-color: #1c1c21;
    color: #acacd2;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: none;
    border: 1px solid #cccccc26;
    border-radius: 5px;
}

.faq-icon {
    font-size: 1.5rem;
    background-color: #ff8a9a;
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.faq-icon:hover {
    background-color: #20afff;
    color: #fff;
}

.faq-answer {
    display: none;
    padding-left: 10px; 
    padding-right: 10px; 
    align-items: center;
    transition: none;
    background-color: #1f1f1f;
    color: #afafd6;
    border: 1px solid #cccccc26;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left; 
    direction: ltr; 
}

.faq-question, .faq-answer {
    min-height: 64px;
    box-sizing: border-box;
}

.faq-question:hover, .faq-answer:hover {
    transform: none;
}

body.fa .faq-question, body.fa .faq-answer {
    direction: rtl;
    text-align: right; 
}

body:not(.dark-mode) .faq-question, body:not(.dark-mode) .faq-answer {
    background-color: #f9f9f9f3;
    color: #32325a;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default for larger screens */
    position: fixed;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: #000;
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay Menu */
.overlay-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Initially hidden off-screen */
    width: 100%; /* Cover the entire screen */
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    transition: right 0.3s ease-in-out;
}

.overlay-menu.active {
    right: 0; /* Slide-in effect */
}

.overlay-menu a {
    padding: 15px 20px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    padding-left: 0;
    padding-right: 0;
    background: #f2f2f2;

}

.overlay-menu a:hover {
    color: var(--color-primary-hover);
}

/* Center text of buttons */
.auth-buttons,
.menu-buttons {
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.auth-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* gap: 10px;  */
    margin-bottom: 5px; /* Add margin to separate from menu buttons */
    margin-top: 75px;
}

.separator {
    margin: 0 5px; /* Adjust this value to move the separator closer to the buttons */
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none; /* Hide navigation links */
    }
}

/* ...existing code... */

@media (max-width: 1200px) {
    .nav-links,
    .new-buttons {
        display: none; /* Hide navigation links and buttons */
    }

    .hamburger-menu {
        display: block; /* Show hamburger menu */
    }

    .search-container {
        margin-top: 0; /* Adjust margin for search container */
    }

    .logo-container {
        right: 20px; /* Adjust logo position */
    }
}

/* ...existing code... */

/* Responsive Design */
@media (max-width: 1202px) {
    .bottom-nav {
        width: 100%; /* Ensure full width */
        height: 100px;
        background-color: var(--color-bg-light); /* Updated background color */
        color: var(--color-dark);
        padding: 10px 0;
        text-align: center;
        position: fixed;
        background-image: none;
        z-index: 100;
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* Ensure full width */
        text-align: center;
        position: fixed;
        top: 6%;
        left: 49%;
        transform: translate(-50%, -50%);

    }
    .logo-container {
        position: absolute;
        right: 100px;
        top: 25%;
        transform: translateY(-50%);
    }
    .faq-section {
        padding-left: 0;
        padding-right: 0;
    }
    .product-gallery {
        width: 100%; /* Full width for both sections */
        padding: 100px 10px 0 10px; /* Reduce padding */
    }

    .product-info {
        width: 100%; /* Full width for both sections */
        padding: 0px 10px; /* Reduce padding */
    }
    .cart-buttons {
        margin-left: -250px;
        margin-top: -35px;
    }
    .cart-sidebar {
        width: 100%;
    }
    .sd-btn {
        position: absolute;
        top: 60%;
        transform: translateY(-50%);
        color: var(--color-light);
        border: none;
        padding: 10px;
        cursor: pointer;
        transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
    }
}

@media (max-width: 768px) {
    .bottom-nav {
        width: 100%; /* Ensure full width */
        height: 100px;
        background-color: var(--color-bg-light); /* Updated background color */
        color: var(--color-dark);
        padding: 10px 0;
        text-align: center;
        position: fixed;
        background-image: none;
        z-index: 100;
        
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* Ensure full width */
        text-align: center;
        position: absolute;
        top: 70%;
        left: 49%;
        transform: translate(-50%, -50%);
    }
    .logo-container {
        position: absolute;
        right: 100px;
        top: 25%;
        transform: translateY(-50%);
    }
    .faq-section {
        padding-left: 0;
        padding-right: 0;
    }
    .cart-buttons {
        margin-left: -250px;
        margin-top: -35px;
    }
    .cart-sidebar {
        width: 100%;
    }
    .sd-btn {
        position: absolute;
        top: 60%;
        transform: translateY(-50%);
        color: var(--color-light);
        border: none;
        padding: 10px;
        cursor: pointer;
        transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
    }
}

@media (max-width: 600px) {
    .second-fixed-product-carousel .product-card p {
        font-size: var(--font-size-base);
        padding: 20px 10px;
    }
    .second-fixed-product-carousel .product-card h3 {
        padding-top: 6px;
    }
}

@media (max-width: 480px) {
    .bottom-nav {
        width: 100%; /* Ensure full width */
        height: 100px;
        background-color: var (--color-bg-light); /* Updated background color */
        color: var(--color-dark);
        padding: 10px 0;
        text-align: center;
        position: fixed;
        background-image: none;
        padding-top: 0;
        padding-bottom: 0;

        /* position: fixed; */
        top: 0;
        left: 0;
        width: 100%; 
        z-index: 100; 
        background-color: #fff; 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  
    }
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; /* Ensure full width */
        text-align: center;
        position: absolute;
        top: 70%;
        left: 49%;
        transform: translate(-50%, -50%);
    }
    .logo-container {
        position: absolute;
        right: 50px;
        top: 40%;
        transform: translateY(-50%);
    }
    .logo {
        width: 35px;
        height: 55px;
    }
    .hamburger-menu {
        top: 10px;
    }
    .faq-section {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }
    .search-input {
        /* width: 40%; */
        height: 40%;
    }
    .second-fixed-product-carousel .product-card p {
        font-size: var(--font-size-base);
        padding: 20px 10px;
    }
    .second-fixed-product-carousel .product-card h3 {
        padding-top: 6px;
    }
    .cart-buttons {
        margin-left: -250px;
        margin-top: -35px;
    }
    .cart-sidebar {
        width: 100%;
    }
    .cart-buttons {
        margin-left: -250px;
        margin-top: -35px;
    }
    .cart-sidebar {
        width: 100%;
    }
    .sd-btn {
        position: absolute;
        top: 60%;
        transform: translateY(-50%);
        color: var(--color-light);
        border: none;
        padding: 10px;
        cursor: pointer;
        transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
    }
    .stepper {
        margin-top: 4rem;
    }

    /* .stepper::after {
        content: "";
        position: absolute;
        top: 50%;
        left: -4%;
        right: -4%;
        height: 3px;
        background-color: #ccc;
        z-index: 0;
    } */

}

/* Responsive Design for Cake Category */
@media (max-width: 480px) {
    .new-product-carousel .product-card {
        flex: 0 0 48%; /* Adjust width for two products per row */
        width: 48%; /* Ensure full width */
        margin: 0 1%; /* Add margin between products */
        box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    }

    .new-product-carousel .product-card img {
        width: 100%; /* Ensure image takes full width */
        height: auto; /* Adjust height to maintain aspect ratio */
        object-fit: cover; /* Ensure image covers the container without distortion */
        display: block;
        margin: 0 auto; /* Center the image */
    }

    .new-product-carousel .product-card h3,
    .new-product-carousel .product-card p,
    .new-product-carousel .product-card .product-price {
        font-size: var(--font-size-small); /* Reduce font size */
        margin: 10px 0; /* Ensure consistent margin */
    }

  
    .new-product-carousel #prev-new-page-btn {
        left: 38px;
        animation: prevBtnAnimation 1s infinite alternate;
    }
    
    .new-product-carousel #next-new-page-btn {
        right: 38px; 
        animation: nextBtnAnimation 1s infinite alternate;
    }
    .second-fixed-product-carousel .product-card p {
        font-size: var(--font-size-base);
        padding: 20px 10px;
    }
    .second-fixed-product-carousel .product-card h3 {
        padding-top: 6px;
    }
    .top-tilte {
        margin-top: 120px;
    }
}

/* Ensure consistent size for product cards, images, text, and prices */
.new-product-carousel .product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    margin-top: 30px;
}

.new-product-carousel .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the container without distortion */
    display: block;
    margin: 0 auto; /* Center the image */
}

.new-product-carousel .product-card h3,
.new-product-carousel .product-card p,
.new-product-carousel .product-card .product-price {
    margin: 10px 0;
}

/* Prevent horizontal scroll on all screen sizes */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure all elements fit within the viewport */
* {
    box-sizing: border-box;
}

/* Restrict large elements from causing horizontal scroll */
.container, .wrapper, .content {
    max-width: 100%;
    overflow: hidden;
}

/* Prevent elements from extending beyond the screen width */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--color-bg-light);
}

body.dark-mode .login-container {
    background-color: var(--color-bg-dark);
}

.login-form {
    background-color: #fff;
    padding: 0 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative;
}

body.dark-mode .login-form {
    background-color: #333;
    color: var(--color-light);
}

.login-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

body.dark-mode .login-form h2 {
    color: var(--color-light);
}

.login-form input {
    width: 100%;
    padding: 15px 10px; /* Double the height */
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

body.dark-mode .login-form input {
    background-color: #444;
    color: var(--color-light);
    border: 1px solid #555;
}

.login-form button {
    width: 100%;
    padding: 13px; /* Double the height */
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-form button:hover {
    background-color: var(--color-primary-hover);
}

body.dark-mode .login-form button {
    background-color: var(--color-secondary);
}

body.dark-mode .login-form button:hover {
    background-color: var(--color-secondary-hover);
}

.auth-links a {
    margin: 0 10px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 16px;
}

body.dark-mode .auth-links a {
    color: var(--color-secondary);
}

.auth-links a:hover {
    text-decoration: underline;
}

.login-form h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
    font-weight: bold;
}

.input-instruction {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #666;
}

body.dark-mode .input-instruction {
    color: var(--color-light);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

.close-btn:hover {
    color: #000;
}

/* ...existing code...*/

.product-card a {
    color: inherit; /* Ensure the link inherits the color of its parent */
    text-decoration: none; /* Remove underline from the link */
}

/* ...existing code...*/

.container {
    display: flex;
    justify-content: center;
    /* padding: 50px 0; */
}

.product-page {
    background: white;
    padding: 20px;
    max-width: 1100px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row-reverse; /* Change to row-reverse to place image on the right */
    gap: 40px;
}

body.dark-mode .product-page {
    background-color: #444a53; /* Change product page background color in dark mode */
}

.product-info {
    flex: 1;
    padding: 20px;
}

.breadcrumb {
    font-size: 14px;
    color: #090926b7;
    margin-bottom: 10px;
}

.product-title {
    font-size: 28px;
    color: #32325d;
    margin-bottom: 10px;
}

.product-price {
    color: var(--color-primary-hover);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.add-to-cart {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color var(--transition), transform var(--transition);
}

.add-to-cart:hover {
    background: var(--color-primary-hover);
}

.product-description {
    font-size: 16px;
    color: #0c0a50;
    margin-top: 15px;
}

.product-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}

.thumbnail-container img:hover {
    transform: scale(1.1);
}

/* Responsive Design for Tablets (iPad) */
@media (max-width: 768px) {
    .product-page {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align elements */
        padding: 10px; /* Reduce padding */
    }

    .product-gallery {
        width: 100%; /* Full width for both sections */
        padding: 100px 10px 0 10px; /* Reduce padding */
    }

    .product-info {
        width: 100%; /* Full width for both sections */
        padding: 0px 10px; /* Reduce padding */
    }

    .main-image img {
        max-width: 100%; /* Ensure image takes full width */
    }

    .thumbnail-container {
        justify-content: center; /* Center thumbnails */
    }

    .thumbnail-container img {
        width: 60px; /* Reduce thumbnail size */
        height: 60px; /* Reduce thumbnail size */
    }

    .breadcrumb, .product-title, .product-price, .add-to-cart, .product-description {
        text-align: center; /* Center align text */
    } 
}

/* Responsive Design for Mobile Devices */
@media (max-width: 480px) {
    .product-page {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align elements */
        padding: 10px; /* Reduce padding */
    }

    .product-gallery {
        width: 100%; /* Full width for both sections */
        padding: 100px 10px 0 10px; /* Reduce padding */
    }

    .product-info {
        width: 100%; /* Full width for both sections */
        padding: 0px 10px; /* Reduce padding */
    }

    .main-image img {
        max-width: 100%; /* Ensure image takes full width */
    }

    .thumbnail-container {
        justify-content: center; /* Center thumbnails */
    }

    .thumbnail-container img {
        width: 50px; /* Further reduce thumbnail size */
        height: 50px; /* Further reduce thumbnail size */
    }

    .breadcrumb, .product-title, .product-price, .add-to-cart, .product-description {
        text-align: center; /* Center align text */
    }

    .add-to-cart {
        width: 100%; /* Full width for button */
        padding: 10px; /* Adjust padding */
    }
}

/* Contact Form Styles */
.contact-form {
    width: 35%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--color-bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-form {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

.contact-form h2 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

body.dark-mode .contact-form h2 {
    color: var(--color-light);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-base);
    margin-bottom: 5px;
    color: var(--color-dark);
}

body.dark-mode .contact-form label {
    color: var(--color-light);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background-color: #333;
    color: var(--color-light);
    border: 1px solid #555;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    background-color: #444;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

body.dark-mode .contact-form button {
    background-color: var(--color-secondary);
}

body.dark-mode .contact-form button:hover {
    background-color: var(--color-secondary-hover);
}

.contact-color {
    color: inherit !important;
}

/* Contact Page Icons */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--color-dark);
    transition: color var(--transition);
}

.contact-icon i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-icon:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-icon {
    color: var(--color-light);
}

body.dark-mode .contact-icon:hover {
    color: var(--color-secondary-hover);
}

/* Contact Page Map */
.contact-map {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow var(--transition);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 90%; /* Fill the width */
        padding: 20px; /* Increase padding */
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var (--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 90%; /* Fill the width */
        padding: 20px; /* Increase padding */
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 100px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 100px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
        padding: 20px; /* Increase padding */
        margin-top: 0;
    }
    .contact-info-left img {
        margin-top: 100px;
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
        padding: 20px; /* Increase padding */
        margin-top: 0;
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}

.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}

.conta
.contact-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
        padding: 20px; /* Increase padding */
        margin-top: 0;
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-dark);
    transition: color var(--transition);
}


.bi:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .bi {
    color: var(--color-light);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* Contact Box Styles */
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    background-color: var(--color-bg-light);
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

.contact-box h3 {
    font-size: var(--font-size-large);
    margin-bottom: 10px;
}

.contact-box p {
    font-size: var(--font-size-base);
    text-align: center;
    margin-bottom: 10px;
}

.contact-box a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color var(--transition);
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

/* Contact Form Section */
.contact-form-section {
    padding: 20px 0;
    background-color: var(--color-bg-light);
    text-align: center;
}

.contact-form-section h2 {
    font-size: var(--font-size-xxlarge);
    margin-bottom: 20px;
    color: var(--color-dark);
}

.contact-form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-info-left {
    flex: 1 1 300px;
    position: relative;
}
ct-info-left img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.contact-form {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 65%;
    left: 81%;
    transform: translate(-50%, -50%);
}

.contact-form label {
    display: block;
    font-size: var(--font-size-large);
    margin-bottom: 10px;
    color: var(--color-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: var(--font-size-base);
    background-color: #f0f0f0;
    color: var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    background-color: #e0e0e0;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: var(--color-primary);
    color: var(--color-light);
    font-size: var(--font-size-large);
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
}

.contact-form button:hover {
    background-color: var(--color-primary-hover);
}

/* Responsive Design for Contact Form */
@media (max-width: 1024px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        flex-direction: column;
    }

    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
    }
    .contact-info-left img {
        margin-top: 90px;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        flex-direction: column;
    }
    .contact-form {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%; /* Fill the width */
        padding: 20px; /* Increase padding */
        margin-top: 0;
    }
    .contact-info-left img {
        margin-top: 90px;
    }
    .ma-h2 {
        margin-top: 0;
    }
}

/* Contact Information Section */
.contact-info-section {
    padding: 50px 0;
    background-color: var(--color-bg-dark);
    text-align: center;
}

.contact-info-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-box {
    flex: 1 1 300px;
    padding: 30px;
    background-color: var(--color-light);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    transition: transform var(--transition);
}

.contact-box:hover {
    transform: scale(1.05);
}

.contact-box h3 {
    font-size: var(--font-size-xlarge);
    margin-bottom: 20px;
}

.contact-box p,
.contact-box a {
    font-size: var(--font-size-base);
    margin-bottom: 10px;
    color: var(--color-dark);
    text-decoration: none;
}

.contact-box a:hover {
    color: var(--color-primary-hover);
}

.contact-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-large);
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.contact-map:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Bootstrap Icons */
.bi {
    font-size: 1.5rem;
    color: var(--color-primary-hover);
    transition: color var(--transition);
}

/* body.dark-mode .bi {
    color: var(--color-secondary);
} */

/* .bi:hover {
    color: var(--color-primary-hover);
} */

body.dark-mode .bi {
    color: var(--color-secondary-hover);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* ...existing code... */

body.dark-mode {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode a:hover {
    color: var(--color-secondary-hover);
}

body a:hover {
    color: var(--color-primary-hover);
}

body.dark-mode button {
    color: var(--color-light);
}

body.dark-mode .footer {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode .footer-content {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode .footer-section a {
    color: var(--color-secondary);
}

body.dark-mode .footer-section a:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .language-link {
    color: var(--color-secondary);
}

body.dark-mode .language-link:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .bottom-nav {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode .nav-link {
    color: var(--color-secondary);
}

body.dark-mode .nav-link:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .search-input {
    background-color: #333;
    color: var(--color-secondary);
}

body.dark-mode .search-input:focus {
    background-color: #444;
}

body.dark-mode .search-btn {
    background-color: var(--color-secondary);
}

body.dark-mode .search-btn:hover {
    background-color: var(--color-secondary-hover);
}

body.dark-mode .new-btn {
    color: var(--color-secondary);
}

body.dark-mode .new-btn:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .product-carousel .product-card {
    background-color: var(--color-dark);
    /* color: var(--color-light); */
}

body.dark-mode .new-product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .new-product-carousel .product-card {
    background-color: var (--color-dark);
    /* color: var(--color-light); */
}

body.dark-mode .another-new-product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .another-new-product-carousel .product-card {
    background-color: var(--color-dark);
    /* color: var(--color-light); */
}

body.dark-mode .fixed-product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .fixed-product-carousel .product-card {
    background-color: var(--color-dark);
    /* color: var(--color-light); */
}

body.dark-mode .second-fixed-product-carousel {
    background-color: var(--color-bg-dark);
}

body.dark-mode .second-fixed-product-carousel .product-card {
    background-color: var(--color-dark);
    /* color: var(--color-light); */
}

body.dark-mode .template-section {
    background-color: #1f1f1f;
}

body.dark-mode .faq-question, body.dark-mode .faq-answer {
    background-color: #1f1f1f;
    color: #afafd6;
}

body.dark-mode .hamburger-menu .bar {
    background-color: #fff;
}

body.dark-mode .overlay-menu {
    background-color: #282c34;
}

body.dark-mode .overlay-menu a {
    background: #4b4a4a30;
    color: var(--color-secondary);
}

body.dark-mode .overlay-menu a:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .category-title {
    color: var(--color-secondary);
}

body.dark-mode .category-title .line {
    background-color: var(--color-secondary);
}

body.dark-mode .new-black-line {
    background-color: #1f1f1f;
}

body.dark-mode .contact-form {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
}

body.dark-mode .contact-form h2 {
    color: var(--color-light);
}

body.dark-mode .contact-form label {
    color: var(--color-light);
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background-color: #333;
    color: var(--color-light);
    border: 1px solid #555;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    background-color: #444;
}

body.dark-mode .contact-form button {
    background-color: var(--color-secondary);
}

body.dark-mode .contact-form button:hover {
    background-color: var(--color-secondary-hover);
}

body.dark-mode .contact-icon {
    color: var(--color-light);
}

body.dark-mode .contact-icon:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .contact-box {
    background-color: var(--color-bg-dark);
    color: var(--color-light);
    border: 1px solid var(--color-light);
}

body.dark-mode .contact-box a {
    color: var(--color-secondary);
}

body.dark-mode .contact-box a:hover {
    color: var(--color-secondary-hover);
}

body.dark-mode .contact-info-section {
    background-color: var(--color-bg-dark);
}

body.dark-mode .bi {
    color: var(--color-secondary-hover);
}

body.dark-mode .bi:hover {
    color: var(--color-secondary-hover);
}

/* ...existing code... */

/* ...existing code... */

.article-text {
    margin-left: 100px;
    margin-right: 100px;
    text-align: justify;
    margin-top: 0;
}

/* ...existing code... */

.about-us-section h1, .about-us-section h2 {
    color: #444;
    margin-bottom: 25px;
}

.team-section {
    margin-top: 50px;
    text-align: center; /* Center align text */
}

.values-section {
    margin-top: 100px; /* Move section lower */
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.values-section h2 {
    margin-bottom: 15px;
    margin-left: 12px;
}

.values-list {
    list-style-type: none;
    padding: 0;
}

.values-list li {
    background-color: #fff;
    color: #444;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.about-image-section {
    text-align: center;
    margin-top: 50px;
    width: 100%; /* Full width */
}

.about-image-section img {
    width: 90%;
    max-width: 100%;
    border-radius: 10px;
}

/* Dark Mode Styles */
body.dark-mode .about-us-section {
    background-color: #333;
    color: #ddd;
    border: 1px solid #555;
}

body.dark-mode .about-us-section h1, body.dark-mode .about-us-section h2 {
    color: #ffb8c0;
}

body.dark-mode .about-text {
    color: #ccc;
}

body.dark-mode .values-section {
    background-color: #282c34;
    color: #ddd;
    /* border: 1px solid #555; */
}

body.dark-mode .values-list li {
    background-color: #3f3f3fce;
    color: #ddd;
}

body.dark-mode .about-image-section img {
    border: 1px solid #555;
}

.about-m {
    margin-top: 120px;
}

.centered-heading {
    text-align: center;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .article-text {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .article-text {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 480px) {
    .article-text {
        margin-left: 15px;
        margin-right: 15px;
    }
}

body.dark-mode .add-to-cart {
    background-color: var(--color-secondary);
}
body.dark-mode .add-to-cart:hover {
    background-color: var(--color-secondary-hover);
}

body.dark-mode .product-price {
    color: var(--color-secondary-hover);
}

body.dark-mode .tem-dark {
   color: var(--color-secondary); 
}

body.dark-mode .product-title {
   color: var(--color-light); 
}
body.dark-mode .product-description {
   color: var(--color-light); 
}

body .centered-heading {
    color: var(--color-primary);
}

body.dark-mode .centered-heading {
    color: var(--color-secondary);
}




.body-error {
    font-family: 'IRANSansWeb';
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #fff;
    overflow: hidden;
}

.dark-mode .body-error {
    background: #000; 
}
 
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.error-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in;
    margin-top: 40px;
}

body.dark-mode .error-content h1 {
    color: var(--color-secondary);
}

.error-content h2 {
    font-size: 7rem;
    color: var(--color-primary-hover);
    font-weight: 900;
    margin-bottom: 15px;
    animation: fadeIn 1s ease-in 0.5s;
}

body.dark-mode .error-content h2 {
    color: var(--color-secondary-hover);
}

.error-content p {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in 1s;
}

body.dark-mode .error-content p { 
    color: var(--color-light);
}

.button-error {
    padding: 12px 25px;
    background: var(--color-primary);
    border: none;
    color: #fff;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.button-error:hover {
    background: var(--color-secondary-hover);
}

body.dark-mode .button-error {
    background: var(--color-secondary); 
    color: #fff;
}


body.dark-mode .button-error:hover {
    background: var(--color-primary-hover);
}

/* انیمیشن پاشیدن شکلات یا شکر */
.sweet-animation {
    position: relative;
    margin-top: 30px;
    width: 200px;
    height: 200px;
    animation: moveUpDown 2s ease-in-out infinite;
}

.cake {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-secondary-hover), var(--color-primary-hover));
    border-radius: 15px;
    animation: bounceCake 1.5s ease-in-out infinite, rotateCake 3s infinite linear;
}

/* پاشیدن شکلات */
.sprinkle-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 5%, transparent 5%) repeat;
    animation: sprinkle 1s infinite linear;
    opacity: 0.2;
    z-index: -1;
}

.shine-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 10%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: shine 3s ease-in-out infinite;
}

.message {
    position: absolute;
    bottom: 20px;
    font-size: 1.5rem;
    color: #e74c3c;
    animation: fadeInMessage 2s ease-in-out infinite;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceCake {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-30px);
    }
}

@keyframes rotateCake {
    0% {
        transform: translateX(-50%) translateY(0) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(0) rotate(360deg);
    }
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes sprinkle {
    0% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(10px);
    }
}

@keyframes shine {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes fadeInMessage {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 3840px) {
    .product-carousel #prev-page-btn {
        left: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .product-carousel #next-page-btn {
        right: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .new-product-carousel #prev-new-page-btn {
        left: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .new-product-carousel #next-new-page-btn {
        right: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #next-another-new-page-btn {
        right: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
}

@media (max-width: 2550px) {
    .product-carousel #prev-page-btn {
        left: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .product-carousel #next-page-btn {
        right: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .new-product-carousel #prev-new-page-btn {
        left: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .new-product-carousel #next-new-page-btn {
        right: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #next-another-new-page-btn {
        right: 640px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
}

@media (max-width: 1920px) {
    .product-carousel #prev-page-btn {
        left: 135px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .product-carousel #next-page-btn {
        right: 135px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
}
    .new-product-carousel #prev-new-page-btn {
        left: 135px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .new-product-carousel #next-new-page-btn {
        right: 135px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 135px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #next-another-new-page-btn {
        right: 135px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
}

@media (max-width: 1280px) {
    .product-carousel #prev-page-btn {
        left: 15px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .product-carousel #next-page-btn {
        right: 15px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
}
    .new-product-carousel #prev-new-page-btn {
        left: 15px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .new-product-carousel #next-new-page-btn {
        right: 15px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 15px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #next-another-new-page-btn {
        right: 15px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
}

@media (max-width: 884px) {
    .product-carousel #prev-page-btn {
        left: 120px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .product-carousel #next-page-btn {
        right: 120px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
}
    .new-product-carousel #prev-new-page-btn {
        left: 120px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .new-product-carousel #next-new-page-btn {
        right: 120px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 120px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #next-another-new-page-btn {
        right: 120px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
}

@media (max-width: 768px) {
    .product-carousel #prev-page-btn {
        left: 60px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .product-carousel #next-page-btn {
        right: 60px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
}
    .new-product-carousel #prev-new-page-btn {
        left: 60px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .new-product-carousel #next-new-page-btn {
        right: 60px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #prev-another-new-page-btn {
        left: 60px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
    .another-new-product-carousel #next-another-new-page-btn {
        right: 60px; /* Move closer to the content */
        animation: prevBtnAnimation 1s infinite alternate;
    }
}












/* استایل کلی صفحه */
.body-cart {
    margin: 0;
    font-family: sans-serif;
    background-color: #f5f5f5;
    direction: rtl; 
}
  
  /* دکمه‌ی باز کردن سبد خرید */
.cart-btn {
    margin: 20px;
    padding: 12px 24px;
    background-color: #ff7f50; /* رنگ نارنجی مرجانی */
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.cart-btn:hover {
    background-color: #ff9b6f;
}
  
  /* نشانگر تعداد آیتم‌ها در دکمه سبد خرید */
.cart-count {
    background-color: #fff;
    color: #ff7f50;
    border-radius: 50%;
    padding: 2px 8px;
    margin-right: 8px;
    font-weight: bold;
}
  
  /* لایه‌ی نیمه شفاف پشت سبد خرید */
.cart-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
}
  
  /* سایدبار سبد خرید */
.cart-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 360px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
}

.cart-sidebar.open {
    transform: translateX(0);
}
  
  /* هدر سبد خرید */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-primary);
    color: #fff;
    padding: 16px;
}

body.dark-mode .cart-header {
    background: var(--color-secondary); /* Swap text color on hover */
}

body.dark-mode .cart-sidebar {
    background: #282c34; /* Swap text color on hover */
}

body.dark-mode .price-info li {
    color: #f1f3f5; /* Swap text color on hover */
}

.cart-header h2 {
    margin: 0;
    font-size: 18px;
}

.close-btnn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-btnn:hover {
    transform: scale(1.1);
}
  
  /* لیست محصولات */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    margin-left: 10px;
}

.item-info {
    flex: 1;
}

.item-info h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
}
  
.item-info p {
    margin: 0 0 8px 0;
}
  
  /* کنترل کم و زیاد کردن تعداد */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.minus-btn,
.plus-btn {
    width: 30px;
    height: 30px;
    background: var(--color-secondary);
    border: none;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.minus-btn:hover,
.plus-btn:hover {
    background: var(--color-primary-hover);
}
  
body.dark-mode .minus-btn {
    background: var(--color-primary-hover); /* Updated text color */
}

body.dark-mode .plus-btn{
    background: var(--color-primary-hover); /* Updated text color */
}

body.dark-mode .minus-btn:hover {
    background: var(--color-secondary-hover); /* Swap text color on hover */
}

body.dark-mode .plus-btn:hover {
    background: var(--color-secondary-hover); /* Swap text color on hover */
}

  /* فوتر سبد خرید */
.cart-footer {
    border-top: 1px solid #ddd;
    padding: 16px;
}
  
  /* لیست نمایش قیمت‌ها و هزینه پست */
.price-info {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 12px;
}

.price-info li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
}
  
  /* دکمه‌های پایین سبد خرید */
.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.checkout-btn,
.view-cart-btn {
    flex: 1;
    padding: 10px 12px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    transition: background-color 0.3s;
}

.checkout-btn {
    background: var(--color-primary); /* سبز */
}

.checkout-btn:hover {
    background: var(--color-primary-hover);
}

.view-cart-btn {
    background: var(--color-secondary); /* خاکستری تیره */
}

.view-cart-btn:hover {
    background: var(--color-secondary-hover);
}
  

.cart-buttons {
    position: absolute;
    top: -10px;
    left: 270px;
    display: flex;
    gap: 0.1px;
    margin-bottom: 10px; 
    text-decoration: none;
    font-size: var(--font-size-large);
    background-color: transparent;
    border: none;
    transition: color var(--transition), transform var(--transition);
}

.new-btn-cart:hover {
    color: var(--color-primary-hover); /* Swap text color on hover */
    transform: translateY(5px);
}

body.dark-mode .new-btn-cart{
    color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .new-btn-cart:hover {
    color: var(--color-secondary-hover); /* Swap text color on hover */
}

/* استایل دکمه سبد خرید */
.cart-button {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* فاصله بین آیکون و متن */
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.cart-button:hover {
    background-color: var(--color-primary-hover);
}

body.dark-mode .cart-button{
    background-color: var(--color-secondary); /* Updated text color */
}

body.dark-mode .cart-button:hover {
    background-color: var(--color-secondary-hover); /* Swap text color on hover */
}

/* ...existing code... */





  
/* استایل فیلد ورودی */
#search-input {
    width: 100%;
    padding: 10px;
    padding-right: 60px;
    /*فضایاضافیبرایدکمهجستجودرسمتراست*/font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
}
  
/* تغییر رنگ حاشیه ورودی در حالت فوکوس */
#search-input:focus {
    border-color: var(--color-primary);
}
  
/* استایل دکمه جستجو */
.search-btnt {
    position: absolute;
    top: 88%;
    left: 240px; 
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}
  
/* استایل آیکن SVG در دکمه جستجو */
.search-btnt svg {
    width: 32px;
    height: 32px;
    fill: #666;
    transition: fill 0.3s;
}
  
/* تغییر رنگ آیکن هنگام هاور */
.search-btnt:hover svg {
    fill: var(--color-primary-hover);
}
  
body.dark-mode .search-btnt:hover svg {
    fill: var(--color-secondary-hover); /* Swap text color on hover */
}

body.dark-mode #search-input:focus {
    border-color: var(--color-secondary); /* Swap text color on hover */
}

@media (max-width: 1280px) {
    .search-btnt {
        position: absolute;
        top: 88%;
        left: 210px; 
        transform: translateY(-50%);
        border: none;
        background: none;
        cursor: pointer;
        outline: none;
    }
    #search-input {
        padding-right: 45px; 
    }
}  

@media (max-width: 884px) {
    .search-btnt {
        position: absolute;
        top: 67%;
        left: 230px; 
        transform: translateY(-50%);
        border: none;
        background: none;
        cursor: pointer;
        outline: none;
    }
    #search-input {
        padding-right: 45px; 
    }
}  

@media (max-width: 820px) {
    .search-btnt {
        position: absolute;
        top: 65%;
        left: 230px; 
        transform: translateY(-50%);
        border: none;
        background: none;
        cursor: pointer;
        outline: none;
    }
    #search-input {
        padding-right: 45px; 
    }
}  

@media (max-width: 768px) {
    .search-btnt {
        position: absolute;
        top: 65%;
        left: 230px; 
        transform: translateY(-50%);
        border: none;
        background: none;
        cursor: pointer;
        outline: none;
    }
    #search-input {
        padding-right: 45px; 
    }
}  

@media (max-width: 480px) {
    .search-btnt {
        position: absolute;
        top: 65%;
        left: 255px; 
        transform: translateY(-50%);
        border: none;
        background: none;
        cursor: pointer;
        outline: none;
    }
    #search-input {
        padding-right: 45px; 
    }
    .cart-sidebar {
        width: 100%;
    }
}  

@media (max-width: 360px) {
    .search-btnt {
        position: absolute;
        top: 65%;
        left: 255px; 
        transform: translateY(-50%);
        border: none;
        background: none;
        cursor: pointer;
        outline: none;
    }
    #search-input {
        padding-right: 45px; 
    }
    .cart-sidebar {
        width: 100%;
    }
    
}  

/* @media (max-width: 360px) {
    .ad-slider {
        position: relative;
        width: 100%; 
        height: 600px;
        overflow: hidden;
        margin: 0; 
        padding: 0; 
        border: none;
        border-radius: 0; 
        box-shadow: none;
    }
    
    .ad-slide {
        display: none;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity 0.5s ease-in-out;
    }
    
    .ad-slide img {
        width: 100%;
        height: 100%;
        display: block;
       
        
    }
}   */





  /* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
  } */
/* .dsza {
    background-color: var(--light-bg);
    color: #333;
    line-height: 1.6;
}  */

/* a {
  text-decoration: none;
} */

/* پیام به‌روز رسانی (Toast) */
#updateMessage {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 9999;
  opacity: 0;
}

body.dark-mode #updateMessage {
    background: var(--color-secondary); /* Swap text color on hover */
}

.container-custom {
  width: 95%;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  animation: fadeIn var(--transition-medium) ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- نوار پیشرفت چندمرحله‌ای (Stepper) --- */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.stepper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 7%;
  right: 7%;
  height: 3px;
  background-color: #ccc;
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
  z-index: 1;
}

.circle {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  /* رنگ و اندازه آیکون را می‌توانید تغییر دهید */
  color: var(--color-primary-hover); 
  transition: color var(--transition-fast);
}

body.dark-mode .circle {
    color: var(--color-secondary-hover); /* Swap text color on hover */
}

.label {
  font-size: 0.9rem;
  color: var(--color-primary-hover);
}

body.dark-mode .label {
    color: var(--color-secondary-hover); /* Swap text color on hover */
}

.active .circle {
  color: var(--danger-color);
  animation: bounceIn var(--transition-fast) ease;
}

@keyframes bounceIn {
  0% {
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* --- محتوای سبد خرید (محصولات در کنار خلاصه سفارش) --- */
.cart-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.cart-items-as {
  flex: 1 1 60%;
  animation: fadeIn var(--transition-medium) ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cart-item-ss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1c1c21;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  animation: slideUp var(--transition-fast) ease;
}

.cart-item-ss:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item-info-ds {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.item-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.item-details {
  display: flex;
  flex-direction: column;
  color: #c3c3ed;
}

.item-details h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.item-details .price {
  color: var(--color-primary-hover);
  font-weight: bold;
  font-size: 0.9rem;
}

body.dark-mode .item-details .price {
    color: var(--color-secondary-hover); /* Swap text color on hover */
}

/* کنترل تعداد */
.quantity-control-za {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-control-za button {
  background: var(--color-secondary);
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.quantity-control-za button:hover {
  background: var(--color-primary-hover);
  color: #fff;
}

body.dark-mode .quantity-control-za button {
    background-color: var(--color-primary-hover); /* Swap text color on hover */
}

body.dark-mode .quantity-control-za button:hover {
    background-color: var(--color-secondary); /* Swap text color on hover */
}

.quantity-control-za span {
  min-width: 20px;
  text-align: center;
  color: #fff;
}

.quantity-control-za button:active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  left: 0;
  top: 0;
  border-radius: inherit;
  animation: ripple var(--transition-fast) ease;
}

@keyframes ripple {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* دکمه حذف محصول */
.remove-btn {
  color: #999;
  cursor: pointer;
  transition: color var(--transition-fast);
  font-size: 1.2rem;
  position: relative;
}

.remove-btn:hover {
  color: var(--color-primary-hover);
}

.remove-btn::after {
  content: "حذف محصول";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.remove-btn:hover::after {
  opacity: 1;
}

/* --- خلاصه سفارش --- */
.cart-summary {
  flex: 1 1 35%;
  background-color: #1c1c21;
  border-radius: var(--border-radius);
  padding: 1rem;
  animation: fadeIn var(--transition-medium) ease;
}

.summary-title {
  color: #c3c3ed;  
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: #fff;
}

.summary-item span {
  font-size: 0.95rem;
}

.summary-total {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-top: 1rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

/* بخش کد تخفیف */
.discount-code {
  display: flex;
  margin: 1rem 0;
  gap: 0.5rem;
}

.discount-code input {
  flex: 1;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color var(--transition-fast);
}

.discount-code input:focus {
  border-color: var(--main-color);
}

.discount-code button {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.discount-code button:hover {
  background-color: var(--color-primary-hover);
}

body.dark-mode .discount-code button {
    background-color: var(--color-secondary); /* Swap text color on hover */
}

body.dark-mode .discount-code button:hover {
    background-color: var(--color-secondary-hover); /* Swap text color on hover */
}

.discount-code button:active::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: ripple var(--transition-fast) ease;
}

/* دکمه تسویه حساب */
.checkout-btn-cs {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 1rem;
  transition: background-color var(--transition-fast);
  position: relative;
  overflow: hidden;
}

body.dark-mode .checkout-btn-cs {
    background-color: var(--color-secondary); /* Swap text color on hover */
}

body.dark-mode .checkout-btn-cs:hover {
    background-color: var(--color-secondary-hover); /* Swap text color on hover */
}



.checkout-btn-cs:hover {
  background-color: var(--color-primary-hover);
}

.checkout-btn-cs:active::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: ripple var(--transition-fast) ease;
}











