/* ==========================================================================
   1. IMPORTS, RESET, & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Cinzel:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: poppins;
    z-index: 1;
}

:root {
    --background: #F6F2EE;
    --background2: #46483B;
    --primary-color: #46483B;
    --secondary-color: #273041;
    --text-on-primary: #CDB028;
    --text-on-secondary: #000000;
    --discount-color: #e74c3c;
    --discount-bg: #ffebee;
    --font2: "cinzel";
    --font1: "poppins";
    --primary-color-invert: #FFFFFF;
}

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

html,
body {
    background-color: whitesmoke;
    width: 100%;
    /* Change this from 100% to auto */
    height: auto;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    /* Remove overflow-y: auto; to let the window handle scrolling */
    min-height: 100vh;
    font-size: 16px;
    color: var(--background2);
}

/* Helper Class */
.hidden {
    opacity: 0;
}

body.popup-open {
    overflow: hidden;
}

/* ==========================================================================
   2. GLOBAL ELEMENTS
   ========================================================================== */
a {
    text-decoration: none;
    transition: color 0.1s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Optional, removes unwanted space below the image */
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 88%;
}

.btn {
    background-color: var(--text-on-primary);
    color: var(--background);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.section-title h2 {
    font-size: 3.3vw;
    color: white;
    font-family: var(--font2);
    text-transform: uppercase;
    letter-spacing: 1px;
    align-items: flex-start;
    position: relative;
    width: 100%;
    font-weight: normal;
    text-align: center;
}

/* ==========================================================================
   3. HEADER (DESKTOP & MOBILE BASE)
   ========================================================================== */
header {
    background-color: #46483B;
    color: #CDB028;
    width: 100%;
    position: fixed;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

/* Desktop Header */
.desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    min-height: 70px;
}

.header-nav {
    padding: 0 15px;
}

.header-nav.logo {
    flex: 1;
    font-family: 'Cinzel';
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 1px;
}

.header-logo {
    color: #CDB028;
    text-decoration: none;
    font-family: 'Cinzel';
    font-weight: 400;
    font-size: 40px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link {
    color: #CDB028;
    text-decoration: none;
    font-family: 'Poppins';
    font-weight: 400;
    font-size: 26px;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.header-nav:not(.logo) .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #CDB028;
    transition: width 0.3s ease;
}

.header-nav:not(.logo) .nav-link:hover::after {
    width: 100%;
}

/* Mobile Header Base Styles */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 70px;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.hamburger-menu {
    background: none;
    border: none;
    color: #CDB028;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}


.mobile-header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    color: #CDB028;
    font-size: 20px;
    cursor: pointer;
}

/* Mobile Navigation Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: left 0.4s ease;
    z-index: 1100;
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
    z-index: 9999;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav-links a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--secondary-color);
    background-color: rgba(231, 76, 60, 0.1);
}

.mobile-nav-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.mobile-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.mobile-nav-icon:hover {
    background-color: var(--accent-color);
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    color: var(--background);
    text-align: center;
    padding: 300px 20px;
    margin-left: 8%;
    margin-right: 8%;
    margin-bottom: 1.11vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
    /* background-image cannot be smoothly tweened — use layered elements and animate opacity instead */
    border-top-right-radius: 150px;
    border-bottom-left-radius: 150px;
    height: auto;
    min-height: 600px;
    margin-top: 12.2vh;
    background-blend-mode: overlay;
    /* removed conflicting max-height */
    max-height: 85vh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 900ms ease-in-out;
    opacity: 0;
    will-change: opacity;
    transform: translateZ(0);
    z-index: 0;
}

.hero-bg.visible {
    opacity: 1;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* ensure content sits above background layers */
}

.hero-title {
    font-size: 8vw;
    font-family: 'Cinzel';
    color: var(--text-on-primary);
}

.hero-btn-pos {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 10;
}

.hero-btn {
    background-color: rgba(255, 255, 255, 0.5);
    color: white;
    padding: 12px 40px;
    text-decoration: none;
    border-radius: 30px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.8em;
    line-height: 1.2;
    height: auto;
    display: inline-block;
    min-width: 220px;
    font-weight: 500;
    white-space: nowrap;
    margin-bottom: -30vh;
}

.hero-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(3px) translateX(-50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--background);
}

/* ==========================================================================
   5. ABOUT US SECTION
   ========================================================================== */
.about-us {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 20px;
    position: relative;
    align-items: start;
    justify-content: center;
}

.about-content {
    display: flex;
    justify-items: first baseline;
    margin-top: 3vw;
    line-height: 1.8;
    color: #555;
    font-size: 17px;
    text-align: justify;
    flex-direction: column;
    align-items: flex-start;
}

.about-tag {
    display: flex;
    justify-content: center;
    color: white;
    font-family: var(--font2);
    background-color: #46483B;
    bottom: 0px;
    padding: 5px 25%;
    border-radius: 0 80px 0 20px;
    position: relative;
    align-items: start;
    justify-content: left;
    font-size: 25px;
    margin-right: -25vw;
    white-space: nowrap;
}

.about-tagasd {
    display: flex;
    z-index: 5;
    justify-content: center;
    background-color: #46483B;
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 2vw;
    padding: 0.6vw 1.2vw;
    border-bottom-left-radius: 15px;
    border-top-right-radius: 40px;
    font-family: var(--font2);
    color: var(--background);
    text-align: center;
    width: auto;
    min-width: 200px;
    max-width: 80%;
    white-space: nowrap;
}


.about-picture {
    grid-column: 1;
    position: relative;
}

.about-picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 100px 20px 0 0;
}

