/* ========== IMPORTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    --primary-green: #B00020;
    --primary-green-dark: #8a0018;
    --primary-green-light: #FFF0F2;
    --dark-bg: #111111;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #fff;
    --border-color: #e0e0e0;
    --bg-light: #f7f7f7;
    --bg-white: #fff;
    --red-accent: #B00020;
    --yellow-accent: #FFC107;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.10);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.14);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.18);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --transition: all 0.3s ease;
    --skeleton-bg: #e0e0e0;
    --skeleton-highlight: #f5f5f5;
}

/* ========== SKELETON LOADERS ========== */
.skeleton {
    background-color: var(--skeleton-bg);
    background-image: linear-gradient(
        90deg,
        var(--skeleton-bg) 25%,
        var(--skeleton-highlight) 50%,
        var(--skeleton-bg) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.search-skeleton-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.search-skeleton-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    flex-shrink: 0;
}

.search-skeleton-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-skeleton-title {
    height: 14px;
    width: 70%;
}

.search-skeleton-price {
    height: 12px;
    width: 30%;
}

/* Product Card Skeleton (Matching products.php grid) */
.product-skeleton-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #eee;
}

.ps-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: var(--radius-sm);
}

.ps-brand {
    height: 10px;
    width: 40%;
}

.ps-title {
    height: 16px;
    width: 90%;
}

.ps-weight {
    height: 10px;
    width: 50%;
}

.ps-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.ps-price {
    height: 18px;
    width: 35%;
}

.ps-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}

/* ========== RESET ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--primary-green);
    color: var(--text-light);
    padding: 6px 0;
    font-size: 13px;
    font-weight: 500;
}

.top-bar .container {
    display: block;
}

.top-bar-wrapper {
    width: 100%;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-right a:hover {
    opacity: 0.8;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-left a {
    color: var(--text-light);
    font-size: 15px;
    transition: var(--transition);
}

.top-bar-left a:hover {
    transform: scale(1.15);
}

/* ========== HEADER ========== */
.main-header {
    background: var(--bg-white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-logo img {
    height: 50px;
    width: auto;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-green);
}

.header-logo span {
    white-space: nowrap;
}

.header-search {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 10px 45px 10px 15px;
    border: 2px solid var(--primary-green);
    border-radius: 25px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    outline: none;
    background: #fff;
    color: var(--text-dark);
    transition: var(--transition);
}

.header-search input::placeholder {
    color: #aaa;
}

.header-search input:focus {
    box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.12);
    border-color: var(--primary-green);
    background: #fff;
}

.header-search button {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-green);
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header-search button:hover {
    background: var(--primary-green-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-dark);
    font-size: 12px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.header-action-btn i {
    font-size: 22px;
    color: var(--primary-green);
}

.header-action-btn:hover {
    color: var(--primary-green);
}

.header-action-btn .badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--red-accent);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 14px;
    direction: ltr;
}

.header-phone i {
    font-size: 18px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-green);
    cursor: pointer;
}

/* ========== NAV BAR ========== */
.nav-bar {
    background: var(--primary-green);
    padding: 0;
}

.nav-bar .container {
    display: flex;
    align-items: center;
}

.nav-bar .nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

.nav-bar .nav-links li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-bar .nav-links li a:hover,
.nav-bar .nav-links li a.active {
    background: rgba(255, 255, 255, 0.15);
}

.nav-bar .nav-links li a i {
    margin-left: 5px;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper {
    width: 100%;
}

.hero-slide {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 500px;
    padding: 40px;
}

.hero-slide-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.hero-slide-content p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-slide-content .btn-hero {
    display: inline-block;
    padding: 10px 30px;
    background: var(--primary-green);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

.hero-slide-content .btn-hero:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
}

.hero-slider .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-green);
    opacity: 1;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.hero-slider .swiper-button-next::after,
.hero-slider .swiper-button-prev::after {
    font-size: 16px;
}

/* ========== INFO BAR ========== */
.info-bar {
    background: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

.info-item i {
    color: var(--primary-green);
    font-size: 18px;
}

/* ========== PREMIUM CATEGORIES SECTION ========== */
.categories-section {
    padding: 50px 0;
    background: #fff;
    overflow: hidden;
}

.categories-grid {
    display: flex;
    gap: 25px;
    padding: 20px 10px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}

.categories-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.category-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 120px;
    scroll-snap-align: center;
}

.category-icon {
    width: 130px;
    height: 130px;
    border-radius: 45px;
    /* Softer, super-rounded square look like in the image */
    background: linear-gradient(180deg, #ffffff 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 15px 35px rgba(176, 0, 32, 0.2);
    border: 5px solid #ffffff;
    /* Thick white border from the image */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.category-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.2));
}

.category-item:hover {
    transform: translateY(-10px);
}

