/* ============ RESET & VARIABLES ============ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #D90429;
    --red-dark: #A8001F;
    --red-light: #FFF1F3;
    --white: #FFFFFF;
    --text: #171717;
    --bg: #F8F8F8;
    --neutral: #F1F1F1;
    --gray: #6b6b6b;
    --radius-card: 16px;
    --radius-btn: 12px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --trans: 0.3s cubic-bezier(.4, 0, .2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}


/* ============ ANNOUNCEMENT BAR ============ */
.announce {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin-top: -26px;
}

.announce-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 9px 16px;
    flex-wrap: wrap;
}

.announce-item {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.announce-item.hot {
    font-weight: 700;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .6;
    }
}

.logo .site-logo-img,
.h2-logo .site-logo-img {
    height: 36px;
    max-width: 80px;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {

    .announce-inner {

        gap: 0px;
    }

}


/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, #FFF8F9 0%, var(--red-light) 55%, #FFF8F9 100%);
    padding: 56px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--red);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: clamp(32px, 6vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: var(--red);
}

.hero-text p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 14.5px;
    transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
    white-space: nowrap;
}

.fbtn {
    padding: 15px 19px;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 25px rgba(217, 4, 41, .3);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(217, 4, 41, .4);
}

.btn-outline {
    background: #fff;
    color: var(--text);
    border: 1.5px solid var(--text);
}

.btn-outline:hover {
    background: var(--text);
    color: #fff;
    transform: translateY(-3px);
}

.btn-white {
    background: #fff;
    color: var(--red);
}

.btn-white:hover {
    background: var(--red-dark);
    color: #fff;
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.hero-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual img {
    position: absolute;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    background: #fff;
    animation: float 5s ease-in-out infinite;
}

.hv1 {
    width: 170px;
    height: 210px;
    top: 0;
    left: 10%;
    animation-delay: 0s;
}

.hv2 {
    width: 150px;
    height: 150px;
    top: 10px;
    right: 5%;
    animation-delay: .6s;
}

.hv3 {
    width: 190px;
    height: 150px;
    bottom: 20px;
    left: 0;
    animation-delay: 1.2s;
}

.hv4 {
    width: 160px;
    height: 190px;
    bottom: 0;
    right: 10%;
    animation-delay: 1.8s;
}

.hv5 {
    width: 130px;
    height: 130px;
    top: 45%;
    left: 38%;
    animation-delay: 2.4s;
    z-index: 3;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

.hero-badge {
    position: absolute;
    top: -6px;
    right: 32%;
    width: 110px;
    height: 110px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.3;
    box-shadow: var(--shadow-lg);
    transform: rotate(-8deg);
    z-index: 4;
    animation: pop 2.4s ease-in-out infinite;
}

.hero-badge span {
    font-size: 16px;
}

@keyframes pop {

    0%,
    100% {
        transform: rotate(-8deg) scale(1);
    }

    50% {
        transform: rotate(-8deg) scale(1.06);
    }
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(217, 4, 41, .06);
    z-index: 1;
}

.shape1 {
    width: 340px;
    height: 340px;
    top: -100px;
    right: -100px;
}

.shape2 {
    width: 220px;
    height: 220px;
    bottom: -80px;
    left: -80px;
}

/* ============ SECTION PROMO BANNERS ============ */
.cat-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    transform: translateX(0);
    transition: transform var(--trans);
    color: var(--white);
}

/* ============ SECTION COMMON ============ */
.section {
    padding: 70px 0;
}

.section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 44px;
}

.eyebrow {
    color: var(--red) !important;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-head h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 10px;
}

.section-head p {
    color: var(--gray);
    font-size: 15px;
}

.section-head.left {
    text-align: left;
    margin: 0 0 36px;
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}



/* ============ HEADER ============ */
header {
    position: sticky;
    top: 0;
    background: #fff;
    transition: box-shadow .3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
    max-width: 1320px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    flex-shrink: 0;
}

.logo .mark {
    background: var(--red);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.logo .label {
    letter-spacing: 0.5px;
}

.header-search {
    flex: 1;
    max-width: 560px;
    position: relative;
    display: none;
}

.header-search input {
    width: 100%;
    padding: 13px 48px 13px 20px;
    border: 1.5px solid var(--neutral);
    border-radius: 30px;
    font-size: 14px;
    background: var(--bg);
    transition: border-color var(--trans);
}

.header-search input:focus {
    border-color: var(--red);
    background: #fff;
}

.header-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--trans);
}

