/*
 * Baby Boss Widget Styles
 * Loaded on frontend AND in Elementor editor
 * Ensures widgets are visible in both contexts
 */

/*
Theme Name: Baby Boss
Theme URI: https://babyboss.id
Author: Baby Boss
Author URI: https://babyboss.id
Description: Custom theme for Baby Boss — Toko Perlengkapan Bayi & Anak. Compatible with Elementor and WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baby-boss
Tags: elementor, woocommerce, baby, shop, custom
*/

/* ============================================
   BABY BOSS — Ecommerce Template Stylesheet
   Modern, Warm, Premium Baby Store
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Color Palette — Soft Pastels */
    --color-primary: #6db5ca;
    --color-primary-dark: #4a98b0;
    --color-primary-light: #b8dde8;
    --color-secondary: #f4c59c;
    --color-secondary-dark: #e5a96f;
    --color-accent-mint: #a8d8c8;
    --color-accent-pink: #f2c6c6;
    --color-accent-lavender: #c8b8e0;

    --color-bg: #fdfbf7;
    --color-bg-alt: #f5f0e8;
    --color-bg-card: #ffffff;
    --color-bg-hero: linear-gradient(135deg, #eaf6fb 0%, #fdf5ec 50%, #f0faf5 100%);

    --color-text: #3d3d3d;
    --color-text-light: #7a7a7a;
    --color-text-heading: #2c2c2c;
    --color-white: #ffffff;

    --color-star: #f5c842;
    --color-border: #e8e3db;
    --color-success: #6bbf7a;
    --color-whatsapp: #25d366;

    /* Typography */
    --font-heading: "Nunito", sans-serif;
    --font-body: "Poppins", sans-serif;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.25rem;

    /* Header */
    --header-height: 72px;
}
/* ============================================
   BABY BOSS — Ecommerce Template Stylesheet
   Modern, Warm, Premium Baby Store
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Color Palette — Soft Pastels */
    --color-primary: #6db5ca;
    --color-primary-dark: #4a98b0;
    --color-primary-light: #b8dde8;
    --color-secondary: #f4c59c;
    --color-secondary-dark: #e5a96f;
    --color-accent-mint: #a8d8c8;
    --color-accent-pink: #f2c6c6;
    --color-accent-lavender: #c8b8e0;

    --color-bg: #fdfbf7;
    --color-bg-alt: #f5f0e8;
    --color-bg-card: #ffffff;
    --color-bg-hero: linear-gradient(135deg, #eaf6fb 0%, #fdf5ec 50%, #f0faf5 100%);

    --color-text: #3d3d3d;
    --color-text-light: #7a7a7a;
    --color-text-heading: #2c2c2c;
    --color-white: #ffffff;

    --color-star: #f5c842;
    --color-border: #e8e3db;
    --color-success: #6bbf7a;
    --color-whatsapp: #25d366;

    /* Typography */
    --font-heading: "Nunito", sans-serif;
    --font-body: "Poppins", sans-serif;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.25rem;

    /* Header */
    --header-height: 72px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-body);
}

input,
textarea {
    font-family: var(--font-body);
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.3;
    font-weight: 800;
}

/* ---------- Utility Classes ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-3xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-top: var(--space-md);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.btn:hover::after {
    transform: translateX(0);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(109, 181, 202, 0.35);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 181, 202, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ---------- HEADER / NAVBAR ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* backdrop-filter removed from header itself to avoid creating a new
     containing block for position:fixed children (nav-menu, nav-overlay).
     The blur is applied via ::before pseudo-element instead. */
    height: var(--header-height);
    transition: box-shadow var(--transition-base);
}

/* Pseudo-element carries the blur so .header itself has no backdrop-filter */
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    z-index: 998;
}

