/* ════════════════════════════════════════════════════════════
   IDL HOME — MASTER STYLESHEET
   Premium e-commerce styling, mobile-first, edge-to-edge slider
   ════════════════════════════════════════════════════════════ */

:root {
    --primary: #ce1212;
    --primary-hover: #a50e0e;
    --primary-soft: #fff5f5;
    --secondary: #ff4d4d;
    --accent: #ffd1d1;
    --background: #ffffff;
    --surface: #ffffff;
    --surface-muted: #fbfbfb;
    --surface-soft: #f7f7f7;
    --text: #111111;
    --text-muted: #666666;
    --text-light: #999999;
    --border: #f0f0f0;
    --border-strong: #e5e5e5;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 30px 60px -12px rgba(0, 0, 0, 0.08);
    --ease: cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-display: 'Playfair Display', 'Outfit', Georgia, serif;
}

/* ═══════════════ BASE / RESET ═══════════════ */
html {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    padding-top: 0;
    margin-top: 0;
}

main>.slider-container:first-child {
    margin-top: 0;
}

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

a {
    color: inherit;
}

/* ═══════════════ TOP BAR ═══════════════ */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 0.5rem 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1001;
    letter-spacing: 0.02em;
}

.top-bar strong {
    color: white;
}

.top-bar-links {
    display: flex;
    gap: 1.5rem;
}

.top-bar-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.top-bar-link:hover {
    color: white;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

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

.nav-brand {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.025em;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.9375rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right-group {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.nav-icon-link {
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-decoration: none;
}

.nav-icon-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.cart-icon:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

/* ═══════════════ SEARCH ═══════════════ */
.search-container {
    position: relative;
    width: 200px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container:focus-within {
    width: 320px;
}

.search-input {
    width: 100%;
    background: #f8f8f8;
    border: 1px solid transparent;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text);
    outline: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-input:focus {
    background: white;
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    opacity: 0.5;
}

.mobile-search-bar {
    display: none;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.mobile-search-bar form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    padding: 0 0.75rem;
}

.mobile-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem;
    font-size: 0.8rem;
    font-family: inherit;
    background: transparent;
    color: var(--text);
    min-width: 0;
}

.mobile-search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

/* ═══════════════ CATEGORY BAR ═══════════════ */
.category-bar {
    background: #6b6b6b;
    border-bottom: none;
    padding: 0.85rem 0;
    overflow: hidden;
    position: sticky;
    top: 73px;
    z-index: 999;
    width: 100%;
    max-width: 100%;
}

.category-marquee {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee 40s linear infinite;
    padding: 0 2rem;
}

.category-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.category-link {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}

.category-link:hover,
.category-link.active {
    color: white;
    border-bottom-color: white;
}

/* ═══════════════ HERO SLIDER (edge to edge) ═══════════════ */
.slider-container {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    margin-top: 0;
    margin-bottom: 0;
    height: 600px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: top;
}

.slide-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8%;
    color: white;
}

.slide-tagline {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.25rem;
    background: var(--primary);
    width: fit-content;
    padding: 5px 14px;
    border-radius: 2px;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
    color: white;
    max-width: 700px;
}

.slide-content p {
    font-size: 1.05rem;
    max-width: 480px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
    color: white;
}

.slide-cta {
    background: var(--primary);
    color: white;
    border-radius: 9999px;
    padding: 0.85rem 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px -8px rgba(206, 18, 18, 0.6);
    transition: all 0.3s var(--ease);
    font-family: inherit;
}

.slide-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(206, 18, 18, 0.7);
}

.slide-cta::after {
    content: '→';
    font-size: 1rem;
    transition: transform 0.3s var(--ease);
}

.slide-cta:hover::after {
    transform: translateX(3px);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    width: 28px;
    border-radius: 4px;
}

/* ═══════════════ TRUST STRIP ═══════════════ */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 2rem;
    max-width: 100%;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 1rem;
    border-right: 1px solid var(--border);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item i {
    width: 28px;
    height: 28px;
    color: var(--primary);
    flex-shrink: 0;
}

.trust-item div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.trust-item strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.trust-item span {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn-outline:hover {
    background: var(--surface-muted);
    border-color: var(--text);
}

/* ═══════════════ SECTIONS ═══════════════ */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 2rem;
    width: 100%;
}

/* ═══════════════ DISPLAY HEADINGS ═══════════════ */
.display-heading {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--text);
    margin: 0;
}

.display-heading em {
    font-style: italic;
    font-weight: 500;
    color: var(--primary);
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    position: relative;
    padding-right: 0.05em;
}

.display-heading em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.08em;
    height: 2px;
    background: var(--primary);
    opacity: 0.25;
    border-radius: 2px;
}

/* Eyebrows */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(206, 18, 18, 0.15);
    animation: pulseDot 2s var(--ease) infinite;
}

.eyebrow-line {
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    flex-shrink: 0;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 3px rgba(206, 18, 18, 0.15);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(206, 18, 18, 0.05);
    }
}

/* Centered heading */
.section-heading-center {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading-center .eyebrow {
    justify-content: center;
}

.section-heading-center p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 1rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Row heading (e.g. New Arrivals) */
.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.section-title-row::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 70px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title-text {
    flex: 1;
    min-width: 0;
}

.section-title-text p {
    color: var(--text-muted);
    margin-top: 0.85rem;
    font-size: 1rem;
    max-width: 540px;
    line-height: 1.55;
}

/* ═══════════════ VIEW ALL LINK ═══════════════ */
.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.75rem 1.4rem;
    border: 1.5px solid var(--text);
    border-radius: 9999px;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
    background: transparent;
}