.header-search button:hover {
    background: var(--red-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--text);
    transition: background var(--trans), color var(--trans);
}

.icon-btn:hover {
    background: var(--red-light);
    color: var(--red);
}

.icon-btn .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-btn,
.hamburger {
    display: flex;
}

.hamburger {
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--trans);
}

nav.main-nav {
    background: var(--white);
    border-top: 1px solid var(--neutral);
    display: none;
    height: 50px;
}

nav.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

nav.main-nav a {
    display: block;
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    position: relative;
    transition: color var(--trans);
}

nav.main-nav a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 8px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--trans);
    transform-origin: left;
}

nav.main-nav a:hover {
    color: var(--red);
}

nav.main-nav a:hover::after {
    transform: scaleX(1);
}

/* mobile drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 2000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
    transition: right .35s ease;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--neutral);
}

.drawer-close {
    font-size: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-close:hover {
    background: var(--red-light);
    color: var(--red);
}

.mobile-drawer nav {
    padding: 10px 0;
}

.mobile-drawer nav a {
    display: block;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1px solid var(--bg);
}

.mobile-drawer nav a:hover {
    color: var(--red);
    background: var(--red-light);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}


/* ============ PRODUCT CARD CONTAINER ============ */
.prod {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.prod:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* ============ PRODUCT MEDIA / IMAGE HOLDER (ph) ============ */
.prod .ph {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f9f9f9;
    overflow: hidden;
}

.prod .ph img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.4s ease;
}

.prod .ph img.alt {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Image Swap on Hover */
.prod:hover .ph img.main {
    transform: scale(1.05);
}

.prod:hover .ph img.alt {
    opacity: 1;
    transform: scale(1.05);
}

/* ============ BADGES ============ */
.prod .badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.prod .badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    color: #ffffff;
    width: fit-content;
}

.prod .badge.deal {
    background-color: #e63946;
}

.prod .badge.sale {
    background-color: #ffb703;
    color: #000000;
}

.prod .badge.new {
    background-color: #111827;
}

.prod .stock-left {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* ============ WISHLIST BUTTON ============ */
.prod .wish-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.prod .wish-btn:hover {
    background: #ffe6e6;
    transform: scale(1.1);
}

.prod .wish-btn .ic svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #333333;
    stroke-width: 2;
}

.prod .wish-btn:hover .ic svg {
    stroke: #e63946;
    fill: #e63946;
}

/* ============ QUICK ACTIONS OVERLAY ============ */
.prod .quick {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    display: flex;
    gap: 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}

.prod:hover .quick {
    transform: translateY(0);
}

.prod .quick .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.prod .quick .btn:hover {
    background: #374151;
}

.prod .quick .btn-ghost {
    background: #ffffff;
    color: #111827;
}

.prod .quick .btn-ghost:hover {
    background: #f3f4f6;
}

/* ============ PRODUCT GRID / CARDS ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.pgrid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.product-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--trans), box-shadow var(--trans);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pc-media {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg);
}

.pc-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .pc-media img {
    transform: scale(1.06);
}

.pc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 20px;
    z-index: 2;
}

.pc-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
    transform: translateX(50px);
    opacity: 0;
    transition: transform var(--trans), opacity var(--trans), color var(--trans), background var(--trans);
    z-index: 2;
}

.product-card:hover .pc-wish {
    transform: translateX(0);
    opacity: 1;
}

.pc-wish:hover {
    background: var(--red);
    color: #fff;
}

.pc-wish.active {
    color: var(--red);
}

.pc-quick {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -50px;
    background: rgba(23, 23, 23, .88);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: bottom var(--trans);
    z-index: 2;
}

.product-card:hover .pc-quick {
    bottom: 10px;
}

.pc-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.pc-cat {
    font-size: 11px;
    color: var(--red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pc-name {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    /*min-height: 38px;*/
}

.pc-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--gray);
}

.pc-rating .stars {
    color: #ffb400;
    letter-spacing: 1px;
    font-size: 12px;
}

.pc-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 2px;
    flex-wrap: wrap;
}

.pc-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--red);
}

.pc-old {
    font-size: 12.5px;
    color: #a1a1a1;
    text-decoration: line-through;
}

.pc-discount {
    font-size: 11px;
    font-weight: 700;
    color: #1a9850;
}

