/* --- APP DESIGN VARIABLES --- */
:root {
    --bg-main: #09090b;
    --bg-surface: #141417;
    --bg-surface-elevated: #1e1e24;
    --brand-orange: #ff4500;
    --brand-orange-glow: rgba(255, 69, 0, 0.4);
    --brand-purple: #8b5cf6;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --border-subtle: #27272a;
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- BASE STYLING & RESETS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    padding-bottom: 75px;
    width: 100%;
}

/* --- AMBIENT GLOW ORBS --- */
.glow-orb {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}
.orb-1 { top: -100px; left: -50px; background: var(--brand-orange); }
.orb-2 { top: 600px; right: -50px; background: var(--brand-purple); }

/* --- ANIMATION ENGINES --- */
.animate-fade-down { animation: fadeDown 0.6s var(--ease-spring) both; }
.animate-zoom-in { animation: zoomIn 0.8s var(--ease-spring) both; }
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* --- IMMERSIVE NAVIGATION BAR --- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.logo span { color: var(--brand-orange); }
.nav-menu { display: flex; gap: 2rem; }
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active { color: var(--brand-orange); }
.nav-actions { display: flex; gap: 0.75rem; }
.nav-actions button {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-fast);
}
.nav-actions button:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--brand-orange);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--brand-orange-glow);
    transition: transform 0.2s var(--ease-spring);
}

/* --- SEARCH EXPANDABLE DOCK ARCHITECTURE --- */
.search-expand-dock {
    max-height: 0;
    overflow: hidden;
    background: #0d0d11;
    border-bottom: 0 solid var(--border-subtle);
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0 1.5rem;
}
.search-expand-dock.active {
    max-height: 65px;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.search-dock-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}
.search-dock-icon {
    position: absolute;
    left: 14px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.search-expand-dock input {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    color: white;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}
.search-expand-dock input:focus { outline: none; border-color: var(--brand-orange); }

/* --- INTERACTIVE DROPDOWN SYSTEM --- */
.cart-wrapper { position: relative; }
.cart-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    padding: 1rem;
    display: none;
    flex-direction: column;
    z-index: 500;
    transform-origin: top right;
    animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.cart-dropdown.open { display: flex; }
.cart-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}
.cart-dropdown-header h4 { font-size: 1rem; font-weight: 700; }
.cart-dropdown-count { font-size: 0.8rem; color: var(--text-secondary); background: var(--bg-main); padding: 2px 8px; border-radius: 20px; }
.cart-dropdown-items {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.cart-dropdown-items::-webkit-scrollbar { width: 4px; }
.cart-dropdown-items::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: 2px; }

.cart-empty-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    gap: 0.75rem;
    animation: zoomIn 0.3s ease;
}
.cart-empty-icon-frame {
    width: 60px;
    height: 60px;
    background: rgba(255, 69, 0, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 69, 0, 0.2);
}
.cart-empty-icon-frame i { font-size: 1.5rem; color: var(--brand-orange); }
.cart-empty-text { font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; }

.cart-item-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
    transition: opacity 0.2s, transform 0.2s;
}
.cart-item-row img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: #19191d;
    flex-shrink: 0;
}
.cart-item-details { flex-grow: 1; min-width: 0; }
.cart-item-details h5 { font-size: 0.85rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.8rem; color: var(--brand-orange); font-weight: 700; margin-top: 1px; display: block; }
.cart-item-remove {
    background: transparent !important;
    border: none !important;
    color: #ef4444 !important;
    font-size: 0.9rem !important;
    width: auto !important;
    height: auto !important;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}