.container.squish-container {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.section-title.line {
    margin-top: 0;
    margin-bottom: 20px;
}

.section-title.line h2 {
    font-size: 3.5vw;
    margin: 0;
    color: var(--background2);
    font-weight: 400;
    font-family: "cinzel";
}

.about-content-text {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
}

/* ==========================================================================
   6. HIGHLIGHT / SWIPER SECTION
   ========================================================================== */
.highlight {
    padding: 80px 0 40px;
    background-color: var(--primary-color);
    overflow: hidden;
    z-index: 2;
}

.highlight.container {
    height: 900px;
}

.highlight .container {
    position: relative;
}

.swiper {
    width: 100%;
    height: auto;
    padding: 60px 20px 40px;
    position: relative;
}

.swiper-wrapper {
    align-items: center;
    width: 90%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    opacity: 0.4;
    transform: scale(0.85);
    filter: blur(2px);
    z-index: 1;
    height: auto;
    padding: 10px 0;
    border-top-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

/* Slide sebelumnya (kiri) */
.swiper-slide-prev {
    transform: scale(0.85) translateX(10vw) !important;
    /* Geser ke kanan */
    opacity: 0.7 !important;
    z-index: 2;
}

/* Slide selanjutnya (kanan) */
.swiper-slide-next {
    transform: scale(0.85) translateX(-10vw) !important;
    /* Geser ke kiri */
    opacity: 0.7 !important;
    z-index: 2;
}

/* Slide aktif (tengah) */
.swiper-slide-active {
    opacity: 1 !important;
    transform: scale(1.2) translateX(0) !important;
    /* Tetap di tengah */
    filter: none !important;
    z-index: 3;
}

.swiper-slide:nth-child(odd) {
    transform-origin: center center;
}

.trending-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 0;
    border-radius: 100px 0 100px 0;
    aspect-ratio: 600/900;
}

.card-img-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    margin: 0;
    border: 0;

    display: block;

    z-index: 2;
}

.card-img-container img {
    line-height: 0;
    display: block;
    border: 0;

    z-index: 0;
}


.card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    will-change: transform;


}

.card-img:after {
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.trending-card:hover .card-img {
    transform: scale(1.08);
}

.card-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    width: 50px;
    height: 8vw;
    transition: all 0.3s ease;
    margin-top: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 3rem;
    font-weight: bold;
}

.swiper-button-next:hover {
    transform: translateX(40%) translateY(-50%);
    color: white;
}

.swiper-button-prev:hover {
    color: white;
    transform: translateX(-40%) translateY(-50%);
}

.swiper-button-prev {
    left: 0px;
    transform: translateX(-50%) translateY(-50%);
    z-index: 4 !important;
}

.swiper-button-next {
    right: 0px;
    transform: translateX(50%) translateY(-50%);
    z-index: 4 !important;
}

.swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 8px !important;
}

.swiper-pagination-bullet-active {
    background-color: white;
    transform: scale(1.2);

}

/* ==========================================================================
   7. SHOP LANDING SECTION
   ========================================================================== */
.shop-category-index {
    margin-bottom: 10vw;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 7vw;
    position: relative;
    overflow: visible !important;
    z-index: 9998;
}

.category-title {
    position: relative;
    margin: 0;
}

.category-title h2 {
    background-color: white;
    color: var(--background2);
    font-size: 2vw;
    border: var(--background2) solid;
    border-left: none;
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    padding: 0.3em 2em 0.3em 3em;
    position: relative;
    z-index: 2;
}

.bg-img2 {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-50%);
    transform: scale(1.8);
    max-height: 200%;
    z-index: 0;
    opacity: 0.8;
}

.category-dropdown {
    position: relative;
    display: inline-block;
    z-index: 3;
    margin-right: 7vw;
}

.dropdown-btn {
    background: white;
    border: 3px solid #46483B;
    padding: 4px 130px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--background2);
    white-space: nowrap;
    text-align: center;
    width: auto;
    min-width: max-content;
    align-items: center;
    justify-content: center;
}

.dropdown-arrow {
    margin-left: 5px;
    font-size: 10px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    border-radius: 4px;
    display: none;
    z-index: 100;
    width: 100%;
    min-width: 100%;
    padding-bottom: 9px;
}

.dropdown-item {
    display: block;
    background: white;
    border: 3px solid #46483B;
    padding: 4px 6px;
    text-decoration: none;
    border-radius: 50px;
    color: var(--background2);
    white-space: nowrap;
    text-align: center;
    width: 115%;
    box-sizing: border-box;
    margin-top: 2px;
    line-height: normal;
    vertical-align: middle;
    font-size: 1.4rem;
}

.dropdown-item:hover {
    background: #646464;
    transform: scale(0.98);

}

.category-dropdown .dropdown-menu {
    display: block;
}

/* Prod Item Landing */
.prod-land {
    margin-bottom: 9vw;
    width: 100%;
}

.prod-land-tit {
    text-align: center;
    margin-bottom: 2rem;
}

.prod-land-tit h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    text-transform: capitalize;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-family: var(--font2, "Cinzel"), serif;
    font-weight: 400;
}

.prod-land-tit h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: var(--background2);
}

.cards-slider-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    padding: 0 3rem;
}

.cards-wrapper {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    cursor: grab;
    padding: 1rem 0;
}

.cards-wrapper:active {
    cursor: grabbing;
}

