/* ===============================
   VARIABLES & RESET
=============================== */
:root {
    --orange: #F07026;
    --orange-dark: #d55f1e;
    --orange-light: #fff0e8;
    --navy: #1A2E4A;
    --navy-light: #233A5E;
    --navy-muted: #3d5580;
    --white: #ffffff;
    --bg: #F4F6FA;
    --surface: #ffffff;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-muted: #64748b;
    --green-wa: #25D366;
    --green-wa-dark: #1da851;
    --radius: 14px;
    --radius-sm: 8px;
    --radius-full: 9999px;
    --shadow: 0 4px 20px rgba(26,46,74,.09);
    --shadow-lg: 0 12px 40px rgba(26,46,74,.16);
    --transition: all .25s cubic-bezier(.4,0,.2,1);
    --navbar-h: 70px;
}

/* Animations from The Family Gym */
@keyframes attentionPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240, 112, 38, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(240, 112, 38, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240, 112, 38, 0); }
}

@keyframes socialGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(240, 112, 38, 0.3)); }
    50% { filter: drop-shadow(0 0 15px rgba(240, 112, 38, 0.6)); }
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }
button, select, input, textarea { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.hidden-desktop { display: none; }
@media (max-width: 768px) { .hidden-mobile { display: none !important; } }

/* ===============================
   NAVBAR
=============================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 2px solid var(--orange);
    height: var(--navbar-h);
    box-shadow: 0 2px 12px rgba(240,112,38,.12);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--navbar-h);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--bg);
    color: var(--orange);
    transform: translateX(-4px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
    border-right: 1.5px solid var(--border);
}

.nav-social a {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
}

.nav-social a:hover {
    color: var(--orange);
    transform: translateY(-2px);
}

.logo-wrap img {
    height: 70px; /* Increased for the circular mascot */
    width: auto;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 2px;
    box-shadow: 0 4px 12px rgba(240, 112, 38, 0.2);
    border: 2px solid var(--orange);
    flex-shrink: 0;
}

.search-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    max-width: 560px;
    margin-left: auto;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-wrap input {
    width: 100%;
    padding: 11px 40px 11px 42px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-size: .95rem;
    outline: none;
    background: var(--bg);
    color: var(--text);
    transition: var(--transition);
}

.search-wrap input:focus {
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(240,112,38,.12);
}

.clear-search {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 4px;
    line-height: 1;
    transition: var(--transition);
}
.clear-search:hover { color: var(--orange); }

/* CART BUTTON */
.cart-btn {
    position: relative;
    background: var(--orange);
    border: none;
    border-radius: var(--radius-full);
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition);
    flex-shrink: 0;
}
.cart-btn:hover { background: var(--orange-dark); transform: scale(1.05); }

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--navy);
    color: white;
    font-size: .7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pop .2s ease;
}

@keyframes pop { 0%{ transform:scale(.5) } 60%{ transform:scale(1.3) } 100%{ transform:scale(1) } }

/* ===============================
   HERO
=============================== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #0e1e33 100%);
    color: white;
    padding: 56px 0 48px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: .07;
}
.shape-1 {
    width: 400px; height: 400px;
    background: var(--orange);
    top: -120px; right: -80px;
}
.shape-2 {
    width: 250px; height: 250px;
    background: var(--orange);
    bottom: -100px; left: -60px;
    opacity: .05;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
}

.hero-text { flex: 1; min-width: 260px; }

.hero-mascot {
    flex-shrink: 0;
    align-self: center;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    /* Focus on the center of the technician circle inside the phone screenshot */
    object-position: center 35%;
    border-radius: 50%;
    border: 5px solid var(--orange);
    box-shadow:
        0 0 0 10px rgba(240,112,38,.15),
        0 12px 40px rgba(0,0,0,.5);
    animation: mascotFloat 3s ease-in-out infinite;
    background: var(--navy);
}

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

.hero-stats-row { width: 100%; }

.hero-badge {
    display: inline-block;
    background: rgba(240,112,38,.2);
    border: 1px solid rgba(240,112,38,.4);
    color: var(--orange);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 14px;
}

.hero-text p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-text p strong { color: var(--orange); }

.hero-stats-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    padding: 14px 20px;
    border-radius: var(--radius);
    min-width: 110px;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* ===============================
   MAIN LAYOUT
=============================== */
.main-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    padding-top: 32px;
    padding-bottom: 60px;
    align-items: start;
}

