:root {
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-primary: #000000;
    --color-primary-light: #333333;
    --color-gray-light: #f5f5f5;
    --color-gray-dark: #222222;
    --font-main: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

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

ul {
    list-style: none;
}

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

/* Button Resets */
button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
}

/* ================= HEADER ================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-left, .header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.icon-btn i {
    font-size: 1.5rem;
    color: var(--color-text);
    transition: transform var(--transition-fast);
}

.icon-btn:hover i {
    transform: scale(1.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    width: 100%;
    height: 92vh;
    min-height: 560px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    /* Subtle zoom effect for 'fresh and alive' */
    animation: slowZoom 20s infinite alternate;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 38%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.75rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.4rem;
    background: rgba(20, 20, 20, 0.22);
    backdrop-filter: blur(3px) saturate(120%);
    -webkit-backdrop-filter: blur(3px) saturate(120%);
}

.hero-heading {
    font-family: var(--font-display);
    color: #fff;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}

.hero-heading em {
    font-style: italic;
}

.hero-subtext {
    font-family: var(--font-main);
    color: rgba(255,255,255,0.96);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 520px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-cta {
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #111;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.95rem 2.1rem;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 0.4rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* Mobile hero spacing is consolidated in the single MOBILE RESPONSIVENESS block below */

/* ================= FEATURES BAR ================= */
.features-bar {
    background-color: var(--color-primary);
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 300;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ================= GLOBAL SECTIONS ================= */
.section {
    padding: var(--spacing-xl) 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.view-all-btn {
    margin-top: var(--spacing-lg);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.view-all-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* ================= SHOP BY CATEGORY ================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: block;
    aspect-ratio: 3 / 4;
}

.category-card:hover {
    box-shadow: 0 12px 48px rgba(0,0,0,0.20);
    transform: translateY(-4px);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.8s ease;
    display: block;
}

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

.category-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9);
    padding: 1rem;
    text-align: left;
    border-radius: 4px;
}

/* ================= SHOP BY SIZE ================= */
.size-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.size-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.size-btn:hover {
    transform: translateY(-5px);
    background-color: var(--color-primary-light);
}

/* ================= SHOP BY BRAND ================= */
.brand-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: var(--spacing-md);
}

.brand-logo {
    opacity: 0.6;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    cursor: pointer;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* ================= TESTIMONIALS ================= */
.testimonial-section {
    background-color: var(--color-gray-dark);
    color: #fff;
    padding: var(--spacing-xl) 2rem;
}

.testimonial-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.testimonial-text h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.testimonial-text p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-images {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= TRENDY ITEMS ================= */
.filter-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-gray-light);
    padding-bottom: 1rem;
}

.filter-btn {
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    color: var(--color-text);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-text);
    transition: width var(--transition-fast);
}

.filter-btn.active::after, .filter-btn:hover::after {
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    text-align: left;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

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

.product-img-wrap {
    background-color: var(--color-gray-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrap img {
    max-height: 80%;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

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

.product-info .brand {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.product-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-info .price {
    font-weight: 700;
}

/* ================= BANNERS ================= */
.banner-section {
    padding: var(--spacing-lg) 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.banner-card img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 400px;
    transition: transform var(--transition-fast);
}

.banner-card:hover img {
    transform: scale(1.02);
}

/* ================= FOOTER ================= */
.footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-gray-light);
    padding: var(--spacing-xl) 2rem 2rem;
    font-size: 0.9rem;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #666;
    transition: color var(--transition-fast);
}

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

.newsletter-form {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-right: none;
    outline: none;
    font-family: var(--font-main);
}

.btn-dark {
    padding: 0.8rem 1.5rem;
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--color-text);
    font-size: 1.5rem;
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: #666;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--color-gray-light);
    padding-top: 2rem;
    color: #888;
}

/* ================= ANIMATIONS (Fresh & Alive) ================= */

/* Initial states for reveal animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.reveal-fade {
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

/* When the .visible class is added by JS */
.visible .reveal-up,
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.visible .reveal-fade,
.reveal-fade.visible {
    opacity: 1;
}

.visible .reveal-scale,
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggering delays for child elements */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonial-content {
        grid-template-columns: 1fr;
    }
    .banner-grid {
        grid-template-columns: 1fr;
    }
    .filter-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

/* ================= CART BADGE ================= */
.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #e53935;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ================= NOTIFICATION ================= */
.fc-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #222;
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: var(--font-main);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.fc-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= CART SIDE PANEL ================= */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-main);
}
.cart-panel.active {
    right: 0;
}

.cart-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}
.cart-panel-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}
.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 4rem 1rem;
    color: #999;
    font-size: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.cart-item-img {
    width: 70px;
    height: 70px;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.cart-item-info {
    flex: 1;
}
.cart-item-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.cart-item-price {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
}
.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-qty-controls button {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.cart-qty-controls button:hover {
    background: #f0f0f0;
}
.cart-qty-controls span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}
.cart-remove-btn {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}
.cart-remove-btn:hover {
    color: #e53935;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.3s;
    font-family: var(--font-main);
}
.cart-checkout-btn:hover {
    background: #1da851;
}

/* ================= ADD TO CART BUTTON ON CARDS ================= */
.add-to-cart-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.product-card:hover .add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
}
.add-to-cart-btn:hover {
    background: #333;
}