.category-item:hover .category-icon {
    box-shadow: 0 20px 45px rgba(176, 0, 32, 0.4);
    transform: scale(1.08);
}

.category-item:hover .category-icon img {
    transform: scale(1.1) rotate(5deg);
}

.category-name {
    font-size: 14px;
    font-weight: 800;
    color: #333;
    text-align: center;
    transition: color 0.3s ease;
}

.category-item:hover .category-name {
    color: var(--primary-green);
}

@media (min-width: 992px) {
    .categories-grid {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
    }
}

/* ========== PROMO BANNERS ========== */
.promo-section {
    padding: 25px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.promo-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.promo-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.promo-card:nth-child(1) .promo-card-overlay {
    background: linear-gradient(135deg, rgba(176, 0, 32, 0.88) 0%, rgba(120, 0, 20, 0.82) 100%);
}

.promo-card:nth-child(2) .promo-card-overlay {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.90) 0%, rgba(40, 40, 40, 0.84) 100%);
}

.promo-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: white;
    max-width: 60%;
}

.promo-card-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-card-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.promo-badge {
    display: inline-block;
    background: #FFC107;
    color: #1a1a1a;
    padding: 4px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 800;
}

.promo-card-image {
    position: absolute;
    left: 20px;
    bottom: 0;
    z-index: 2;
    height: 85%;
    max-width: 40%;
}

.promo-card-image img {
    height: 100%;
    object-fit: contain;
}

.btn-promo {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    color: var(--primary-green);
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
}

.btn-promo:hover {
    background: var(--yellow-accent);
    color: var(--text-dark);
}

/* ========== PRODUCTS GRID ========== */
.products-section {
    padding: 30px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.products-grid.four-cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1300px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .products-grid:not(.four-cols) {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-grid.four-cols {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-card-info {
        padding: 12px !important;
    }
    .product-brand {
        font-size: 11px !important;
    }
    .product-name {
        font-size: 13px !important;
        height: 38px !important;
        overflow: hidden;
    }
    .product-price {
        font-size: 14px !important;
    }
    .product-price-row {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 5px !important;
    }
    .product-cart-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .products-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .container {
        padding: 0 10px;
    }
    .product-card-image {
        height: 150px !important;
        padding: 10px !important;
    }
    .product-card-info {
        padding: 10px !important;
    }
    .product-name {
        font-size: 12px !important;
        height: 34px !important;
        line-height: 1.3 !important;
    }
    .product-brand {
        font-size: 10px !important;
    }
    .product-price {
        font-size: 13px !important;
    }
    .product-old-price {
        font-size: 11px !important;
    }
    .product-cart-btn {
        position: static;
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }
    .product-price-row {
        padding-bottom: 0;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .currency {
        font-size: 10px !important;
    }
}

/* ========== GLOBAL TRANSITIONS ========== */
button,
input,
select,
textarea,
.btn,
.nav-links li a,
.product-card,
.category-item,
.promo-card,
.header-action-btn,
.product-cart-btn,
.product-wishlist-btn,
[class*="btn-"],
.ship-item,
.trust-item,
.feature-box,
.tag-badge,
.thumb,
.size-btn,
.flavor-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ========== PRODUCT CARD ========== */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    box-shadow: 0 0 20px rgba(176, 0, 32, 0);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(176, 0, 32, 0.35);
}

.product-card:hover::before {
    box-shadow: 0 0 25px rgba(176, 0, 32, 0.18);
}

.product-card-image {
    position: relative;
    height: 170px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow: hidden;
}

.product-card-image img.main-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-card-image img.main-img {
    transform: scale(1.05);
}

/* ── Supplement Facts Hover Overlay ── */
.product-card-image .facts-hover-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-radius: 0;
}

.product-card:hover .product-card-image .facts-hover-overlay {
    opacity: 1;
    transform: translateY(0);
}

.facts-hover-overlay img {
    max-height: 90%;
    max-width: 90%;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: block !important;
}

.facts-hover-overlay .no-facts-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    text-align: center;
    padding: 10px;
}


.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--red-accent);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.product-badge.new {
    background: #111111;
}

.product-card-info {
    padding: 10px 12px;
    text-align: right;
}

.product-brand {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-weight {
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-green);
}

.product-price .currency {
    font-size: 12px;
    font-weight: 600;
}

.product-old-price {
    font-size: 12px;
    color: var(--text-gray);
    text-decoration: line-through;
    margin-right: 6px;
}

.product-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.product-cart-btn:hover {
    background: var(--primary-green-dark);
    transform: scale(1.1);
}

/* ========== VIEW ALL BTN ========== */
.view-all-wrapper {
    text-align: center;
    margin-top: 25px;
}