.view-all-link i {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease);
}

.view-all-link:hover {
    background: var(--text);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.4);
}

.view-all-link:hover i {
    transform: translateX(4px);
}

.view-all-mobile-wrap {
    display: none;
    justify-content: center;
    margin-top: 1.5rem;
}

/* ═══════════════ CATEGORY GRID ═══════════════ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: var(--surface-soft);
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--text);
    transition: all 0.35s var(--ease);
    border-radius: var(--radius-lg);
    text-align: center;
}

.category-card:hover {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 20px 40px -20px rgba(206, 18, 18, 0.2);
    transform: translateY(-4px);
}

.category-icon-wrapper {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border);
    transition: all 0.35s var(--ease);
}

.category-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.category-card:hover .category-icon-wrapper {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.1);
}

.category-card-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
}

/* ═══════════════ PRODUCTS GRID ═══════════════ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--surface);
    transition: all 0.4s var(--ease);
    position: relative;
    border-radius: var(--radius);
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
}

.product-card:hover .product-img-wrapper {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-lg);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

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

.product-img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.product-img-placeholder i {
    width: 48px;
    height: 48px;
    stroke-width: 1;
}

.product-card-info {
    padding: 0.5rem 0.25rem;
    min-width: 0;
}

.product-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    font-weight: 700;
}

.product-name-link {
    text-decoration: none;
    color: inherit;
}

.product-name {
    margin: 0.4rem 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.product-name-link:hover .product-name {
    color: var(--primary);
}

.product-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
    font-size: 0.95rem;
}

/* Product overlay (desktop hover) */
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: all 0.4s var(--ease);
    z-index: 5;
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 80%;
    padding: 0.75rem;
    background: white;
    color: var(--text);
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: inherit;
    border-radius: 4px;
}

.overlay-btn i {
    width: 16px;
    height: 16px;
}

.overlay-btn:hover {
    background: var(--primary);
    color: white;
}

.overlay-btn.whatsapp {
    background: #25d366;
    color: white;
}

.overlay-btn.whatsapp:hover {
    background: #128c7e;
}

/* Mobile product action buttons */
.product-mobile-actions {
    display: none;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.product-mobile-actions a,
.product-mobile-actions button {
    flex: 1;
    padding: 0.55rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.2s;
    min-width: 0;
}

.product-mobile-actions i {
    width: 14px;
    height: 14px;
}

.product-mobile-actions .btn-view {
    background: var(--text);
    color: white;
}

.product-mobile-actions .btn-whatsapp {
    background: #25d366;
    color: white;
}

/* ═══════════════ BADGE ═══════════════ */
.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ═══════════════ HERO (generic) ═══════════════ */
.hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, #f1f5f9 0%, transparent 60%);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════ NEWSLETTER ═══════════════ */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    border-radius: 2rem;
    margin: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.newsletter-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
}

.newsletter-section .display-heading {
    color: white;
}

.newsletter-section .display-heading em {
    color: white;
}

.newsletter-section .display-heading em::after {
    background: white;
    opacity: 0.5;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    font-size: 1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.4rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.newsletter-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
    color: white;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
    min-width: 0;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    background: white;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: inherit;
    transition: all 0.2s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--text);
    color: white;
}

/* ═══════════════ FLOATING WHATSAPP ═══════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(37, 211, 102, 0.25);
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-float:hover {
    width: 200px;
    padding: 0 1.5rem;
    gap: 0.75rem;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 15px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-text {
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    width: 0;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    width: auto;
}

.whatsapp-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
    width: 28px;
    height: 28px;
}

/* ════════════════════════════════════════════════════════════
   FOOTER — REVAMPED
   ════════════════════════════════════════════════════════════ */
.site-footer {
    margin-top: 5rem;
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding: 0;
}

/* ─── Top features strip ─── */
.footer-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: var(--surface-soft);
    padding: 3.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.feature-card {
    text-align: center;
    padding: 0.5rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary);
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-sm);
}

.feature-icon i,
.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(206, 18, 18, 0.4);
    border-color: var(--primary);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
    max-width: 240px;
    margin: 0 auto;
}

/* ─── Main 5-column grid ─── */
.footer-main {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    background: white;
}

/* Brand column */
.footer-brand-col .footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-brand-col .footer-logo img {
    height: 44px;
    width: auto;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li,
.footer-contact a {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--primary);
}

.contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--surface-soft);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.25s var(--ease);
}

.contact-icon i,
.contact-icon svg {
    width: 16px;
    height: 16px;
}

.footer-contact a:hover .contact-icon {
    background: var(--primary);
    color: white;
}

/* Headings */
.footer-heading {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.85rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.25s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width 0.25s var(--ease);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:hover::before {
    width: 12px;
}

.link-badge {
    font-size: 0.55rem;
    font-weight: 800;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
    position: relative;
    top: -1px;
}

.link-badge.new {
    background: #16a34a;
}

.link-badge.hot {
    background: var(--primary);
}

/* Newsletter */
.footer-newsletter-col p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.footer-newsletter-form input {
    padding: 0.85rem 1.15rem;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text);
    outline: none;
    transition: all 0.2s;
}

.footer-newsletter-form input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(206, 18, 18, 0.08);
}

.footer-newsletter-form input::placeholder {
    color: var(--text-light);
}

.footer-newsletter-form button {
    padding: 0.85rem 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease);
    box-shadow: 0 8px 18px -8px rgba(206, 18, 18, 0.5);
}

.footer-newsletter-form button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -10px rgba(206, 18, 18, 0.6);
}