/* SVG icon utility */
.icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-svg svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width var(--transition-base);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-btn {
    position: relative;
    background: none;
    font-size: 1.35rem;
    color: var(--color-text);
    padding: var(--space-sm);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.cart-btn:hover {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--color-secondary-dark);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: var(--space-sm);
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-text);
    border-radius: 5px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* === FLOATING CARD MOBILE MENU === */

    /* Full-screen overlay with blur backdrop */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 1001;
        opacity: 0;
        transition: opacity var(--transition-base);
    }

    .nav-overlay.show {
        display: block;
        opacity: 1;
    }

    /* The floating card sits inside the overlay */
    .nav-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        width: calc(100% - 3rem);
        max-width: 360px;
        max-height: 80vh;
        overflow-y: auto;
        background: var(--color-white);
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        gap: 0;
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
        z-index: 1002;
        opacity: 0;
        visibility: hidden;
        transition:
            opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1),
            transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
            visibility 0.35s;
        pointer-events: none;
        right: auto;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%) scale(1);
        pointer-events: auto;
    }

    /* Menu links — each row with chevron */
    .nav-menu a {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--color-text-heading);
        padding: var(--space-md) var(--space-md);
        width: 100%;
        border-bottom: 1px solid var(--color-border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-radius: 0;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    /* Chevron icon on each menu item */
    .nav-menu a::after {
        content: "";
        display: none;
    }

    .nav-menu a::before {
        content: "";
        display: none;
    }

    .nav-menu a svg.chevron {
        flex-shrink: 0;
        opacity: 0.4;
    }

    .nav-menu a:hover {
        color: var(--color-primary);
        background: rgba(109, 181, 202, 0.06);
        border-radius: var(--radius-sm);
    }

    .nav-menu a:hover svg.chevron {
        opacity: 0.8;
    }

    /* Close button — sits at top right corner of the card */
    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-full);
        background: var(--color-primary);
        color: var(--color-white);
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        transition: all var(--transition-fast);
        margin-bottom: var(--space-sm);
        align-self: flex-end;
    }

    .nav-close-btn:hover {
        background: var(--color-primary-dark);
        transform: rotate(90deg) scale(1.1);
    }

    /* Hide close button on desktop */
    .nav-close-btn {
        display: flex;
    }
}

/* Hide close btn on desktop */
@media (min-width: 769px) {
    .nav-close-btn {
        display: none;
    }

    /* ── Hide chevron arrows in desktop nav ── */
    .nav-menu a svg.chevron {
        display: none;
    }

    /* ── Navbar entrance animation on page load ── */
    @keyframes navFadeDown {
        from {
            opacity: 0;
            transform: translateY(-14px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes navFadeLeft {
        from {
            opacity: 0;
            transform: translateX(16px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Logo fades down */
    .logo {
        opacity: 0;
        animation: navFadeDown 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
    }

    /* Each nav link fades down with staggered delay */
    .nav-menu a:nth-of-type(1) {
        opacity: 0;
        animation: navFadeDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
    }
    .nav-menu a:nth-of-type(2) {
        opacity: 0;
        animation: navFadeDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.23s forwards;
    }
    .nav-menu a:nth-of-type(3) {
        opacity: 0;
        animation: navFadeDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.31s forwards;
    }
    .nav-menu a:nth-of-type(4) {
        opacity: 0;
        animation: navFadeDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.39s forwards;
    }
    .nav-menu a:nth-of-type(5) {
        opacity: 0;
        animation: navFadeDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.47s forwards;
    }
    .nav-menu a:nth-of-type(6) {
        opacity: 0;
        animation: navFadeDown 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
    }

    /* Cart icon + hamburger slide in from the right */
    .nav-actions {
        opacity: 0;
        animation: navFadeLeft 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
    }
}

/* ---------- HERO SECTION ---------- */


/* ===== SECTION STYLES ===== */

.hero {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
    background: var(--color-bg-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(109, 181, 202, 0.12);
    color: var(--color-primary-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--color-primary);
    position: relative;
}

.hero-content h1 span::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(109, 181, 202, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 480px;
    margin: 0 auto var(--space-xl) auto;
}

.hero-btns {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: var(--radius-xl);
    animation: heroFloat 6s ease-in-out infinite;
}

/* Floating 3D Elements */
.floating-element {
    position: absolute;
    border-radius: var(--radius-lg);
    animation: float3D 5s ease-in-out infinite;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.float-el-1 {
    width: 60px;
    height: 60px;
    background: var(--color-accent-pink);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.float-el-2 {
    width: 50px;
    height: 50px;
    background: var(--color-accent-mint);
    bottom: 20%;
    right: -5%;
    animation-delay: 1.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.float-el-3 {
    width: 45px;
    height: 45px;
    background: var(--color-secondary);
    top: 60%;
    left: -15%;
    animation-delay: 3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes float3D {
    0%,
    100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
    }
    50% {
        transform: translateY(-20px) rotateX(-5deg) rotateY(-5deg);
    }
    75% {
        transform: translateY(-10px) rotateX(3deg) rotateY(3deg);
    }
}

/* Hero Blob Decoration */
.hero::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 181, 202, 0.1) 0%, transparent 70%);
    top: 10%;
    right: -100px;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 197, 156, 0.12) 0%, transparent 70%);
    bottom: 5%;
    left: -80px;
    pointer-events: none;
}

/* ---------- TRUST HIGHLIGHTS ---------- */
.trust-section {
    background: var(--color-bg);
    padding: var(--space-3xl) 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.trust-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
}

.trust-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md) auto;
    font-size: 1.8rem;
    transition: transform var(--transition-base);
}

.trust-card:hover .trust-icon {
    transform: scale(1.1) rotateY(10deg);
}

.trust-icon.icon-blue {
    background: rgba(109, 181, 202, 0.15);
}
.trust-icon.icon-orange {
    background: rgba(244, 197, 156, 0.2);
}
.trust-icon.icon-mint {
    background: rgba(168, 216, 200, 0.2);
}
.trust-icon.icon-pink {
    background: rgba(242, 198, 198, 0.2);
}

.trust-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ---------- CATEGORIES SECTION ---------- */
.categories-section {
    background: var(--color-bg-alt);
    padding: var(--space-3xl) 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: block;
    text-decoration: none;
}

.category-card:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform var(--transition-slow);
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-card.no-zoom:hover img {
    transform: none;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.05) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    transition: background var(--transition-base);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(109, 181, 202, 0.65) 0%, rgba(0, 0, 0, 0.05) 60%);
}

.category-overlay h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.category-overlay span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

/* Placeholder category images via gradients */
.category-card.placeholder-img {
    background-size: cover;
    background-position: center;
}

.cat-clothing-bg {
    background: linear-gradient(135deg, #f2c6c6 0%, #f5d5ce 50%, #fae3db 100%);
}

/* ---------- PRODUCTS SECTION ---------- */
.products-section {
    background: var(--color-bg);
    padding: var(--space-3xl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

/* <!-- WOOCOMMERCE PRODUCT LOOP --> */
.product-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary-light);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--color-bg-alt);
}

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

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

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--color-secondary-dark);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-quick-view {
    position: absolute;
    inset: 0;
    background: rgba(109, 181, 202, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-quick-view {
    opacity: 1;
}

.product-quick-view a,
.product-quick-view button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--color-white);
    color: var(--color-primary);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.product-quick-view a:hover,
.product-quick-view button:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.product-info {
    padding: var(--space-md);
}

.product-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: var(--space-sm);
}

