/* === TipTop - RTL Hebrew E-commerce === */

/* ── Font Awesome font-display override (CDN doesn't set swap) ── */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-regular-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-brands-400.woff2') format('woff2');
}

:root {
    --primary: #983695;
    --primary-dark: #7a2b78;
    --primary-light: #f3e5f2;
    --secondary: #3d2a3c;
    --accent: #c48dc2;
    --dark: #2c2c2c;
    --text: #333333;
    --text-light: #6b6b7b;
    --light: #f8f3f8;
    --white: #ffffff;
    --border: #e8dfe8;
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --shadow: 0 2px 15px rgba(61,53,82,0.08);
    --shadow-lg: 0 5px 30px rgba(61,53,82,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --font: 'Heebo', 'Arial', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a, button, [role="button"], input[type="submit"], .btn-primary, .btn-secondary, .btn-outline,
.category-pill, .product-card a, .category-card, .upsell-card, .whatsapp-float, .seo-cta-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    direction: rtl;
    text-align: right;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    font-size: 14px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--primary-light);
}

.top-bar a:hover {
    color: var(--white);
}

.header-main {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--primary);
}

.site-logo {
    max-height: 50px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav a {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    color: var(--text);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 50%;
    transform: translateX(50%);
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-radius: var(--radius);
    padding: 16px;
    z-index: 100;
    min-width: 520px;
}

.main-nav .dropdown-menu-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 4px 20px;
}

.main-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.main-nav .dropdown-menu a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
}

.main-nav .dropdown-menu a:hover {
    background: var(--light);
}

.dropdown-view-all {
    font-weight: 600 !important;
    color: var(--primary-dark) !important;
    border-bottom: 1px solid var(--border) !important;
    margin-bottom: 6px;
    padding-bottom: 10px !important;
    grid-column: 1 / -1;
}

.dropdown-group {
    break-inside: avoid;
    padding: 0;
    margin: 0;
}

.dropdown-group:first-of-type {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

a.dropdown-group-title {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 9px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    background: #f8f9fa !important;
}

a.dropdown-group-title:hover {
    background: var(--primary-light) !important;
    color: var(--primary-dark) !important;
}

a.dropdown-group-title i {
    font-size: 12px;
    color: var(--primary);
}

.dropdown-group-items a {
    padding-right: 38px !important;
    font-size: 13px !important;
    color: var(--text-light) !important;
    position: relative;
}

.dropdown-group-items a::before {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    pointer-events: none;
    transform: translateY(-50%);
}

.dropdown-group-items a:hover {
    color: var(--primary-dark) !important;
}

.dropdown-group-items a:hover::before {
    background: var(--primary);
}

/* Header Cart */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-buy-btn {
    display: none; /* shown only on mobile via media query */
    align-items: center;
    padding: 7px 16px;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, transform .12s;
    line-height: 1;
}

.header-buy-btn:hover {
    background: #d9897f;
    transform: translateY(-1px);
}

.cart-icon {
    position: relative;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
    padding: 8px;
}

.cart-icon:hover {
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #b58ab5;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Mini Cart Dropdown ===== */
.cart-dropdown-wrap {
    position: relative;
}

button.cart-icon {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.cart-dropdown {
    position: fixed;
    top: 70px;
    left: 20px;
    transform: translateY(-8px);
    width: 360px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 9999;
    overflow: hidden;
    direction: rtl;
}

.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 16px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.06));
}

.cart-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cart-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, var(--primary, #e8a4a0) 0%, #f5c6c2 100%);
    color: #fff;
}

.cart-dropdown-title {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-dropdown-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.15s;
}

.cart-dropdown-close:hover {
    background: rgba(255,255,255,0.35);
}

.cart-dropdown-body {
    max-height: 320px;
    overflow-y: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: #eee transparent;
}

.cart-dropdown-body::-webkit-scrollbar {
    width: 4px;
}

.cart-dropdown-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.cart-dropdown-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    color: #bbb;
    font-size: 22px;
}

.cart-mini-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.12s;
}

.cart-mini-item:last-child {
    border-bottom: none;
}

.cart-mini-item:hover {
    background: #fafafa;
}

.cart-mini-img-wrap {
    flex-shrink: 0;
}

.cart-mini-img {
    width: 62px;
    height: 62px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #eee;
    display: block;
}

.cart-mini-info {
    flex: 1;
    min-width: 0;
}