.btn-view-all {
    display: inline-block;
    padding: 10px 35px;
    background: var(--primary-green);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== STORE GALLERY ========== */
.gallery-section {
    padding: 30px 0;
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 200px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(176, 0, 32, 0);
    transition: var(--transition);
}

.gallery-item:hover::after {
    background: rgba(176, 0, 32, 0.15);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 10px;
    padding: 20px;
    text-align: center;
}

.gallery-placeholder i {
    font-size: 36px;
    opacity: 0.7;
}

.gallery-placeholder span {
    font-size: 14px;
    font-weight: 700;
}

/* ========== PRODUCT CAROUSEL ========== */
.carousel-section {
    padding: 30px 0;
}

.carousel-section .swiper {
    padding-bottom: 40px;
}

.carousel-section .swiper-pagination-bullet-active {
    background: var(--primary-green);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.section-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 8px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-green);
}

.section-header a {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
}

.section-header a:hover {
    text-decoration: underline;
}

/* ========== MAP / CONTACT SECTION ========== */
.map-section {
    padding: 30px 0;
    background: var(--bg-white);
}

.map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 350px;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.contact-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.contact-card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-card-text h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-card-text p {
    font-size: 13px;
    color: var(--text-gray);
    direction: ltr;
    text-align: left;
}

/* ========== PREMIUM BANNER ========== */
.premium-banner {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    padding: 40px 0;
    text-align: center;
    color: var(--text-light);
}

.premium-banner h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.premium-banner p {
    font-size: 15px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== CTA BAR ========== */
.cta-bar {
    background: var(--primary-green);
    padding: 15px 0;
}

.cta-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-green);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-btn i {
    font-size: 20px;
}

.cta-btn.whatsapp {
    background: #25D366;
    color: white;
}

.cta-btn.whatsapp:hover {
    background: #1da851;
}

/* ========== FOOTER ========== */
.main-footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 40px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-green);
    padding-right: 5px;
}

.footer-col p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-payments {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-payments img {
    height: 25px;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-payments img:hover {
    opacity: 1;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-green-dark);
    transform: translateY(-3px);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* ========== SECTION TITLE ========== */
.section-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    background: var(--bg-white);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    color: var(--primary-green);
    font-weight: 600;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 10px;
    color: var(--text-gray);
}

.breadcrumb span {
    color: var(--text-gray);
}

/* ========== PRODUCTS PAGE ========== */
.page-products {
    padding: 30px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    align-items: start;
}

.products-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.sidebar-widget {
    padding: 18px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.sidebar-widget h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.category-filter li a {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-gray);
    transition: var(--transition);
}

.category-filter li a:hover,
.category-filter li a.active {
    background: var(--primary-green-light);
    color: var(--primary-green);
    font-weight: 700;
}

.category-filter li a span {
    font-size: 11px;
    opacity: 0.7;
}

.brand-filter li {
    margin-bottom: 8px;
}

.brand-filter li label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    color: var(--text-gray);
}

.brand-filter li label input[type="checkbox"] {
    accent-color: var(--primary-green);
    width: 16px;
    height: 16px;
}

.price-slider {
    width: 100%;
    accent-color: var(--primary-green);
    margin-bottom: 8px;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-gray);
}

.rating-filter li a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-gray);
}

.rating-filter li a .fas.fa-star {
    color: #FFC107;
    font-size: 12px;
}

.rating-filter li a .far.fa-star {
    color: #ddd;
    font-size: 12px;
}

.rating-filter li a:hover {
    color: var(--primary-green);
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: var(--bg-white);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.results-count {
    font-size: 14px;
    color: var(--text-gray);
}

.results-count strong {
    color: var(--text-dark);
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-select {
    padding: 7px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    outline: none;
    direction: rtl;
    cursor: pointer;
}

.sort-select:focus {
    border-color: var(--primary-green);
}

.view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
}

.view-btn.active,
.view-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* List View Styles */
.products-grid.list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.products-grid.list .product-card {
    display: flex;
    flex-direction: row;
    height: auto;
    max-width: 100%;
}

.products-grid.list .product-card-image {
    width: 200px;
    height: 180px;
    flex-shrink: 0;
}

.products-grid.list .product-card-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-grid.list .product-price-row {
    margin-top: 15px;
}

@media (max-width: 576px) {
    .products-grid.list .product-card {
        flex-direction: column;
    }

    .products-grid.list .product-card-image {
        width: 100%;
        height: 200px;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 30px;
}

.page-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.page-btn.active,
.page-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Section removed as it is superseded by REDESIGN section below */

/* Product Tabs */
.product-tabs {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-green);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-green);
}

.tab-btn:hover {
    color: var(--primary-green);
}

