/* font */
@font-face {
    font-family: "Raleway-regular";
    src: url(../fonts/Raleway-Regular.ttf)
}

@font-face {
    font-family: "Raleway-medium";
    src: url(../fonts/Raleway-Medium.ttf)
}

@font-face {
    font-family: "Raleway-bold";
    src: url(../fonts/Raleway-Bold.ttf)
}

@font-face {
    font-family: "Raleway-semibold";
    src: url(../fonts/Raleway-SemiBold.ttf)
}

@font-face {
    font-family: "Raleway-black";
    src: url(../fonts/Raleway-Black.ttf)
}

@font-face {
    font-family: "Raleway-extrabold";
    src: url(../fonts/Raleway-ExtraBold.ttf)
}

/* colors */

#hr {
    fill: var(--primary);
}

:root {
    --primary: #3090c7;
    --primary-light: #e0f2fe;
    --secondary: #0f172a;
    --ternary: #64748b;
    --danger: #ef4444;
    --pure: #ffffff;
    --light: #f8fafc;
    --heaven: #ffffff;
    --footer: #0f172a;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(226, 232, 240, 0.8);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);

    /* Use theme variables where possible */
    --main-bg: var(--bg-color, #ffffff);
    --main-text: var(--text-color, #1a1a1a);
}

/* Reset */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

body {
    --webkit-font-smoothing: antialiased;
    font-family: "Raleway-regular";
    overflow-x: hidden !important;
}

.nav-trigger {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 15px;
}

.nav-trigger svg {
    transform: rotate(90deg) scaleX(-1);
    width: 40px;
    height: 40px;
}

.site-content-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    background: var(--heaven);
    z-index: 2;
    transition: all .3s ease;
}

.site-content-wrapper.scaled {
    transform: scale(0.9) translateX(90%);
    border-radius: 3px;
    box-shadow: 0 3px 10px 0 var(--secondary);
}

.site-content {
    width: 100%;
    height: 100%;
    overflow-x: auto;
}

header.topbar {
    background: var(--secondary);
    color: var(--pure);
    font-family: "Raleway-semibold";
    padding: 0.75rem 0;

}

header.topbar .auth>div a {
    color: var(--pure);
    text-decoration: none;
}

header.topbar .auth>div img {
    margin-right: 0.35rem;
}

header.topbar .icons a {
    margin-right: 0.6rem;
}

header.topbar .auth .flex {
    display: flex;
}

.items-center {
    align-items: center;
}

nav.top {
    padding: 1.5rem 0;
}

nav .top .contact h5,
nav .top .time h5 {
    font-family: "Raleway-black";
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

nav .top .contact h6,
nav .top .time h6 {
    font-family: "Raleway-medium";
    letter-spacing: 0.055rem;
    font-size: 1rem;
    color: var(--ternary);
}

nav .top .contact img,
nav .top .time img {
    margin-right: 1rem;
}

nav .navbar a {
    text-decoration: none;
    color: var(--pure);
    font-family: "Raleway-semibold";
    font-size: 1rem;
    /* padding: 1rem 1.5rem; */
    padding: 1rem 3rem;
    transition: all .3s ease;
}

nav .navbar a.active {
    background: var(--primary);
    color: var(--pure);
}

nav .navbar a:hover {
    background: var(--primary);
    color: var(--pure);
}

/* Modern Shadow Replacement */
.magic-shadow,

.magic-shadow:hover,
.magic-shadow-sm:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Removed old image-based pseudo-elements for shadows */
.magic-shadow::after,
.magic-shadow-sm:after {
    display: none;
}

header.hero {
    min-height: 600px;
    /* Changed from fixed height to min-height */
    /* background-image: url(../images/hero.png); */
    background-repeat: no-repeat;
    background-position: 0% 0%;
    overflow: hidden;
    display: flex;
    /* Added flex to center content */
    align-items: center;
}

header .hero .container {
    position: relative;
}

header.hero .welcome span {
    font-family: "Raleway-bold";
    color: --var(--secondary);
    margin-right: 0.75rem;
    margin-bottom: 0.25rem;
}

header.hero h1 {
    font-family: "Raleway-extrabold";
    color: var(--secondary);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

header.hero h1 span {
    color: var(--primary);
}

section.about-meal h2 span {
    color: var(--primary);
}

header.hero p {
    font-family: "Raleway-medium";
    width: 90%;
    /* Increased for better mobile view default, md can override */
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--ternary);
}

@media(min-width: 768px) {
    header.hero p {
        width: 80%;
    }
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    border: none;
    line-height: 1;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: "Raleway-bold";
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: var(--heaven);
    color: var(--primary);
    border: 1px solid var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(48, 144, 199, 0.4);
}

.btn-whatsapp {
    background: green;
    color: var(--heaven);
}

.btn-whatsapp:hover {
    background: var(--heaven);
    color: green;
    border: 1px solid green;
}

.btn-secondary:hover {
    background: var(--heaven);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    transform: translateY(-2px);
}

header.hero button:first-child {
    margin-right: 0.50rem;
}

header.hero .hero-image {
    position: absolute;
    top: 300px;
    right: 10px;
}

section {
    padding: 5rem 0;
    /* Fixed invalid padding */
    position: relative;
}

section .section-heading {
    font-family: "Raleway-bold";
    text-align: center;
    position: relative;
    padding-top: 1rem;
    margin-bottom: 4rem;
}

.section-heading:after {
    content: '';
    display: block;
    width: 100px;
    /* Fixed width */
    height: 3px;
    background: var(--primary);
    /* CSS line instead of image */
    background-image: none;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

section.top-products .machine-slider section.top-products .machine-slider .machine-card .product-image img {
    width: 100%;
    height: 220px;
    padding-bottom: 1rem;
    object-fit: contain;
    transition: transform 0.3s ease;
}

section.top-products .machine-slider .machine-card:hover .product-image img {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

hr {
    border: 0;
    border-top: 1px solid #f0f0f0;
    /* McLean border */
    margin: 1rem 0;
}

section.top-products .machine-slider .machine-card h2 {
    font-family: "Raleway-bold";
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.text-center {
    text-align: center;
}

section.top-products .machine-slider .machine-card .stars img {
    margin-right: 0.25rem;
}

section.top-products .machine-slider .machine-card section.top-products .machine-slider .machine-card .price {
    font-weight: "Raleway-medium";
    color: var(--danger);
    margin-bottom: 1rem;
}

section.top-products .machine-slider .machine-card button {
    font-family: "Raleway-medium";
    color: var(--secondary);
    background: var(--heaven);
    border: 2px solid var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content */
    width: auto;
    /* Auto width */
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    /* Center button */
}

section.top-products .machine-slider .machine-card button:hover {
    background-color: var(--primary);
    color: var(--heaven);
}

.machine-slider .machine-card button img {
    display: none;
    /* Hide button image if it breaks layout or replace with CSS icon */
}

.slick-slide {
    margin: 0;
    /* Let container handle margins */
    padding: 0 10px;
}

.top-products .slider-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary);
    border-radius: 50%;
    /* Circle buttons */
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
}

.top-products .slider-btn:hover {
    background: var(--secondary);
}

.prev-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    z-index: 10;
}

.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    z-index: 10;
}

.top-products .slider {
    position: relative;
    padding: 0 20px;
    /* Space for buttons */
}

.top-products section.about-meal img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section.about-meal h2 {
    font-family: "Raleway-bold";
    font-size: 2rem;
    /* Increased size */
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.section.about-meal p {
    line-height: 1.7;
    font-size: 1.1rem;
    /* Standardized size */
    margin-bottom: 2rem;
    color: #555;
    text-align: justify;

}

section section.our-services section.our-services .service-card {
    background: var(--heaven);
    text-align: center;
    padding: 3rem 2rem;
    padding-top: 4rem;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 2rem;
    /* Bottom margin */
    border-radius: 8px;
    /* Clean radius */
    margin-right: 0;
    /* Reset */
    height: 100%;
    /* Equal height */
    border: 1px solid transparent;
    transition: all 0.3s;
}

section.our-services .service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

section.our-services .service-card .icon {
    position: absolute;
    top: -30px;
    /* Adjusted */
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--heaven);
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

section.our-services .service-card h2 {
    font-family: "Raleway-bold";
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;

}

section.our-services .service-card p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #666;
}

section section.big-deal .timer {
    display: flex;
    align-items: center;
    margin-right: -2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

section.big-deal .timer div {
    margin-right: 2rem;
    background: var(--primary);
    width: 600px;
    height: 150px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section.big-deal .timer div span:first-child {
    font-family: "Raleway-semibold";
    font-size: 2.5rem;
    color: var(--heaven);
    margin-bottom: 0.05rem;

}

section.big-deal .timer div span:last-child {
    font-family: "Raleway-medium";
    color: var(--heaven);
}

section section.subscribe .container>div:first-child img {
    width: 90%;

}

section.subscribe .container div:first-child {
    flex: 1;
}

section.subscribe .container div:last-child {
    flex: 1;
}

section.subscribe h1 {
    font-family: "Raleway-bold";
    font-size: 1.5rem;
    margin-bottom: 3rem;

}

section.subscribe p {
    font-family: "Raleway-medium";
    font-size: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    line-height: 1.5;
}

section.subscribe section.subscribe .input-wrap input {
    width: 100%;
    border: none;
    padding: 0 1rem;
    font-size: 1rem;
}

section.subscribe .input-wrap input:focus {
    outline: none;
}

section.subscribe .input-wrap button {
    padding: 0.5rem 2rem;
    border: none;
    background: var(--primary);
    color: var(--pure);
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;

}

section.subscribe .input-wrap button:hover {
    background: var(--secondary);
}

section.contact-us section.contact-us .map {
    flex: 1;
    min-height: 450px;
    /* Ensure map has good visibility */
    height: 100%;

}

section section.contact-us .contact-info {
    display: flex;
    justify-content: center;
}

section.contact-us .contact-info>div>div {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

section.contact-us .contact-info>div>div img {
    margin-right: 1rem;
}

section.contact-us .contact-info>div>div>div {
    display: flex;
    flex-direction: column;

}

section.contact-us .contact-info>div>div>div span:first-child {
    font-family: "Raleway-bold";
    margin-bottom: 0.25rem;
}

footer {
    background: var(--footer);
    padding: 4rem 0;
}

footer .container {
    display: flex;
    color: var(--pure);
}

footer .box {
    flex: 1;
    margin-right: 2rem;
    text-align: center;
}

footer .instagram-api img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer .instagram-api footer .instagram-api .post-wrap div {
    width: calc(1/3*100% - (1-1/3)*10px);
    margin-bottom: 10px;
}

footer .box ul {
    list-style-type: none;
}

footer .box ul li a {
    color: var(--pure);
    text-decoration: none;
    transition: all .3s ease;
}

footer .box ul li a:hover {
    color: var(--primary);

}

footer .box h3 {
    border-bottom: 1px solid var(--primary);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

footer .box p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

footer .box ul li {
    margin-bottom: 1rem;
}

footer .box:nth-child(3)>div {
    display: flex;
    justify-content: center;
}

footer .box:nth-child(3)>div {
    text-align: left;
}

footer .box:nth-child(3) h3 {
    text-align: center;
}

footer .box:nth-child(3)>div img {
    margin-right: 1rem;
}

footer .box:nth-child(3)>ul li {
    margin-bottom: 1.5rem;
}

footer footer.copyright a {
    color: var(--primary);
    text-decoration: none;
}

.center {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    flex-direction: row;
    font-size: 1.25rem;
}

.image {
    float: right;
}

.text {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.text span {
    color: var(--primary);
    font-weight: 900;
}

/* Responsive */

@media (max-width: 1200px) {
    .center {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin: 10px 0px;
        font-size: 1.5625rem;
    }

    nav {
        text-align: center;
    }

    .image {
        float: none;
        display: flex;
        justify-content: center;
    }

    .text {
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .text h1 p {
        text-align: center;
    }

    .text span {
        font-size: 3.125rem;
        justify-content: center;
        align-items: center;
    }

}

@media (max-width: 930px) {
    .image {
        display: block;
        height: auto;
    }
}

/* Added for new Header Navigation */
.hover-animate {
    transition: all 0.3s ease;
}

.hover-animate:hover {
    background-color: #3090c7;
    color: #ffffff !important;
}

body {
    font-family: sans-serif;
    background-color: #ffffff;
    /* Gear pattern simulation */
    background-color: #ffffff;
    background-size: 100px 100px;
    background-position: 0 0, 20px 20px;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.logo-center img {
    max-height: 100px;
}

.logo-center h2 {
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Circular Navigation */
/* Modern Rounded Navigation Cards */
.modern-nav-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Ensure equal height */
    gap: 2rem;
    padding: 4rem 1rem;
    flex-wrap: wrap;
    max-width: 1400px;
    /* Limit width for large screens */
    margin: 0 auto;
}

.modern-nav-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.5rem;
    /* Reduced padding */
    width: 250px;
    text-decoration: none;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.modern-nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(48, 144, 199, 0.2);
}

.modern-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), #5bc0de);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-nav-card:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    height: 120px;
    border-radius: 20px;
    /* Soft rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

.modern-nav-card:first-child .card-icon-wrapper,
.modern-nav-card:last-child .card-icon-wrapper {
    width: 120px;
}

.modern-nav-card:hover .card-icon-wrapper {
    transform: scale(1.05);
}

/* Home Icon Specific */
.home-wrapper {
    background: linear-gradient(135deg, rgba(48, 144, 199, 0.1) 0%, rgba(26, 92, 133, 0.1) 100%);
}

.home-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a5c85 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* Image Wrappers */
.card-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-nav-card:hover .card-icon-wrapper img {
    transform: scale(1.1);
}

/* Valve/Coming Soon Specific */
.valve-wrapper {
    width: 120px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    flex-direction: column;
    gap: 0.5rem;
}

.valve-text {
    font-size: 3.5rem;
    color: var(--light);
}

.coming-soon-badge {
    background: var(--footer);
    color: #232B38;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-content h5 {
    font-family: "Raleway-bold";
    font-size: 1.1rem;
    margin: 0;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.modern-nav-card:hover .card-content h5 {
    color: var(--primary);
}

/* Footer & Responsive Adjustments */
footer {
    margin-top: auto;
}

@media (max-width: 768px) {
    .modern-nav-container {
        gap: 1rem;
        padding: 2rem 1rem;
    }

    .modern-nav-card {
        width: calc(50% - 1rem);
        /* 2 per row on tablet/mobile */
        padding: 1rem;
    }

    .card-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .home-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .modern-nav-card {
        gap: 1rem;
    }

    .card-icon-wrapper {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .card-icon-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .modern-nav-card::before {
        width: 4px;
        height: 100%;
        left: 0;
        top: 0;
    }
}

/* Gear Background Pattern */
.gear-background {
    background-color: #ffffff;
}

/* CTA Buttons */
.product-cta {
    display: flex;
    gap: 1rem;
}

.btn-whatsapp-modern {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: "Raleway-semibold";
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.btn-whatsapp-modern i {
    font-size: 1.2rem;
}

.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: "Raleway-semibold";
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-view-details:hover {
    background: var(--primary);
    transform: translateY(-2px);
    color: #fff;
}

/* Legacy Row-Style Product Cards (Enhanced) */
.product-card-row {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 2.5rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), #5bc0de);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card-row:hover::before {
    opacity: 1;
}

.product-card-row:hover {
    transform: translateX(5px);
    box-shadow: 0 20px 50px rgba(48, 144, 199, 0.15);
}

.product-card-row .description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-card-row .description h2 {
    font-family: "Raleway-bold";
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.product-card-row .description h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.product-card-row .price {
    font-family: "Raleway-bold";
    font-size: 2rem;
    color: var(--primary);
    margin: .8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ZigZag Layout Enhancement */
.product-card-row .product-card-row.zig-zag-reverse::before {
    left: auto;
    right: 0;
}

.product-card-row.zig-zag-reverse:hover {
    transform: translateX(-5px);
}

@media (min-width: 768px) {
    .product-card-row.zig-zag-reverse .row {
        flex-direction: row-reverse;
    }
}

/* Product Image Zoom Container */
.xzoom-container {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f5f7fa 100%);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.xzoom-container .xzoom,
.xzoom-container [class^="xzoom"] {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.xzoom-thumbs .active {
    border: 1px solid var(--primary);
    box-shadow: inset 3px 2px 10px var(--primary) !important;
}

.xzoom-container:hover .xzoom,
.xzoom-container:hover [class^="xzoom"] {
    transform: scale(1.02);
}

.xzoom-thumbs {
    margin-top: 1rem;
    padding: 1rem 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.xzoom-gallery,
[class^="xzoom-gallery"] {
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    opacity: 0.7;
    height: 70px !important;
    width: 70px !important;
}

.xzoom-gallery:hover,
[class^="xzoom-gallery"]:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(48, 144, 199, 0.3);
}

/* Product Page Container */
.product-page {
    padding: 2rem 0;
}

/* No Results State */

.no-products i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-products h3 {
    font-family: "Raleway-bold";
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.no-products p {
    color: var(--ternary);
}

/* Loading Animation */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===============================================
   RESPONSIVE DESIGN - Mobile First Approach
   =============================================== */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .product-hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .product-hero p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .section-title-modern h2 {
        font-size: 1.75rem;
    }

    .filter-container {
        gap: 0.5rem;
        padding: 1rem;
        margin: 0 0.5rem 2rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        flex: 0 0 calc(50% - 0.5rem);
        text-align: center;
    }

    .filter-btn i {
        display: none;
    }

    .product-card-modern {
        border-radius: 15px;
    }

    .product-image-container .product-details h3 {
        font-size: 1.25rem;
    }

    .product-price {
        font-size: 1.25rem;
    }

    .product-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-whatsapp-modern,
    .btn-view-details {
        width: 100%;
        padding: 0.9rem;
    }

    /* Row Style Cards Mobile */
    .product-card-row {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
        border-radius: 15px;
    }

    .product-card-row .description h2 {
        font-size: 1.3rem;
        text-align: center;
    }

    .product-card-row .description h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .product-card-row .price {
        font-size: 1.4rem;
        justify-content: center;
    }

    .product-card-row .xzoom-container {
        padding: 1rem;
    }

    .xzoom-container img.xzoom,
    .xzoom-container [class^="xzoom"]:not(.xzoom-thumbs):not([class*="gallery"]) {
        max-height: 250px !important;
    }

    .xzoom-thumbs img {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .product-hero h1 {
        font-size: 2.2rem;
    }

    .section-title-modern h2 {
        font-size: 2rem;
    }

    .filter-container {
        margin: 0 1rem 2.5rem;
    }

    .filter-btn {
        flex: 0 0 auto;
    }

    .product-card-row {
        padding: 1.5rem;
    }

    .product-card-row .description h2 {
        font-size: 1.4rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .product-hero h1 {
        font-size: 2.5rem;
    }

    .product-image-container .product-card-row {
        padding: 1.75rem;
    }

    .product-card-row .description {
        margin-left: 1.5rem;
        margin-right: 0;
    }

    .product-card-row.zig-zag-reverse .description {
        margin-right: 1.5rem;
        margin-left: 0;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {

    .product-card-row .description {
        margin-left: 2rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    .product-card-row {
        padding: 2.5rem;
    }

    .product-card-row .description {
        margin-left: 2.5rem;
    }

    .product-card-row.zig-zag-reverse .description {
        margin-right: 2.5rem;
        margin-left: 0;
    }
}

/* Animations for Product Filtering */
.product-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-item.hidden {
    display: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects Enhancement */
@media (hover: hover) {
    .product-card-modern:hover .filter-btn:active {
        transform: scale(0.98);
    }
}

/* Print Styles */
@media print {

    .filter-container,
    .product-cta {
        display: none;
    }

    .product-card-modern,
    .product-card-row {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* Accessibility - Focus States */
.filter-btn:focus,
.btn-whatsapp-modern:focus,
.btn-view-details:focus {
    outline: 3px solid rgba(48, 144, 199, 0.5);
    outline-offset: 2px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility Classes for Refactored Inline Styles */
.cart-icon {
    height: 15px;
}

.icon-lg {
    width: 40px;
    height: 40px;
}

.main-logo {
    max-height: 80px;
}

.nav-link-custom-active {
    background-color: var(--primary);
}

/* Custom Button Styles */
.btn-outline-light {
    transition: all 0.3s ease;
    background-color: transparent;
    border-color: var(--heaven);
}

.btn-outline-light:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--heaven);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-light:active {
    transform: translateY(0);
    box-shadow: none;
}

footer {
    background: #0f172a !important;
    border-top: 3px solid var(--primary);
}

@media screen and (max-width: 991px) {
    footer {
        border-top: none;
    }

    .footer-glass-container {
        padding-top: 40px !important;
    }
}