.cart-mini-name {
    font-weight: 600;
    font-size: 13.5px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.cart-mini-variation {
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.cart-mini-price {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.cart-mini-qty-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.cart-mini-qty-controls {
    display: flex;
    align-items: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.cart-mini-qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.12s, color 0.12s;
    line-height: 1;
}

.cart-mini-qty-btn:hover {
    background: #f5f5f5;
    color: var(--primary, #e8a4a0);
}

.cart-mini-qty-btn.remove-btn:hover {
    color: #e74c3c;
    background: #fff5f5;
}

.cart-mini-qty-val {
    font-size: 13px;
    font-weight: 700;
    min-width: 26px;
    text-align: center;
    color: #222;
    border-left: 1.5px solid #e0e0e0;
    border-right: 1.5px solid #e0e0e0;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-mini-total {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary, #e8a4a0);
    white-space: nowrap;
}

.cart-dropdown-footer {
    border-top: 1px solid #f0f0f0;
    padding: 14px 16px;
    background: #fafafa;
}

.cart-dropdown-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.cart-dropdown-subtotal span:first-child {
    color: #555;
    font-weight: 500;
}

.cart-dropdown-subtotal-val {
    font-weight: 800;
    font-size: 18px;
    color: #222;
}

.cart-dropdown-actions {
    display: flex;
    gap: 8px;
}

.cart-dropdown-btn-view {
    flex: 1;
    padding: 11px 12px;
    text-align: center;
    border: 2px solid var(--primary, #e8a4a0);
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary, #e8a4a0);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    background: #fff;
}

.cart-dropdown-btn-view:hover {
    background: var(--primary, #e8a4a0);
    color: #fff;
}

.cart-dropdown-btn-checkout {
    flex: 1.4;
    padding: 11px 12px;
    text-align: center;
    background: var(--primary, #e8a4a0);
    border: 2px solid var(--primary, #e8a4a0);
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s, transform 0.12s;
}

.cart-dropdown-btn-checkout:hover {
    background: var(--primary-dark, #d4807a);
    border-color: var(--primary-dark, #d4807a);
    transform: translateY(-1px);
}

.cart-dropdown-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 20px;
    color: #bbb;
    text-align: center;
    gap: 10px;
}

.cart-dropdown-empty i {
    font-size: 40px;
    opacity: 0.35;
}

.cart-dropdown-empty p {
    font-size: 15px;
    color: #aaa;
    margin: 0;
}

.cart-dropdown-shop-link {
    font-size: 13.5px;
    color: var(--primary, #e8a4a0);
    font-weight: 600;
    text-decoration: none;
}

.cart-dropdown-shop-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cart-dropdown {
        position: fixed;
        top: 70px;
        right: 8px;
        left: 8px;
        width: auto;
        transform: translateY(-8px);
    }
    .cart-dropdown.open {
        transform: translateY(0);
    }
    .cart-dropdown::before {
        right: 20px;
    }
}
/* ===== End Mini Cart Dropdown ===== */

.search-icon {
    font-size: 20px;
    color: var(--secondary);
    cursor: pointer;
    padding: 8px;
}

.search-icon:hover {
    color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--secondary);
    padding: 10px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 26px;
    pointer-events: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav header/footer - hidden on desktop */
.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

.mobile-nav-cart-count {
    display: none;
}

.mobile-only-item {
    display: none;
}

/* Mobile menu overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* === HERO SECTION === */
.hero-split {
    display: flex;
    min-height: 620px;
    gap: 10px;
    padding: 10px;
}

.hero-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-col:hover {
    /* transform: scale(1.02); */
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.hero-col-baby {
    background-color: #a3c6e7;
}

.hero-col-pillow {
    background-color: #983695;
}

.hero-col-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 10px 30px;
    background: rgb(255 255 255 / 64%);
    backdrop-filter: blur(6px);
}

.hero-shop-btn {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 10px;
    transition: background .2s, transform .2s;
    white-space: nowrap;
}

.hero-col:hover .hero-shop-btn {
    background: var(--primary-dark);
    transform: translateX(-50%) translateY(-3px);
}

.hero-col-inner h2 {
    font-size: 38px;
    font-weight: 800;
    color: #A1CBE6;
    margin-bottom: -10px;
}

.hero-rotating {
    font-size: 24px;
    color: #f3a39b;
    margin-bottom: 0;
    min-height: 30px;
    display: block;
}

.hero-rotating-static {
    font-weight: 400;
}

.hero-rotating-words {
    font-weight: 700;
    display: inline-block;
    min-width: 120px;
    text-align: right;
}

.hero-rotating-words .word {
    display: inline-block;
    opacity: 0;
    position: absolute;
    animation: heroWordDrop 0.5s ease forwards;
}

.hero-rotating-words .word.active {
    opacity: 1;
    position: relative;
}

@keyframes heroWordDrop {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* hero-col is now an <a> tag, no separate btn needed */

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249,183,175,0.4);
}

.btn-secondary {
    background: var(--accent);
    color: var(--white);
}

.btn-secondary:hover {
    background: #8bb5d9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #219a52;
}

/* === SECTIONS === */
.section {
    padding: 60px 0;
}

.section-light {
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 17px;
}

/* === PRODUCT CARDS === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card .image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--light);
}

.product-card .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: var(--transition);
    background: white;
}

.product-card:hover .image-wrap img {
    transform: scale(1.05);
}

.product-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-dark);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.product-card .card-body {
    padding: 18px;
}

.product-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.product-card .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.product-card .price .old-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 400;
}

.product-card .card-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.product-card .btn-add-cart {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: var(--transition);
}

.product-card .btn-add-cart:hover {
    background: var(--primary-dark);
}

/* === CATEGORY CARDS === */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card-img {
    width: 240px;
    height: 300px;
    /* border-radius: 50%; */
    overflow: hidden;
    margin-bottom: 16px;
    /* background: var(--light); */
    flex-shrink: 0;
}

.category-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.category-card:hover .category-card-img img {
    transform: scale(1.08);
}

.category-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.category-children {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
}

.category-child-tag {
    font-size: 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

/* Subcategories bar on category page */
.subcategories-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.subcategory-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--light);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.subcategory-link:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-light);
}

.subcategory-link.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* === Products Page - Category Navigation Pills === */
.category-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.25s ease;
    text-decoration: none;
}

.category-pill img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.category-pill .pill-count {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
}

.category-pill:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 183, 175, 0.3);
}

/* === Products Page - Category Sections === */
.category-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #faf6f2 0%, #fef9f7 100%);
    border-radius: var(--radius);
    border-right: 4px solid var(--primary);
}

.category-section-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.category-section-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-light);
}

.category-section-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.category-section-children {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.category-section-children .child-tag {
    font-size: 12px;
    padding: 3px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.category-section-children .child-tag:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 183, 175, 0.3);
}

/* === VIP Section === */
.vip-section {
    background: var(--light);
    color: var(--white);
    padding: 60px 0;
}

.vip-section .section-title h2 {
    color: var(--primary);
}