.footer-newsletter-form button i,
.footer-newsletter-form button svg {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════════
   SOCIAL ICONS (inline SVG — always visible)
   ═══════════════════════════════════════════ */
.footer-socials {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.footer-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-soft);
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease);
    text-decoration: none;
}

.footer-social svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: block;
}

.footer-social:hover {
    transform: translateY(-3px);
    color: white;
    border-color: transparent;
}

.footer-social.facebook:hover {
    background: #1877F2;
    box-shadow: 0 8px 18px -8px rgba(24, 119, 242, 0.55);
}

.footer-social.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 18px -8px rgba(220, 39, 67, 0.55);
}

.footer-social.twitter:hover {
    background: #000;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}

.footer-social.whatsapp:hover {
    background: #25D366;
    box-shadow: 0 8px 18px -8px rgba(37, 211, 102, 0.55);
}

.footer-social.tiktok:hover {
    background: #010101;
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.5);
}

/* ═══════════════════════════════════════════
   BOTTOM BAR — Payments centered
   ═══════════════════════════════════════════ */
.footer-bottom {
    border-top: 1px solid var(--border);
    background: var(--surface-soft);
    padding: 1.25rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-copyright {
    justify-self: start;
}

.footer-tagline {
    justify-self: end;
}

.footer-bottom strong {
    color: var(--text);
    font-weight: 700;
}

.footer-payments {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: white;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.footer-payments>span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    color: var(--text);
}

.payment-logos {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.payment-logos img {
    height: 22px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.2s;
}

.payment-logos img:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.heart {
    color: var(--primary);
    font-size: 0.95rem;
    display: inline-block;
    animation: heartBeat 1.4s ease infinite;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* ─── Footer responsive ─── */
@media (max-width: 1024px) {
    .footer-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem 2rem;
    }

    .footer-brand-col,
    .footer-newsletter-col {
        grid-column: span 2;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-copyright,
    .footer-tagline,
    .footer-payments {
        justify-self: center;
    }
}

@media (max-width: 600px) {
    .footer-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 0.85rem;
    }

    .feature-icon i,
    .feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-card h4 {
        font-size: 0.85rem;
    }

    .feature-card p {
        font-size: 0.72rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1rem 2rem;
    }

    .footer-brand-col,
    .footer-newsletter-col {
        grid-column: auto;
    }

    .footer-heading {
        font-size: 0.72rem;
        margin-bottom: 1.15rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 1.25rem 1rem;
    }

    .footer-payments {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.65rem 1rem;
        gap: 0.65rem;
    }

    .payment-logos {
        gap: 0.65rem;
    }

    .payment-logos img {
        height: 18px;
    }

    .footer-social {
        width: 36px;
        height: 36px;
    }

    .footer-social svg {
        width: 14px;
        height: 14px;
    }
}

/* ═══════════════ MOBILE MENU TOGGLE ═══════════════ */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
}

/* ═══════════════ SCROLLBAR ═══════════════ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ═══════════════ SCROLL TO TOP ═══════════════ */
.scroll-top {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    background: var(--text);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9998;
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ═══════════════ ANIMATIONS ═══════════════ */
.animate-up {
    animation: fadeUp 0.7s var(--ease) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════════════════════
   PRODUCT LIST PAGE — Page Header, Filters, Pagination
   ════════════════════════════════════════════════════════════ */
.page-header {
    background: linear-gradient(180deg, var(--surface-soft) 0%, white 100%);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse at center, rgba(206, 18, 18, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-header-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.page-header .eyebrow {
    justify-content: center;
    margin-bottom: 1rem;
}

.page-header .display-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.page-header-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 1rem;
    line-height: 1.6;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span:not(.breadcrumb-sep) {
    color: var(--text);
}

.breadcrumb-sep {
    color: var(--border-strong);
    font-weight: 400;
}

/* Filter chips */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.15rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: var(--surface-soft);
    border: 1px solid transparent;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}

.filter-chip:hover {
    color: var(--text);
    background: white;
    border-color: var(--border-strong);
}

.filter-chip.active {
    background: var(--text);
    color: white;
    border-color: var(--text);
}

/* Result count */
.result-meta {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.result-meta strong {
    color: var(--text);
    font-weight: 700;
}

/* Empty state */
.empty-state-wrap {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 1rem;
}

.empty-state-wrap i {
    width: 56px;
    height: 56px;
    color: var(--text-muted);
    stroke-width: 1;
    margin: 0 auto 1.5rem;
    display: block;
}

.empty-state-wrap h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.empty-state-wrap p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text);
    border: 1.5px solid var(--border-strong);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s var(--ease);
    cursor: pointer;
}

.page-btn:hover {
    border-color: var(--text);
    background: var(--text);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.3);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    cursor: default;
    box-shadow: 0 6px 16px -6px rgba(206, 18, 18, 0.5);
}

.page-btn.active:hover {
    transform: none;
    background: var(--primary);
    border-color: var(--primary);
}

.page-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.page-arrow i {
    width: 16px;
    height: 16px;
}

.page-ellipsis {
    color: var(--text-light);
    padding: 0 0.25rem;
    font-weight: 700;
    user-select: none;
}

.pagination-meta {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 1rem;
}

.pagination-meta strong {
    color: var(--text);
}

/* ════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ════════════════════════════════════════════════════════════ */
.product-detail-section {
    padding-top: 2rem;
}

.product-breadcrumb {
    margin-bottom: 2.5rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Image */
.product-detail-image-wrap {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 120px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

.product-detail-image-wrap:hover .product-detail-image {
    transform: scale(1.03);
}

.product-detail-placeholder {
    color: #cbd5e1;
}

.product-detail-placeholder i {
    width: 64px;
    height: 64px;
    stroke-width: 1;
}

.product-detail-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: white;
    color: var(--text);
    padding: 0.4rem 0.85rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.product-detail-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
}

/* Info */
.product-detail-info {
    padding: 0.5rem 0;
}

.product-detail-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-detail-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text);
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.product-detail-rating .stars {
    display: flex;
    gap: 2px;
    color: #f59e0b;
}

.product-detail-rating .stars i {
    width: 16px;
    height: 16px;
    fill: #f59e0b;
}

.product-detail-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    padding: 1.25rem 0;
    margin-bottom: 1.75rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.product-detail-vat {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Action buttons */
.product-detail-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.btn-detail {
    flex: 1;
    padding: 1.05rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s var(--ease);
    font-family: inherit;
}

.btn-detail i {
    width: 18px;
    height: 18px;
}

.btn-detail-primary {
    background: var(--text);
    color: white;
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

.btn-detail-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(206, 18, 18, 0.5);
}

.btn-detail-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.5);
}

.btn-detail-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
}

