:root {
    --primary-color: #006E37;
    --primary-color-hover: #005a2d;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.primary-text {
    color: var(--primary-color) !important;
    font-weight: 700;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button,
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-family);
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navbar refinement */
.navbar-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1100px;
    z-index: 1000;
}

.navbar {
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid #006E374D;
    border-radius: 100px;
    padding: 4px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #006E377D;
}

.navbar-logo img {
    height: 65px;
    display: block;
}

.navbar-links {
    display: flex;
    gap: 25px;
}

.navbar-links a {
    font-weight: 600;
    font-size: 14px;
    color: #444;
    position: relative;
    padding: 2px 0;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.navbar-links a:hover {
    color: var(--primary-color);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-app {
    background: var(--primary-color);
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-app:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 110, 55, 0.3);
}

.lang-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle:hover {
    transform: rotate(15deg) scale(1.1);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 130vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mySwiper,
.swiper-wrapper,
.swiper-slide {
    height: 100% !important;
    width: 100%;
}

.mySwiper .swiper-slide {
    position: relative;
    background: white;
}

.mySwiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Layered: Pattern on top of Background Image */
    background-image: url('../../images/asset/pattern.png'), url('../../images/asset/hero_background.png');
    background-position: center, center;
    background-size: 220px, cover;
    background-repeat: repeat, no-repeat;
    opacity: 0.8;
    /* Slight overall transparency to let slide background or color through if needed */
    z-index: 1;
}

.mySwiper .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Glass Layer: Slight tint and heavy blur */
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
        width: 100%;
    }
}

.hero-text-large {
    font-size: 110px;
    font-weight: 800;
    color: #006E37;
    margin-bottom: 20px;
    line-height: 1.1;
}

[dir="rtl"] .hero-text-large {
    font-family: 'Cairo', sans-serif;
    font-size: 100px;
}

.hero-description {
    font-size: 35px;
    font-weight: 500;
    color: #333;
    max-width: 950px;
    margin: 0 auto 50px;
    line-height: 1.4;
}

.hero-btns {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 110, 55, 0.4);
}

.btn-primary i {
    width: 32px;
    height: 32px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
    color: #006E37;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 20px;
}

.btn-outline:hover {
    background: rgba(0, 110, 55, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Custom Swiper Buttons */
.swiper-button-next,
.swiper-button-prev {
    background: white !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    color: #006E37 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 50 !important;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 110, 55, 0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none !important;
}

.swiper-button-next::before,
.swiper-button-prev::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 18px;
}

.swiper-button-next::before {
    content: "\f054";
}

.swiper-button-prev::before {
    content: "\f053";
}

[dir="rtl"] .swiper-button-next::before {
    content: "\f053";
}

[dir="rtl"] .swiper-button-prev::before {
    content: "\f054";
}

/* Mobile Menu Popup Style */
.mobile-drawer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 450px;
    border-radius: 30px;
    background: #f0f7f3;
    z-index: 2050;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.drawer-header img {
    height: 50px;
}

.close-drawer {
    font-size: 35px;
    background: transparent;
    color: var(--primary-color);
}

.drawer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.drawer-content a {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    transition: var(--transition);
}

.drawer-content a:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.drawer-footer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-app-side {
    background: var(--primary-color);
    color: white !important;
    padding: 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.btn-app-side:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 110, 55, 0.3);
}

.lang-side {
    color: var(--primary-color) !important;
    text-align: center;
    font-weight: 800;
    cursor: pointer;
}

/* Partners Section */
.partners {
    padding: 20px 0;
    background: white;
    text-align: center;
}

.partners-title {
    font-size: 42px;
    color: #006E37;
    margin-bottom: 30px;
    font-weight: 400;
}

.partners-title span {
    font-weight: 800;
}

.partners-logos {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 40px;
    margin-top: 30px;
}

.partner-item {
    transition: var(--transition);
    cursor: pointer;
}

.partner-item img {
    height: 70px;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.6);
    transition: var(--transition);
}

.partner-item:hover img {
    transform: scale(1.15) translateY(-5px);
    filter: grayscale(0) opacity(1);
}

/* About Section - Matching the Banner Design side-by-side */
.about-section {
    padding: 60px 0;
    position: relative;
    background: #fff;
    overflow: hidden;
}

/* Final About Section Styles */

.about-section-final .about-content-wrapper {
    flex-direction: row-reverse;
    justify-content: center;
    gap: 60px;
    max-width: 90vw;
    width: 90vw;
    margin: 0 auto;
}