.cart-item-remove:hover { transform: scale(1.1); opacity: 0.8; }
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding: 0 4px;
}
#cart-dropdown-total-price { color: var(--brand-orange); font-size: 1rem; }
.cart-dropdown-footer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    width: 100%;
}
.btn-checkout {
    width: 100%;
    box-sizing: border-box;
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition-fast);
}
.btn-checkout:hover { background: #e03d00; }

/* --- HERO BANNER SLIDER ARCHITECTURE --- */
.hero-section { max-width: 1240px; margin: 1.5rem auto; padding: 0 1.5rem; width: 100%; box-sizing: border-box; }
.hero-slider-container { position: relative; overflow: hidden; border-radius: var(--radius-xl); width: 100%; }
.hero-slider-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); width: 100%; }
.hero-card {
    min-width: 100%;
    max-width: 100%;
    background: linear-gradient(145deg, #18181b 0%, #09090b 100%);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 2rem; width: 100%; }
.badge-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.tag-live {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.pulse-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite alternate;
}
@keyframes pulse { from { opacity: 0.4; } to { opacity: 1; } }
.tag-promo { background: var(--border-subtle); color: var(--text-secondary); padding: 4px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.hero-content h1 { font-size: 2.75rem; font-weight: 900; line-height: 1.05; letter-spacing: -1px; }
.text-gradient {
    background: linear-gradient(to right, #ff4500, #ff8700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p { color: var(--text-secondary); margin: 1rem 0 1.5rem 0; font-size: 0.95rem; line-height: 1.5; }
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}
.btn-primary { background: var(--brand-orange); color: white; box-shadow: 0 4px 20px rgba(255, 69, 0, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255, 69, 0, 0.4); }
.hero-visual { position: relative; display: flex; justify-content: center; width: 100%; }
.image-mesh-bg { position: absolute; width: 200px; height: 200px; background: var(--brand-orange); filter: blur(80px); opacity: 0.3; z-index: 1; }
.hero-shape-container {
    width: 250px;
    height: 250px;
    overflow: hidden;
    z-index: 2;
    background: var(--bg-surface-elevated);
    border: 2px solid rgba(255, 69, 0, 0.4);
    box-shadow: 0 12px 30px rgba(255, 69, 0, 0.15);
    clip-path: polygon(0% 15%, 85% 0%, 100% 85%, 15% 100%);
    border-radius: 40px 24px 60px 30px;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: floating 5s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% { transform: scale(1.05) translateY(0); }
    50% { transform: scale(1.08) translateY(-6px); }
}
.floating-stat-card {
    position: absolute;
    bottom: 0;
    left: 10px;
    background: rgba(20, 20, 23, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 3;
}
.floating-stat-card h4 { font-size: 0.85rem; font-weight: 800; }
.floating-stat-card p { font-size: 0.7rem; color: var(--text-secondary); margin: 0; }
.yellow-fire { color: #eab308; }

.hero-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}
.slider-dot.active {
    background: var(--brand-orange);
    transform: scale(1.2);
    width: 18px;
    border-radius: 4px;
}

/* --- CATEGORIES SECTION --- */
.categories-section { padding: 1.5rem 0; width: 100%; box-sizing: border-box; }
.category-header-layout { display: flex; align-items: center; justify-content: space-between; }
.btn-view-all {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}
.btn-view-all:hover, .btn-view-all.active {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    background: rgba(255, 69, 0, 0.05);
}
.chips-wrapper-outer { width: 100%; padding: 0.5rem 0; }
.categories-box-scroll { display: flex; gap: 1rem; overflow-x: auto; padding: 0.5rem 0; }
.categories-box-scroll::-webkit-scrollbar { display: none; }
.category-box {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    min-width: 95px;
    max-width: 95px;
    padding: 0.85rem 0.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-fast);
}
.cat-img-frame {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #19191d;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-fast);
}
.cat-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.category-box span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.category-box:hover { transform: translateY(-3px); border-color: rgba(255, 69, 0, 0.3); }
.category-box.active {
    background: var(--bg-surface-elevated);
    border-color: var(--brand-orange);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.1);
}
.category-box.active span { color: var(--brand-orange); }
.category-box.active .cat-img-frame { border-color: var(--brand-orange); }

/* --- PRODUCTS SECTION --- */
.products-section { padding: 1.5rem 0; width: 100%; box-sizing: border-box; }
.section-container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; width: 100%; box-sizing: border-box; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.section-title { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px; }
.title-bar { width: 40px; height: 3px; background: var(--brand-orange); margin-top: 0.3rem; border-radius: 2px; }
.slider-controls { display: flex; gap: 0.5rem; }
.control-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.control-btn:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.slider-viewport { overflow-x: auto; scroll-behavior: smooth; padding: 0.5rem 0; width: 100%; }
.slider-viewport::-webkit-scrollbar { display: none; }
.product-track { display: flex; gap: 1rem; }

/* --- UNIQUE SLIDER TARGETING AND CLEAN FIX FOR GAP REMOVAL --- */
#popular-slider {
    display: flex;
    gap: 1rem;
    width: max-content;
}

.hot-deals-accent-bg {
    background: linear-gradient(180deg, rgba(255,69,0,0.02) 0%, transparent 100%);
    padding: 1.5rem 0;
}
.hot-bar { background: linear-gradient(90deg, #ff4500, #ff0055); width: 60px; }
.hot-card-border { border-color: rgba(255, 69, 0, 0.15); }

.fire-deal-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 6px rgba(255,69,0,0.6));
    animation: flickerFlame 0.4s infinite alternate, flameColorShift 3s infinite linear;
}
@keyframes flickerFlame {
    0% { transform: scale(0.95) rotate(-2deg); opacity: 0.9; }
    100% { transform: scale(1.15) rotate(3deg); opacity: 1; }
}
@keyframes flameColorShift {
    0%, 100% { color: #ff3c00; }
    50% { color: #ffaa00; }
}

/* --- FIXED MOST ORDERED LAYOUT: IMAGE LEFT, TEXT CONTENT RIGHT --- */
#popular-slider .product-card {
    min-width: 320px;
    max-width: 320px;
    flex-direction: row;
    border-radius: var(--radius-lg);
    border-color: rgba(139, 92, 246, 0.18);
    background: linear-gradient(135deg, #141417 0%, #0f0f11 100%);
    height: 140px;
    align-items: center;
}
#popular-slider .product-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}
#popular-slider .card-media {
    width: 40%;
    height: 100%;
    border-radius: 0;
    clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 0% 100%);
}
#popular-slider .card-info {
    width: 60%;
    padding: 0.85rem 1rem 0.85rem 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#popular-slider .card-info p {
    margin-bottom: 0.4rem;
    height: auto;
    -webkit-line-clamp: 2;
}

/* --- VERTICAL PRODUCT CARDS (HOT DEALS) --- */
.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    min-width: 220px;
    max-width: 220px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-medium);
}
.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 69, 0, 0.25);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.card-media {
    position: relative;
    height: 130px;
    background: #19191d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-medium); }
.product-card:hover .card-media img { transform: scale(1.06); }
.card-badge-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 2;
    color: white;
}
.bg-orange { background: var(--brand-orange); }