.vip-section .section-title p {
    color: rgba(255,255,255,0.7);
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.vip-item {
    text-align: center;
}

.vip-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.vip-item p {
    font-size: 22px;
    color: #fac3b8;
}

/* === NEWSLETTER === */
.newsletter {
    background: linear-gradient(135deg, #f3e5f2, #e8d4e7);
    padding: 50px 0;
    text-align: center;
}

.newsletter h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    direction: rtl;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

/* === FOOTER === */
.footer-new {
    background: #1a252f;
    color: var(--white);
    padding: 60px 0 25px;
    position: relative;
    text-align: center;
}

.footer-tilt {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.footer-tilt svg {
    width: 100%;
    height: 60px;
    display: block;
}

.footer-logo-row {
    margin-bottom: 25px;
    padding-top: 30px;
}

.footer-logo-img {
    max-height: 70px;
    width: auto;
}

.footer-logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--primary);
}

.footer-description {
    max-width: 600px;
    margin: 0 auto 25px;
    color: rgba(255,255,255,0.75);
    font-size: 15px;
    line-height: 1.9;
}

.footer-description p {
    margin-bottom: 12px;
}

.footer-description a {
    color: var(--primary);
    font-weight: 600;
}

.footer-description a:hover {
    color: var(--white);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 25px;
    font-size: 14px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    padding: 4px 6px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-sep {
    color: rgba(255,255,255,0.25);
    font-size: 12px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 25px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* === CART PAGE === */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.cart-table th {
    background: var(--light);
    padding: 15px;
    text-align: right;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-table .product-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-table .qty-input {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-family: var(--font);
}

.cart-bottom {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.coupon-section {
    flex: 1;
    min-width: 280px;
}

.coupon-section h4 {
    margin-bottom: 10px;
}

.coupon-input-wrap {
    display: flex;
    gap: 10px;
}

.coupon-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
}

.coupon-active {
    color: var(--success);
    margin-top: 8px;
    font-size: 14px;
}

.cart-summary {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    max-width: 480px;
    min-width: 380px;
    margin-right: auto;
}

.cart-summary h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.cart-summary .row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.cart-summary .discount-row {
    color: var(--success);
}

.cart-summary .free-shipping {
    color: var(--success);
}

.cart-summary .total {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
    border-bottom: none;
}

.cart-checkout-btn {
    width: 100%;
    margin-top: 15px;
    display: block;
    text-align: center;
}

/* === CART UPSELLS === */
.cart-upsells {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.cart-upsells-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 6px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-color, #983695);
}

.cart-upsell {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #fdf6f5 0%, #f9f0f4 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    transition: opacity 0.3s, max-height 0.4s;
}

.cart-upsell-global {
    background: linear-gradient(135deg, #f5f8fc 0%, #eef4fa 100%);
    border-color: var(--secondary-light, #a3c6e7);
}

.cart-upsell-image {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
}

.cart-upsell-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.cart-upsell-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cart-upsell-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
}

.cart-upsell-text strong {
    color: var(--secondary);
}

.cart-upsell-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cart-upsell-yes {
    white-space: nowrap;
}

.cart-upsell-no {
    white-space: nowrap;
    font-size: 13px;
    opacity: 0.8;
}

.cart-upsell-no:hover {
    opacity: 1;
}

/* Upsell Popup */
.upsell-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.upsell-popup-overlay.active {
    display: flex;
}

.upsell-popup {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    animation: upsellPopupIn 0.25s ease-out;
}

@keyframes upsellPopupIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.upsell-popup-close {
    position: absolute;
    top: 12px;
    left: 12px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}

.upsell-popup-close:hover {
    color: var(--dark);
}

.upsell-popup-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 20px;
    color: var(--secondary);
}

.upsell-popup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.upsell-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    background: var(--white);
}

.upsell-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.upsell-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--light);
}

.upsell-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upsell-card-info {
    padding: 12px;
    text-align: center;
}

.upsell-card-name {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

.upsell-card-prices {
    margin: 0 0 10px;
    font-size: 15px;
}

.upsell-card-price {
    font-weight: 700;
    color: var(--secondary);
}

.upsell-card-old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 13px;
    margin-left: 4px;
}

.upsell-card .btn {
    font-size: 13px;
    padding: 6px 16px;
}

@media (max-width: 600px) {
    .cart-upsell {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .cart-upsell-content {
        flex-direction: column;
        align-items: center;
    }

    .cart-upsell-image {
        width: 70px;
        height: 70px;
    }

    .cart-upsell-actions {
        width: 100%;
        justify-content: center;
    }

    .upsell-popup {
        padding: 20px;
        max-height: 90vh;
    }

    .upsell-popup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .upsell-card-name {
        font-size: 13px;
    }
}

/* === CHECKOUT === */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 15px;
    direction: rtl;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* === CHECKOUT STYLES === */
.checkout-section-title {
    margin-bottom: 18px;
    color: var(--secondary);
    font-size: 20px;
}

.checkout-pay-btn {
    width: 100%;
}

.checkout-summary {
    background: var(--light);
    padding: 22px;
    border-radius: var(--radius);
    position: sticky;
    top: 80px;
}

.checkout-item {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.checkout-item-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.checkout-item-qty {
    color: var(--text-light);
    font-size: 13px;
}

.checkout-item-price {
    font-weight: 600;
    font-size: 15px;
    flex-shrink: 0;
}

.checkout-totals {
    margin-top: 5px;
}

.checkout-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.checkout-discount {
    color: var(--success);
}

.checkout-total-final {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    border-bottom: none;
    padding-top: 12px;
}

.checkout-secure {
    margin-top: 12px;
    padding: 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

.checkout-secure i {
    color: var(--success);
}

.checkout-terms-note {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.5;
}

.checkout-terms-note a {
    color: var(--primary);
    text-decoration: underline;
}

.checkout-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.checkout-cards i {
    font-size: 32px;
    color: #aaa;
    transition: color 0.15s;
}

.checkout-cards i:hover {
    color: #555;
}

/* === SHIPPING OPTIONS === */
.shipping-options {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .shipping-options {
        flex-direction: column;
    }
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    flex: 1;
}

.shipping-option:hover {
    border-color: var(--primary);
}

.shipping-option.selected {
    border-color: var(--primary);
    background: rgba(249, 183, 175, 0.08);
}

.shipping-option input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.shipping-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shipping-option-info strong {
    font-size: 15px;
    color: var(--secondary);
}

.shipping-option-info small {
    font-size: 13px;
    color: var(--text-light);
}

.shipping-option-info small i {
    margin-left: 4px;
}

.shipping-option-price {
    text-align: left;
    font-weight: 700;
    font-size: 15px;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.shipping-option-price small {
    font-weight: 400;
    font-size: 11px;
    color: var(--text-light);
}

/* === PRODUCT DETAIL === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* padding: 40px 0; */
}

.product-gallery img {
    width: 100%;
    border-radius: var(--radius);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary);
}

.product-info h1 {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-category {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 14px;
}

.product-category a {
    color: var(--primary-dark);
}

.product-info .price-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.price-old {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-save {
    background: var(--danger);
    color: #fff;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.product-info .price-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 700;
    padding: 3px 20px;
    border-radius: 30px;
    border: 2px solid var(--primary);
}

.product-info .description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.variation-selector {
    margin-bottom: 18px;
}

.variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.variation-btn:hover {
    border-color: var(--primary);
    background: #fef7f0;
}

.variation-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary);
}

.variation-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
}

.variation-price {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
}

.product-info .add-to-cart-form {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 15px;
}

.product-sku {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.product-badges i {
    color: var(--primary);
    margin-left: 4px;
}

.product-secondary-content {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.product-secondary-content p {
    margin-bottom: 8px;
}

.product-secondary-content ul,
.product-secondary-content ol {
    padding-right: 20px;
    padding-left: 0;
    margin: 0 0 10px 0;
    list-style-position: inside;
}

.washing-instructions {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 18px;
    margin-top: 5px;
}

.washing-instructions h4 {
    font-size: 15px;
    color: var(--secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.washing-instructions h4 i {
    color: var(--accent);
}

.washing-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.washing-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
}

.washing-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.out-of-stock-banner {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    padding: 15px 18px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.out-of-stock-banner i {
    font-size: 18px;
    flex-shrink: 0;
}

.stock-indicator.out-of-stock {
    color: var(--danger);
}

.stock-indicator.out-of-stock .dot {
    background: var(--danger);
    animation: none;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    z-index: 5;
    border-radius: var(--radius);
    pointer-events: none;
}

.product-gallery {
    position: relative;
}

/* ── Product badge images (top-right overlay) ── */
.product-badges-wrap {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: flex-end;
    pointer-events: none;
}

.product-badge-img {
    display: block;
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.18));
    border-radius: 4px;
}

@media (max-width: 640px) {
    .product-badge-img {
        max-width: 85px;
        max-height: 85px;
    }
    .product-badges-wrap {
        top: 8px;
        right: 8px;
        gap: 5px;
    }
}

.product-card .out-of-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-description {
    margin-top: 20px;
}

.product-description h3 {
    margin-bottom: 12px;
    color: var(--secondary);
}

.product-video {
    margin-top: 30px;
}

.product-description-full {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-video-full {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-video h3 {
    margin-bottom: 15px;
    color: var(--secondary);
    font-size: 20px;
}

.product-video h3 i {
    margin-left: 6px;
    color: var(--primary);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-wrapper-local {
    padding-bottom: 0;
}

.video-wrapper-local video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

/* Testimonials Carousel */
.testimonials-section {
    margin-top: 60px;
    margin-bottom: 10px;
}

.testimonials-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonials-track-wrapper {
    flex: 1;
    overflow-x: scroll;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 16px;
    /* make sure overflow-y visible doesn't clip the hover lift */
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.testimonials-track-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    /* No transform transition — native scroll handles movement */
}

.testimonial-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    min-width: calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
    background: #fff;
    border-radius: 20px;
    padding: 32px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    box-shadow: 0 2px 16px rgba(92, 74, 58, 0.06);
    border: 1px solid rgba(249, 183, 175, 0.2);
    transition: transform 0.35s, box-shadow 0.35s;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(92, 74, 58, 0.12);
}

.testimonial-quote-icon {
    color: var(--primary);
    font-size: 22px;
    opacity: 0.6;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    font-size: 14px;
    color: #f5a623;
}

.testimonial-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-light);
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--primary-light);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(249, 183, 175, 0.35);
}

.testimonial-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
}

.testimonials-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    flex-shrink: 0;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.testimonials-nav:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: var(--primary-light);
    box-shadow: 0 4px 14px rgba(249, 183, 175, 0.2);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.testimonials-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 1023px) {
    .testimonial-card {
        min-width: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 639px) {
    .testimonials-section {
        margin-top: 40px;
        overflow: hidden; /* keep rounded corners */
    }

    .testimonial-card {
        scroll-snap-align: center;  /* center each card on mobile */
        min-width: 70vw;
        max-width: 70vw;
        padding: 26px 20px 22px;
    }

    .testimonials-nav {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .testimonials-track {
        gap: 16px;
    }
}

/* Partner Logos Carousel */
.partners-section {
    margin-top: 50px;
    padding: 36px 0 10px;
    border-top: 1px solid var(--border);
}

.partners-section .section-title h2 {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
}

.partners-carousel {
    overflow: hidden;
    mask-image: linear-gradient(to left, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, black 8%, black 92%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 48px;
    width: max-content;
    animation: partnersScroll 30s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    opacity: 0.5;
    transition: opacity 0.3s;
    text-decoration: none;
}

.partner-logo-item:hover {
    opacity: 1;
}

.partner-logo-item img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s;
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
}

@keyframes partnersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

@media (max-width: 639px) {
    .partners-section {
        margin-top: 35px;
        padding: 28px 0 10px;
    }

    .partners-track {
        gap: 32px;
        animation-duration: 20s;
    }

    .partner-logo-item img {
        max-height: 60px;
        max-width: 100px;
    }
}

.related-products {
    margin-top: 50px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
}

.qty-selector button {
    background: var(--light);
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    font-family: var(--font);
}

.qty-selector input {
    width: 50px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-family: var(--font);
}

/* === BREADCRUMB === */
.breadcrumb-nav {
    background: #faf8f7;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 13px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 4px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-light);
}

.breadcrumb-item::before {
    content: '\f054'; /* fa-chevron-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: #ccc;
    order: -1;
}

.breadcrumb-item:first-child::before {
    display: none;
}

.breadcrumb-item a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.15s;
    padding: 2px 4px;
    border-radius: 4px;
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
    background: var(--primary-light);
}

.breadcrumb-item.breadcrumb-current span {
    color: #888;
    font-weight: 600;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 480px) {
    .breadcrumb-item.breadcrumb-current span {
        max-width: 130px;
    }
}

/* === ARTICLES === */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.article-card .image-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--light);
}

.article-card .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .card-body {
    padding: 20px;
}

.article-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 22px;
    color: var(--secondary);
}

.article-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* === ALERTS === */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-size: 14px;
}