.product-card {
    flex: 0 0 280px;
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(70, 72, 59, 0.1);
    transition: all 0.3s ease;
    font-family: var(--font2, "Cinzel"), serif;
    border-radius: 43px 0;
    color: var(--text-on-primary);
    padding: 20px;
    border: 1px solid #ddd;
    position: relative;
    width: 100%;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;

}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(70, 72, 59, 0.2);
}

/* Product Card with Image Hover Effect */
.product-image-container {
    width: 100%;

    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.product-image.main-image {
    opacity: 1;
    z-index: 1;
}

.product-image.hover-image {
    opacity: 0;
    z-index: 0;
}

/* Only apply hover effect if hover-image exists */
.product-card:has(.hover-image):hover .product-image.main-image {
    opacity: 0;
}

.product-card:has(.hover-image):hover .product-image.hover-image {
    opacity: 1;
}

/* For products without hover image, the main image stays visible */
.product-card:not(:has(.hover-image)) .product-image.main-image {
    position: relative;
}

.card-content {
    color: var(--text-on-primary);
}

.card-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--background2);
    font-weight: 600;
    font-family: var(--font2, "Cinzel"), serif;
}

.product-name {
    font-size: 1rem;
    font-weight: bold;
    font-family: var(--font2);
    color: #333;
    line-height: 1.3;
}

.price {
    font-size: 1rem;
    color: var(--background2);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: var(--font2, "Cinzel"), serif;
}

.product-price {
    font-weight: 300;
    font-family: var(--font2);
    font-size: 0.9em;
    color: #2c3e50;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.9em;
}

.discounted-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2em;
}

/* Discount Badge Styling */
.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 3px 6px rgba(231, 76, 60, 0.3);
}

/* Optional: Add a subtle sale indicator for discounted products */
.product-card:has(.discount-badge) {
    border: 2px solid #ffebee;
    background-color: #ffebee;
}

.product-card:has(.discount-badge)::before {
    content: "SALE";
    position: absolute;
    top: 0;
    left: 0;
    background: #e74c3c;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    z-index: 3;
    letter-spacing: 1px;
}

/* Make price section stand out for discounted items */
.product-card:has(.discount-badge) .product-price {
    padding: 8px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

/* Category styling */
.category {
    display: inline-block;
    background: #ecf0f1;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    margin: 5px 0;
    width: min-content;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    height: min-content;
}

/* Rating styling */
.rating {
    color: #f39c12;
    margin: 5px 0;
}

/* Stock status */
.stock {
    color: #27ae60;
    font-size: 0.9em;
    margin: 5px 0;
}

.out-of-stock {
    color: #e74c3c;
}

/* Add to cart button (hidden by default) */
.add-to-cart {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background 0.3s;
    display: none;
}

.add-to-cart:hover {
    background: #2980b9;
}

.add-to-cart:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* Discount savings highlight */
.discount-savings {
    font-size: 0.85em;
    color: #e74c3c;
    font-weight: 600;
    background: rgba(231, 76, 60, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

/* Product description */
.product-description {
    color: #7f8c8d;
    margin: 10px 0;
    font-size: 0.9em;
    line-height: 1.4;
    flex-grow: 1;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: 2px solid var(--text-on-primary);
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(70, 72, 59, 0.2);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-on-primary);
    font-family: var(--font2, "Cinzel"), serif;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--text-on-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%);
    border-color: #ccc;
}

.slider-arrow:disabled:hover {
    background: var(--background);
    color: var(--primary-color);
    transform: translateY(-50%);
}

.prev-arrow {
    left: 0.5rem;
    display: none;
}

.next-arrow {
    right: 3rem;
    display: none;
}

.otw-cat {
    background-color: whitesmoke;
    display: block;
    text-align: center;
    margin: 1.4rem auto 0;
    width: fit-content;
    padding: 0.2rem 0.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font2, "Cinzel"), serif;
}

.otw-cat:hover {
    transform: translateY(-2px);
}

/* Cat Bottom Button */
.concat {
    display: grid;
    grid-template-rows: auto;
    row-gap: 5px;
    margin-bottom: 80px;
    align-items: center;
    max-width: 12vw;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    justify-content: center;
}

.cat-btn-bot {
    display: flex;
    color: var(--background2);
    background-color: rgba(230, 230, 230, 0.8);
    gap: 20px;
    padding: 10px 35vw;
    white-space: nowrap;
    text-align: center;
    min-width: max-content;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    font-size: 1.4rem;
}

.cat-btn-bot:hover {
    content: "";
    background-color: white;
    transition: 0.3s;
    transform: translateY(3px);
    color: var(--secondary-color);
    border: 5px solid black;
}

/* ==========================================================================
   8. CONTACT US SECTION
   ========================================================================== */
.contact {
    padding: 40px 0;
    background-color: var(--background2);
    scroll-margin-top: 80px;
}