/* Trust card */
.product-detail-trust {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.trust-row i {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-row strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.trust-row span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Description */
.product-detail-description {
    margin-bottom: 2.5rem;
}

.description-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 1.25rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.description-bar {
    display: inline-block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.description-content {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.description-content p {
    margin-bottom: 0.75rem;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.description-content strong {
    color: var(--text);
    font-weight: 700;
}

.description-content ul,
.description-content ol {
    padding-left: 1.25rem;
    margin: 0.5rem 0 1rem;
}

.description-content ul ul,
.description-content ol ol,
.description-content ul ol,
.description-content ol ul {
    margin: 0.4rem 0;
}

.description-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.description-content li::marker {
    color: var(--primary);
}

.description-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ════════════════════════════════════════════════════════════
   SHARE BUTTONS — brand-coloured, visible
   ════════════════════════════════════════════════════════════ */
.product-detail-share {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    display: block;
}

.share-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: inherit;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.25);
    line-height: 1;
}

.share-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.35);
    color: white;
}

.share-whatsapp {
    background: #25D366;
}

.share-whatsapp:hover {
    background: #1ebe57;
}

.share-facebook {
    background: #1877F2;
}

.share-facebook:hover {
    background: #166fe5;
}

.share-twitter {
    background: #000000;
}

.share-twitter:hover {
    background: #1a1a1a;
}

.share-pinterest {
    background: #E60023;
}

.share-pinterest:hover {
    background: #cc001f;
}

.share-copy {
    background: #1f2937;
    color: white;
}

.share-copy:hover {
    background: #111827;
}

.share-copy.copied {
    background: #16a34a;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    .slide-content h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .display-heading {
        font-size: 2rem;
    }

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

    .trust-item:nth-child(2) {
        border-right: none;
    }

    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        border-top: 1px solid var(--border);
        padding-top: 1rem;
        margin-top: 0.5rem;
    }

    /* Detail page stacks */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-image-wrap {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    .top-bar {
        display: none;
    }

    .navbar {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
    }

    .nav-brand {
        order: 1;
        flex: 1;
    }

    .nav-right-group {
        order: 2;
        flex: 0;
        gap: 1rem;
    }

    .search-container {
        display: none;
    }

    .mobile-search-bar {
        display: block;
        padding: 0.45rem 1rem;
    }

    .nav-links {
        position: fixed;
        top: 53px;
        left: 0;
        width: 100%;
        height: 0;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 1.5rem;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid var(--border);
        gap: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }

    .nav-links.active {
        height: auto;
        padding: 1.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 0;
        width: 100%;
        display: block;
        border-bottom: 1px solid #f5f5f5;
    }

    .logo-img {
        height: 30px;
    }

    .category-bar {
        top: 53px;
        padding: 0.55rem 0;
    }

    .category-link {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.65rem;
    }

    /* SLIDER — mobile */
    .slider-container {
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        height: 380px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .slider-track {
        width: 100% !important;
        transition: none !important;
        transform: none !important;
    }

    .slide {
        width: 100% !important;
        display: none !important;
    }

    .slide:first-child {
        display: block !important;
    }

    .slide-img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        vertical-align: top !important;
    }

    .slider-dots {
        display: none !important;
    }

    .slide-content {
        padding: 0 1.1rem 1.25rem !important;
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.78) 0%,
                rgba(0, 0, 0, 0.3) 40%,
                transparent 75%) !important;
        justify-content: flex-end !important;
        align-items: flex-start !important;
    }

    .slide-tagline {
        font-size: 0.55rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.16em !important;
        text-transform: uppercase !important;
        color: white !important;
        background: var(--primary) !important;
        padding: 3px 9px !important;
        margin-bottom: 0.45rem !important;
        display: inline-block !important;
        width: fit-content !important;
        border-radius: 2px !important;
    }

    .slide-content h1 {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
        margin-bottom: 0.4rem !important;
        letter-spacing: -0.02em !important;
        color: white !important;
        max-width: 90% !important;
    }

    .slide-content p {
        font-size: 0.68rem !important;
        opacity: 0.85 !important;
        margin-bottom: 0.7rem !important;
        max-width: 240px !important;
        font-weight: 300 !important;
        line-height: 1.4 !important;
    }

    .slide-cta {
        padding: 0.4rem 0.85rem !important;
        font-size: 0.55rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        border-radius: 9999px !important;
        gap: 0.3rem !important;
        box-shadow: 0 4px 12px -4px rgba(206, 18, 18, 0.5) !important;
    }

    .slide-cta::after {
        font-size: 0.75rem !important;
    }

    /* Trust strip */
    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem 0.75rem;
        gap: 0;
    }

    .trust-item {
        padding: 0.6rem 0.5rem;
        gap: 0.55rem;
        border-right: 1px solid var(--border);
    }

    .trust-item:nth-child(2) {
        border-right: none;
    }

    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        border-top: 1px solid var(--border);
        padding-top: 0.85rem;
        margin-top: 0.25rem;
    }

    .trust-item i {
        width: 20px;
        height: 20px;
    }

    .trust-item strong {
        font-size: 0.72rem;
    }

    .trust-item span {
        font-size: 0.6rem;
    }

    /* Sections */
    .section-container {
        padding: 2.5rem 1rem;
    }

    /* Display headings */
    .display-heading {
        font-size: 1.5rem;
    }

    .display-heading em::after {
        bottom: -0.05em;
        height: 1.5px;
    }

    .eyebrow {
        font-size: 0.6rem;
        letter-spacing: 0.22em;
        gap: 0.5rem;
        margin-bottom: 0.6rem;
    }

    .eyebrow-line {
        width: 22px;
    }

    .eyebrow-dot {
        width: 6px;
        height: 6px;
    }

    .section-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-bottom: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .section-title-row::after {
        width: 40px;
        height: 2px;
    }

    .section-title-text p {
        font-size: 0.78rem;
        margin-top: 0.4rem;
        line-height: 1.4;
    }

    .section-title-row .view-all-link {
        display: none;
    }

    .view-all-mobile-wrap {
        display: flex;
    }

    .view-all-link {
        font-size: 0.65rem;
        padding: 0.55rem 1.1rem;
        letter-spacing: 0.1em;
        gap: 0.4rem;
        border-width: 1.5px;
    }

    .view-all-link i {
        width: 12px;
        height: 12px;
    }

    .section-heading-center {
        margin-bottom: 1.75rem;
    }

    .section-heading-center p {
        font-size: 0.85rem;
        margin-top: 0.6rem;
    }

    /* Category cards */
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .category-card {
        padding: 1rem 0.5rem;
        gap: 0.5rem;
        border-radius: 10px;
    }

    .category-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .category-icon-wrapper i {
        width: 18px !important;
        height: 18px !important;
    }

    .category-card-name {
        font-size: 0.7rem;
        text-align: center;
        line-height: 1.2;
    }

    /* Products grid */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .product-img-wrapper {
        border-radius: 6px;
        margin-bottom: 0.55rem;
    }

    .product-overlay {
        display: none;
    }

    .product-mobile-actions {
        display: flex;
    }

    .product-card-info {
        padding: 0.3rem 0.1rem;
    }

    .product-category {
        font-size: 0.55rem;
        letter-spacing: 0.12em;
    }

    .product-name {
        font-size: 0.8rem;
        margin: 0.25rem 0 0.3rem;
    }

    .product-price {
        font-size: 0.85rem;
    }

    /* Newsletter */
    .newsletter-section {
        margin: 1.5rem 0.75rem;
        padding: 2.5rem 1.25rem;
        border-radius: 1.25rem;
    }

    .newsletter-eyebrow {
        font-size: 0.6rem;
        padding: 3px 10px;
        margin-bottom: 0.85rem;
    }

    .newsletter-section p {
        font-size: 0.85rem;
        margin-top: 0.6rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
        background: transparent;
        border: none;
        padding: 0;
        margin-top: 1.5rem;
    }

    .newsletter-input {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 9999px;
        padding: 0.85rem 1.25rem;
        font-size: 0.85rem;
    }

    .newsletter-btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.75rem;
    }

    /* Footer */
    .site-footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    /* WhatsApp float */
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 48px;
        height: 48px;
        border-radius: 24px;
    }

    .whatsapp-float:hover {
        width: 48px;
        padding: 0;
        gap: 0;
        transform: none;
    }

    .whatsapp-float:hover .whatsapp-text {
        opacity: 0;
        width: 0;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }

    /* Scroll to top */
    .scroll-top {
        bottom: 4.75rem;
        right: 1.25rem;
        width: 34px;
        height: 34px;
    }

    /* PRODUCT LIST — mobile */
    .page-header {
        padding: 2rem 1rem 1.75rem;
    }

    .page-header .display-heading {
        font-size: 1.5rem;
    }

    .page-header-subtitle {
        font-size: 0.85rem;
        margin-top: 0.6rem;
    }

    .breadcrumb {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 0.4rem;
        padding-bottom: 1rem;
        margin-bottom: 1.25rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-chip {
        font-size: 0.68rem;
        padding: 0.45rem 0.95rem;
    }

    .result-meta {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }

    .pagination {
        margin-top: 2.5rem;
        gap: 0.3rem;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.78rem;
        padding: 0 0.5rem;
    }

    .page-arrow i {
        width: 14px;
        height: 14px;
    }

    .empty-state-wrap {
        padding: 3rem 1rem;
    }

    .empty-state-wrap i {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .empty-state-wrap h2 {
        font-size: 1.15rem;
    }

    .empty-state-wrap p {
        font-size: 0.85rem;
    }

    /* PRODUCT DETAIL — mobile */
    .product-detail-section {
        padding: 1.25rem 1rem 2.5rem;
    }

    .product-breadcrumb {
        margin-bottom: 1rem;
        font-size: 0.65rem;
    }

    .product-detail-image-wrap {
        border-radius: var(--radius);
    }

    .product-detail-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.3rem 0.65rem;
        font-size: 0.55rem;
    }

    .product-detail-category {
        font-size: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .product-detail-title {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .product-detail-rating {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    .product-detail-rating .stars i {
        width: 14px;
        height: 14px;
    }

    .product-detail-price-wrap {
        padding: 1rem 0;
        margin-bottom: 1.25rem;
    }

    .product-detail-price {
        font-size: 1.5rem;
    }

    .product-detail-vat {
        font-size: 0.65rem;
    }

    .product-detail-actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .btn-detail {
        padding: 0.85rem 1.25rem;
        font-size: 0.75rem;
    }

    .product-detail-trust {
        padding: 1rem;
        gap: 0.85rem;
        margin-bottom: 1.75rem;
    }

    .trust-row strong {
        font-size: 0.78rem;
    }

    .trust-row span {
        font-size: 0.7rem;
    }

    .description-title {
        font-size: 0.7rem;
        margin-bottom: 1rem;
    }

    .description-content {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    /* Share buttons */
    .share-label {
        font-size: 0.62rem;
        margin-bottom: 0.75rem;
    }

    .share-buttons {
        gap: 0.45rem;
    }

    .share-btn {
        padding: 0.6rem 0.9rem;
        font-size: 0.7rem;
        gap: 0.45rem;
    }

    .share-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    .slider-container {
        height: 340px !important;
    }

    .slide-tagline {
        font-size: 0.5rem !important;
        padding: 2px 7px !important;
    }

    .slide-content h1 {
        font-size: 1rem !important;
    }

    .slide-content p {
        font-size: 0.62rem !important;
        max-width: 200px !important;
        margin-bottom: 0.55rem !important;
    }

    .slide-cta {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.52rem !important;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

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

    .newsletter-section {
        padding: 2rem 1rem;
        border-radius: 1rem;
    }

    .display-heading {
        font-size: 1.3rem;
    }

    .page-header .display-heading {
        font-size: 1.3rem;
    }

    .product-detail-title {
        font-size: 1.2rem;
    }

    .product-detail-price {
        font-size: 1.3rem;
    }

    /* Share buttons collapse to icon-only */
    .share-btn span {
        display: none;
    }

    .share-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
        gap: 0;
    }

    .share-btn svg {
        width: 18px;
        height: 18px;
    }

    .share-copy.copied::after {
        content: '✓';
        font-size: 16px;
        font-weight: 800;
    }

    .share-copy.copied svg {
        display: none;
    }
}


/* ════════════════════════════════════════════════════════════
   NEW ADDITIONS — Quick Add, Sidebar Filters, Toolbar
   ════════════════════════════════════════════════════════════ */

/* ─── Top bar strong (free shipping number) ─── */
.top-bar strong {
    color: #ffd1d1 !important;
}

/* ─── Disable old hover overlay (replaced by "+" button) ─── */
.product-overlay {
    display: none !important;
}

.product-mobile-actions {
    display: none !important;
}

/* ═══════════ "+" QUICK ADD (Carrefour-style) ═══════════ */
.quick-add-wrap {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    z-index: 10;
}

.quick-add-btn {
    width: 44px;
    height: 44px;
    background: #1877F2;
    color: white;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -4px rgba(24, 119, 242, 0.55);
    transition: all 0.3s var(--ease);
    padding: 0;
}

.quick-add-btn i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--ease);
}

.quick-add-btn:hover {
    background: var(--primary);
    box-shadow: 0 8px 18px -4px rgba(206, 18, 18, 0.55);
    transform: scale(1.05);
}

.quick-add-wrap.open .quick-add-btn {
    background: var(--primary);
    transform: rotate(45deg);
}

.quick-add-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.18);
    padding: 0.4rem;
    opacity: 0;
    transform: translateY(8px) scale(0.95);
    transform-origin: bottom right;
    pointer-events: none;
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quick-add-wrap.open .quick-add-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.quick-add-menu::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.qa-option {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    background: transparent;
    color: var(--text);
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
    width: 100%;
    font-family: inherit;
    transition: all 0.2s;
}

.qa-option i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.qa-option:hover {
    background: var(--surface-soft);
}

.qa-cart:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.qa-wish:hover {
    background: #fff0f5;
    color: #d6336c;
}

.qa-whatsapp:hover {
    background: #e8f8ee;
    color: #128c7e;
}

/* ═══════════ PRODUCT GRID VIEW MODIFIERS ═══════════ */
.product-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

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

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

/* ═══════════ SHOP LAYOUT (sidebar + main) ═══════════ */
.shop-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 4rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* SIDEBAR */
.shop-sidebar {
    position: sticky;
    top: 130px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    max-height: calc(100vh - 150px);
    overflow-y: auto;
}

.sidebar-mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-mobile-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
}