.about-section-final .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.about-section-final.about-section-copy .container,
.about-section-final.about-section-branches .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.about-section-final.about-section-copy .about-content-wrapper,
.about-section-final.about-section-branches .about-content-wrapper,
.about-section-final .about-content-wrapper {
    max-width: 90vw;
    width: 90vw;
    margin: 0 auto;
}

.about-section-final .about-text-content {
    flex-direction: row;
}

*/ .about-section-final .about-text-content {
    flex: 1 1 0;
    max-width: 640px;
    text-align: right;
}

[dir="ltr"] .about-section-final .about-text-content {
    text-align: left;
}

.about-section-final .about-text-content-final p {
    font-size: 18px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.01em;
    color: #2b2b2b;
    margin: 0;
}

.about-section-final .about-watermark {
    flex: 0 0 auto;
    justify-content: center;
}

.about-section-final .about-watermark-text {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-align: center;
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.fridge-section {
    position: relative;
    width: 100%;
    padding: 0px 0 80px;
    background: #fff;
    overflow: hidden;
}

.fridge-section .fridge-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
}

.fridge-section .fridge-bg {
    width: 100%;
    height: auto;
    display: block;
}

.fridge-section .shelf-overlay {
    position: absolute;
    top: 21%;
    height: 19%;
    left: 7%;
    right: 7%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.fridge-section .category-group {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    width: 32%;
    gap: 2px;
}

.fridge-section .category-group img {
    height: auto;
    width: auto;
    max-width: 25%;
    filter: drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.2));
    pointer-events: auto;
    transition: transform 0.2s;
}

.fridge-section .category-group img:hover {
    transform: scale(1.1) translateY(-5px);
}

.fridge-section .h-milk {
    height: 100% !important;
}

.fridge-section .h-cheese1 {
    height: 50% !important;
}

.fridge-section .h-cheese2 {
    height: 60% !important;
}

.fridge-section .h-cheese3 {
    height: 95% !important;
}

.fridge-section .h-ghee2 {
    height: 85% !important;
}

.fridge-section .h-ghee1 {
    height: 90% !important;
}

@media (max-width: 991px) {
    .about-section-final .about-content-wrapper {
        flex-direction: column-reverse;
        gap: 25px;
    }

    .about-section-final .about-text-content {
        max-width: none;
        text-align: center;
    }

    .about-section-final .about-watermark-text {
        font-size: 3rem;
    }
}

.about-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/asset/pattern_2.png');
    background-size: 400px;
    background-repeat: repeat;
    opacity: 0.1;
    z-index: 1;
}

.about-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-direction: row-reverse;
}

/* Arabic RTL Logic: Logo on Right, Text on Left for non-final sections */
[dir="rtl"] .about-section:not(.about-section-final) .about-content-wrapper {
    flex-direction: row-reverse;
}

.about-section:not(.about-section-final) .about-text-content {
    flex: 1.5;
    text-align: right;
}

[dir="ltr"] .about-section:not(.about-section-final) .about-text-content {
    text-align: left;
}

.about-text-content p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
    color: #444;
}

.about-watermark {
    flex: 0.5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-watermark img {
    height: 90px;
    width: auto;
    opacity: 1;
    /* Made clear as in the banner */
    transition: var(--transition);
}

/* Animations */
.animate-fadeInUp {
    animation: fadeInUp 1s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-container {
        width: 90%;
    }

    .navbar-links,
    .hide-mobile {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-text-large {
        font-size: 45px !important;
    }

    .hero {
        height: 100vh !important;
    }

    .about-content-wrapper {
        flex-direction: column-reverse !important;
        text-align: center;
    }

    .about-text-content {
        text-align: center !important;
    }

    .about-watermark img {
        height: 100px;
    }
}

@media (max-width: 768px) {

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-description {
        font-size: 24px;
    }

    .hero-text-large {
        font-size: 38px !important;
    }

    .hero {
        height: 85vh !important;
        min-height: 550px;
    }

    .partners-title {
        font-size: 28px !important;
    }

    .about-text-content p {
        font-size: 16px;
    }
}

/* Milk Products Section */
.milk-products-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #fdfdfd;
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 110, 55, 0.05);
}

.milk-products-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

/* Reversed Layout for English: Bottle on Left, Cards on Right */
[dir="ltr"] .milk-products-wrapper {
    flex-direction: row-reverse;
}