.contact-container {
    margin: 0 auto;
    background-color: var(--background2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title.center {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.section-title-center {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 80px;
}

.section-title-center h2 {
    justify-content: center !important;
    text-align: center !important;
}

.section-title-center.line h2:after {
    display: none;
}

.contact-maps {
    display: grid;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    justify-items: center;
}

.map-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
}

.contact-img {
    width: 100%;
    height: auto;
    border-radius: 5%;
    object-fit: cover;
    margin-bottom: 15px;
}

.map-description {
    text-align: center;
    padding: 10px 5px;
}

.map-description h4 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.map-description p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 900px;
    margin-top: 0;
    justify-items: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    background-color: rgba(52, 152, 219, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

.contact-details p {
    color: white;
}

/* ==========================================================================
   9. SHOP PAGE / PRODUCTS GRID
   ========================================================================== */
.prods-header {
    align-items: center;
    justify-content: center;
}

.shopcon {
    padding: 60px 0;
    position: relative;
}

.shopcon .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 100%;
}

.shopcon .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.shopcon .section-title.prods-title {
    padding-top: 130px;
}

.shopcon .section-title h2 {
    font-size: 2.2vw;
    color: var(--background2);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: flex-start;
    position: relative;
    width: 100%;
    font-weight: normal;
    background-color: white;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    padding: 0.05vw;
    padding-right: 40px;
    padding-left: 100px;
    transform: translateX(-10%);
    border: 3px solid black;
    border-left: none;
}

.shopcon .btn {
    background-color: white;
    color: var(--background2);
    padding: 10px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: table-cell;
    vertical-align: middle;
    line-height: 1;
    height: 100%;
    border: 3px solid black;
    font-weight: 400;
}

.shopcon .btn:hover {
    background-color: var(--primary-color-invert);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
}

.category-filter-container {
    margin: 20px 0;
    text-align: center;
}

.shop-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    width: 100%;
}

/* ==========================================================================
   10. POPUPS (PRODUCT & EVENT)
   ========================================================================== */
/* Product Popup */
.product-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: all;
    z-index: 2001;
    padding: 20px;
    font-family: var(--font2);
}

.product-popup .popup-title {
    font-family: var(--font2);
}

.product-popup.active {
    opacity: 1;
    visibility: visible;
    z-index: 10000;
}

.popup-sizes {
    margin: 15px 0;
}

.popup-sizes h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--background2);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--background2);
    background-color: white;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.size-tag:hover {
    border-color: #999;
    background-color: #f0f0f0;
}

.popup-content {
    background: white;
    width: 90%;
    max-width: 900px;
    max-height: 89vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    pointer-events: all;
    border-radius: 70px 0;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.popup-content.horizontal-layout {
    max-width: 1200px;
    flex-direction: row;
    overflow: hidden;
    padding: 30px;
}

.product-popup.active .popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

.popup-images {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: 40%;
    box-shadow: 0 0 25.6px 5px rgba(0, 0, 0, 0.25);
}

.boxs {
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25.6px 5px rgba(0, 0, 0, 0.25);
    width: auto;
    border-radius: 40px 0;

}

.popup-content.horizontal-layout .popup-images {

    flex-shrink: 0;
    overflow-y: auto;
    border-top-left-radius: 100px;
    background: white;

}



.popup-content.horizontal-layout .main-image-container {
    max-width: 100%;
    height: 100%;
}

.main-image:not(.popup-content .main-image) {
    width: 100%;
    object-fit: contain;
    border-radius: 23px 0;
    background: white;
    height: 100%;


}

.popup-content.horizontal-layout .main-image {
    height: 350px;

}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 50;
}

.image-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover {
    border-color: #3498db;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--text-on-primary);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.popup-details {

    overflow-y: auto;
    flex-grow: 1;
    font-family: var(--font2);
}

.popup-content.horizontal-layout .popup-details {
    width: 100%;

    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: white;

    font-family: var(--font2);
}

.category-badge {
    display: inline-block;
    background: var(--background);
    color: var(--background2);
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 13px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    align-self: flex-start;
}

.popup-title {
    font-size: 26px;
    margin: 0 0 15px 0;
    color: var(--background2);
    font-weight: 700;
    line-height: 1.3;
}

.popup-content.horizontal-layout .popup-title {
    font-size: 30px;

}

.popup-price {

    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: var(--background2) solid 1px;
}

.popup-price .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 18px;
    margin-right: 5px;
}

.popup-price .discounted-price {
    color: #e74c3c;
    font-size: 26px;
    font-weight: 800;
}

.popup-price .discount-percent {
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
}

.popup-price .current-price {
    color: var(--background2);
    font-size: 18px;
    font-weight: 400;
    font-family: var(--font1);
}

.popup-description {
    margin-top: 25px;
    flex-grow: 1;
}

.popup-description h3 {
    color: var(--background2);
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 8px;
}