.sidebar-mobile-header button {
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.sidebar-mobile-header button:hover {
    background: var(--surface-soft);
}

.sidebar-block {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border);
}

.sidebar-block:first-of-type {
    padding-top: 0;
}

.sidebar-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-heading {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.65rem;
}

.sidebar-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
}

.sidebar-heading::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Price inputs */
.price-inputs {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.price-field {
    flex: 1;
    min-width: 0;
}

.price-field label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.price-input-wrap {
    display: flex;
    align-items: center;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0 0.5rem;
    transition: all 0.2s;
}

.price-input-wrap:focus-within {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(206, 18, 18, 0.08);
}

.price-input-wrap span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-right: 0.25rem;
}

.price-input-wrap input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.5rem 0;
    font-size: 0.85rem;
    font-family: inherit;
    color: var(--text);
    font-weight: 600;
}

.price-input-wrap input::-webkit-outer-spin-button,
.price-input-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-separator {
    padding-bottom: 0.55rem;
    color: var(--text-light);
    font-weight: 700;
}

.price-display {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.price-display strong {
    color: var(--text);
    font-weight: 700;
}

.filter-apply-btn {
    width: 100%;
    padding: 0.65rem 1rem;
    background: var(--text);
    color: white;
    border: none;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s var(--ease);
}

.filter-apply-btn:hover {
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 16px -6px rgba(206, 18, 18, 0.4);
}

/* Custom checkboxes */
.check-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text);
    user-select: none;
}