.pagination a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* === PAGE HEADER === */
.page-header {
    background: linear-gradient(135deg, #ede5f7 0%, #f5f3f8 100%);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 34px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* === CART POPUP === */
#cartPopupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#cartPopupOverlay.active {
    opacity: 1;
}

.cart-popup-box {
    background: var(--white);
    border-radius: 16px;
    width: 420px;
    max-width: 92%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

#cartPopupOverlay.active .cart-popup-box {
    transform: scale(1) translateY(0);
}

.cart-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
}

.cart-popup-header span {
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-popup-header i {
    font-size: 20px;
}

.cart-popup-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cart-popup-close:hover {
    background: rgba(255,255,255,0.35);
}

.cart-popup-body {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
}

.cart-popup-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.cart-popup-info {
    flex: 1;
    min-width: 0;
}

.cart-popup-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 4px;
}

.cart-popup-price {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-dark);
}

.cart-popup-footer {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.cart-popup-btn-continue {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.cart-popup-btn-continue:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.cart-popup-btn-cart {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.cart-popup-btn-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--white);
}

/* === STICKY ADD-TO-CART BAR (mobile) === */
.sticky-add-bar {
    display: none;
}

@media (max-width: 768px) {
    .sticky-add-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 800;
        background: linear-gradient(to top, #fff 80%, rgba(255,255,255,0.92));
        border-top: 1px solid var(--border);
        box-shadow: 0 -8px 32px rgba(0,0,0,0.1);
        transform: translateY(105%);
        transition: transform 0.35s cubic-bezier(.22,.68,0,1.1);
        padding: 12px 14px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .sticky-add-bar.visible {
        transform: translateY(0);
    }

    .sticky-add-bar-inner {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .sticky-add-bar-info {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 1;
        min-width: 0;
    }

    .sticky-product-thumb {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        object-fit: cover;
        border: 1px solid var(--border);
        flex-shrink: 0;
    }

    .sticky-add-bar-price {
        display: flex;
        flex-direction: column;
        gap: 0;
        min-width: 0;
    }

    .sticky-product-name {
        font-size: 12px;
        font-weight: 600;
        color: var(--text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.3;
    }

    .sticky-price-row {
        display: flex;
        align-items: baseline;
        gap: 5px;
    }

    .sticky-price-current {
        font-size: 20px;
        font-weight: 900;
        color: var(--secondary);
        line-height: 1.1;
    }

    .sticky-price-old {
        font-size: 12px;
        color: var(--text-light);
        text-decoration: line-through;
    }

    .sticky-add-btn {
        flex-shrink: 0;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: #fff;
        border: none;
        border-radius: 14px;
        padding: 13px 22px;
        font-size: 15px;
        font-weight: 800;
        cursor: pointer;
        font-family: var(--font);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        white-space: nowrap;
        box-shadow: 0 4px 16px rgba(249,183,175,0.45);
        transition: transform .15s ease, box-shadow .15s ease;
    }

    .sticky-add-btn:active {
        transform: scale(0.95);
    }

    .sticky-add-btn i {
        font-size: 14px;
    }

    /* Push floating buttons up when sticky bar is visible */
    body.sticky-cart-active .whatsapp-float {
        bottom: 85px !important;
        transition: bottom 0.3s ease;
    }

    body.sticky-cart-active .a11y-toggle {
        bottom: 85px !important;
        transition: bottom 0.3s ease;
    }

    body.sticky-cart-active .a11y-panel {
        bottom: 150px !important;
    }
}

/* === PAYMENT POPUP === */
.payment-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.payment-overlay.active {
    display: flex;
}

.payment-popup {
    background: var(--white);
    border-radius: var(--radius);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
}

.payment-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.payment-popup-header h3 {
    font-size: 18px;
    color: var(--secondary);
}

.payment-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.payment-popup iframe {
    width: 100%;
    height: 70vh;
    border: none;
}

/* === PAYMENT EXIT POPUP === */
#paymentExitPopup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#paymentExitPopup.active {
    opacity: 1;
}

.pay-exit-box {
    background: var(--white);
    border-radius: 20px;
    padding: 35px 30px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#paymentExitPopup.active .pay-exit-box {
    transform: scale(1);
}

.pay-exit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff3cd;
    color: #f59e0b;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.pay-exit-box h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.pay-exit-box p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 22px;
}

.pay-exit-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pay-exit-btn-retry {
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pay-exit-btn-retry:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.pay-exit-btn-cancel {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--text-light);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.pay-exit-btn-cancel:hover {
    border-color: var(--text-light);
}

/* === EMPTY STATE === */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    fill: var(--border);
}

.empty-state h3 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* === HERO BUTTONS === */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* === PROMO BANNER === */
.promo-banner {
    background: var(--primary-light);
    padding: 28px 0;
}

.promo-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.promo-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.promo-badge {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.promo-heading {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    margin: 0;
}

.promo-perks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.promo-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--secondary);
}

.promo-perk i {
    color: var(--primary-dark);
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.promo-perk strong {
    font-weight: 700;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}

.promo-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: #fff;
}

/* === PROMO SECTION === */
.promo-section {
    background: linear-gradient(135deg, #f7e6d5 0%, #f5f5f5 100%);
}

.promo-content {
    text-align: center;
}

.promo-content h2 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.promo-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 17px;
}

/* === FEATURES === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
}

.feature-item {
    padding: 25px 15px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    display: block;
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-section-title {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 20px;
}

.contact-info-box {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item i {
    color: var(--primary);
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-info-item a {
    color: var(--primary-dark);
    font-weight: 600;
}

/* === OVERLAY BUTTON === */
.overlay-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 15px;
    background: var(--primary-dark);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
}