/* SIDEBAR */
.sidebar {
    position: sticky;
    top: calc(var(--navbar-h) + 16px);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 0;
    overflow: hidden;
    max-height: calc(100vh - var(--navbar-h) - 32px);
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 0 20px 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.cat-list {
    list-style: none;
    overflow-y: auto;
    flex: 1;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: .92rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    user-select: none;
}

.cat-item:hover { background: var(--orange-light); color: var(--orange); }

.cat-item.active {
    background: var(--orange-light);
    color: var(--orange);
    font-weight: 700;
    border-left: 3px solid var(--orange);
}

.cat-count {
    margin-left: auto;
    background: var(--bg);
    color: var(--text-muted);
    font-size: .75rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.cat-item.active .cat-count {
    background: var(--orange);
    color: white;
}

/* CATALOG */
.catalog-area { min-width: 0; }

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.results-info {
    color: var(--text-muted);
    font-size: .9rem;
}

.sort-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    color: var(--text-muted);
}

.sort-row select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: .9rem;
    outline: none;
    cursor: pointer;
    background: white;
    transition: var(--transition);
}
.sort-row select:focus { border-color: var(--orange); }

/* ===============================
   PRODUCT GRID & CARDS
=============================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.card-img-wrap {
    height: 180px;
    background: linear-gradient(145deg, #f8fafc, #f0f4f8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.card-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

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

.cat-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--navy);
    color: white;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    letter-spacing: .04em;
}

.card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-brand {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 4px;
    letter-spacing: .04em;
}

.card-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 6px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-code {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    gap: 8px;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--orange);
    white-space: nowrap;
}

.btn-add-cart {
    background: var(--navy);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-add-cart:hover { background: var(--orange); }

.btn-add-cart.added {
    background: #16a34a;
    animation: pop .2s ease;
}

/* NO RESULTS */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.no-results-icon { font-size: 3rem; margin-bottom: 12px; }
.no-results h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 6px; }
.no-results p { margin-bottom: 20px; }

.btn-outline {
    background: none;
    border: 2px solid var(--orange);
    color: var(--orange);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.btn-outline:hover { background: var(--orange); color: white; }

/* ===============================
   FOOTER
=============================== */
.site-footer {
    background: var(--navy);
    color: white;
    padding: 48px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px;
    padding-bottom: 36px;
}

.footer-logo { height: 44px; object-fit: contain; margin-bottom: 14px; }
.footer-tagline { color: #94a3b8; font-size: .92rem; }

.footer-grid h4 {
    color: var(--orange);
    font-size: 1rem;
    margin-bottom: 14px;
}
.footer-grid p { color: #94a3b8; font-size: .9rem; margin-bottom: 6px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    padding: 18px 20px;
    color: #64748b;
    font-size: .85rem;
}

/* ===============================
   CART PANEL
=============================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 300;
    backdrop-filter: blur(3px);
}

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--white);
    z-index: 301;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,.2);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.cart-panel.open { transform: translateX(0); }

.cart-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.cart-panel-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.close-cart:hover { background: var(--border); color: var(--text); }

/* CART ITEMS */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-muted);
    text-align: center;
    gap: 12px;
}

.empty-icon { font-size: 3rem; }

.cart-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    margin-bottom: 10px;
    transition: var(--transition);
}

.cart-row-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: white;
    padding: 4px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.cart-row-info { flex: 1; min-width: 0; }
.cart-row-name {
    font-size: .85rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cart-row-price { font-size: .9rem; color: var(--orange); font-weight: 700; margin-top: 2px; }

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

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: white;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--navy);
}

.qty-btn:hover { background: var(--orange); border-color: var(--orange); color: white; }
.qty-btn.remove-btn:hover { background: #ef4444; border-color: #ef4444; }

.qty-val { font-weight: 700; font-size: .95rem; min-width: 20px; text-align: center; }

/* CART FOOTER */
.cart-footer {
    border-top: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--bg);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
}

.cart-total-price { color: var(--orange); font-size: 1.25rem; }

/* DELIVERY TOGGLE */
.delivery-toggle {
    display: flex;
    background: var(--border);
    border-radius: var(--radius-full);
    padding: 3px;
}

.toggle-opt {
    flex: 1;
    padding: 9px;
    border: none;
    border-radius: var(--radius-full);
    font-size: .88rem;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    transition: var(--transition);
}

.toggle-opt.active {
    background: var(--orange);
    color: white;
    box-shadow: 0 2px 8px rgba(240,112,38,.3);
}

/* INPUT GROUPS */
.input-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    transition: var(--transition);
}
.input-group:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,112,38,.1); }
.input-group svg { flex-shrink: 0; color: var(--text-muted); margin-top: 2px; }
.input-group input, .input-group textarea {
    border: none;
    outline: none;
    font-size: .9rem;
    width: 100%;
    resize: none;
    background: transparent;
    color: var(--text);
}
.input-group textarea { line-height: 1.5; }

.delivery-note, .pickup-note {
    font-size: .8rem;
    color: var(--text-muted);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    line-height: 1.5;
}