.card-info { padding: 1rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-info h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-info p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 34px;
}
.card-action-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; width: 100%; }
.price { font-weight: 800; font-size: 1rem; color: var(--text-primary); }
.add-btn {
    background: rgba(255, 69, 0, 0.1);
    color: var(--brand-orange);
    border: 1px solid rgba(255, 69, 0, 0.2);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition-fast);
}
.add-btn:hover { background: var(--brand-orange); color: white; border-color: var(--brand-orange); }

/* --- APP PROMO SYSTEM --- */
.app-section { padding: 1.5rem 0; width: 100%; box-sizing: border-box; }
.app-card {
    background: linear-gradient(135deg, var(--bg-surface) 0%, #0d0d0f 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
}
.app-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 2rem; width: 100%; }
.app-text h2 { font-size: 1.8rem; font-weight: 800; line-height: 1.2; }
.app-text h2 span { color: var(--brand-orange); }
.app-text p { color: var(--text-secondary); margin: 0.75rem 0 1.5rem 0; font-size: 0.85rem; line-height: 1.5; }
.store-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-store {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}
.btn-store:hover { border-color: var(--brand-orange); }

.app-preview { display: flex; justify-content: center; width: 100%; }
.phone-shell { width: 160px; height: 280px; border: 4px solid var(--border-subtle); border-radius: 24px; padding: 6px; background: black; position: relative; }
.phone-notch { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 45px; height: 8px; background: var(--border-subtle); border-radius: 10px; z-index: 10; }
.phone-screen-content { background: var(--bg-main); width: 100%; height: 100%; border-radius: 16px; padding: 0.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.logo.small { font-size: 0.8rem; }
.skeleton-element { background: var(--bg-surface); border-radius: 4px; }
.skeleton-element.hero { height: 60px; border-radius: 8px; background: linear-gradient(90deg, #1f1f23, #2a2a32); }
.skeleton-element.row { height: 12px; width: 60%; }
.skeleton-element.card { height: 80px; border-radius: 8px; }

/* --- NEWSLETTER SECTION --- */
.newsletter-section { padding: 2.5rem 0; text-align: center; width: 100%; box-sizing: border-box; }
.newsletter-box { max-width: 500px; margin: 0 auto; padding: 0 1.5rem; box-sizing: border-box; }
.newsletter-box h3 { font-size: 1.35rem; font-weight: 800; }
.newsletter-box p { color: var(--text-secondary); font-size: 0.85rem; margin: 0.4rem 0 1.2rem 0; }
.action-input-group { display: flex; background: var(--bg-surface); padding: 4px; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); }
.action-input-group input { background: transparent; border: none; padding: 0.6rem; color: white; flex-grow: 1; font-size: 0.85rem; }
.action-input-group input:focus { outline: none; }
.action-input-group .submit-btn {
    background: var(--brand-orange);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.action-input-group .submit-btn:hover { background: #e03d00; }

/* --- FOOTER SYSTEM --- */
.footer { background: #060608; border-top: 1px solid var(--border-subtle); padding: 3rem 0 1.5rem 0; width: 100%; box-sizing: border-box; }
.footer-grid { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; box-sizing: border-box; }
.footer-about p { color: var(--text-secondary); font-size: 0.8rem; margin: 0.75rem 0; max-width: 280px; }
.social-circles { display: flex; gap: 0.5rem; }
.social-circles a {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}
.social-circles a:hover { border-color: var(--brand-orange); color: var(--brand-orange); }
.footer-links-col h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links-col a { color: var(--text-secondary); text-decoration: none; font-size: 0.8rem; display: block; margin-bottom: 0.5rem; transition: var(--transition-fast); }
.footer-links-col a:hover { color: var(--brand-orange); }
.footer-base { max-width: 1240px; margin: 2rem auto 0 auto; padding: 1rem 1.5rem; border-top: 1px solid var(--border-subtle); text-align: center; color: var(--text-secondary); font-size: 0.75rem; box-sizing: border-box; }

/* --- APP BOTTOM NAVIGATION ACTION DOCK --- */
.app-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(20, 20, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    display: none;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}
.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    gap: 2px;
    transition: var(--transition-fast);
}
.app-nav-item i { font-size: 1.15rem; }
.app-nav-item.active, .app-nav-item:hover { color: var(--brand-orange); }

/* --- ADAPTIVE VIEWS --- */
@media (max-width: 768px) {
    body { width: 100%; overflow-x: hidden; position: relative; }
    .main-layout { width: 100%; overflow-x: hidden; }
    .nav-menu { display: none; }
    .app-nav-bar { display: flex; }
    
    .section-container,
    .hero-section,
    .footer-grid,
    .footer-base,
    .newsletter-box {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .hero-slider-container { width: 100%; }
    .hero-card { padding: 1.5rem; width: 100%; box-sizing: border-box; }
    .hero-grid { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; width: 100%; }
    
    .badge-row { justify-content: center; }
    .hero-content h1 { font-size: 2.1rem; }
    .hero-visual { order: -1; width: 100%; display: flex; justify-content: center; }
    .hero-shape-container { width: 200px; height: 200px; }
    .floating-stat-card { left: 50%; transform: translateX(-50%); bottom: -10px; }
    
    .slider-viewport {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    #popular-slider, .product-track {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #popular-slider .product-card {
        min-width: 280px;
        max-width: 280px;
    }

    .app-grid { grid-template-columns: 1fr; text-align: center; }
    .store-row { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .cart-dropdown { right: 0; width: 290px; }
}