.product-rating .star {
    color: var(--color-star);
    font-size: 0.85rem;
}

.product-rating .star.empty {
    color: #ddd;
}

.product-rating span {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-left: var(--space-xs);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.product-price .current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
}

.product-price .original {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.product-add-cart {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.product-add-cart:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

/* ---------- PROMO BANNER ---------- */
.promo-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #5aabb8 40%, var(--color-accent-mint) 100%);
    position: relative;
    overflow: hidden;
}

.promo-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -80px;
    right: -80px;
}

.promo-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: -60px;
    left: -60px;
}

.promo-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.promo-content h2 {
    color: var(--color-white);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: var(--space-md);
}

.promo-content h2::after {
    display: none;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto var(--space-xl) auto;
}

.btn-promo {
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-promo:hover {
    background: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- WHY CHOOSE US ---------- */
.why-section {
    background: var(--color-bg-alt);
    padding: var(--space-3xl) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.why-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.why-image-box {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-mint) 50%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-image-box .emoji-large {
    font-size: 6rem;
    animation: heroFloat 4s ease-in-out infinite;
}

.why-decor {
    position: absolute;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: float3D 5s ease-in-out infinite;
}

.why-decor-1 {
    width: 70px;
    height: 70px;
    background: var(--color-accent-pink);
    top: -20px;
    right: -10px;
    animation-delay: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.why-decor-2 {
    width: 55px;
    height: 55px;
    background: var(--color-secondary);
    bottom: -15px;
    left: -10px;
    animation-delay: 2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.why-content h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: var(--space-md);
}

.why-content > p {
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.why-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.why-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(109, 181, 202, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.why-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.why-item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
    background: var(--color-bg);
    padding: var(--space-3xl) 0;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 0 var(--space-sm);
    box-sizing: border-box;
}

.testimonial-inner {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    text-align: center;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: var(--color-primary-light);
    margin: 0 auto var(--space-md) auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: var(--space-md);
    color: var(--color-star);
    font-size: 1rem;
}

.testimonial-inner p {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.testimonial-inner h4 {
    font-size: 1rem;
    color: var(--color-text-heading);
}

.testimonial-inner span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.testimonial-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--color-bg-card);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border);
}

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

/* testimonial dots removed */

/* ---------- STORE INFO ---------- */
.store-section {
    background: var(--color-bg-alt);
    padding: var(--space-3xl) 0;
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.store-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.store-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.store-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(109, 181, 202, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.store-info-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.store-info-item p,
.store-info-item a {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.store-info-item a:hover {
    color: var(--color-primary);
}

.store-map { border-radius: var(--radius-lg); overflow: hidden; }
.store-map-link { display: block; text-decoration: none; }
.store-map-img { position: relative; width: 100%; height: 420px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #e8eaed; cursor: pointer; transition: box-shadow var(--transition-base); }
.store-map-img:hover { box-shadow: var(--shadow-lg); }
.store-map-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.1) contrast(1.05); transition: transform 0.4s ease; }
.store-map-link:hover .store-map-img img { transform: scale(1.03); }
.store-map-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.52) 100%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: var(--space-lg); gap: var(--space-sm); pointer-events: none; transition: background var(--transition-base); }
.store-map-link:hover .store-map-overlay { background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.65) 100%); }
.store-map-pin { background: #fff; border-radius: 50%; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.22); margin-bottom: var(--space-xs); transition: transform var(--transition-fast); }
.store-map-link:hover .store-map-pin { transform: scale(1.1); }
.store-map-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--color-primary); color: #fff; font-size: 0.82rem; font-weight: 600; padding: 7px 16px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,0.18); transition: background var(--transition-fast), transform var(--transition-fast); }
.store-map-link:hover .store-map-cta { transform: translateY(-2px); filter: brightness(0.92); }
.store-map-fallback { background: linear-gradient(135deg, #e8f4f8 0%, #d4eaf4 100%); }

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
    padding: var(--space-3xl) 0;
    background: var(--color-bg);
}

.newsletter-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.newsletter-box h2 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: var(--space-sm);
}

.newsletter-box h2::after {
    display: none;
}

.newsletter-box p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.85rem var(--space-lg);
    border: 2px solid var(--color-border);
    border-radius: 50px;
    font-size: 0.9rem;
    background: var(--color-bg);
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--color-primary);
}