.check-row input {
    display: none;
}

.check-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-strong);
    border-radius: 4px;
    flex-shrink: 0;
    background: white;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.check-box::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
    margin-bottom: 2px;
}

.check-row input:checked+.check-box {
    background: var(--primary);
    border-color: var(--primary);
}

.check-row input:checked+.check-box::after {
    transform: rotate(45deg) scale(1);
}

.check-row:hover .check-box {
    border-color: var(--primary);
}

/* Sidebar categories */
.sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cats li {
    margin-bottom: 2px;
}

.sidebar-cats a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

.sidebar-cats a:hover {
    background: var(--surface-soft);
    color: var(--text);
    padding-left: 1rem;
}

.sidebar-cats a.active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
}

.cat-count {
    font-size: 0.7rem;
    color: var(--text-light);
    background: var(--surface-soft);
    padding: 1px 7px;
    border-radius: 10px;
}

/* Top rated products in sidebar */
.sidebar-products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-products li {
    margin-bottom: 0.85rem;
}

.sidebar-products a {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.sidebar-products a:hover {
    transform: translateX(3px);
}

.sb-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--surface-soft);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.sb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-thumb i {
    width: 22px;
    height: 22px;
}

.sb-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sb-name {
    font-size: 0.78rem;
    color: var(--text);
    line-height: 1.3;
    font-weight: 500;
}