.popup-description p {
    color: var(--background2);
    line-height: 1.7;
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.popup-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.popup-content.horizontal-layout .popup-actions {
    margin-top: 35px;
}

.whatsapp-order-btn {
    flex: 1;
    background: #075E54;
    color: white;

    text-decoration: none;
    border-radius: 40px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    min-width: 200px;
    font-size: 12px;
    border: none;
    cursor: pointer;
}

.whatsapp-order-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-order-btn i {
    font-size: 22px;
}

.popup-content.horizontal-layout .whatsapp-order-btn {
    padding: 9px 25px;
    font-size: 17px;
}

/* Event Popup Styles */
.event-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.event-popup.active {
    opacity: 1;
    visibility: visible;
}

.event-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.event-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.event-popup-content {
    position: relative;
    background-color: transparent;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.event-popup.active .event-popup-content {
    transform: translateY(0);
}

.event-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-popup-close:hover {
    background: #000;
    color: white;
    transform: rotate(90deg);
}

.event-popup-close i {
    font-size: 18px;
}

.event-popup-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.event-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 10px;
    display: block;
}

.event-popup-content:hover .event-img {
    transform: scale(1.05);
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
footer {
    background-color: var(--background2);
    color: var(--text-on-primary);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 1vw;
}

footer .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.menu-item {
    color: var(--text-on-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.menu-item:hover {
    color: #f0f0f0;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-on-primary);
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.copyright {
    padding-top: 20px;
    color: var(--text-on-primary);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.copyright p {
    margin-bottom: 10px;
}

.copyright .menu-item {
    color: #aaa;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: normal;
    display: inline-block;
}

.copyright .menu-item::after {
    background-color: #aaa;
}

.copyright .menu-item:hover {
    color: var(--text-on-primary);
}

.bg-text3 {
    position: absolute;
    bottom: -9vw;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22.1vw;
    color: #ffffff;
    opacity: 0.03;
    z-index: 1;
    font-weight: 900;
    pointer-events: none;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}

/* ==========================================================================
   12. PAGINATION
   ========================================================================== */
.pagination-container {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    text-align: center;
    width: 100%;
}

.pagination-wrapper {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    width: 100%;
}

.pagination-info {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 8px 16px;
    background: var(--primary-color, #333);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--secondary-color, #555);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pagination-btn.disabled,
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.page-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.page-number {
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.page-number:hover {
    background: #e9e9e9;
    border-color: #ccc;
    transform: translateY(-2px);
}

.page-number.active {
    background: var(--primary-color, #333);
    color: white;
    border-color: var(--primary-color, #333);
    font-weight: bold;
}

.ellipsis {
    padding: 8px 5px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-size: 14px;
}

/* ==========================================================================
   13. MEDIA QUERIES (AGGREGATED & SORTED)
   ========================================================================== */

/* Max Width: 1400px */
@media (max-width: 1440px) {


    .swiper {
        padding: 50px 40px 40px;
    }

    .trending-card {
        width: 85%;
    }

    .card-img-container {
        height: 100%;
        min-height: 220px;
    }
}

/* Max Width: 1200px */
@media (max-width: 1200px) {

    .highlight {
        padding: 60px 0 30px;
    }

    .swiper {
        padding: 40px 30px 30px;
    }

    .swiper-slide {
        opacity: 0.3;
        transform: scale(0.8);
    }

    .swiper-slide-active {
        transform: scale(1.05) !important;
    }

    .card-img-container {
        height: 100%;
        min-height: 200px;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .about-picture img {
        border-radius: 5em 1em 1em 1em;
    }

    .swiper-button-prev {
        left: 30px;
        transform: translateX(-50%) translateY(-50%);
        z-index: 4 !important;
    }

    .swiper-button-next {
        right: 30px;
        transform: translateX(50%) translateY(-50%);
        z-index: 4 !important;
    }

    .category-title h2 {
        font-size: 17px !important;
    }

    .popup-content.horizontal-layout {
        max-width: 1300px;
    }



    .popup-content.horizontal-layout .main-image {
        height: 350px;
    }

    .cat-btn-bot {
        padding: 10px 30vw;

    }
}

/* Max Width: 1024px */
@media (max-width: 1024px) {
    .hero {
        margin-top: 12.2vh;

        padding: 26vh 20px;
    }

    .product-card {
        flex: 0 0 250px;
        padding: 20px;
    }

    .cat-btn-bot {
        padding: 10px 28vw;
    }

    .card-image {
        height: 280px;
    }

    .shop-container {
        gap: 9px;
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .page-title h2 {
        font-size: 50px !important;
    }

    .btn {
        font-size: 20px;
    }

    .shopcon .btn {
        padding: 6px 25px;
        font-size: 20px !important;
    }

    .popup-images {
        margin: 0;
        padding: 0 !important;
        height: 620px;
    }
}

/* Max Width: 992px */
@media (max-width: 992px) {
    .cat-btn-bot {
        padding: 10px 20vw;
    }

    .nav-link {
        font-size: 22px;
    }


    .shop-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .popup-content.horizontal-layout {
        max-width: 900px;
    }

    .main-image {
        height: 180px;
    }


    .popup-content.horizontal-layout .popup-title {
        font-size: 24px;
    }

    .trending-card {
        border-top-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }
}

/* Max Width: 768px (Tablet / Mobile Breakpoint) */
@media (max-width: 768px) {

    .swiper-slide {
        transform: scale(0.9) !important;
        /* Reduced from 1.4 to 0.9 */
        border-top-left-radius: 10px;
        border-bottom-right-radius: 10px;
        transition: all 0.3s ease;
    }

    /* Active slide should be even bigger */
    .swiper-slide-active {
        transform: scale(1.1) !important;
        opacity: 1 !important;
        filter: none !important;
    }

    /* Adjacent slides */
    .swiper-slide-prev {
        transform: scale(0.85) translateX(10vw) !important;
        opacity: 0.6 !important;
    }

    .swiper-slide-next {
        transform: scale(0.85) translateX(-10vw) !important;
        opacity: 0.6 !important;
    }

    .trending-card {
        border-top-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 0.8rem;
    }



    .dropdown-btn {
        font-size: 16px;
    }

    .dropdown-item {
        font-size: 16px;
    }

    .hero {
        margin-top: 13.2vh;
        padding: 260px 20px;
        max-height: 88vh;
    }

    .desktop-header:not(footer .desktop-header) {
        display: none;
    }

    footer .nav-link {
        font-size: 13px;
    }

    .mobile-header {
        display: flex;
    }

    .hero-btn-pos {
        bottom: 30px;
    }

    .hero .btn {
        padding: 10px 35px;
        min-width: 200px;
    }

    .about-tag {
        bottom: 0;
        left: 0;
        font-size: 2.1vw;
        padding: 8px 20px;
        min-width: 160px;
    }

    .about-content-text {
        max-width: 425px;
    }



    .shopcon .section-title h2 {
        font-size: 3vw;
    }

    .shopcon .btn {
        padding: 6px 25px;
        font-size: 1.2em;
    }

    .shop-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .shopcon .section-title.prods-title {
        padding-top: 100px;
    }

    .popup-images {
        margin: 0;
        padding: 0 !important;
        height: 230px;
        width: 50px;
    }

    .product-popup {
        padding: 15px;
    }

    .popup-content.horizontal-layout {
        flex-direction: column;
        max-height: 95vh;
        max-width: 95%;
    }


    .popup-content.horizontal-layout .popup-images {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 20px;
    }



    .main-image {
        height: 150px;
    }

    .card-content h3 {
        font-size: 0.9rem;
    }

    .price {
        font-size: 0.8rem;
    }

    .popup-content.horizontal-layout .main-image {
        height: 300px;

    }

    .boxs {
        box-shadow: none;
        border-radius: 0;
    }

    .popup-content .popup-title {
        font-size: 22px;
    }

    .popup-actions {
        flex-direction: column;

    }

    .whatsapp-order-btn {
        width: 100%;
        min-width: auto;
    }

    .image-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .event-popup-content {
        width: 95%;
        margin: 20px;
    }

    .event-popup-image {
        max-height: 70vh;
    }

    .event-popup-close {
        width: 35px;
        height: 35px;
        top: 12px;
        right: 12px;
    }

    .event-popup-close i {
        font-size: 16px;
    }

    footer {
        padding: 30px 0;
        padding-bottom: 15vw;
    }

    footer .desktop-header {
        justify-content: center;
    }

    .footer-menu {
        gap: 20px;
        margin-bottom: 20px;
    }

    .menu-item {
        font-size: 0.9rem;
    }

    .copyright {
        padding-top: 15px;
        font-size: 0.85rem;
    }

    .pagination-controls {
        gap: 15px;
    }

    .pagination-btn {
        padding: 6px 12px;
        min-width: 80px;
        font-size: 13px;
    }

    .page-number {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
        padding: 6px 8px;
    }


    .contact h2 {
        font-size: 5.3vw;
    }

    .highlight h2 {
        font-size: 5.3vw;
    }

    .cat-btn-bot {
        padding: 10px 13vw;
        font-size: 1.2rem;
    }
}

/* Max Width: 576px */
@media (max-width: 576px) {
    .highlight {
        padding: 40px 0 20px;
    }

    .swiper {
        padding: 20px 15px 25px;
    }

    .swiper-slide {
        opacity: 0.2;
        transform: scale(0.7);
        border-top-left-radius: 40px;
        border-bottom-right-radius: 40px;
        padding: 10px 0;
    }

    .swiper-slide-active {
        transform: scale(1.05) !important;
    }

    .swiper-slide-next,
    .swiper-slide-prev {
        opacity: 0.4 !important;
        transform: scale(0.8) !important;
    }

    .trending-card {
        width: 100%;
        max-width: 320px;
        border-top-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-price {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .card-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .card-tag {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        display: none;
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 6px !important;
    }

    .cards-slider-container {
        padding: 0 2.5rem;
    }

    .product-card {
        flex: 0 0 220px;
        padding: 12px;
        border-radius: 30px 0;
    }

    .card-image {
        height: 250px;
    }

    .slider-arrow {
        display: none;
    }




    .cat-btn-bot {
        padding: 10px 13vw;
        font-size: 1rem;
    }

    .contact h2 {
        font-size: 5.3vw;
    }

    .highlight h2 {
        font-size: 5.3vw;
    }


    .hero {
        height: 100px;
    }

    .highlight {
        padding: 20px 0 15px;
    }

    .about-content-text {
        max-width: 305px;
        font-size: 2vw;
    }

    .swiper {
        padding: 15px 10px 20px;
    }

    .swiper-slide {
        opacity: 0.15;
        transform: scale(0.65);
    }

    .category-title h2 {
        font-size: 3.2vw !important;
    }

    .shopcon .section-title h2 {
        padding-left: 20px;
    }

    .dropdown-btn {
        padding: 3px;
    }

    .popup-images {
        height: 270px;
    }

    .popup-title {
        font-size: 19px !important;
    }

    .category-badge {
        font-size: 10px;
    }

    .current-price {
        font-size: 20px !important;
    }

    .dropdown-item {
        padding: 10px 0;
        font-size: 9px;
        z-index: 20;
    }

    .swiper-slide-active {
        transform: scale(1.05) !important;
        opacity: 1 !important;
    }

    .swiper-slide-next,
    .swiper-slide-prev {
        opacity: 0.3 !important;
        transform: scale(0.7) !important;
    }


    .card-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .card-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
        -webkit-line-clamp: 2;
    }

    .card-price {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .card-button {
        padding: 10px 18px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px !important;
    }

    .shopcon .section-title h2 {
        font-size: 3.6vw;
    }

    .shopcon .section-title h2:after {
        margin-top: 3vw;
    }

    .shop-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        padding: 0px;
        justify-items: center;
    }

    .shopcon .btn {
        padding: 3px 25px;
        font-size: 0.8em;
    }

    .product-popup {
        padding: 10px;
        z-index: 10000 !important;
    }

    .popup-content {
        border-width: 1.5vh;

        z-index: 10001 !important;
    }

    .popup-content.horizontal-layout .popup-images {
        padding: 15px;
    }



    .popup-content.horizontal-layout .main-image {
        height: 220px;
    }

    .popup-title {
        font-size: 20px;
    }

    .popup-content.horizontal-layout .popup-title {
        font-size: 22px;
    }

    .popup-price {
        font-size: 20px;
    }

    .popup-price .discounted-price,
    .popup-price .current-price {
        font-size: 24px;
    }

    .popup-description p {
        font-size: 15px;
    }

    .close-popup {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }

    .whatsapp-order-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .event-popup-content {
        width: 90%;
        border-radius: 12px;
    }

    .event-popup-close {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
    }

    .event-popup-close i {
        font-size: 14px;
    }

    .footer-menu {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .menu-item {
        font-size: 0.85rem;
        padding: 3px 0;
    }

    .copyright {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .copyright p {
        margin-bottom: 5px;
    }

    .pagination-controls {
        gap: 10px;
    }

    .pagination-btn {
        padding: 6px 10px;
        min-width: 70px;
        font-size: 12px;
    }

    .page-number {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
        padding: 4px 6px;
    }

    .pagination-info {
        font-size: 12px;
    }

    .category-dropdown {
        z-index: 100;
    }

    body.popup-open .category-dropdown,
    body.popup-open .prod-land-tit,
    body.popup-open .category-header {
        opacity: 0.3;
        pointer-events: none;
    }

    body.popup-open .product-popup,
    body.popup-open .popup-content,
    body.popup-open .close-popup {
        opacity: 1;
        pointer-events: auto;
    }

    .contact-info {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Max Width: 480px */
@media (max-width: 480px) {

    .cat-btn-bot {
        padding: 10px 13vw;
        font-size: 0.9rem;
    }

    .product-name {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 0.7rem;
    }

    .card-content {
        margin-left: 20px;
    }


    footer .nav-link {
        font-size: 13px;
    }

    .shopcon .section-title h2 {
        font-size: 3vw;
        padding: 0 10px 0 10px;
    }



    .card-content h3 {
        font-size: 0.8rem;
    }

    .price {
        font-size: 0.7rem;
    }


    .shopcon .btn {
        padding: 1px 4px;
        font-size: 13px !important;
    }

    .shopcon .container {
        padding: 0 10px;
    }

    .hero {
        min-height: 300px;
        border-top-right-radius: 20%;
        border-bottom-left-radius: 20%;
        min-width: 20px !important;
        padding: 0;
    }

    .hero-btn-pos,
    .hero .btn {
        font-size: 3vw;
        bottom: 10px;
        padding: 4px 10px;
        min-width: 20px;
    }

    .about-us {
        padding: 20px;
        grid-template-columns: 0.6fr 1fr;
    }

    .about-tag {
        bottom: 0;
        left: 0;
        font-size: 4vw;
        padding: 6px 12px;
        min-width: 140px;
    }

    .about-picture img {
        height: 300px;
        width: 250px;
    }

    .about-content-text {
        font-size: 9px;
    }

    .cards-slider-container {
        padding: 0 2rem;
    }

    .card-image {
        height: 50px;
    }

    .prod-land-tit h2 {
        font-size: 1.5rem;
    }

    .product-name {
        font-size: 3vw;
    }

    .event-popup-content {
        width: 90%;
        border-radius: 10px;
    }

    .event-popup-close {
        width: 30px;
        height: 30px;
        top: 8px;
        right: 8px;
    }

    .event-popup-image {
        max-height: 60vh;
    }

    footer {
        padding: 25px 0;
        padding-bottom: 18vw;
    }

    .footer-menu {
        gap: 12px;
    }

    .menu-item {
        font-size: 0.8rem;
    }

    .bg-text3 {
        bottom: -12vw;
        font-size: 25vw;
    }

    .pagination-controls {
        gap: 8px;
    }

    .pagination-btn {
        padding: 5px 8px;
        min-width: 65px;
        font-size: 11px;
    }

    .page-number {
        min-width: 30px;
        height: 30px;
        font-size: 11px;
        padding: 4px;
    }

    .product-card:has(.discount-badge)::before {
        display: none;
    }

    .product-card {
        padding: 10px;
        border-radius: 33px 0;
    }

    .trending-card {
        border-top-left-radius: 50px;
        border-bottom-right-radius: 50px;
        
    }
        .swiper-slide-active {
        transform: scale(1.1) !important;
        opacity: 1 !important;
        filter: none !important;
    }

}

/* Max Width: 400px */
@media (max-width: 400px) {
    .highlight {
        padding: 20px 0 10px;
    }

    .swiper {
        padding: 10px 5px 15px;
    }

    .trending-card {
        width: 100%;
        max-width: 280px;
    }

    .card-content {
        padding: 12px;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }

    .card-price {
        font-size: 1rem;
    }

    .swiper-pagination {
        margin-top: 20px;
    }

    .popup-content {
        border-width: 1vh;
    }



    .popup-content.horizontal-layout .popup-images {
        padding: 12px;
    }

    .popup-content.horizontal-layout .main-image {
        height: 180px;
    }

    .category-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .popup-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .popup-content.horizontal-layout .popup-title {
        font-size: 20px;
    }

    .popup-price {
        margin: 15px 0;
        gap: 8px;
    }

    .popup-price .original-price {
        font-size: 15px;
    }

    .popup-price .discounted-price,
    .popup-price .current-price {
        font-size: 20px;
    }

    .popup-price .discount-percent {
        padding: 3px 8px;
        font-size: 12px;
    }

    .popup-description {
        margin-top: 15px;
    }

    .popup-description h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .popup-description p {
        font-size: 14px;
        line-height: 1.5;
    }

    .popup-actions {
        margin-top: 20px;
    }

    .whatsapp-order-btn {
        padding: 10px 15px;
        font-size: 14px;
        gap: 8px;
    }

    .whatsapp-order-btn i {
        font-size: 18px;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
    }
}

/* Max Width: 380px */
@media (max-width: 380px) {

    .card-content {
        margin-left: 5px;
    }

    .page-numbers {
        order: 2;
    }

    .pagination-btn:first-child {
        order: 1;
    }

    .pagination-btn:last-child {
        order: 3;
    }

    .product-card {

        border-radius: 14.849px 0 5.94px 0;
    }
}

/* OTHER SPECIFIC MEDIA QUERIES */

/* Add smooth transitions for better mobile experience */
@media (hover: none) and (pointer: coarse) {
    .trending-card {
        transform: none !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    }

    .trending-card:active {
        transform: scale(0.98) !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
    }

    .card-button:active {
        transform: scale(0.95) !important;
    }
}

/* Landscape mode adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .highlight {
        padding: 30px 0;
    }

    .swiper {
        padding: 20px 15px;
    }

    .card-content {
        padding: 15px;
    }

    .card-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .card-description {
        font-size: 0.85rem;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
    }
}

/* High DPI screens optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {


    .card-tag {
        border: 0.5px solid rgba(255, 255, 255, 0.3);
    }
}

/* Height-based media queries for popups */
@media (max-height: 700px) {
    .popup-content.horizontal-layout {
        max-height: 90vh;
    }

    .popup-content.horizontal-layout .main-image {
        height: 250px;
    }


    .popup-content.horizontal-layout .popup-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .popup-description {
        margin-top: 15px;
    }
}

@media (max-height: 500px) {
    .popup-content.horizontal-layout {
        max-height: 95vh;
    }

    .popup-content.horizontal-layout .main-image {
        height: 180px;
    }



    .popup-content.horizontal-layout .popup-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .popup-description h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .popup-description p {
        font-size: 14px;
        line-height: 1.5;
    }

    .popup-actions {
        margin-top: 15px;
    }

    .whatsapp-order-btn {
        padding: 12px 20px;
    }
}

/* Print styles */
@media print {
    .product-popup {
        position: absolute;
        background: white;
    }

    .close-popup,
    .image-nav-btn,
    .whatsapp-order-btn {
        display: none !important;
    }

    .popup-content {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

/* ==========================================================================
   SHOP CATEGORY DROPDOWN - ONLY ANIMATIONS ADDED (NO COLOR/LAYOUT CHANGES)
   ========================================================================== */

/* Keep all your existing styles exactly as they were */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 7vw;
    position: relative;
    overflow: visible !important;
    z-index: 9998;
}

.category-title {
    position: relative;
    margin: 0;
}

.category-title h2 {
    background-color: white;
    color: var(--background2);
    font-size: 2vw;
    border: var(--background2) solid;
    border-left: none;
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    padding: 0.3em 2em 0.3em 3em;
    position: relative;
    z-index: 2;
}

.category-dropdown {
    position: relative;
    display: inline-block;
    z-index: 3;
    margin-right: 7vw;
}

/* ONLY ADDED: active state for button (no color changes, just for arrow rotation) */
.dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-arrow {
    margin-left: 5px;
    font-size: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
    /* ONLY ADDED: smooth arrow rotation */
}

/* MODIFIED: Changed from display:none to opacity/visibility for animation */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    border-radius: 4px;

    /* IMPORTANT: Override any existing display:none */
    display: block !important;

    /* Animation properties */
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(-10px);
    transition: all 0.3s ease;

    z-index: 100;
    width: 100%;
    min-width: 100%;
    padding-bottom: 9px;

    /* Prevents clicking when hidden */
    pointer-events: none;
}

/* ADDED: show state for dropdown */
.dropdown-menu.show {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto;
    /* Allow clicking when visible */
}

/* Keep your existing dropdown-item styles EXACTLY the same */
.dropdown-item {
    display: block;
    background: white;
    border: 3px solid #46483B;
    padding: 4px 6px;
    text-decoration: none;
    border-radius: 50px;
    color: var(--background2);
    white-space: nowrap;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 2px;
    line-height: normal;
    vertical-align: middle;
}

/* Keep your existing hover style exactly the same */
.dropdown-item:hover {
    background: #d8d8d8;
}

/* Media queries - keep ALL your existing media queries exactly as they were */
@media (max-width: 768px) {
    /* Your existing media query styles */
}

@media (max-width: 576px) {

    /* Your existing media query styles */
    .dropdown-item {
        padding: 10px 0;
        font-size: 9px;
        z-index: 20;
    }
}

/* ==========================================================================
   END OF ADDITIONS - EVERYTHING BELOW THIS LINE IS YOUR ORIGINAL CSS
   ========================================================================== */

/* Ensure the popup images container is properly constrained */
.popup-images {
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Fill parent */
    min-height: 0;
    /* Important for flex children */
}

/* For the main image wrapper */
.main-image-wrapper {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    /* Critical for flexbox to respect parent height */
    width: 100%;
}

/* For horizontal layout */
.popup-content.horizontal-layout .popup-images {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 600px;
}

.popup-content.horizontal-layout .main-image-wrapper {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* the popup images container is properly constrained */




.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.product-image.main-image {
    opacity: 1;
    z-index: 1;
    position: relative;
    /* Change this from absolute to relative */
}

.product-image.hover-image {
    opacity: 0;
    z-index: 2;
    position: absolute;
    /* Keep this absolute */
    top: 0;
    left: 0;
}

/* Only apply hover effect if hover-image exists */
.product-card:has(.hover-image):hover .product-image.main-image {
    opacity: 0;
}

.product-card:has(.hover-image):hover .product-image.hover-image {
    opacity: 1;
}

/* For products without hover image, the main image stays visible */
.product-card:not(:has(.hover-image)) .product-image.main-image {
    position: relative;
}