.tab-content {
    display: none;
    padding: 25px;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.tab-content h4 {
    font-size: 15px;
    margin: 15px 0 8px;
}

.tab-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

.tab-content ul {
    padding-right: 20px;
    margin-bottom: 10px;
}

.tab-content ul li {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 6px;
    list-style: disc;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.nutrition-table tr:nth-child(even) {
    background: var(--bg-light);
}

.nutrition-table td:first-child {
    font-weight: 700;
    color: var(--text-dark);
}

.nutrition-table td:last-child {
    color: var(--text-gray);
    text-align: left;
    direction: ltr;
}

.reviews-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.rating-big {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-green);
}

.rating-big span {
    font-size: 20px;
    color: var(--text-gray);
}

.rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-gray);
}

.bar-row span:first-child {
    width: 35px;
    text-align: center;
}

.bar {
    flex: 1;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #FFC107;
    border-radius: 4px;
}

.review-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.review-header strong {
    font-size: 14px;
}

.review-header .stars {
    color: #FFC107;
    font-size: 12px;
}

.review-date {
    font-size: 12px;
    color: var(--text-gray);
    margin-right: auto;
}

.review-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.related-products {
    margin-bottom: 30px;
}

/* ========== OFFERS PAGE ========== */
.offers-hero {
    background: linear-gradient(135deg, #111111, #2a0000);
    padding: 50px 0;
    text-align: center;
}

.offers-hero-content h1 {
    color: white;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.offers-hero-content h1 i {
    color: #FFC107;
    margin-left: 10px;
}

.offers-hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.countdown-bar {
    background: var(--primary-green);
    padding: 12px 0;
    color: white;
}

.countdown-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.countdown-bar span {
    font-weight: 700;
    font-size: 14px;
}

.countdown-timer {
    display: flex;
    gap: 10px;
}

.time-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 55px;
}

.time-box span {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.time-box small {
    font-size: 10px;
    opacity: 0.8;
}

/* ========== CONTACT PAGE ========== */
.contact-page {
    padding: 30px 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.contact-card-big {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-card-big:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card-big .contact-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
}

.contact-card-big h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

.contact-card-big p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-form-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 35px;
}

.contact-form-wrapper,
.contact-map-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2,
.contact-map-wrapper h2 {
    font-size: 18px;
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.08);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--primary-green-dark);
}

.contact-map-wrapper .map-container {
    height: 350px;
    margin-top: 0;
}

.working-hours {
    margin-bottom: 20px;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hours-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.hours-card i {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.hours-card h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.hours-card p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ========== ABOUT PAGE ========== */
.about-hero {
    background: linear-gradient(135deg, #111111, #2a0000);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.about-hero p {
    font-size: 16px;
    opacity: 0.8;
}

.about-content {
    padding: 40px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 40px;
    align-items: center;
}

.about-text h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.about-text p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-image-placeholder {
    background: linear-gradient(135deg, #111111, var(--primary-green));
    border-radius: var(--radius-lg);
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 10px;
}

.about-image-placeholder i {
    font-size: 60px;
    opacity: 0.5;
}

.about-image-placeholder span {
    font-size: 24px;
    font-weight: 800;
}

.about-image-placeholder small {
    font-size: 14px;
    opacity: 0.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary-green-light);
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 12px;
}

.value-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== CART PAGE ========== */
.cart-page {
    padding: 30px 0;
}

.desc-content-layout {
    display: grid;
    grid-template-columns: 1fr 0.4fr;
    gap: 25px;
    align-items: start;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    align-items: start;
}

.cart-items {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.cart-header-row {
    display: grid;
    grid-template-columns: 2fr 1fr 120px 1fr 50px;
    padding: 12px 18px;
    background: var(--bg-light);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 120px 1fr 50px;
    padding: 18px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-of-type {
    border-bottom: none;
}

.col-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.col-product img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #fafafa;
}

.col-product h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
}

.item-meta {
    font-size: 11px;
    color: var(--text-gray);
}

.col-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.col-total {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-green);
}

.remove-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--primary-green-light);
    color: var(--primary-green);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.remove-btn:hover {
    background: var(--primary-green);
    color: white;
}

.cart-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    background: var(--bg-light);
}

.coupon-form {
    display: flex;
    gap: 8px;
}

.coupon-form input {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    width: 180px;
    outline: none;
}

.coupon-form input:focus {
    border-color: var(--primary-green);
}