.pc-add {
    margin-top: auto;
    width: 100%;
    padding: 11px;
    border-radius: 10px;
    background: var(--text);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background var(--trans), transform var(--trans);
}

.pc-add:hover {
    background: var(--red);
}

.pc-add:active {
    transform: scale(.97);
}

.pc-add i {
    transition: transform var(--trans);
}

.pc-add:hover i {
    transform: translateX(3px);
}


/* ============ HOT DEALS SECTION (RED BACKGROUND & CENTERED) ============ */
.hot-deals {
    background-color: #d90429 !important;
    /* Full red section background */
    padding: 60px 0 !important;
    color: #ffffff !important;
}

/* Header Container: Centered Alignment */
.hot-deals .hd-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
}

/* Header Text Styling for Contrast */
.hot-deals .hd-head .eyebrow {
    color: #ffb27a !important;
    /* Light accent for eyebrow text */
    justify-content: center !important;
}

.hot-deals .hd-head h2 {
    color: #ffffff !important;
    margin: 6px 0 !important;
}

.hot-deals .hd-head .hd-sub {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Timer Container Alignment */
.hot-deals .hd-timer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.hot-deals .hd-timer-label {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
}

/* Row of Timer Boxes */
.hot-deals .hd-clock-row {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
}

/* Transparent Countdown Units */
.hot-deals .hd-unit {
    background: rgba(255, 255, 255, 0.15) !important;
    /* Transparent white overlay */
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    /* Soft border edge */
    backdrop-filter: blur(4px);
    border-radius: var(--radius-card, 8px) !important;
    padding: 10px 14px !important;
    min-width: 65px !important;
    text-align: center !important;
    color: #ffffff !important;
}

.hot-deals .hd-unit b {
    display: block !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.hot-deals .hd-unit span {
    font-size: 11px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.hot-deals .wrap .grid-4 {
    grid-template-columns: repeat(5, 1fr);
}


/* ============ NEW ARRIVALS CAROUSEL ============ */
.carousel-wrap {
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track .product-card {
    min-width: 200px;
    flex: 0 0 auto;
}

.carousel-nav {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--neutral);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans);
    font-size: 14px;
}

.carousel-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

/* Grid items should stretch inside CSS Grid columns */
.product-grid.pgrid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* Ensure product cards inside grid don't break parent container */
.product-grid .product-card {
    width: 100%;
    max-width: 100%;
}

/* Fixed width for Carousel items */
.carousel-track .product-card {
    flex: 0 0 280px;
    /* Adjust card width for carousel mode */
    max-width: 280px;
}


/* ============ SEARCH RESULTS BAR ============ */
.search-status {
    text-align: center;
    font-size: 13.5px;
    color: var(--gray);
    margin-bottom: 20px;
    font-weight: 500;
}

.search-status strong {
    color: var(--red);
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1/-1;
}

.no-products i {
    font-size: 44px;
    color: var(--neutral);
    margin-bottom: 16px;
}

.no-products h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.no-products p {
    color: var(--gray);
    font-size: 13.5px;
}

/* ============ FILTERS ============ */
.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.filters-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 16px;
    border: 1.5px solid var(--neutral);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    background: #fff;
    color: var(--text);
    cursor: pointer;
}

.filter-mobile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid var(--neutral);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* Container setup */
.carousel-wrap {
    width: 100%;
    overflow: hidden;
}

#newArrivalsTrack {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
    padding-bottom: 10px;
}

#newArrivalsTrack::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

/* Force 2.5 cards to show across the viewport width */
#newArrivalsTrack .product-card,
#new-arrivals .product-card {
    flex: 0 0 calc((100% - 48px) / 2.4);
    /* Scaled wide cards */
    min-width: 503px;
    box-sizing: border-box;
}

/* Taller aspect ratio for images to match your screenshot */
#newArrivalsTrack .product-card img,
#new-arrivals .product-card img {
    width: 100%;
    height: 505px;
    /* Increased image height */
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}


/* ============ NEWSLETTER (Targeted to .band .promo) ============ */
.band .promo {
    background: var(--red) !important;
    border-radius: 24px;
    padding: 56px 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Floating animated background shapes injected via pseudo-elements */
.band .promo::before,
.band .promo::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: drift 8s ease-in-out infinite;
    pointer-events: none;
}