/* ================= SEARCH OVERLAY ================= */
.search-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.97);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}
.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.search-overlay-content {
    width: 90%;
    max-width: 600px;
}
.search-bar-wrap {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    margin-bottom: 2rem;
}
.search-bar-wrap .search-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    color: #333;
}
.search-bar-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.3rem;
    font-family: var(--font-main);
    background: transparent;
}
.search-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}
.search-hint {
    color: #999;
    font-size: 0.95rem;
    text-align: center;
}
.search-results {
    max-height: 50vh;
    overflow-y: auto;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}
.search-result-item:hover {
    background: #f9f9f9;
}
.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 4px;
}
.search-result-brand {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.search-result-name {
    font-weight: 600;
    font-size: 0.95rem;
}
.search-result-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}

/* ================= MENU DRAWER ================= */
.menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9996;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-drawer {
    position: fixed;
    top: 0;
    left: -360px;
    width: 340px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-main);
}
.menu-drawer.active {
    left: 0;
}

.menu-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}
.menu-drawer-header h3 {
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 4px;
}
.menu-drawer-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

.menu-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}
.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 1.5rem;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
}
.menu-link:hover {
    background: #f5f5f5;
    color: #000;
}
.menu-link i {
    font-size: 1.3rem;
}

.menu-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}
.menu-social {
    display: flex;
    gap: 1.2rem;
}
.menu-social a {
    color: #333;
    font-size: 1.4rem;
    transition: color 0.2s;
    text-decoration: none;
}
.menu-social a:hover {
    color: #000;
}

/* ================= WHATSAPP FLOATING BUTTON ================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 9000;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 32px rgba(37,211,102,0.65); }
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 768px) {
    /* Hide inline nav items as we have the drawer for mobile */
    .header nav, .shoes-nav { 
        display: none !important; 
    }
    
    /* Hero section adjustments */
    .hero { 
        height: 78vh !important;
        min-height: 520px !important;
    }
    .hero-content {
        gap: 0.9rem !important;
        padding: 1.75rem 1.5rem !important;
        width: 100% !important;
    }
    .hero-heading { 
        font-size: 2rem !important; 
        line-height: 1.25 !important;
        letter-spacing: 0.2px !important;
    }
    .hero-subtext {
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
    }
    .hero-cta {
        padding: 0.8rem 1.7rem !important;
        font-size: 0.82rem !important;
        margin-top: 0.2rem !important;
    }
    
    /* Features bar stack */
    .features-bar { 
        flex-direction: column; 
        align-items: flex-start; 
        padding: 1.5rem !important;
    }
    
    /* Product grid 1-column */
    .product-grid { 
        grid-template-columns: 1fr !important; 
        gap: 2rem !important; 
    }
    #productGrid {
        grid-template-columns: 1fr !important;
    }
    
    /* Shoes page specific layout */
    .shoes-header {
        padding: 0.75rem 1rem 0 !important;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch !important;
    }
    .filter-pills {
        justify-content: center !important;
    }
    .sort-select {
        width: 100%;
    }
    
    /* Checkout layout adjustments */
    .co-layout { 
        grid-template-columns: 1fr !important; 
    }
    .form-grid { 
        grid-template-columns: 1fr !important; 
    }
    
    /* Testimonial stack */
    .testimonial-content {
        grid-template-columns: 1fr !important;
    }
    
    /* Category section */
    .category-grid {
        grid-template-columns: 1fr !important;
    }

    /* Banner images: shorter on mobile so they don't feel oversized */
    .banner-card img {
        aspect-ratio: 16 / 10 !important;
        max-height: 260px !important;
    }

    /* Product thumbnail strips: scroll horizontally instead of overflowing/wrapping oddly */
    .pd-thumbs {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    /* Size guide table: allow horizontal scroll instead of squeezing columns unreadably */
    .sg-table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Generic long-form text pages */
    .page-container, .policy-container {
        margin: 2rem auto !important;
        padding: 1.5rem 1.25rem !important;
        border-radius: 8px !important;
    }
    .page-container h1, .policy-container h1 {
        font-size: 1.7rem !important;
    }
}

/* Extra-small phones: tighten hero further so nothing feels cramped */
@media (max-width: 380px) {
    .hero {
        height: 82vh !important;
        min-height: 480px !important;
    }
    .hero-heading {
        font-size: 1.6rem !important;
    }
    .hero-subtext {
        font-size: 0.82rem !important;
    }
    .hero-cta {
        padding: 0.7rem 1.5rem !important;
        font-size: 0.78rem !important;
    }
    .banner-card img {
        max-height: 200px !important;
    }
}