/* === SCROLL ANIMATIONS === */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* === URGENCY & TRUST === */
.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff3cd;
    color: #856404;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    animation: pulse-soft 2s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.trust-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 18px 0;
    background: var(--light);
    font-size: 14px;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-strip span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-strip i {
    color: var(--primary-dark);
    font-size: 16px;
}

.stock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--success);
    font-weight: 500;
    margin-bottom: 12px;
}

.stock-indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.social-proof i {
    color: var(--warning);
}

/* === LOADING === */
.loading-spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--border);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .footer-tilt svg {
        height: 40px;
    }

    .vip-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .category-section-header {
        padding: 16px 20px;
    }

    .category-section-header h2 {
        font-size: 20px;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    /* Top bar */
    .top-bar {
        font-size: 12px;
        padding: 6px 0;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 0px;
        text-align: center;
    }

    /* Contact page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .contact-info-box {
        padding: 18px;
    }

    .contact-info-item {
        margin-bottom: 14px;
    }

    /* Promo banner */
    .promo-banner {
        padding: 20px 0;
    }

    .promo-heading {
        font-size: 18px;
    }

    .promo-perk {
        font-size: 13px;
    }

    /* Promo section */
    .promo-content h2 {
        font-size: 22px;
    }

    .promo-content p {
        font-size: 15px;
    }

    /* Header */
    .header-main {
        padding: 5px 0;
    }

    .header-main .container {
        gap: 10px;
    }

    .logo a {
        font-size: 22px;
    }

    .site-logo {
        max-height: 60px;
    }

    /* Mobile Nav */
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        box-shadow: -8px 0 30px rgba(0,0,0,0.12);
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        flex-direction: column;
    }

    .main-nav.active {
        display: flex;
        transform: translateX(0);
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        border-bottom: 1px solid #f0f0f0;
        flex-shrink: 0;
        background: linear-gradient(135deg, #ffedff 0%, #fff 100%);
    }

    .mobile-nav-logo {
        display: flex;
        align-items: center;
    }

    .mobile-nav-logo img {
        height: 38px;
        width: auto;
        object-fit: contain;
    }

    .mobile-nav-logo span {
        color: var(--primary);
    }

    .mobile-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: none;
        background: #f5f5f5;
        color: var(--text);
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-nav-close:hover {
        background: var(--primary-light);
        color: var(--primary-dark);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        flex: 1;
        padding: 8px 0;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 22px;
        border-radius: 0;
        border-bottom: none;
        font-size: 15px;
        font-weight: 500;
        color: var(--text);
        transition: all 0.2s ease;
    }

    .main-nav a i:first-child {
        width: 20px;
        text-align: center;
        font-size: 15px;
        margin-left: 5px;
        color: var(--primary);
        flex-shrink: 0;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: var(--primary-light);
        color: var(--primary-dark);
    }

    .main-nav li {
        margin: 0 10px;
        border-radius: 10px;
        overflow: hidden;
    }

    .mobile-dropdown-arrow {
        margin-right: auto;
        font-size: 11px !important;
        color: #bbb !important;
        transition: transform 0.25s ease;
    }

    .dropdown.open .mobile-dropdown-arrow {
        transform: rotate(180deg);
    }

    .main-nav .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        padding-right: 32px;
        background: transparent;
        min-width: auto;
        border-radius: 0;
        transform: none;
        right: auto;
    }

    .main-nav .dropdown-menu-inner {
        display: block;
    }

    .main-nav .dropdown-menu a {
        padding: 11px 22px;
        font-size: 14px;
        border-bottom: none;
        color: var(--text-light);
        gap: 0;
    }

    .main-nav .dropdown-menu a::before {
        content: '–';
        margin-left: 8px;
        color: #ccc;
    }

    .main-nav .dropdown-menu a:hover {
        color: var(--primary-dark);
    }

    .main-nav .dropdown-menu .dropdown-view-all {
        font-weight: 600 !important;
        border-bottom: 1px solid #eee !important;
        padding-bottom: 12px !important;
        margin-bottom: 4px;
    }

    .main-nav .dropdown-menu .dropdown-group {
        border-top: 1px solid #eee;
        padding-top: 6px;
        margin-top: 6px;
    }

    .main-nav .dropdown-menu .dropdown-group:first-of-type {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }

    .main-nav .dropdown-menu a.dropdown-group-title {
        padding: 10px 22px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: var(--secondary) !important;
        background: #f5f5f5 !important;
        border-radius: 6px;
        margin: 0 8px 2px;
    }

    .main-nav .dropdown-menu a.dropdown-group-title::before {
        display: none;
    }

    .main-nav .dropdown-menu .dropdown-group-items a {
        padding-right: 42px !important;
        font-size: 13px !important;
    }

    .main-nav .dropdown-menu .dropdown-group-items a::before {
        content: '';
        position: absolute;
        right: 28px;
        top: 50%;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--primary-light);
        transform: translateY(-50%);
    }

    .main-nav .dropdown-menu .dropdown-group-items a:hover::before {
        background: var(--primary);
    }

    .mobile-nav-cart-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        color: var(--white);
        font-size: 11px;
        font-weight: 700;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        margin-right: auto;
    }

    .mobile-nav-footer {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 12px 16px 20px;
        border-top: 1px solid #f0f0f0;
        flex-shrink: 0;
        background: #fafafa;
    }

    .mobile-nav-contact {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 10px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text);
        border-radius: 8px;
        transition: background 0.2s ease;
    }

    .mobile-nav-contact:hover {
        background: var(--primary-light);
    }

    .mobile-nav-contact i {
        width: 20px;
        text-align: center;
        font-size: 16px;
        color: var(--primary);
    }

    .mobile-nav-whatsapp i {
        color: #25d366;
    }

    .mobile-nav-social {
        display: flex;
        justify-content: center;
        gap: 16px;
        padding-top: 12px;
        margin-top: 4px;
        border-top: 1px solid #eee;
    }

    .mobile-nav-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--primary-light);
        color: var(--primary-dark);
        font-size: 16px;
        transition: all 0.2s ease;
    }

    .mobile-nav-social a:hover {
        background: var(--primary);
        color: var(--white);
    }

    .mobile-toggle {
        display: flex;
    }

    .header-buy-btn {
        display: inline-flex;
    }

    .mobile-only-item {
        display: list-item;
    }

    /* Hero */
    .hero {
        padding: 40px 0;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .hero-split {
        flex-flow: column-reverse;
        min-height: auto;
    }

    .hero-col {
        min-height: 355px;
    }

    .hero-col-inner h2 {
        font-size: 30px;
    }

    .hero-rotating {
        font-size: 16px;
    }

    /* Sections */
    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .section-title p {
        font-size: 15px;
    }

    /* Grids */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0px;
    }

    .category-card-img {
        width: 170px;
        height: 190px;
    }

    .category-card h3 {
        font-size: 17px;
    }

    .category-card p {
        font-size: 13px;
    }

    .category-nav-pills {
        gap: 8px;
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .category-pill {
        padding: 8px 14px;
        font-size: 13px;
    }

    .category-pill img {
        width: 24px;
        height: 24px;
    }

    .category-section {
        margin-bottom: 40px;
    }

    .category-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 18px;
    }

    .category-section-img {
        width: 50px;
        height: 50px;
    }

    .category-section-header h2 {
        font-size: 20px;
    }

    .btn-outline-primary {
        font-size: 13px;
        padding: 8px 16px;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .overlay-btn {
        font-size: 12px;
        padding: 4px 12px;
        margin-top: 6px;
    }

    /* Product Cards */
    .product-card .card-body {
        padding: 12px;
    }

    .product-card h3 {
        font-size: 14px;
    }

    .product-card .price {
        font-size: 17px;
    }

    .product-card .btn-add-cart {
        padding: 8px;
        font-size: 13px;
    }

    /* Product Detail */
    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px 0;
    }

    .product-gallery img {
        border-radius: 0;
    }

    .gallery-thumbs {
        gap: 8px;
        margin-top: 10px;
        grid-template-columns: repeat(5, 1fr);
    }

    .product-info h1 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .product-category {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .price-current {
        font-size: 24px;
    }

    .price-old {
        font-size: 16px;
    }

    .price-save {
        font-size: 12px;
        padding: 2px 8px;
    }

    .product-info .price-wrap {
        margin-bottom: 12px;
    }

    .product-info .description {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.7;
    }

    .product-info .add-to-cart-form {
        flex-direction: row;
        gap: 10px;
    }

    .product-info .add-to-cart-form .btn-lg {
        flex: 1;
        padding: 12px 15px;
        font-size: 15px;
        text-align: center;
    }

    .qty-selector button {
        padding: 10px 12px;
    }

    .product-badges {
        gap: 10px;
        padding: 12px;
        font-size: 13px;
    }

    .product-description {
        margin-top: 15px;
    }

    .product-description h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .related-products {
        margin-top: 30px;
    }

    /* Cart - compact card layout */
    .cart-table thead {
        display: none;
    }

    .cart-table,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table {
        margin-bottom: 15px;
    }

    .cart-table tr {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        margin-bottom: 8px;
        padding: 10px 12px;
        position: relative;
    }

    .cart-table td {
        padding: 0;
        border-bottom: none;
        width: auto;
    }

    .cart-table td:first-child {
        flex: 1;
        min-width: 0;
        width: auto;
    }

    .cart-table td:first-child > div {
        gap: 10px !important;
        flex-wrap: nowrap;
    }

    .cart-table td:first-child a {
        font-size: 13px !important;
        line-height: 1.3;
        word-break: break-word;
    }

    .cart-table .product-thumb {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .cart-table td:nth-child(2) {
        display: none;
    }

    .cart-table td:nth-child(3) {
        order: 2;
    }

    .cart-table .qty-input {
        width: 45px;
        padding: 5px;
        font-size: 14px;
    }

    .cart-table td:nth-child(4) {
        order: 3;
        font-size: 15px;
    }

    .cart-table td:last-child {
        order: 4;
    }

    .cart-table td:last-child button {
        font-size: 15px !important;
    }

    .cart-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .coupon-section {
        min-width: auto;
    }

    .coupon-section h4 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .coupon-input-wrap {
        flex-direction: row;
    }

    .coupon-input {
        font-size: 14px;
        padding: 8px 12px;
    }

    .cart-summary {
        max-width: 100%;
        min-width: auto;
        margin: 0;
        padding: 18px;
    }

    .cart-summary h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .cart-summary .row {
        padding: 8px 0;
        font-size: 14px;
    }

    .cart-summary .total {
        font-size: 19px;
    }

    /* Trust strip mobile */
    .trust-strip {
        gap: 12px;
        padding: 14px 10px;
        font-size: 13px;
    }

    .page-header {
        padding: 18px 0;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .section {
        padding: 25px 0;
    }

    /* Checkout */
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    /* VIP */
    .vip-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .vip-item img {
        width: 100px;
        height: 100px;
    }

    .vip-item p {
        font-size: 19px;
    }

    /* Newsletter */
    .newsletter {
        padding: 35px 0;
    }

    .newsletter h3 {
        font-size: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    /* Footer */
    .footer-new {
        padding: 40px 0 15px;
    }

    .footer-logo-row {
        padding-top: 20px;
    }

    .footer-logo-img {
        max-height: 55px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-links {
        gap: 4px;
        font-size: 13px;
    }

    /* Page Header */
    .page-header {
        padding: 25px 0;
    }

    .page-header h1 {
        font-size: 26px;
    }

    /* Breadcrumb */
    .breadcrumb-list {
        flex-wrap: wrap;
    }

    /* Buttons */
    .btn-lg {
        padding: 12px 28px;
        font-size: 16px;
    }

    /* Payment Popup */
    .payment-popup {
        width: 95%;
        max-height: 90vh;
        border-radius: var(--radius-sm);
    }

    .payment-popup iframe {
        height: 80vh;
    }

    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    /* Toast on mobile */
    .toast-notification {
        left: 15px !important;
        right: 15px !important;
        bottom: 80px !important;
        text-align: center;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0px;
    }

    .category-card-img {
        width: 160px;
        height: 190px;
    }

    .category-card h3 {
        font-size: 15px;
    }

    .category-card p {
        font-size: 12px;
    }

    .category-nav-pills {
        gap: 6px;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .category-pill {
        padding: 6px 12px;
        font-size: 12px;
        gap: 5px;
    }

    .category-pill img {
        width: 20px;
        height: 20px;
    }

    .category-pill .pill-count {
        font-size: 11px;
        padding: 1px 6px;
    }

    .category-section {
        margin-bottom: 30px;
    }

    .category-section-header {
        padding: 12px 14px;
        gap: 10px;
    }

    .category-section-info {
        gap: 12px;
    }

    .category-section-img {
        width: 42px;
        height: 42px;
    }

    .category-section-header h2 {
        font-size: 18px;
    }

    .category-section-children .child-tag {
        font-size: 11px;
        padding: 2px 10px;
    }

    .btn-outline-primary {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-col-inner h2 {
        font-size: 26px;
    }

    .hero-col-inner {
        padding: 10px 20px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .vip-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .feature-item {
        padding: 18px 10px;
    }

    .feature-item i {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .feature-item h4 {
        font-size: 14px;
    }

    .feature-item p {
        font-size: 12px;
    }

    .product-card h3 {
        font-size: 13px;
        line-height: 1.4;
    }

    .product-card .price {
        font-size: 16px;
    }

    .product-card .card-body {
        padding: 10px;
    }

    .product-card .card-actions {
        margin-top: 8px;
    }

    .price-current {
        font-size: 22px;
    }

    .product-info .add-to-cart-form {
        flex-direction: row;
        gap: 8px;
    }

    .product-info .add-to-cart-form .btn-lg {
        flex: 1;
        padding: 12px 10px;
        font-size: 14px;
        white-space: nowrap;
    }

    .product-badges {
        flex-direction: column;
        gap: 8px;
    }

    .coupon-input-wrap {
        flex-direction: column;
    }

    .footer-tilt svg {
        height: 30px;
    }

    /* Checkout compact */
    .checkout-section-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .checkout-summary {
        padding: 16px;
    }

    .checkout-item-img {
        width: 45px;
        height: 45px;
    }

    .checkout-item-name {
        font-size: 13px;
    }

    .checkout-total-final {
        font-size: 18px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group label {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .header-main .container {
        gap: 8px;
    }

    .logo a {
        font-size: 20px;
    }

    .hero-col {
        min-height: 300px;
    }

    .hero-col-inner h2 {
        font-size: 24px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-card .card-body {
        padding: 8px;
    }

    .product-card h3 {
        font-size: 12px;
    }

    .product-card .price {
        font-size: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ========================================
   Payment Channels (Cart Page)
   ======================================== */
.payment-channels {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    /* margin-top: 30px; */
}

.payment-channel-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    min-height: 60px;
}

.payment-channel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.payment-channel-btn i {
    font-size: 24px;
}

.payment-channel-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 4px;
}

.payment-channel-regular {
    background: var(--primary);
    color: #fff;
}

.payment-channel-regular:hover {
    background: var(--primary-dark);
    color: #fff;
}

.payment-channel-dynamic {
    background: var(--ch-color, #333);
    color: #fff;
}

.payment-channel-dynamic:hover {
    background: var(--ch-color, #333);
    filter: brightness(0.85);
    color: #fff;
}

/* Checkout Channel Banner */
.checkout-channel-banner {
    border: 1px solid #e8dce5;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.checkout-channel-image {
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: contain;
}

.checkout-channel-text {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .payment-channels {
        grid-template-columns: 1fr;
    }

    .payment-channel-btn {
        flex-direction: row;
        padding: 14px 16px 14px 16px;
        min-height: auto;
    }

    .payment-channel-icon {
        top: 50%;
        transform: translateY(-50%);
        width: 56px;
        height: 56px;
    }
}

/* ── Screen Reader Only (SEO H1) ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── FAQ Section ── */
.faq-section { padding-bottom: 60px; }

.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(92,74,58,.06);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    text-align: right;
    font-family: inherit;
    line-height: 1.5;
    gap: 12px;
    transition: background .2s;
}

.faq-question:hover { background: var(--light); }

.faq-question i {
    font-size: 13px;
    color: var(--primary-dark);
    transition: transform .3s;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }

.faq-answer {
    padding: 15px 24px 20px;
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-light);
}

.faq-answer p { margin: 0; }

/* ── SEO Content Section ── */
.seo-content-section {
    padding: 80px 0 70px;
    background: linear-gradient(160deg, #fff 0%, var(--primary-light) 100%, #f5f3f8 100%);
    position: relative;
    overflow: hidden;
}

.seo-content-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -120px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .06;
    pointer-events: none;
}

.seo-content-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--primary-dark);
    opacity: .05;
    pointer-events: none;
}

.seo-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.seo-eyebrow {
    display: inline-block;
    background: var(--primary);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.seo-header h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 18px;
}

.seo-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin: 0;
}

.seo-subtitle strong { color: var(--secondary); }

.seo-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.seo-benefit-card {
    background: #fff;
    border-radius: 18px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(92,74,58,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.seo-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(92,74,58,.12);
}

.seo-benefit-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
}

.seo-benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.seo-benefit-card h3 a {
    color: var(--secondary);
    text-decoration: none;
}

.seo-benefit-card h3 a:hover { color: var(--primary-dark); }

.seo-benefit-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.seo-bottom-text {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.seo-bottom-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 14px;
}

.seo-bottom-text strong { color: var(--secondary); }

.seo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 14px 32px;
    background: var(--secondary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.seo-cta-btn:hover {
    background: var(--primary-dark);
    color: var(--secondary);
    transform: translateY(-2px);
}

.seo-cta-btn i { font-size: 14px; }

@media (max-width: 900px) {
    .seo-benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .seo-content-section { padding: 60px 0 50px; }
}

@media (max-width: 600px) {
    .seo-benefits-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .seo-benefit-card {
        display: flex;
        align-items: center;
        text-align: right;
        gap: 16px;
        padding: 20px;
    }
    .seo-benefit-icon {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .seo-content-section { padding: 48px 0 40px; }
    .seo-header { margin-bottom: 32px; }
}

/* === Product Rating Summary === */
.product-rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.product-rating-stars {
    display: flex;
    gap: 2px;
    color: #f4b400;
    font-size: 16px;
}
.product-rating-value {
    font-weight: 700;
    font-size: 15px;
    color: var(--secondary);
}
.product-rating-count {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
}
.product-rating-count:hover {
    color: var(--primary-dark);
}

/* === Recently Viewed Rail === */
.rv-section {
    margin-top: 48px;
    padding: 0;
    overflow: hidden;
}
.rv-header {
    padding: 0 0 16px;
}
.rv-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.rv-title i {
    font-size: 16px;
    color: var(--primary-dark);
}
.rv-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}
.rv-rail::-webkit-scrollbar { display: none; }
.rv-card {
    flex: 0 0 155px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    scroll-snap-align: start;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.rv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.rv-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--white);
    position: relative;
}
.rv-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    display: block;
    transition: var(--transition);
    background: var(--white);
}
.rv-card:hover .rv-img-wrap img { transform: scale(1.05); }
.rv-info {
    padding: 10px 12px 14px;
    border-top: 1px solid var(--light);
}
.rv-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rv-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}
@media (max-width: 480px) {
    .rv-card { flex: 0 0 130px; }
    .rv-section { margin-top: 32px; }
    .rv-rail { gap: 12px; }
    .rv-info { padding: 8px 10px 12px; }
    .rv-name { font-size: 12px; }
    .rv-price { font-size: 14px; }
}
.rv-standalone { padding: 40px 0 50px; }
@media (max-width: 480px) {
    .rv-standalone { padding: 24px 0 32px; }
}

/* === Touch device fix: disable hover transforms to prevent double-tap === */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-outline-primary:hover,
    .header-buy-btn:hover,
    .category-pill:hover,
    .product-card:hover,
    .category-card:hover,
    .testimonial-card:hover,
    .upsell-card:hover,
    .whatsapp-float:hover,
    .seo-cta-btn:hover {
        transform: none !important;
    }

    .hero-col:hover .hero-shop-btn {
        transform: translateX(-50%) !important;
    }
}

/* === Exit Intent Popup === */
.exit-intent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 16px;
}
.exit-intent-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.exit-intent-box {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.exit-intent-overlay.active .exit-intent-box {
    transform: translateY(0) scale(1);
}
.exit-intent-close {
    position: absolute;
    top: 14px;
    left: 16px;
    background: none;
    border: none;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}
.exit-intent-close:hover { color: #333; background: #f5f5f5; }
.exit-intent-emoji { font-size: 48px; margin-bottom: 10px; line-height: 1; }
.exit-intent-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary);
    margin: 0 0 8px;
}
.exit-intent-sub {
    font-size: 15px;
    color: #666;
    margin: 0 0 18px;
}
.exit-intent-code-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-light);
    border: 2px dashed var(--primary-dark);
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 18px;
}
.exit-intent-code {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--secondary);
    font-family: monospace;
}
.exit-intent-copy-btn {
    background: none;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 18px;
    padding: 2px 6px;
    transition: transform 0.15s;
}
.exit-intent-copy-btn:hover { transform: scale(1.2); }
.exit-intent-cta {
    display: block;
    background: var(--secondary);
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    margin-bottom: 12px;
}
.exit-intent-cta:hover { background: #4a3830; transform: translateY(-1px); }
.exit-intent-note {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

/* === Social Proof FOMO Toast === */
.fomo-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    max-width: 320px;
    border-right: 4px solid var(--primary-dark);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34,1.3,0.64,1), opacity 0.3s;
}
.fomo-toast.fomo-visible {
    transform: translateX(0);
    opacity: 1;
}
.fomo-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 14px;
}
.fomo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}
.fomo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 16px;
    flex-shrink: 0;
}
.fomo-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5ede8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.fomo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fomo-body { flex: 1; min-width: 0; }
.fomo-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fomo-product {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 2px 0 0;
}
.fomo-action {
    font-size: 12px;
    color: #555;
    margin: 1px 0;
}
.fomo-time {
    font-size: 11px;
    color: #aaa;
}
.fomo-close {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 4px;
    flex-shrink: 0;
    transition: color 0.15s;
    position: absolute;
    top: 6px;
    left: 8px;
    z-index: 1;
}
.fomo-close:hover { color: #888; }
@media (max-width: 480px) {
    .fomo-toast { right: 12px; bottom: 16px; max-width: calc(100vw - 24px); }
    .exit-intent-box { padding: 28px 20px 22px; }
    .exit-intent-title { font-size: 22px; }
}

/* === Custom Popup Overlay === */
.custom-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(2px);
}
.custom-popup-overlay.active {
    display: flex;
    animation: fadeIn .25s ease;
}
.custom-popup-box {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: popupSlideIn .3s ease;
}
@keyframes popupSlideIn {
    from { transform: translateY(30px) scale(.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}
.custom-popup-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.07);
    color: #555;
    font-size: 16px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
}
.custom-popup-close:hover { background: rgba(0,0,0,.14); color: #111; }
.custom-popup-img-wrap {
    width: 100%;
    height: 280px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}
.custom-popup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.custom-popup-body {
    padding: 28px 28px 24px;
    text-align: center;
    direction: rtl;
}
.custom-popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.3;
}
.custom-popup-sub {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}
.custom-popup-coupon-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fdf4e7;
    border: 2px dashed #e8a44a;
    border-radius: 10px;
    padding: 10px 18px;
    margin-bottom: 18px;
}
.custom-popup-coupon {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #c67c1a;
    font-family: monospace;
}
.custom-popup-copy {
    background: none;
    border: none;
    color: #c67c1a;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 4px;
    transition: color .15s;
}
.custom-popup-copy:hover { color: #9a5a0a; }
.custom-popup-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 50px;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 4px 16px rgba(238,90,36,.35);
}
.custom-popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(238,90,36,.4);
    color: #fff;
}
@media (max-width: 540px) {
    .custom-popup-box { border-radius: 12px; }
    .custom-popup-body { padding: 22px 18px 20px; }
    .custom-popup-title { font-size: 20px; }
    .custom-popup-img-wrap { max-height: 200px; }
}
.custom-popup-dismiss {
    background: none;
    border: none;
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
    margin-top: 12px;
    padding: 4px 8px;
    text-decoration: underline;
    transition: color .15s;
    font-family: inherit;
}
.custom-popup-dismiss:hover { color: #666; }

/* Dismiss button in admin preview */
#popupPreviewOverlay .custom-popup-dismiss {
    background: none;
    border: none;
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
    margin-top: 12px;
    padding: 4px 8px;
    text-decoration: underline;
    font-family: Heebo, sans-serif;
}