/* Cards on Left, Bottle on Right for Arabic */
[dir="rtl"] .milk-products-wrapper {
    flex-direction: row-reverse;
}

/* Slider Side (Left in RTL, Right in LTR) */
.slider-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.milkSwiper {
    width: 100%;
    max-width: 400px;
    height: 500px;
    padding: 10px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.milkSwiper .swiper-slide {
    border-radius: 20px;
    background: transparent !important;
    overflow: visible;
}

.milk-card {
    width: 100%;
    height: 100%;
    border: 2.5px solid var(--primary-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    background: #fff;
    z-index: 5;
}

.milk-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fdfdfd;
    transition: var(--transition);
}

.milk-card:hover img {
    transform: scale(1.05);
}

/* Slider Navigation */
.milk-slider-nav {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    z-index: 100;
}

.milk-prev,
.milk-next {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    background: white;
}

.milk-prev:hover,
.milk-next:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

/* RTL Arrow Fix */
[dir="rtl"] .milk-slider-nav {
    flex-direction: row-reverse;
}

/* Info Side */
.milk-info-side {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.milk-bottle-wrapper {
    margin-bottom: 30px;
    transition: var(--transition);
}

.milk-bottle-wrapper:hover {
    transform: translateY(-8px) scale(1.03);
}

.milk-bottle-img {
    height: 320px;
    width: auto;
    object-fit: contain;
}

.milk-description {
    max-width: 450px;
    text-align: center;
}

.milk-description p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary-color);
}

.milk-description strong {
    font-weight: 800;
}

[dir="rtl"] .milk-description p {
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .milkSwiper {
        max-width: 400px;
        height: 500px;
    }

    .milk-bottle-img {
        height: 350px;
    }
}

@media (max-width: 991px) {
    .milk-products-section {
        min-height: auto;
        padding: 40px 10px;
    }

    .milk-products-wrapper {
        flex-direction: column !important;
        gap: 30px;
        align-items: center;
        padding: 0 10px;
    }

    .slider-side,
    .milk-info-side {
        width: 100%;
        flex: none;
    }

    .milkSwiper {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 0;
    }

    .milkSwiper .swiper-wrapper,
    .milkSwiper .swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .milk-card {
        min-height: auto;
        height: auto;
    }

    .milk-card img {
        height: auto;
    }

    .milk-bottle-img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .milk-info-side {
        padding: 0;
    }

    .milk-description {
        max-width: 100%;
        padding: 0 10px;
    }

    .milk-description p {
        font-size: 16px;
    }

    .milk-slider-nav {
        justify-content: center;
        width: 100%;
        padding: 0 10px;
    }

    .milk-prev,
    .milk-next {
        min-width: 45px;
        min-height: 45px;
    }
}

@media (max-width: 991px) {
    .category-sidebar {
        width: 100%;
        min-width: auto;
        margin-top: 24px;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .milk-products-section {
        padding: 30px 8px;
    }

    .milk-products-wrapper {
        gap: 25px;
    }

    .milkSwiper {
        padding: 0;
    }

    .milk-card {
        min-height: 220px;
    }

    .milk-bottle-img {
        max-width: 280px;
    }

    .milk-description {
        padding: 0 12px;
    }

    .milk-description p {
        font-size: 15px;
    }

    .milk-prev,
    .milk-next {
        width: 45px;
        height: 45px;
        font-size: 15px;
    }
}

/* Branches Map Section */
.branches-map-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.branches-map-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
}

[dir="rtl"] .branches-map-wrapper {
    flex-direction: row-reverse;
}

[dir="ltr"] .branches-map-wrapper {
    flex-direction: row-reverse;
}

.map-side {
    flex: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-side img {
    width: 100%;
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
    transition: transform 0.5s ease;
}

.map-side:hover img {
    transform: scale(1.02);
}

.branches-list-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.branch-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
    padding: 10px;
    border-radius: 15px;
}

[dir="rtl"] .branch-item {
    flex-direction: row-reverse;
}

[dir="ltr"] .branch-item {
    flex-direction: row-reverse;
}

.branch-item:hover {
    background: rgba(0, 110, 55, 0.03);
    transform: translateX(-5px);
}

[dir="ltr"] .branch-item:hover {
    transform: translateX(5px);
}

.branch-info {
    flex: 1;
    text-align: right;
}

[dir="ltr"] .branch-info {
    text-align: left;
}

.branch-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
    line-height: 1.2;
}