.btn-coupon {
    padding: 8px 18px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.btn-continue {
    font-size: 13px;
    color: var(--primary-green);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-continue:hover {
    text-decoration: underline;
}

.cart-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 80px;
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 18px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row span:first-child {
    color: var(--text-gray);
}

.free-shipping {
    color: var(--primary-green);
    font-weight: 700;
}

.summary-row.discount span:last-child {
    color: var(--primary-green);
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 15px 0;
}

.summary-row.total span {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-checkout:hover {
    background: var(--primary-green-dark);
}

.payment-methods-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-gray);
}

.methods-icons {
    display: flex;
    gap: 8px;
    font-size: 20px;
    color: var(--text-gray);
}

.cart-guarantees {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.cart-guarantees div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.cart-guarantees div i {
    color: var(--primary-green);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid.four-cols {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-layout {
        grid-template-columns: 220px 1fr;
    }

    /* Legacy gap removed */

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 5px;
    }

    .main-header .container {
        flex-wrap: wrap;
    }

    .header-search {
        max-width: 100%;
        order: 3;
        flex-basis: 100%;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-bar .nav-links {
        display: none;
        flex-direction: column;
    }

    .nav-bar .nav-links.active {
        display: flex;
    }

    .nav-bar .nav-links li a {
        padding: 12px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-slide {
        height: 280px;
    }

    .hero-slide-content h2 {
        font-size: 22px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .products-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-payments {
        justify-content: center;
        width: 100%;
    }

    .categories-grid {
        gap: 15px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        display: none;
    }

    /* Legacy product detail stacking removed */

    .contact-form-map {
        grid-template-columns: 1fr;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-header-row {
        display: none;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .countdown-bar .container {
        flex-direction: column;
        gap: 10px;
    }

    .category-icon img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {

    .products-grid,
    .products-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card-image {
        height: 150px;
    }

    .product-name {
        font-size: 12px;
    }

    .product-price {
        font-size: 14px;
    }

    .hero-slide {
        height: 220px;
    }

    .hero-slide-content {
        padding: 20px;
    }

    .hero-slide-content h2 {
        font-size: 18px;
    }

    .promo-card {
        height: 180px;
    }

    .promo-card-content {
        padding: 15px 20px;
        max-width: 75%;
    }

    .promo-card-content h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .promo-card-content p {
        font-size: 11px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .promo-badge {
        font-size: 10px;
        padding: 2px 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        height: 140px;
    }
}

/* ========== PREMIUM TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    min-width: 300px;
    max-width: 450px;
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 5px solid #ccc;
    font-weight: 600;
}

.toast.active {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #2ecc71;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast.info {
    border-left-color: #3498db;
}

.toast.warning {
    border-left-color: #f1c40f;
}

.toast-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.toast.error .toast-icon {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.toast.info .toast-icon {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.toast.warning .toast-icon {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.toast-content {
    flex: 1;
}

.toast-close {
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.toast-close:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .toast-container {
        bottom: 20px;
        right: 20px;
        left: 20px;
    }

    .toast {
        min-width: 0;
        width: 100%;
    }
}

/* TOP BAR MARQUEE ANIMATION */
@keyframes marquee-rtl {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .top-bar {
        overflow: hidden;
        white-space: nowrap;
        background: var(--primary-green);
    }

    .top-bar .container {
        display: block;
        padding: 0;
    }

    .top-bar-wrapper {
        display: inline-flex;
        animation: marquee-rtl 15s linear infinite;
        width: fit-content;
    }

    .top-bar-content {
        display: inline-flex;
        align-items: center;
        gap: 30px;
        padding-left: 50px;
    }

    .top-bar-right,
    .top-bar-left {
        display: inline-flex;
        gap: 20px;
    }

    .top-bar-right a span {
        display: inline !important;
    }
}

/* Visibility Utilities */
.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .mobile-only {
        display: flex;
    }

    .hide-mobile {
        display: none !important;
    }
}

/* HEADER MORE BTN */
.header-more-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.header-more-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* ========== MOBILE BOTTOM NAV ========== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0 env(safe-area-inset-bottom, 15px);
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
    z-index: 9998;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-gray);
    font-size: 11px;
    font-weight: 600;
    gap: 5px;
    flex: 1;
    position: relative;
}

.mobile-nav-item i {
    font-size: 20px;
}

.mobile-nav-item.active {
    color: var(--primary-green);
}

.mobile-nav-item .nav-badge {
    position: absolute;
    top: -5px;
    right: 25%;
    background: var(--primary-green);
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

@media (max-width: 992px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add padding to footer to avoid overlap */
    .main-footer {
        padding-bottom: 80px;
    }

    .main-header .container {
        justify-content: space-between;
        align-items: center;
    }

    /* Floating Buttons Offset */
    .whatsapp-float {
        bottom: 85px !important;
    }

    .scroll-top {
        bottom: 85px !important;
    }

    /* Side Drawer Styles */
    .nav-bar {
        position: fixed;
        top: 0;
        left: -300px;
        /* Off-screen Left */
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 1000;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        display: block;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        padding-top: 0;
        right: auto;
    }

    .nav-bar.active {
        transform: translateX(300px);
    }

    .nav-bar .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        height: 100%;
        display: flex;
    }

    .nav-bar .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        overflow-y: auto;
        flex: 1;
        background: none;
    }

    .nav-bar .nav-links li {
        width: 100%;
        border: none;
    }

    .nav-bar .nav-links li a {
        padding: 15px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--text-dark);
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        background: none;
        text-align: right;
    }

    .nav-bar .nav-links li a.active {
        background: var(--primary-green-light);
        color: var(--primary-green);
        border-right: 4px solid var(--primary-green);
    }

    .nav-bar .nav-links li a i {
        width: 24px;
        text-align: center;
        font-size: 18px;
        color: var(--primary-green);
    }

    /* Drawer Header */
    .drawer-header {
        width: 100%;
        padding: 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-white);
        color: var(--text-dark);
    }

    .drawer-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 18px;
        font-weight: 800;
    }

    .drawer-close {
        background: none;
        border: none;
        color: var(--text-dark);
        font-size: 22px;
        cursor: pointer;
        opacity: 0.6;
        transition: 0.2s;
    }

    .drawer-close:hover {
        opacity: 1;
    }

    /* Drawer Search */
    .drawer-search {
        padding: 20px 25px;
        width: 100%;
        background: #fdfdfd;
        border-bottom: 1px solid #eee;
    }

    .drawer-search form {
        position: relative;
    }

    .drawer-search input {
        width: 100%;
        padding: 12px 15px;
        padding-left: 45px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        font-family: inherit;
        background: #f9f9f9;
        outline: none;
        font-size: 14px;
    }

    .drawer-search button {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: var(--text-gray);
        font-size: 16px;
    }

    /* Drawer Footer */
    .drawer-footer {
        width: 100%;
        padding: 25px;
        border-top: 1px solid var(--border-color);
        background: #fbfbfb;
        margin-top: auto;
    }

    .drawer-contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: var(--text-gray);
        margin-bottom: 15px;
    }

    .drawer-social {
        display: flex;
        gap: 15px;
    }

    .drawer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-green);
        font-size: 18px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Backdrop Overlay */
    .drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .drawer-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* ========== SKELETON LOADING ========== */
.skeleton {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

.search-skeleton-item {
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.search-skeleton-img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.search-skeleton-text {
    flex: 1;
}

.search-skeleton-title {
    height: 12px;
    width: 70%;
    margin-bottom: 8px;
}

.search-skeleton-price {
    height: 10px;
    width: 30%;
}

/* PRODUCT CARD SKELETON */
.product-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-skeleton-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ps-image {
    height: 180px;
    width: 100%;
    margin-bottom: 15px;
}

.ps-brand {
    height: 10px;
    width: 40%;
    margin-bottom: 8px;
}

.ps-title {
    height: 15px;
    width: 80%;
    margin-bottom: 10px;
}

.ps-weight {
    height: 10px;
    width: 50%;
    margin-bottom: 15px;
}

.ps-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.header-logo:hover i {
    transform: rotate(0deg) scale(1.1);
    color: var(--text-dark);
}

.header-logo i {
    font-size: 32px;
    color: var(--primary-green);
    transform: rotate(-15deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(176, 0, 32, 0.3));
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Oswald', sans-serif;
    display: flex;
    align-items: center;
    line-height: 0.9;
}

.shred {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    background: linear-gradient(180deg, #333 0%, #000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.muscle {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-green);
    letter-spacing: -1.5px;
    margin-right: 3px;
    background: linear-gradient(180deg, var(--primary-green) 0%, #800018 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-gray);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 2px;
    opacity: 0.8;
}

/* Glassmorphism Header */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ========== SPLASH SCREEN (CURTAIN EFFECT) ========== */
.splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    overflow: hidden;
    background: transparent;
}

.splash-panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}

.splash-panel.left {
    left: 0;
    border-right: 1px solid rgba(176, 0, 32, 0.1);
}

.splash-panel.right {
    right: 0;
    border-left: 1px solid rgba(176, 0, 32, 0.1);
}

.splash-logo-half {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    top: 0;
}

.splash-logo-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 60px rgba(176, 0, 32, 0.4));
    animation: splashLogoPulse 3s infinite ease-in-out;
}

@keyframes splashLogoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.splash-panel.left .splash-logo-half {
    right: -50vw; /* Align the center of the logo with the center of the screen */
}

.splash-panel.right .splash-logo-half {
    left: -50vw; /* Align the center of the logo with the center of the screen */
}

.splash-screen.hidden .splash-panel.left {
    transform: translateX(-100%);
}

.splash-screen.hidden .splash-panel.right {
    transform: translateX(100%);
}

/* Optional: Add a subtle glow behind the logo split point */
.splash-screen::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(176, 0, 32, 0.2) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* ========== SKELETON LOADERS ========== */
.ps-price {
    height: 15px;
    width: 40%;
}

.ps-btn {
    height: 35px;
    width: 35px;
    border-radius: 50%;
}

/* ========== PRODUCT DETAIL REDESIGN ========== */
.product-detail-section {
    padding: 40px 0;
    background: #fff;
}

.breadcrumb {
    padding: 12px 0;
    background: #f8f9fa;
    margin-bottom: 20px;
    font-size: 13px;
}

.breadcrumb .container {
    flex-wrap: wrap;
    gap: 5px;
}

.breadcrumb a {
    color: var(--text-gray);
    white-space: nowrap;
}

.breadcrumb i {
    margin: 0 8px;
    font-size: 9px;
    color: #ccc;
}

.breadcrumb span {
    color: var(--primary-green);
    font-weight: 700;
}

@media (max-width: 768px) {
    .breadcrumb span {
        white-space: normal;
        display: inline-block;
        max-width: 100%;
    }
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.1fr 0.8fr;
    gap: 30px;
    margin-bottom: 50px;
}

@media (max-width: 1200px) {
    .product-detail-layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
}

/* Vertical Gallery */
.product-gallery {
    display: flex;
    gap: 15px;
}

.product-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80px;
}

