/* =============================================================
   NishBuy Storefront Overrides v3 — Senior UI/UX Redesign
   Complete audit-driven overhaul
   ============================================================= */

/* ═══════════════════════════════════════════════════════════
   0. GLOBAL POLISH & RESETS
   ═══════════════════════════════════════════════════════════ */
html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(233, 30, 99, 0.15);
    color: #1a1a2e;
}

/* Body background — warm grey instead of harsh white */
body.page-template {
    background: #f5f6fa;
}

/* Consistent section spacing */
.features-wrap,
.featured-categories-wrap,
.three-column-full-width-banner-wrap,
.landscape-tab-products-wrap,
.tab-products-wrap,
.top-brands-wrap,
.flash-sale-wrap,
.two-column-banner-wrap,
.grid-products-wrap,
.three-column-banner-wrap,
.one-column-banner-wrap,
.blog-posts-wrap {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Section titles — clean & consistent */
.section-title h2,
.tab-products-header .section-title h2 {
    position: relative;
    padding-bottom: 10px;
    font-size: 21px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.3px;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--color-primary, #e91e63);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.section-title:hover h2::after {
    width: 56px;
}

/* Fix global container width and alignment for widescreen displays */
.container {
    width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1400px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
@media (max-width: 1399px) {
    .container {
        max-width: 100% !important;
        padding-left: 4% !important;
        padding-right: 4% !important;
    }
}


/* ═══════════════════════════════════════════════════════════
   1. TOP NAV BAR
   ═══════════════════════════════════════════════════════════ */
.top-nav-wrap {
    background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
    border-bottom: none;
    color: #f8fafc;
    padding: 6px 0;
    font-size: 12px;
}
.top-nav-wrap a,
.top-nav-wrap span,
.top-nav-wrap i,
.top-nav-wrap .top-nav-item,
.top-nav-wrap .top-nav-left,
.top-nav-wrap .top-nav-right {
    color: #f8fafc !important;
}
.top-nav-wrap a:hover {
    color: #38bdf8 !important;
}
.top-nav-left-list li,
.top-nav-right-list li {
    font-size: 12px;
}
/* Dot separators */
.top-nav-left-list li + li::before {
    content: '·';
    margin-right: 14px;
    opacity: 0.35;
    color: rgba(255,255,255,0.5);
}
.top-nav-right-list li a:hover {
    color: #f9a8d4 !important;
}


/* ═══════════════════════════════════════════════════════════
   1b. HEADER — glass sticky, search polish, icon animations
   ═══════════════════════════════════════════════════════════ */

/* Glass sticky header */
.header-wrap-inner.sticky.show {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}

/* Search bar — rounded with focus glow */
.header-search-wrap .search-input-group {
    border-radius: 26px !important;
    border: 1.5px solid #e2e8f0 !important;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}
.header-search-wrap .search-input-group:focus-within {
    border-color: var(--color-primary, #e91e63) !important;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1), inset 0 1px 2px rgba(0,0,0,0.03);
}
.header-search-wrap .search-input-group .form-control {
    border: none !important;
    box-shadow: none !important;
    padding-left: 18px;
    font-size: 14px;
}
.header-search-wrap .search-input-group .btn-search {
    border-radius: 0 26px 26px 0 !important;
    padding: 0 18px;
}

/* Header icon micro-animations */
.header-column-right-item .icon-wrap {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.header-column-right-item:hover .icon-wrap {
    transform: scale(1.1);
}

/* Badge count */
.header-column-right-item .icon-wrap .count {
    background: var(--color-primary, #e91e63);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(233,30,99,0.3);
}

/* Hide localization globe */
.header-localization {
    display: none !important;
}


/* ═══════════════════════════════════════════════════════════
   2. HERO CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.nb-hero-section {
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}
.nb-hero-swiper {
    width: 100%;
    height: 440px;
    position: relative;
}
.nb-hero-slide {
    display: flex;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Gradient overlay for image slides */
.nb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

/* Slide themes */
.nb-slide-1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%); }
.nb-slide-2 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.nb-slide-3 { background: linear-gradient(135deg, #f7971e 0%, #ffd200 50%, #ff6b6b 100%); }
.nb-slide-4 { background: linear-gradient(135deg, #e91e63 0%, #9c27b0 60%, #673ab7 100%); }

/* Decorative circles */
.nb-hero-art {
    position: absolute;
    right: 0; top: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}
.nb-art-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.13;
    animation: nbPulse 5s ease-in-out infinite alternate;
}
.nb-art-1 .nb-c1 { width: 380px; height: 380px; background: #fff; right: -80px; top: -80px; animation-duration: 6s; }
.nb-art-1 .nb-c2 { width: 240px; height: 240px; background: #a78bfa; right: 120px; top: 80px; animation-duration: 4s; opacity: 0.1; }
.nb-art-1 .nb-c3 { width: 160px; height: 160px; background: #c4b5fd; right: 60px; top: 220px; animation-duration: 7s; opacity: 0.07; }
.nb-art-2 .nb-c1 { width: 360px; height: 360px; background: #fff; right: -60px; top: -60px; animation-duration: 5s; }
.nb-art-2 .nb-c2 { width: 200px; height: 200px; background: #bbf7d0; right: 130px; top: 100px; animation-duration: 3.5s; opacity: 0.1; }
.nb-art-3 .nb-c1 { width: 400px; height: 400px; background: #fff; right: -100px; top: -100px; animation-duration: 6.5s; }
.nb-art-3 .nb-c2 { width: 220px; height: 220px; background: #fef08a; right: 100px; top: 60px; animation-duration: 4s; opacity: 0.1; }
.nb-art-3 .nb-c3 { width: 140px; height: 140px; background: #fed7aa; right: 40px; top: 240px; animation-duration: 8s; opacity: 0.07; }
.nb-art-4 .nb-c1 { width: 350px; height: 350px; background: #fff; right: -70px; top: -70px; animation-duration: 5.5s; }
.nb-art-4 .nb-c2 { width: 190px; height: 190px; background: #f9a8d4; right: 110px; top: 90px; animation-duration: 3s; opacity: 0.1; }

@keyframes nbPulse {
    0%   { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Slide content — ALWAYS visible, subtle entrance on slide change */
.nb-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 5%;
    max-width: 560px;
    color: #fff;
    /* Default visible — NOT hidden by default */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.nb-hero-content.align-right { margin-left: auto; text-align: right; }

/* Only animate on NON-active slides */
.nb-hero-slide:not(.swiper-slide-active) .nb-hero-content {
    opacity: 0.4;
    transform: translateY(16px);
}

.nb-caption-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    width: fit-content;
    backdrop-filter: blur(6px);
}
.nb-caption-1 {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nb-slide-2 .nb-caption-1,
.nb-slide-3 .nb-caption-1 { color: #1a1a2e; text-shadow: none; }
.nb-slide-2 .nb-caption-tag,
.nb-slide-2 .nb-caption-2,
.nb-slide-2 .nb-hero-cta { color: #1a1a2e; }
.nb-slide-3 .nb-caption-tag,
.nb-slide-3 .nb-caption-2 { color: #1a1a2e; }
.nb-slide-3 .nb-caption-tag { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.15); }

.nb-caption-2 {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.5;
    color: #fff;
}
.nb-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    background: #fff;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 24px;
    border-radius: 26px;
    width: fit-content;
    letter-spacing: .3px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transition: all .2s ease;
}
.nb-slide-2 .nb-hero-cta,
.nb-slide-3 .nb-hero-cta { background: #1a1a2e; color: #fff; }
.nb-hero-slide:hover .nb-hero-cta { transform: translateX(4px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

/* Nav buttons */
.nb-hero-section .swiper-button-prev,
.nb-hero-section .swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,0.25);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: background .2s ease, transform .2s ease;
}
.nb-hero-section .swiper-button-prev:hover,
.nb-hero-section .swiper-button-next:hover {
    background: rgba(0,0,0,0.5);
    transform: scale(1.06);
}
.nb-hero-section .swiper-button-prev::after,
.nb-hero-section .swiper-button-next::after { font-size: 15px; font-weight: 700; }

/* Pagination — thin progress segments */
.nb-hero-section .swiper-pagination {
    bottom: 0 !important;
    left: 0;
    width: 100%;
    height: 3px;
    display: flex;
    background: rgba(255,255,255,0.12);
}
.nb-hero-section .swiper-pagination-bullet {
    flex: 1;
    height: 3px;
    border-radius: 0;
    margin: 0 !important;
    background: rgba(255,255,255,0.2);
    opacity: 1;
    transition: background 0.3s ease;
}
.nb-hero-section .swiper-pagination-bullet-active {
    background: #fff;
    position: relative;
    overflow: hidden;
}
.nb-hero-section .swiper-pagination-bullet-active::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    width: 100%;
    background: var(--color-primary, #e91e63);
    animation: nbProgressFill 4.5s linear forwards;
}
@keyframes nbProgressFill {
    from { width: 0; }
    to   { width: 100%; }
}

@media (max-width: 991px) {
    .nb-hero-swiper { height: 340px; }
    .nb-hero-art { width: 45%; }
}
@media (max-width: 767px) {
    .nb-hero-swiper { height: 260px; }
    .nb-hero-content { max-width: 100%; gap: 6px; }
    .nb-art-circle { display: none; }
    .nb-hero-section .swiper-button-prev,
    .nb-hero-section .swiper-button-next { display: none; }
    .nb-caption-1 { font-size: clamp(20px, 5vw, 28px); }
    .nb-hero-cta { padding: 8px 18px; font-size: 12px; }
    .nb-caption-tag { font-size: 10px; padding: 3px 10px; }
}


/* ═══════════════════════════════════════════════════════════
   3. CATEGORY ICONS ROW — card wrapper, aligned baseline
   ═══════════════════════════════════════════════════════════ */
.category-icons-wrap {
    margin-top: 20px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* White card container */
.category-icons-wrap > .container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.03);
    padding: 4px 10px;
}

/* Hide scrollbar since we use swiper now */
.category-icons-scroll {
    display: flex;
    align-items: flex-start;
    gap: 0; /* Gap handled by swiper spaceBetween */
    padding: 14px 2px 16px;
    height: auto;
}

.category-icons-wrap .swiper-button-prev,
.category-icons-wrap .swiper-button-next {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
}
.category-icons-wrap .swiper-button-prev::after,
.category-icons-wrap .swiper-button-next::after {
    font-size: 12px;
    font-weight: bold;
    color: var(--color-primary);
}
.category-icons-wrap .swiper-button-prev { left: -10px; }
.category-icons-wrap .swiper-button-next { right: -10px; }
.category-icons-scroll::-webkit-scrollbar { display: none; }

.category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    cursor: pointer;
    color: #1e293b;
}

.category-icon-item:hover,
.category-icon-item:focus {
    color: var(--color-primary, #e91e63);
    transform: translateY(-3px);
    text-decoration: none;
}
.category-icon-item:hover .category-icon-img-wrap,
.category-icon-item:focus .category-icon-img-wrap {
    border-color: var(--color-primary, #e91e63);
    box-shadow: 0 4px 14px rgba(233,30,99,0.15);
    background: linear-gradient(135deg, #fff5f8 0%, #fce4ec 100%);
}

.category-icon-img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #edf0f5;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.category-icon-img-wrap i {
    font-size: 24px;
    color: var(--color-primary, #e91e63);
    line-height: 1;
}
.category-icon-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Force consistent label height — fixes jagged baseline */
.category-icon-label {
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    min-height: 28px; /* 2 lines worth — forces alignment */
    max-width: 82px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* "More" button */
.category-icon-more .category-icon-img-wrap {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-color: #d1d5db;
}
.category-icon-more .category-icon-img-wrap i { color: #6b7280; }
.category-icon-more:hover .category-icon-img-wrap {
    background: linear-gradient(135deg, #fff5f8 0%, #fce4ec 100%);
    border-color: var(--color-primary, #e91e63);
}
.category-icon-more:hover .category-icon-img-wrap i { color: var(--color-primary, #e91e63); }

@media (max-width: 767px) {
    .category-icon-img-wrap { width: 50px; height: 50px; }
    .category-icon-img-wrap i { font-size: 20px; }
    .category-icon-item { min-width: 64px; max-width: 72px; }
    .category-icon-label { font-size: 10px; min-height: 24px; }
    .category-icons-wrap > .container {
        border-radius: 10px;
        margin-left: 4px;
        margin-right: 4px;
    }
}


/* ═══════════════════════════════════════════════════════════
   4. PROMO STRIP CARDS
   ═══════════════════════════════════════════════════════════ */
.promo-strip-wrap {
    margin-top: 16px;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.promo-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    min-height: 140px;
}

.promo-strip-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    text-decoration: none;
    min-height: 140px;
    transition: transform .22s ease, box-shadow .22s ease;
    cursor: pointer;
}
.promo-strip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.16);
    text-decoration: none;
}
.promo-strip-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card-content-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
    width: 100%;
    min-height: 140px;
    gap: 5px;
}
.promo-card-content-inner .promo-label {
    font-size: 12px;
    font-weight: 500;
    opacity: .85;
    line-height: 1.4;
}
.promo-card-content-inner .promo-discount,
.promo-card-content-inner .promo-tagline {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}
.promo-card-content-inner .promo-cta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-top: 4px;
    opacity: .82;
    transition: opacity 0.15s ease;
}
.promo-strip-card:hover .promo-cta { opacity: 1; }

.promo-card-deals {
    background: linear-gradient(135deg, #ff4e6a 0%, #e91e63 100%);
    color: #fff;
}
.promo-card-new {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #fff;
}
.promo-card-kids {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: #fff;
}
.promo-card-style {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #fff;
}

@media (max-width: 1199px) {
    .promo-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .promo-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .promo-strip-card { min-height: 110px; border-radius: 10px; }
    .promo-card-content-inner { padding: 12px 14px; min-height: 110px; }
    .promo-card-content-inner .promo-discount,
    .promo-card-content-inner .promo-tagline { font-size: 14px; }
}


/* ═══════════════════════════════════════════════════════════
   5. PRODUCT CARDS — elevation, zoom, badge, button alignment
   ═══════════════════════════════════════════════════════════ */

.product-card {
    border: 1px solid #f0f2f5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    border-color: #e2e8f0;
}

/* Image zoom on hover */
.product-card .product-image img {
    transition: transform 0.35s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.04);
}

/* Image overlay on hover */
.product-card .product-image-layer {
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0,0,0,0.02);
}
.product-card:hover .product-image-layer {
    opacity: 1;
}

/* Badge pills — gradient backgrounds */
.product-badge .badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border: none;
}
.product-badge .badge-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}
.product-badge .badge-info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
}
.product-badge .badge-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

/* Product name hover color */
.product-card .product-name {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.product-card:hover .product-name {
    color: var(--color-primary, #e91e63);
}

/* Price styling */
.product-card .product-price .special-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-primary, #e91e63);
}
.product-card .product-price .previous-price {
    font-size: 12.5px;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Add-to-cart button — fix alignment, full width */
.product-card .btn-add-to-cart {
    border-radius: 8px;
    font-size: 0; /* hide text, show only icon */
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(233,30,99,0.12);
}
.product-card:hover .btn-add-to-cart {
    box-shadow: 0 4px 12px rgba(233,30,99,0.2);
}

/* Wishlist/Compare buttons */
.product-card-actions .btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}
.product-card-actions .btn:hover {
    border-color: var(--color-primary, #e91e63);
    box-shadow: 0 3px 10px rgba(233,30,99,0.12);
    transform: scale(1.08);
}
.product-card-actions .btn.added {
    background: var(--color-primary, #e91e63);
    border-color: var(--color-primary, #e91e63);
}

/* Image placeholder styling */
.product-image img.image-placeholder,
.product-image img[src=""],
.product-image img:not([src]),
.product-image img[src="null"] {
    background: linear-gradient(145deg, #f0f4ff 0%, #e8eaf6 100%);
    object-fit: contain;
    padding: 20%;
    border-radius: 6px;
    opacity: 0.5;
    filter: grayscale(0.3);
}

/* Product card bottom — align price and cart button */
.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ═══════════════════════════════════════════════════════════
   6. FEATURES SECTION (TRUST BAR) — keep swiper layout
   ═══════════════════════════════════════════════════════════ */
.features-wrap {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Cleaner border on the swiper container */
.features-wrap .features {
    border-color: #edf0f5 !important;
    border-radius: 12px !important;
    background: #fff;
}

/* Hide features section if it is empty (no text loaded from DB) */
.features-wrap { display: none !important; }

/* Subtler separator */
.features-wrap .single-feature::after {
    background: #f1f5f9 !important;
}

/* Feature hover highlight */
.features-wrap .single-feature {
    transition: background 0.2s ease;
}
.features-wrap .single-feature:hover {
    background: #fafbfc;
}

/* Icon tinted circle */
.features-wrap .feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fce4ec 0%, #fff5f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}
.features-wrap .single-feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-primary, #e91e63) 0%, #f06292 100%);
}
.features-wrap .feature-icon i {
    font-size: 18px;
    color: var(--color-primary, #e91e63);
    transition: color 0.25s ease;
}
.features-wrap .single-feature:hover .feature-icon i {
    color: #fff;
}

.features-wrap .feature-details h6 {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1px;
}
.features-wrap .feature-details span {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════════
   7. GRID PRODUCTS / TABS — header, tab pills
   ═══════════════════════════════════════════════════════════ */
.grid-products-wrap {
    margin-top: 20px;
}
.tab-products-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 8px !important;
}
.tabs .tab-item {
    font-size: 13px !important;
    padding: 7px 14px !important;
    border-radius: 20px;
    transition: all .18s ease;
    cursor: pointer;
    font-weight: 500;
}
.tabs .tab-item.active {
    background: var(--color-primary, #e91e63);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(233,30,99,0.2);
}
.tabs .tab-item.active::after { display: none !important; }
.tabs .tab-item:hover:not(.active) {
    background: #fce4ec;
    color: var(--color-primary, #e91e63) !important;
}

/* View all link */
.view-all-link {
    background: transparent;
    border: 1.5px solid var(--color-primary, #e91e63);
    color: var(--color-primary, #e91e63) !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.view-all-link:hover {
    background: var(--color-primary, #e91e63);
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(233,30,99,0.2);
}

/* Swiper next/prev text hide — show only arrows */
.grid-products-wrap .swiper-button-next,
.grid-products-wrap .swiper-button-prev {
    font-size: 0 !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}
.grid-products-wrap .swiper-button-next:hover,
.grid-products-wrap .swiper-button-prev:hover {
    background: var(--color-primary, #e91e63);
    border-color: var(--color-primary, #e91e63);
    box-shadow: 0 4px 14px rgba(233,30,99,0.2);
}
.grid-products-wrap .swiper-button-next::after,
.grid-products-wrap .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 700;
    color: #334155;
}
.grid-products-wrap .swiper-button-next:hover::after,
.grid-products-wrap .swiper-button-prev:hover::after {
    color: #fff;
}


/* ═══════════════════════════════════════════════════════════
   8. NEWSLETTER
   ═══════════════════════════════════════════════════════════ */
.subscribe-wrap {
    position: relative;
    overflow: hidden;
}
.subscribe-wrap .subscribe {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #533483 100%) !important;
    border-radius: 16px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}
/* Decorative shape */
.subscribe-wrap .subscribe::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(233, 30, 99, 0.06);
    top: -80px;
    right: -60px;
    animation: nbPulse 6s ease-in-out infinite alternate;
}
.subscribe-wrap .subscribe::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.06);
    bottom: -50px;
    left: -30px;
    animation: nbPulse 5s ease-in-out infinite alternate;
}

.subscribe-wrap .subscribe-text .title {
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
}
.subscribe-wrap .subscribe-text .sub-title {
    color: rgba(255,255,255,0.7) !important;
    font-size: 13px;
    position: relative;
    z-index: 2;
}

/* Pill input */
.subscribe-wrap .subscribe-field .form-group {
    position: relative;
    z-index: 2;
}
.subscribe-wrap .subscribe-field .form-control {
    border-radius: 26px !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    padding: 12px 130px 12px 20px;
    backdrop-filter: blur(6px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.subscribe-wrap .subscribe-field .form-control::placeholder {
    color: rgba(255,255,255,0.45);
}
.subscribe-wrap .subscribe-field .form-control:focus {
    border-color: rgba(233,30,99,0.4) !important;
    box-shadow: 0 0 0 3px rgba(233,30,99,0.12) !important;
}
.subscribe-wrap .subscribe-field .btn-subscribe {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 22px !important;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 12.5px;
    box-shadow: 0 3px 12px rgba(233,30,99,0.25);
}

@media (max-width: 767px) {
    .subscribe-wrap .subscribe {
        padding: 28px 18px;
        border-radius: 12px;
    }
}


/* ═══════════════════════════════════════════════════════════
   9. FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer-wrap {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
    border-top: none;
    margin-top: 40px;
}
.footer-wrap .title,
.footer-wrap h3,
.footer-wrap h4,
.footer-wrap h5 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-wrap a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-wrap a:hover {
    color: #38bdf8 !important;
}
.footer-wrap .contact-info i {
    color: #38bdf8;
}
.footer-wrap .social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
}
.footer-wrap .social-links a:hover {
    background: #38bdf8;
    color: #ffffff !important;
    transform: translateY(-3px);
}
.footer-wrap .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}
.footer-wrap .footer-text {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer titles underline */
.footer-wrap .title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 14px;
}
.footer-wrap .title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-primary, #e91e63);
    border-radius: 1px;
}

/* Footer link hover — slide right */
.footer-links .list-inline li a {
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}
.footer-links .list-inline li a:hover {
    padding-left: 6px;
    color: var(--color-primary, #e91e63) !important;
}

/* Social circles */
.footer-wrap .social-links li a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: transparent;
}
.footer-wrap .social-links li a:hover {
    background: var(--color-primary, #e91e63);
    border-color: var(--color-primary, #e91e63);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233,30,99,0.25);
}
.footer-wrap .social-links li a i { font-size: 17px; }
.footer-wrap .social-links li a:hover i { color: #fff !important; }

/* Gradient divider */
.footer-bottom {
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), var(--color-primary, #e91e63), rgba(255,255,255,0.08), transparent) 1;
    padding-top: 20px;
    margin-top: 28px;
}

/* App badge hover */
.download-app .app-badges a img {
    transition: all 0.2s ease;
}
.download-app .app-badges a:hover img {
    box-shadow: 0 3px 14px rgba(233,30,99,0.15) !important;
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════
   10. NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.navigation-wrap {
    position: relative;
    z-index: 100;
}
.category-dropdown-wrap {
    z-index: 500 !important;
}


/* ═══════════════════════════════════════════════════════════
   11. BANNER SECTIONS — fallback styling + hover
   ═══════════════════════════════════════════════════════════ */
.banner-wrap .banner img[alt="Banner"] {
    min-height: 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
}
.three-column-full-width-banner .banner img[src=""],
.three-column-full-width-banner .banner img:not([src]),
.three-column-full-width-banner .banner img[src="null"] {
    display: none;
}
/* Banner hover */
.banner-wrap .banner {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.banner-wrap .banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.banner-wrap .banner img {
    transition: transform 0.3s ease;
}
.banner-wrap .banner:hover img {
    transform: scale(1.02);
}


/* ═══════════════════════════════════════════════════════════
   12. SCROLL-TO-TOP
   ═══════════════════════════════════════════════════════════ */
.scroll-top {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--color-primary, #e91e63) 0%, #9c27b0 100%) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 3px 14px rgba(233,30,99,0.25) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.scroll-top:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(233,30,99,0.35) !important;
}


/* ═══════════════════════════════════════════════════════════
   13. TOP BRANDS — greyscale hover
   ═══════════════════════════════════════════════════════════ */
.top-brands-wrap .brand-image {
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 14px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.top-brands-wrap .brand-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.top-brands-wrap .brand-image img {
    filter: grayscale(0.5);
    opacity: 0.7;
    transition: all 0.25s ease;
}
.top-brands-wrap .brand-image:hover img {
    filter: grayscale(0);
    opacity: 1;
}


/* ═══════════════════════════════════════════════════════════
   14. FEATURED CATEGORIES
   ═══════════════════════════════════════════════════════════ */
.featured-categories-wrap .featured-category {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.featured-categories-wrap .featured-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}


/* ═══════════════════════════════════════════════════════════
   15. LOADING SKELETONS
   ═══════════════════════════════════════════════════════════ */
.swiper-slide-skeleton {
    animation: nbSkeletonPulse 1.5s ease-in-out infinite;
}
@keyframes nbSkeletonPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}


/* ═══════════════════════════════════════════════════════════
   16. LANDSCAPE TAB PRODUCTS — same pill tabs + nav
   ═══════════════════════════════════════════════════════════ */
.landscape-tab-products-wrap .tabs .tab-item {
    font-size: 13px !important;
    padding: 7px 14px !important;
    border-radius: 20px;
    transition: all .18s ease;
    cursor: pointer;
}
.landscape-tab-products-wrap .tabs .tab-item.active {
    background: var(--color-primary, #e91e63);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(233,30,99,0.2);
}
.landscape-tab-products-wrap .tabs .tab-item.active::after { display: none !important; }
.landscape-tab-products-wrap .tabs .tab-item:hover:not(.active) {
    background: #fce4ec;
    color: var(--color-primary, #e91e63) !important;
}

/* Landscape tab nav buttons */
.landscape-tab-products-wrap .swiper-button-next,
.landscape-tab-products-wrap .swiper-button-prev {
    font-size: 0 !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.landscape-tab-products-wrap .swiper-button-next:hover,
.landscape-tab-products-wrap .swiper-button-prev:hover {
    background: var(--color-primary, #e91e63);
    border-color: var(--color-primary, #e91e63);
}
.landscape-tab-products-wrap .swiper-button-next::after,
.landscape-tab-products-wrap .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 700;
    color: #334155;
}
.landscape-tab-products-wrap .swiper-button-next:hover::after,
.landscape-tab-products-wrap .swiper-button-prev:hover::after {
    color: #fff;
}
/* Fix Deal of the Day Swiper Arrows */
.deal-products-swiper .swiper-button-next, .deal-products-swiper .swiper-button-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.deal-products-swiper .swiper-button-prev {
    left: -15px !important;
}
.deal-products-swiper .swiper-button-next {
    right: -15px !important;
}


/* Fix category dropdown missing functionality */
.category-nav {
    position: relative;
}
.category-nav:hover .category-dropdown-wrap {
    opacity: 1 !important;
    visibility: visible !important;
    top: 100% !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}
.category-dropdown-wrap {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 120%;
    left: 0;
    width: 280px;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    transition: all 0.3s ease;
    pointer-events: none;
}