.newsletter-form button {
    padding: 0.85rem var(--space-xl);
    border-radius: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* ---------- FOOTER ---------- */
.footer {
    background: #2c3440;
    color: rgba(255, 255, 255, 0.75);
    padding: var(--space-3xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.footer-col.about-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--color-primary-light);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- HERO MOBILE — Floating elements contained inside frame ---------- */
@media (max-width: 767px) {
    /* Clip anything that drifts beyond the image wrapper */
    .hero-visual {
        overflow: hidden;
        padding: 0.5rem;
        /* Extra horizontal room so clipped floats don't eat page edges */
    }

    .hero-image-wrapper {
        overflow: visible; /* let floats overlap the img, not clip to it */
    }

    /* Reduce main image bob so it stays in frame */
    .hero-image-wrapper img {
        animation: heroFloatMobile 6s ease-in-out infinite;
    }

    @keyframes heroFloatMobile {
        0%,
        100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-8px);
        }
    }

    /* Smaller float elements */
    .floating-element {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
    }

    /* Move all floats INSIDE the image — top-left corner */
    .float-el-1 {
        top: 6%;
        left: 4%; /* was -10% — now fully inside */
        animation: floatMobile 5s ease-in-out infinite;
        animation-delay: 0s;
    }

    /* Bottom-right corner */
    .float-el-2 {
        bottom: 6%;
        right: 4%; /* was -5% — now fully inside */
        animation: floatMobile 5s ease-in-out infinite;
        animation-delay: 1.5s;
    }

    /* Centre-left, no longer off-screen */
    .float-el-3 {
        top: auto;
        bottom: 30%;
        left: 4%; /* was -15% — now fully inside */
        animation: floatMobile 5s ease-in-out infinite;
        animation-delay: 3s;
    }

    /* Gentler float — only 8px travel so nothing peeks outside */
    @keyframes floatMobile {
        0%,
        100% {
            transform: translateY(0) scale(1);
        }
        50% {
            transform: translateY(-8px) scale(1.04);
        }
    }
}

/* ---------- RESPONSIVE GRID BREAKPOINTS ---------- */
@media (min-width: 480px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .testimonial-card {
        flex: 0 0 100%;
    }
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content p {
        margin-left: 0;
    }

    .hero-btns {
        justify-content: flex-start;
    }

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

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

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

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

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

    .testimonial-card {
        flex: 0 0 50%;
    }

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

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

/* ---------- LOADING / SKELETON ---------- */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ---------- AOS Overrides (subtle) ---------- */
[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* ---------- Selection ---------- */
::selection {
    background: var(--color-primary-light);
    color: var(--color-text-heading);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