.product-thumbs .thumb {
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    padding: 5px;
    background: #fff;
}

.product-thumbs .thumb.active {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px var(--primary-green-light);
}

/* Main Gallery Container */
.product-detail-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.3fr 0.8fr;
    gap: 10px;
    align-items: start;
}

/* 1. GALLERY COLUMN */
.product-gallery {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 10px;
    position: sticky;
    top: 100px;
}

.product-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.thumb {
    width: 45px;
    height: 45px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.thumb:hover,
.thumb.active {
    border-color: var(--primary-green);
}

.product-main-image {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 220px;
    position: relative;
    overflow: hidden;
}

.product-main-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* 2. INFO COLUMN */
.product-info-detail {
    padding: 0;
}

.product-brand-detail {
    color: var(--primary-green);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.product-title-detail {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
    line-height: 1.1;
}

.product-rating-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.product-id-stock {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 11px;
    color: #888;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 5px;
}

.stock-status-inline {
    color: var(--primary-green);
    font-weight: 800;
}

.product-rating-detail .stars {
    color: #ffc107;
    font-size: 14px;
}

.product-rating-detail span {
    color: #888;
    font-size: 13px;
    font-weight: 600;
}

.product-price-detail {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
    background: #fff8f8;
    padding: 15px;
    border-radius: 10px;
    border-right: 4px solid var(--primary-green);
}

.product-price-detail .current-price {
    font-size: clamp(18px, 4vw, 22px);
    font-weight: 900;
    color: var(--primary-green);
    font-family: 'Oswald', sans-serif;
}

.product-price-detail .old-price {
    font-size: 18px;
    color: #bbb;
    text-decoration: line-through;
}

.product-price-detail .discount-tag {
    background: var(--primary-green);
    color: #fff;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 14px;
    color: #444;
}

.size-options,
.flavor-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-btn,
.flavor-btn {
    padding: 10px 20px;
    border: 1.5px solid #eaeaea;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: 0.3s;
    color: #444;
}

.size-btn.active,
.flavor-btn.active {
    border-color: var(--primary-green);
    background: var(--primary-green-light);
    color: var(--primary-green);
}

.product-purchase-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    color: #444;
}

.qty-input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}