.branch-info p {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.branch-icon {
    flex-shrink: 0;
    margin-top: 5px;
}

.branch-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Responsive for Branches Map */
@media (max-width: 1200px) {
    .branches-map-wrapper {
        gap: 40px;
    }

    .map-side img {
        max-width: 700px;
    }
}

/* Tablet Styles */
@media (max-width: 991px) {
    .branches-map-section {
        padding: 60px 0;
    }

    .branches-map-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .map-side {
        width: 100%;
        order: 1;
        max-width: 600px;
    }

    .map-side img {
        max-width: 100%;
        height: auto;
    }

    .branches-list-side {
        width: 100%;
        order: 2;
        padding: 0 20px;
        max-width: 600px;
    }

    .branch-item {
        justify-content: center;
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .branch-item:last-child {
        border-bottom: none;
    }

    .branch-info {
        text-align: center !important;
    }

    .branch-item {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .branch-icon {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .branch-info h3 {
        font-size: 18px;
    }

    .branch-info p {
        font-size: 14px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .branches-map-section {
        padding: 40px 0 !important;
    }

    .branches-map-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }

    .map-side {
        width: 100% !important;
        order: 1 !important;
        max-width: 100% !important;
    }

    .map-side img {
        max-width: 100% !important;
        height: auto !important;
    }

    .branches-list-side {
        width: 100% !important;
        order: 2 !important;
        padding: 0 15px !important;
        max-width: 100% !important;
    }

    .branch-item {
        flex-direction: column-reverse !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .branch-item:last-child {
        border-bottom: none !important;
    }

    .branch-info {
        text-align: center !important;
    }

    .branch-info h3 {
        font-size: 17px !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }

    .branch-info p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    .branch-icon {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }

    .branch-icon img {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .branches-map-section {
        padding: 30px 0 !important;
    }

    .branches-map-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 25px !important;
    }

    .branches-list-side {
        width: 100% !important;
        padding: 0 10px !important;
        max-width: 100% !important;
    }

    .branch-item {
        flex-direction: column-reverse !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .branch-item:last-child {
        border-bottom: none !important;
    }

    .branch-info {
        text-align: center !important;
    }

    .branch-info h3 {
        font-size: 16px !important;
        text-align: center !important;
        margin-bottom: 6px !important;
    }

    .branch-info p {
        font-size: 12px !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }

    .branch-icon {
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }

    .branch-icon img {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Footer Styles */
.footer {
    background: #f8faf7;
    color: #333;
    padding: 60px 0 20px;
    font-family: var(--font-family);
    border-top: 1px solid rgba(0, 110, 55, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    direction: rtl;
}

[dir="ltr"] .footer-content {
    direction: ltr;
}

.footer-col h3 {
    color: #006E37;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Column 1: Newsletter & Contact */
.newsletter-section {
    margin-bottom: 30px;
}

.newsletter-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-input:focus {
    outline: none;
    border-color: #006E37;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    background: #006E37;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.newsletter-btn:hover {
    background: #e62e2e;
    transform: translateY(-2px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #555;
}

.contact-item i {
    color: #006E37;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Column 2: Products & Column 3: Navigation */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #006E37;
    transform: translateX(5px);
}

[dir="rtl"] .footer-links a:hover {
    transform: translateX(-5px);
}

/* Column 4: Company Info */
.company-info {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 140px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

.since {
    font-size: 12px;
    color: #006E37;
    margin-bottom: 2px;
}

.brand {
    font-size: 14px;
    color: #666;
}

.company-info p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.app-downloads {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.app-btn {
    display: block;
    transition: var(--transition);
}

.app-btn:hover {
    transform: translateY(-3px);
}

.app-btn img {
    height: 40px;
    width: auto;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #006E37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-link:hover {
    background: #006E37;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.tqnia-logo {
    height: 20px;
    width: auto;
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-col {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
        padding: 0 15px;
    }

    /* Make column 1 (company info) and column 4 (newsletter) full width */
    .footer-col-1,
    .footer-col-4 {
        grid-column: 1 / -1;
    }

    /* Make column 2 (navigation) and column 3 (products) appear side by side */
    .footer-col-2,
    .footer-col-3 {
        grid-column: span 1;
    }

    .footer-col {
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-btn {
        width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }

    .app-downloads {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        padding: 0 10px;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    .app-btn img {
        height: 35px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .milk-products-section {
        padding: 20px 6px;
    }

    .milk-products-wrapper {
        gap: 18px;
    }

    .milkSwiper {
        padding: 0;
    }

    .milk-card {
        min-height: 200px;
        border-radius: 18px;
    }

    .milk-bottle-img {
        max-width: 240px;
    }

    .milk-description {
        padding: 0 8px;
    }

    .milk-description p {
        font-size: 14px;
    }

    .milk-prev,
    .milk-next {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
}

.product-filter-section {
    width: 100%;
    padding: 80px 0;
    background: #f7fbf7;
}

.product-filter-section .container {
    max-width: 95%;
    /* padding: 0 24px; */
}

.product-filter-section .section-head {
    max-width: 900px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.8;
}

.product-filter-grid {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.product-filter-main {
    flex: 1;
    min-width: 0;
}

.weight-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 32px;
}

.filter-pill {
    border: 1px solid rgba(0, 110, 55, 0.15);
    background: #fff;
    color: #333;
    padding: 12px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    min-width: 110px;
    text-align: center;
}

.filter-pill.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.filter-pill:hover {
    transform: translateY(-2px);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.product-card {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-card-image {
    position: relative;
    margin: 10px;
    /* padding: 18px; */
    border-radius: 28px;
    background: #f8faf7;
    overflow: hidden;
    height: 300px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    background: #f8faf7;
}

.product-card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(0, 110, 55, 0.18);
}

.product-card-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.product-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    /* margin-bottom: 16px; */
}

.product-card-stats {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #555;
    font-size: 14px;
    margin-inline-start: auto;
}

.product-card-stats span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #777;
}

.product-card-stats i {
    color: #FFD250;
    font-size: 14px;
}

.product-card-title {
    font-size: 16px;
    margin: 0;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    text-align: left;
}

[dir="rtl"] .product-card-title {
    text-align: right;
}

.product-card-subtitle {
    font-size: 14px;
    color: #5f6b61;
    margin: 12px 0 12px;
    line-height: 1.75;
}

.product-card-subtitle.collapsed {
    max-height: 5.2em;
    overflow: hidden;
}

.product-card-subtitle .read-more-toggle {
    display: inline-block;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-inline-start: 8px;
    vertical-align: middle;
}

.product-card-subtitle .read-more-toggle:hover {
    text-decoration: underline;
}

.read-more-toggle:hover {
    text-decoration: underline;
}

.product-card-price-row {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 8px;
    /* margin-bottom: 16px; */
    flex-wrap: nowrap;
}

.product-card-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(0, 110, 55, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
}

.product-card-old-price {
    font-size: 14px;
    color: #9aa29f;
    text-decoration: line-through;
}

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-card-price {
    font-size: 24px;
    font-weight: 600;
    color: #111;
}

.btn-cart {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: var(--primary-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cart:hover {
    background: #005a2d;
    transform: translateY(-1px);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #444;
    font-size: 14px;
    font-weight: 700;
}

.product-card-rating i {
    color: var(--primary-color);
}

.category-sidebar {
    width: 280px;
    min-width: 220px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 76px;
    box-shadow: none;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 10px;
    border-radius: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    color: #006E37;
}

.category-item.active {
    font-weight: 700;
    position: relative;
}

.category-item:hover,
.category-item.active {
    text-decoration: none;
}

.category-item::after {
    content: '';
    width: 0;
    height: 3px;
    background: #006E37;
    border-radius: 2px;
    transition: width 0.25s ease;
    margin-top: 6px;
}

.category-item:hover::after,
.category-item.active::after {
    width: 60%;
}

.category-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.product-card {
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.category-item span {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.product-loader {
    padding: 70px 0;
    text-align: center;
    color: #666;
}

.product-loader::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 4px solid rgba(0, 110, 55, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.product-empty {
    padding: 70px 0;
    text-align: center;
    color: #777;
    font-size: 16px;
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .product-filter-grid {
        flex-direction: column-reverse;
    }

    .category-sidebar {
        width: 100%;
        min-width: auto;
    }

    .product-filter-main {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .product-filter-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .weight-filter {
        gap: 12px;
        margin-bottom: 24px;
    }

    .filter-pill {
        min-width: 0;
        padding: 11px 16px;
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card-image {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .product-filter-section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .product-card {
        border-radius: 22px;
    }

    .product-card-image {
        height: 220px;
    }

    .product-card-content {
        padding: 18px;
    }

    .product-card-title {
        font-size: 18px;
    }

    .product-card-stats {
        font-size: 13px;
    }
}