.sb-stars {
    display: flex;
    gap: 1px;
    color: #f59e0b;
}

.sb-stars i {
    width: 12px;
    height: 12px;
    fill: #f59e0b;
}

.sb-price {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 800;
}

/* Mobile filter toggle */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.1rem;
    background: var(--text);
    color: white;
    border: none;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-bottom: 1rem;
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.4);
}

.mobile-filter-toggle i {
    width: 16px;
    height: 16px;
}

/* ═══════════ SHOP MAIN — Toolbar ═══════════ */
.shop-main {
    min-width: 0;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.toolbar-left {
    display: flex;
    align-items: center;
}

.toolbar-breadcrumb {
    margin-bottom: 0 !important;
    font-size: 0.7rem;
}

.toolbar-breadcrumb strong {
    color: var(--text);
    font-weight: 800;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.show-form {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.show-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}

.show-num {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s;
}

.show-num:hover {
    color: var(--primary);
}

.show-num.active {
    background: var(--text);
    color: white;
    font-weight: 800;
}

.show-sep {
    color: var(--border-strong);
    font-size: 0.85rem;
}

.view-toggle {
    display: flex;
    background: var(--surface-soft);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.view-btn {
    width: 34px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.2s;
}

.view-btn i {
    width: 16px;
    height: 16px;
}

.view-btn:hover {
    color: var(--text);
}

.view-btn.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.sort-select {
    padding: 0.55rem 2rem 0.55rem 1rem;
    background: white url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 0.65rem center;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.2s;
    min-width: 170px;
}

.sort-select:hover {
    border-color: var(--text);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(206, 18, 18, 0.08);
}

/* ═══════════ RESPONSIVE — Tablet (≤1024px) ═══════════ */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 1.5rem 1rem 3rem !important;
    }

    .mobile-filter-toggle {
        display: inline-flex !important;
    }

    .shop-sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 9999;
        width: min(340px, 90vw);
        max-height: 100vh;
        border-radius: 0 !important;
        border: none !important;
        border-right: 1px solid var(--border) !important;
        transform: translateX(-100%);
        transition: transform 0.35s var(--ease);
        overflow-y: auto;
    }

    .shop-sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.25);
    }

    .sidebar-mobile-header {
        display: flex !important;
    }

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

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

/* ═══════════ RESPONSIVE — Mobile (≤768px) ═══════════ */
@media (max-width: 768px) {

    .grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem;
    }

    /* Quick add mobile */
    .quick-add-btn {
        width: 38px !important;
        height: 38px !important;
        border-width: 2px !important;
    }

    .quick-add-btn i {
        width: 18px !important;
        height: 18px !important;
    }

    .quick-add-wrap {
        bottom: 0.6rem !important;
        right: 0.6rem !important;
    }

    .quick-add-menu {
        min-width: 180px !important;
    }

    .qa-option {
        font-size: 0.78rem !important;
        padding: 0.65rem 0.8rem !important;
    }

    /* Toolbar mobile */
    .shop-toolbar {
        padding: 0.85rem 1rem;
        gap: 0.85rem;
    }

    .toolbar-left {
        width: 100%;
    }

    .toolbar-right {
        width: 100%;
        justify-content: space-between;
        gap: 0.65rem;
    }

    .show-form {
        gap: 0.25rem;
    }

    .show-label {
        font-size: 0.7rem;
    }

    .show-num {
        font-size: 0.75rem;
        padding: 2px 5px;
    }

    .view-toggle {
        padding: 2px;
    }

    .view-btn {
        width: 28px;
        height: 26px;
    }

    .view-btn i {
        width: 14px;
        height: 14px;
    }

    .sort-select {
        font-size: 0.72rem;
        min-width: 0;
        padding: 0.45rem 1.6rem 0.45rem 0.7rem;
        flex: 1;
    }
}