.product-actions-detail {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.product-secondary-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.btn-wishlist-detail-link,
.btn-share-link {
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-wishlist-detail-link:hover,
.btn-share-link:hover {
    color: var(--primary-green);
}

.product-secondary-actions .divider {
    color: #eee;
}

.payment-methods-box {
    margin-bottom: 25px;
    padding: 15px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-label-mini {
    font-size: 11px;
    font-weight: 900;
    color: #999;
    text-transform: uppercase;
    border: 1px solid #ddd;
    padding: 2px 5px;
    border-radius: 4px;
}

.btn-add-cart {
    flex: 1;
    height: 44px;
    background: var(--primary-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy-now {
    flex: 1;
    height: 44px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-add-cart:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(176, 0, 32, 0.3);
}

.btn-buy-now:hover {
    background: #333;
    transform: translateY(-3px) scale(1.02);
}

.btn-wishlist-detail {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    color: #888;
    font-size: 18px;
}

.btn-add-cart:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-buy-now:hover {
    background: #333;
    transform: translateY(-2px);
}

.store-availability {
    background: var(--primary-green);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
}

.store-availability:hover {
    opacity: 0.9;
}

/* Sidebar Components */
.product-sidebar-detail {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facts-card {
    border: 1px solid #111;
    padding: 0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.facts-header-premium {
    background: #111;
    color: #fff;
    padding: 15px;
    text-align: center;
}

.facts-header-premium h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.facts-card-body {
    padding: 10px;
}

.product-title-detail {
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 900;
    margin-bottom: 4px;
}

.facts-card h3 {
    border-bottom: 5px solid #111;
    padding-bottom: 2px;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 900;
    color: #111;
    font-family: 'Oswald', sans-serif;
    letter-spacing: -0.2px;
}

.fact-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px solid #111;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
}

.fact-row.thick {
    border-bottom: 4px solid #111;
}

.fact-row .val {
    font-weight: 900;
}

.shipping-info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid #eee;
}

.ship-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #444;
}

.ship-item i {
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 12px;
}

/* Tabs & Description */
.product-tabs {
    margin-top: 50px;
}

.tabs-header {
    display: flex;
    gap: 40px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    color: #888;
    position: relative;
    transition: 0.3s;
    font-family: 'Cairo', sans-serif;
}

.tab-btn.active {
    color: var(--primary-green);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-green);
}

.desc-content-layout {
    display: grid;
    grid-template-columns: 1fr 0.35fr;
    gap: 20px;
}

.desc-section {
    background: #fff;
    border: 1px solid #eee;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.desc-section:hover {
    border-color: var(--primary-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.desc-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #111;
    font-weight: 800;
    font-size: 18px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.desc-section h3 i {
    color: var(--primary-green);
}

.desc-section p {
    line-height: 1.8;
    color: #444;
    font-size: 13px;
    font-weight: 600;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #eee;
}

.spec-table td {
    padding: 8px 0;
    font-size: 12px;
}

.spec-table td:first-child {
    font-weight: 900;
    color: #111;
    width: 40%;
}

.spec-table td:last-child {
    color: #666;
    font-weight: 600;
    text-align: left;
}

/* Premium Footer Features */
.premium-features-bar {
    background: #fdfdfd;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.feat-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-green-light);
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.feature-box.green .feat-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.feature-box.black .feat-icon {
    background: rgba(0, 0, 0, 0.05);
    color: #111;
}

.feature-box h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}



/* FINE TUNING */
.tab-content-panel {
    padding: 30px;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 15px 15px;
    background: #fff;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.spec-table tr:nth-child(even) {
    background: #fafafa;
}

.spec-table td {
    padding: 15px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.spec-table td:first-child {
    font-weight: 800;
    color: #111;
    width: 35%;
    border-left: 1px solid #f0f0f0;
}

.spec-table td:last-child {
    color: #666;
    font-weight: 600;
}

/* Premium Trust Bar */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding: 20px 0;
}

.trust-item {
    flex: 1;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1.1px solid #f0f0f0;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
}

.trust-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-green-light);
    color: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.trust-item.green .trust-icon {
    background: #eefdf3;
    color: #10b981;
}

.trust-item.whatsapp .trust-icon {
    background: #e8f9ee;
    color: #25d366;
}

.trust-info h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 2px;
}

.trust-info p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.review-form-box {
    margin-top: 50px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px dashed var(--primary-green);
}

.review-form-box h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #111;
}

.form-group-custom {
    margin-bottom: 20px;
}

.form-group-custom label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #444;
}

.form-control-custom {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    transition: 0.3s;
}

.form-control-custom:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.1);
}