/* WHATSAPP BTN */
.btn-whatsapp {
    background: var(--green-wa);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    padding: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    letter-spacing: .02em;
}

.btn-whatsapp:hover { background: var(--green-wa-dark); transform: scale(1.02); }

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 900px) {
    .main-layout {
        display: block; /* Removed grid to prevent blowout */
    }
    .sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 0 0 20px;
        box-shadow: none;
        border-bottom: none;
        border-radius: 0;
        margin-bottom: 20px;
    }
    .sidebar-title { display: none; }
    
    .hidden-desktop { display: block; }
    
    .mobile-cat-select {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid var(--orange);
        border-radius: var(--radius-full);
        font-size: 1rem;
        font-weight: 700;
        color: var(--navy);
        background: white;
        outline: none;
        appearance: none;
        cursor: pointer;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F07026' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 16px center;
        background-size: 16px;
        box-shadow: 0 4px 12px rgba(240,112,38,.1);
    }
    
    .cat-list { display: none; }
}

@media (max-width: 680px) {
    :root { --navbar-h: auto; }
    
    .navbar { padding: 12px 0; height: auto; }
    .nav-inner { 
        flex-wrap: nowrap; 
        gap: 12px; 
        height: auto; 
    }
    .logo-wrap { flex-shrink: 0; }
    .logo-wrap img { height: 34px; }
    
    .cart-btn { display: none !important; }
    
    .search-wrap { 
        flex: 1; 
        width: auto; 
        max-width: 100%; 
        margin-left: 0;
    }
    .search-wrap input { font-size: .9rem; padding: 10px 32px 10px 38px; }

    .hero { padding: 24px 0; }
    .hero-content { flex-direction: column; align-items: center; text-align: center; }
    .hero-badge { margin-bottom: 12px; }
    .hero-text h1 { font-size: 1.6rem; }
    .hero-text p { font-size: .95rem; margin-bottom: 20px; }
    .hero-mascot { display: none; }
    
    .hero-stats-row { 
        width: 100%; 
        display: grid; 
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px; 
    }
    .hero-stat { 
        padding: 10px 6px; 
        min-width: 0; 
        align-items: center; 
        text-align: center; 
    }
    .stat-num { font-size: 1.2rem; }
    .stat-label { font-size: .7rem; }

    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .sort-row { width: 100%; justify-content: space-between; }
    .sort-row select { flex: 1; margin-left: 8px; }

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

    .card-img-wrap { height: 140px; padding: 10px; }
    .card-body { padding: 12px 10px; }
    .card-brand { font-size: .7rem; }
    .card-name { font-size: .85rem; -webkit-line-clamp: 3; margin-bottom: 4px; }
    .card-code { font-size: .75rem; margin-bottom: 10px; }
    .card-price { font-size: 1.1rem; }
    .card-footer { flex-direction: column; gap: 8px; align-items: stretch; }
    .btn-add-cart { padding: 10px; font-size: .85rem; width: 100%; justify-content: center; }
    .cat-chip { font-size: .65rem; padding: 3px 8px; top: 6px; left: 6px; }

    .cart-panel { max-width: 100%; }
    .container { padding: 0 16px; }
    .main-layout { padding-top: 16px; padding-bottom: 40px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .footer-logo { margin: 0 auto 14px; }
}

@media (max-width: 380px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-stats-row { grid-template-columns: 1fr; }
    .hero-stat { flex-direction: row; justify-content: space-between; padding: 12px 16px; }
    .stat-label { font-size: .9rem; margin-top: 0; }
}

/* ===============================
   FLOATING CART BAR
=============================== */
.floating-cart {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 250;
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--navy);
    color: white;
    padding: 14px 20px 14px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px rgba(26,46,74,.35), 0 2px 8px rgba(0,0,0,.2);
    cursor: pointer;
    border: none;
    font-family: inherit;
    transform: translateY(120px);
    opacity: 0;
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275), opacity .3s ease;
    will-change: transform;
    min-width: 180px;
}

.floating-cart.visible {
    transform: translateY(0);
    opacity: 1;
}

.floating-cart.bump {
    animation: cartBump .35s cubic-bezier(.175,.885,.32,1.275);
}

@keyframes cartBump {
    0%   { transform: translateY(0) scale(1); }
    40%  { transform: translateY(-8px) scale(1.06); }
    70%  { transform: translateY(2px) scale(.98); }
    100% { transform: translateY(0) scale(1); }
}

.floating-cart-icon {
    width: 40px;
    height: 40px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.floating-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: white;
    color: var(--navy);
    font-size: .65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    text-align: left;
}

.floating-cart-label {
    font-size: .75rem;
    color: #94a3b8;
    font-weight: 500;
}

.floating-cart-total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--orange);
}