/* Shape 1 (Top Left) */
.band .promo::before {
    width: 200px;
    height: 200px;
    top: -70px;
    left: -60px;
}

/* Shape 2 (Bottom Right) */
.band .promo::after {
    width: 260px;
    height: 260px;
    bottom: -100px;
    right: -80px;
    animation-delay: 2s;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(15px, -15px);
    }
}

/* Content & Typography Overrides */
.band .promo>div {
    position: relative;
    z-index: 2;
}

.band .promo .eyebrow {
    color: rgba(255, 255, 255, 0.85) !important;
}

.band .promo h2 {
    color: #fff !important;
    font-size: clamp(24px, 4vw, 34px) !important;
    font-weight: 800;
    margin-bottom: 10px;
}

.band .promo p {
    color: #ffe3e6 !important;
    font-size: 14.5px;
    margin-bottom: 26px;
}

/* Form Styles */
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 15px 18px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
}

.newsletter-form .btn.btn-primary {
    background: #fff;
    color: var(--red);
}

.newsletter-form .btn.btn-primary:hover {
    background: var(--red-dark);
    color: #fff;
}

.band.rcg-newsletter-banner {

    background: #fff;

}

.newsletter-msg {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}



/* ============  CATEGORIES ============ */

/* Container Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Base Banner Card */
.rcg-promo-trio .promo {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 190px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform var(--trans), box-shadow var(--trans);
    background-size: cover;
    background-position: center;
}

/* Card Hover Elevation */
.promo:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Red Tint Overlay on Hover */
.promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(217, 4, 41, .18);
    opacity: 0;
    transition: opacity var(--trans);
    z-index: 1;
}

.promo:hover::before {
    opacity: 1;
}

/* Content Container (Bottom Aligned Overlay) */
.promo>div {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    color: #fff;
    z-index: 2;
}

/* Typography Styles */
.promo h2 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

/* Button & Arrow Hover Animation */
.promo .cat-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transform: translateX(0);
    transition: transform var(--trans);
}

.promo:hover .cat-arrow {
    transform: translateX(6px);
}

/* Responsive Grid Fallback for Mobile */
@media (max-width: 640px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}


/* ============ FOOTER ============ */
footer {
    background: #171717;
    color: #dcdcdc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 13.5px;
    line-height: 1.8;
    color: #a8a8a8;
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul a {
    font-size: 13.5px;
    color: #a8a8a8;
    transition: color var(--trans);
}

.footer-col ul a:hover {
    color: var(--red);
}

.footer-col .logo {
    color: #fff;
    margin-bottom: 14px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: #a8a8a8;
    margin-bottom: 14px;
}

.footer-contact i {
    color: var(--red);
    width: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #262626;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans);
}

.footer-social a:hover {
    background: var(--red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding: 20px 0;
    text-align: center;
    font-size: 12.5px;
    color: #8a8a8a;
}


/* ============ RESPONSIVE ============ */

/* Base default for Mobile Screens (< 640px) */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2 clean columns on mobile */
    gap: 30px !important;
}

@media (min-width:640px) {
    .cat-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .social-grid {
        grid-template-columns: repeat(6, 1fr) !important;
    }

    .review-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .deal-banner {
        padding: 60px 50px !important;
    }
}

@media (min-width:860px) {
    .header-search {
        display: block !important;
    }

    .mobile-search-btn,
    .hamburger {
        display: none !important;
    }

    nav.main-nav {
        display: block !important;
    }

    .hero-grid {
        grid-template-columns: 1.05fr 1fr !important;
    }

    .hero-text p {
        max-width: none !important;
    }

    .section-head {
        margin-bottom: 54px !important;
    }

    .why-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr !important;
    }

    .deal-banner {
        grid-template-columns: 1fr 1fr !important;
        text-align: left !important;
    }

    .deal-text {
        text-align: left !important;
    }

    .deal-text .eyebrow {
        justify-content: flex-start !important;
    }
}

@media (min-width:1024px) {
    .cat-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    /*.product-grid.pgrid-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }*/

    .product-grid.pgrid-4 {
        grid-template-columns: repeat(5, 1fr) !important;
    }

    .product-grid:not(.pgrid-4) {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .review-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width:859px) {
    .cart-drawer {
        width: 100% !important;
    }
}


@media (max-width: 980px) {
    .pdp {
        display: block !important;
    }
}

.cart-drawer.open {
    right: 0;
}