.btn-submit-review {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-submit-review:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* STORE AVAILABILITY MODAL */
.availability-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.availability-modal.active {
    display: flex;
}

.modal-box {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
}

.modal-close:hover {
    color: var(--primary-green);
    transform: rotate(90deg);
}

.modal-box h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
    color: var(--primary-green);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.branch-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.branch-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
}

.branch-info strong {
    font-size: 16px;
    color: #111;
    display: block;
}

.branch-info span {
    font-size: 13px;
    color: #888;
}

.stock-status {
    font-weight: 800;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 20px;
}

.stock-status.in {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.stock-status.low {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

/* Responsive Overrides (MF Premium Redesign) */
@media (max-width: 1200px) {
    .product-detail-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 20px;
    }

    .product-nutrition-detail {
        grid-column: span 2;
        margin-top: 20px;
    }
}

@media (max-width: 1024px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-nutrition-detail {
        grid-column: span 1;
    }

    .desc-content-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .product-detail-section {
        padding: 10px 0;
    }

    .product-gallery {
        grid-template-columns: 1fr;
        position: relative;
        top: 0;
    }

    .product-thumbs {
        flex-direction: row;
        order: 2;
        overflow-x: auto;
        padding: 8px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .product-thumbs::-webkit-scrollbar {
        display: none;
    }

    .thumb {
        width: 60px;
        flex-shrink: 0;
    }

    .product-main-image {
        height: min(320px, 75vw);
        order: 1;
        border-radius: 10px;
        padding: 10px;
    }

    .product-purchase-row {
        flex-direction: column;
        gap: 10px;
    }

    .qty-control {
        width: 100% !important;
        height: 48px;
    }

    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
        height: 48px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .product-main-image {
        height: 280px;
    }

    .desc-section {
        padding: 12px;
    }

    .fact-row {
        font-size: 13px;
    }

    .product-price-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .payment-icons {
        gap: 6px;
        flex-wrap: wrap;
    }
}