/* ═══════════ RESPONSIVE — Small (≤480px) ═══════════ */
@media (max-width: 480px) {

    .grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.7rem;
    }
}


/* ════════════════════════════════════════════
   FOOTER — Embedded Security badge
   ════════════════════════════════════════════ */
.footer-tagline {
    display: none !important;
}

/* hide old "Crafted with ♥" if present */

.footer-security {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.95rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.72rem;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    line-height: 1.2;
}

.footer-security strong {
    color: var(--text);
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-left: 0.2rem;
}

.security-icon {
    width: 16px;
    height: 16px;
    color: #16a34a;
    /* green padlock = trust */
    flex-shrink: 0;
}

/* Mobile/tablet: keep centered with the rest */
@media (max-width: 1024px) {
    .footer-security {
        justify-self: center !important;
    }
}

@media (max-width: 600px) {
    .footer-security {
        font-size: 0.68rem;
        padding: 0.45rem 0.8rem;
    }

    .security-icon {
        width: 14px;
        height: 14px;
    }
}

/* ===== "+" QUICK ADD — Updated (desktop popover + mobile bottom sheet) ===== */

.quick-add-wrap {
    position: absolute;
    bottom: 0.85rem;
    right: 0.85rem;
    z-index: 10;
    display: inline-block;
}

/* default: brand red */
.quick-add-btn {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px -4px rgba(206, 18, 18, 0.40);
    transition: all 0.28s var(--ease);
    padding: 0;
    transform: rotate(0deg);
}
.quick-add-btn i { width:20px; height:20px; transition: transform .28s var(--ease); }

/* Fixed: Menu now stays open while mouse is over button OR menu itself */
.quick-add-wrap:hover .quick-add-menu,
.quick-add-wrap .quick-add-menu:hover,
.quick-add-wrap.open .quick-add-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* desktop popover */
.quick-add-menu {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.18);
    padding: 0.4rem;
    opacity: 0;
    transform: translateY(8px) scale(.97);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 12;
}

/* show popover (desktop hover or .open) */
.quick-add-wrap:hover .quick-add-menu,
.quick-add-wrap.open .quick-add-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* caret for desktop */
.quick-add-menu::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: white;
    transform: rotate(45deg);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* menu item */
.qa-option {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.9rem;
    background: transparent;
    color: var(--text);
    border: none;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
    width: 100%;
    font-family: inherit;
    transition: background 0.18s, color 0.18s;
}
.qa-option i { width:16px; height:16px; flex-shrink:0; }
.qa-option:hover { background: var(--surface-soft); color: var(--text); }
.qa-cart:hover { background: var(--primary-soft); color: var(--primary); }
.qa-wish:hover { background: #fff0f5; color: #d6336c; }
.qa-whatsapp:hover { background: #e8f8ee; color: #128c7e; }

/* =================== MOBILE: full-width bottom sheet =================== */
@media (max-width: 768px) {
  /* Make the popover become a bottom sheet */
  .quick-add-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 12px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    transform: translateY(100%) scale(1) !important;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 -12px 30px rgba(0,0,0,0.18);
  }

  /* visible mobile state uses .mobile-open on the menu */
  .quick-add-menu.mobile-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* larger, tappable menu items */
  .qa-option {
    padding: 0.95rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  /* add a close button inside sheet (styled here; JS will inject it) */
  .qa-close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
  }

/* Floating popover used on mobile (opens upward) */
.qa-floating-popover {
  position: absolute;
  z-index: 2000;
  background: white;
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.20);
  padding: 8px;
  transform-origin: bottom center;
  animation: qa-pop-in .12s ease;
  max-width: calc(100% - 16px);
  min-width: 160px;
}

.qa-floating-popover .qa-popover-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qa-floating-popover .qa-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  background: var(--surface-soft);
  font-weight: 700;
  color: var(--text);
}

.qa-popover-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  bottom: -6px;
  background: white;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-right: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

/* animation */
@keyframes qa-pop-in {
  from { opacity: 0; transform: translateY(6px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Ensure popovers fit smaller screens */
@media (max-width: 480px) {
  .qa-floating-popover { padding: 10px; min-width: 180px; }
  .qa-floating-popover .qa-option { padding: 0.85rem 1rem; font-size: 0.95rem; }
}

  /* overlay behind sheet (JS injects #qa-overlay) */
  #qa-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 11;
    opacity: 1;
    transition: opacity 0.2s ease;
  }

  /* when sheet open, rotate the button */
  .quick-add-wrap.open .quick-add-btn {
    transform: rotate(45deg);
  }
}

/* responsive minor tweaks */
@media (max-width: 480px) {
  .quick-add-btn { width: 40px; height: 40px; }
  .qa-close-btn { width: 34px; height: 34px; top: 6px; right: 10px; }
}


/* ==================== FINAL PRODUCT CARD + QUICK MENU FIX ==================== */
/* Whole card becomes active on hover */
.product-card:hover {
    box-shadow: 0 25px 50px -12px rgba(206, 18, 18, 0.35) !important;
    border-color: #ce1212 !important;
    transform: translateY(-4px) !important;
}

/* Menu stays open while hovering the entire product card */
.product-card:hover .quick-add-menu,
.product-card:hover .qa-floating-popover {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transition-delay: 0ms !important;
}

/* Small delay when leaving the card (gives you time to click) */
.product-card:not(:hover) .quick-add-menu,
.product-card:not(:hover) .qa-floating-popover {
    transition-delay: 900ms !important;
}

/* Make the + button itself more visible */
.quick-add-btn:hover {
    transform: scale(1.12) !important;
}