.floating-cart-arrow {
    font-size: 1.1rem;
    opacity: .6;
}

@media (max-width: 680px) {
    .floating-cart {
        bottom: 16px;
        right: 16px;
        left: 16px;
        min-width: unset;
        border-radius: var(--radius);
        justify-content: space-between;
    }
}

/* ===============================
   BIO PAGE (LINK IN BIO)
=============================== */
.bio-page {
    background: #080c14; /* Even deeper black-navy */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow-x: hidden;
}

/* Artistic Background Mesh */
.bio-bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #080c14 0%, #1a2e4a 50%, #080c14 100%);
    background-size: 400% 400%;
    animation: meshMove 15s ease infinite;
    z-index: -1;
    opacity: 0.5;
}

.bio-bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 112, 38, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.bio-bg-glow-1 { top: -10%; right: -10%; }
.bio-bg-glow-2 { bottom: -10%; left: -10%; background: radial-gradient(circle, rgba(26, 46, 74, 0.5) 0%, transparent 70%); }
.bio-bg-glow-3 { top: 30%; left: 50%; transform: translateX(-50%); width: 400px; opacity: 0.3; }

.bio-container {
    width: 100%;
    max-width: 440px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-header {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bio-avatar-container {
    position: relative;
    margin-bottom: 28px;
}

.bio-avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(20px);
    animation: floatLogo 6s ease-in-out infinite alternate;
}

.bio-avatar-wrap {
    width: 170px; /* Even larger and more prominent */
    height: 170px;
    border-radius: 50%;
    background: white;
    padding: 0;
    box-shadow: 
        0 0 0 5px var(--orange),
        0 0 0 8px var(--navy),
        0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatLogo 6s ease-in-out infinite;
}

.bio-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Use cover to ensure it fills the circle perfectly */
    border-radius: 50%;
    transform: scale(1.1); /* Slight zoom to hide any remaining edge artifacts */
    transition: transform 0.5s ease;
}

.bio-avatar-wrap:hover .bio-avatar {
    transform: scale(1.1);
}

.bio-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.bio-tagline {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 320px;
    margin: 0 auto 28px;
    line-height: 1.6;
    font-weight: 500;
}

.bio-social {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.bio-social a {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08); /* Brighter */
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12); /* Brighter */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: socialGlow 3s ease-in-out infinite;
}

.bio-social a:hover {
    color: white;
    background: var(--orange);
    transform: translateY(-8px) scale(1.15);
    border-color: var(--orange);
    box-shadow: 0 15px 30px rgba(240, 112, 38, 0.4);
}

.bio-social a.social-tt:hover {
    background: #000000;
    border-color: #ff0050;
    box-shadow: 0 15px 30px rgba(0, 242, 234, 0.4);
}

/* BIO LINKS */
.bio-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.bio-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.bio-card-hero {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    text-align: left;
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: attentionPulse 4s infinite; /* Attention effect */
}

.bio-card-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

.bio-card-hero:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 60px rgba(234, 88, 12, 0.4);
}

.bio-card-icon-main {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}

.bio-card:hover .bio-card-icon-main {
    transform: rotate(10deg) scale(1.1);
}

.bio-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
}

.bio-card-content h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.bio-card-content p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.bio-link {
    background: rgba(255, 255, 255, 0.06); /* Brighter */
    color: white;
    padding: 22px 28px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 600;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1); /* Brighter */
    transition: all 0.4s ease;
}

.bio-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 112, 38, 0.5);
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.bio-link-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    transition: all 0.3s ease;
}

.bio-link:hover .bio-link-icon {
    background: var(--orange);
    color: white;
}

.bio-link-text {
    flex: 1;
    text-align: left;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.bio-link-wa {
    border-color: rgba(37, 211, 102, 0.2);
}

.bio-link-wa:hover {
    border-color: #25d366;
    color: #25d366;
}

.bio-link-wa:hover .bio-link-icon {
    background: #25d366;
    color: white;
}

.bio-info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 22px 28px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.bio-info-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.bio-info-content h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 800;
}

.bio-info-content p {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.bio-footer {
    padding-top: 40px;
    color: #475569;
    font-size: 0.95rem;
}

.bio-powered strong {
    color: var(--orange);
    font-weight: 900;
}

@media (max-width: 480px) {
    .bio-container { padding: 0 15px; }
    .bio-title { font-size: 2rem; }
    .bio-avatar-wrap { width: 140px; height: 140px; }
    .bio-card { padding: 22px 24px; }
}

/* PRICE REMOVAL FROM CATALOG */
.card-price, 
.cart-row-price, 
.cart-total-row span:last-child {
    display: none !important;
}

.btn-whatsapp {
    margin-top: 10px;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3);
}
