/* Mount-X Global Design System & Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --accent-primary: #4f46e5;       /* Electric Indigo */
    --accent-primary-hover: #4338ca;
    --accent-secondary: #ef4444;     /* Coral Red */
    --text-main: #0f172a;            /* Carbon Slate */
    --text-muted: #64748b;           /* Slate Gray */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Global Sticky Header (Responsive) */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.logo span {
    color: var(--accent-primary);
}

/* PC Search Bar */
.search-form {
    flex: 0 1 500px;
    margin: 0 24px;
}

.search-group {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 16px;
    padding-right: 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-main);
    font-size: 14px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--accent-primary);
}

/* Navigation Links (PC) */
.pc-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
}

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

/* Icon Buttons (PC) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background-color: var(--bg-tertiary);
    color: var(--accent-primary);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--accent-secondary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary);
}

/* User Account Dropdown Trigger */
.user-menu-container {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 1001;
}

.user-dropdown.show {
    display: flex;
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:hover {
    background-color: var(--bg-secondary);
    color: var(--accent-primary);
}

/* Hero Carousel */
.hero-section {
    margin: 24px 0;
}

.hero-slider {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 550px;
    padding: 48px;
}

.hero-tag {
    background-color: rgba(79, 70, 229, 0.1);
    color: var(--accent-primary);
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--accent-primary-hover);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

/* Category Grid / Quick Links */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0 20px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
}

.view-all-link {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 14px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.category-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 32px;
    color: var(--accent-primary);
    width: 60px;
    height: 60px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-name {
    font-weight: 600;
    font-size: 16px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

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

.product-image-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: var(--bg-secondary);
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    z-index: 10;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-primary);
}

.add-cart-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-main);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-cart-btn:hover {
    background-color: var(--accent-primary);
    color: white;
}

/* Footer Section */
.footer {
    background-color: var(--text-main);
    color: #94a3b8;
    padding: 60px 0 30px 0;
    margin-top: 60px;
    font-size: 14px;
}

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

.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--accent-primary);
}

.footer-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #334155;
    text-align: center;
    font-size: 13px;
}

/* Mobile Bottom Navigation Bar */
.mobile-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    height: 60px;
    display: none;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    width: 20%;
    height: 100%;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

.mobile-nav-item.active {
    color: var(--accent-primary);
}

/* Catalog Filters (Sidebar and Mobile Sheets) */
.catalog-layout {
    display: flex;
    gap: 32px;
    margin-top: 24px;
}

.sidebar-filters {
    flex: 0 0 260px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-size: 16px;
    margin-bottom: 14px;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
}

.filter-item:hover, .filter-item.active {
    color: var(--accent-primary);
}

.filter-item input[type="checkbox"], .filter-item input[type="radio"] {
    accent-color: var(--accent-primary);
    width: 16px;
    height: 16px;
}

.catalog-content {
    flex-grow: 1;
}

.catalog-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sort-select {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-size: 14px;
    cursor: pointer;
}

/* Product Detail Styles */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 32px;
}

.gallery-container {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-image-wrapper {
    position: relative;
    padding-top: 80%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: var(--bg-secondary);
}

.main-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-info {
    padding: 16px 0;
}

.detail-cat {
    color: var(--accent-primary);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.detail-title {
    font-size: 32px;
    margin-bottom: 12px;
}

.detail-price {
    font-size: 28px;
    color: var(--accent-primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.detail-description {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.stock-status.in-stock {
    color: #10b981;
}

.stock-status.out-of-stock {
    color: var(--accent-secondary);
}

.detail-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-primary);
}

.qty-btn {
    border: none;
    background: none;
    width: 40px;
    height: 48px;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--bg-tertiary);
}

.qty-input {
    width: 40px;
    height: 48px;
    border: none;
    text-align: center;
    font-weight: 600;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Tabs */
.tabs-container {
    margin-top: 40px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.tabs-header {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: var(--accent-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-label {
    font-weight: 600;
    color: var(--text-main);
    width: 30%;
}

.specs-value {
    color: var(--text-muted);
}

/* Cart Page */
.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.cart-items-panel {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 2fr 100px 100px 40px;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background-color: var(--bg-secondary);
}

.cart-item-details h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.cart-item-price {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 14px;
}

.cart-item-subtotal {
    font-weight: 700;
    color: var(--accent-primary);
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    text-align: center;
}

.cart-item-remove:hover {
    color: var(--accent-secondary);
}

.cart-summary-panel {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

/* Authentication Pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.auth-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background-color: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.auth-redirect {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-redirect a {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Checkout Page Grid */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.checkout-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.checkout-title {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

/* Success Indicator */
.success-screen {
    text-align: center;
    padding: 60px 24px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 40px auto;
}

.success-icon {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 24px;
}

/* /* ===== RESPONSIVE HANDLING ===== */
@media (max-width: 768px) {
    body {
        padding-bottom: 60px; /* Space for sticky nav */
    }

    .container {
        padding: 0 14px;
    }

    /* ---- HEADER ---- */
    .pc-nav, .action-btn.search-trigger {
        display: none !important;
    }

    .search-form {
        display: none;
    }

    .logo {
        font-size: 20px;
    }

    .header-container {
        height: 60px;
    }

    .mobile-nav-bar {
        display: flex;
    }

    /* ---- HERO ---- */
    .hero-section {
        margin: 16px 0;
    }

    .hero-slider {
        height: 220px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .hero-desc {
        font-size: 13px;
        margin-bottom: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* ---- SECTION HEADERS ---- */
    .section-header {
        margin: 20px 0 14px 0;
    }

    .section-title {
        font-size: 18px;
    }

    /* ---- PRODUCTS GRID ---- */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }

    .product-name {
        font-size: 13px;
        height: 38px;
    }

    .product-price {
        font-size: 15px;
    }

    /* ---- PRODUCT DETAIL ---- */
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 16px;
    }

    .detail-title {
        font-size: 22px;
    }

    .detail-price {
        font-size: 22px;
    }

    .detail-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .detail-actions .btn {
        flex: 1;
        justify-content: center;
    }

    .tabs-container {
        padding: 20px 16px;
        margin-top: 24px;
    }

    .tabs-header {
        gap: 12px;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .tabs-header::-webkit-scrollbar { display: none; }

    .tab-btn {
        font-size: 14px;
        white-space: nowrap;
    }

    .specs-table td {
        padding: 10px 12px;
        font-size: 13px;
        display: block;
        width: 100%;
    }

    .specs-label {
        width: 100%;
        padding-bottom: 2px;
        border-bottom: none;
    }

    .specs-value {
        padding-top: 0;
        color: var(--text-muted);
    }

    /* ---- CATALOG ---- */
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sidebar-filters {
        display: none;
    }

    .catalog-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* ---- CART ---- */
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cart-item {
        grid-template-columns: 64px 1fr auto;
        gap: 12px;
    }

    .cart-item-subtotal {
        grid-column: span 3;
        text-align: left;
        border-top: 1px dashed var(--border-color);
        padding-top: 8px;
    }

    .cart-item-remove {
        grid-row: 1;
        grid-column: 3;
        text-align: right;
    }

    /* ---- CHECKOUT ---- */
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .checkout-card {
        padding: 20px 16px;
    }

    /* ---- FOOTER ---- */
    .footer {
        padding: 40px 0 20px 0;
    }

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

    .footer-bottom {
        font-size: 12px;
    }

    /* ---- BADGE ICON ROW ---- */
    .badge-icon-only-row {
        gap: 10px;
    }

    .badge-icon-only-card {
        max-width: 100%;
        font-size: 22px;
        padding: 14px 0;
        aspect-ratio: 1 / 1;
    }

    /* ---- PROMO BANNER ---- */
    .promo-img-banner-link {
        height: 180px;
    }

    .promo-img-banner-overlay {
        padding: 20px;
        gap: 8px;
    }

    .promo-img-banner-title {
        font-size: 20px;
    }

    /* ---- AUTH PAGES ---- */
    .auth-card {
        padding: 24px 16px;
        margin: 20px 0;
    }

    .auth-title {
        font-size: 22px;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hero-slider {
        height: 190px;
    }

    .hero-title {
        font-size: 18px;
    }

    .badge-icon-only-card {
        font-size: 18px;
    }

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


/* Category Slider Styles */
.category-slider-container {
    overflow-x: auto;
    width: 100%;
    position: relative;
    padding: 10px 2px;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.category-slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.category-slider {
    display: flex;
    gap: 16px;
    scroll-behavior: smooth;
}

/* Small Category Slide Card */
.category-card-slide {
    flex: 0 0 130px; /* Small card size */
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.category-card-slide:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.category-icon-small {
    font-size: 20px;
    color: var(--accent-primary);
    width: 44px;
    height: 44px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-card-slide:hover .category-icon-small {
    background-color: var(--accent-primary);
    color: white;
}

.category-name-small {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Slider Arrow Buttons */
.slider-arrow {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

/* Custom storefront badges & Hotspots */
.feature-badge-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-badge-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.badge-icon-wrapper {
    font-size: 24px;
    color: var(--accent-primary);
    width: 50px;
    height: 50px;
    background-color: rgba(79, 70, 229, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    transition: var(--transition);
}

.feature-badge-card:hover .badge-icon-wrapper {
    background-color: var(--accent-primary);
    color: white;
}

.hotspot {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 10;
    transition: var(--transition);
}

.hotspot:hover {
    transform: scale(1.3);
    background-color: var(--accent-primary-hover);
}

.hotspot.pulse::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    opacity: 0;
    animation: hotspot-pulse-anim 1.8s infinite;
}

@keyframes hotspot-pulse-anim {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* ===== ICON STRIP ROW (4 icons in one row) ===== */
.icon-strip-row {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    box-shadow: var(--shadow-sm);
    gap: 0;
}

.icon-strip-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 8px 16px;
    cursor: default;
}

.icon-strip-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(79,70,229,0.05));
    border: 2px solid rgba(79,70,229,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent-primary);
    transition: var(--transition);
}

.icon-strip-item:hover .icon-strip-circle {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.35);
}

.icon-strip-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.icon-strip-item:hover .icon-strip-label {
    color: var(--accent-primary);
}

.icon-strip-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* Tooltip on hover */
.icon-strip-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--text-main);
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 100;
}

.icon-strip-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-main);
}

.icon-strip-item:hover .icon-strip-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 600px) {
    .icon-strip-row {
        padding: 14px 16px;
        gap: 0;
    }
    .icon-strip-circle {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .icon-strip-label {
        font-size: 10px;
    }
    .icon-strip-divider {
        height: 36px;
    }
    .icon-strip-tooltip {
        display: none;
    }
}

/* ===== ICON-ONLY BADGE ROW ===== */
.badge-icon-only-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.badge-icon-only-card {
    flex: 1;
    max-width: 140px;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-primary);
    box-shadow: var(--shadow-sm);
    cursor: default;
    transition: var(--transition);
}

.badge-icon-only-card:hover {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(79,70,229,0.3);
}

/* ===== PROMO IMAGE BANNER ===== */
.promo-img-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.promo-img-banner-link {
    display: block;
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.promo-img-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-img-banner-link:hover .promo-img-banner-img {
    transform: scale(1.04);
}

.promo-img-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    gap: 10px;
}

.promo-img-banner-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    background: rgba(79,70,229,0.18);
    border: 1px solid rgba(79,70,229,0.5);
    padding: 4px 10px;
    border-radius: 50px;
    width: fit-content;
}

.promo-img-banner-title {
    font-size: 30px;
    font-family: var(--font-heading);
    color: white;
    margin: 0;
    line-height: 1.2;
}

.promo-img-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-primary);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    width: fit-content;
    transition: var(--transition);
}

.promo-img-banner-link:hover .promo-img-banner-btn {
    background: var(--accent-primary-hover);
    gap: 12px;
}

@media (max-width: 600px) {
    .badge-icon-only-card {
        font-size: 22px;
    }
    .promo-img-banner-link {
        height: 180px;
    }
    .promo-img-banner-overlay {
        padding: 20px;
    }
    .promo-img-banner-title {
        font-size: 20px;
    }
}

/* ===== BOTTOM PROMO CTA BANNER ===== */
.promo-cta-banner {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    gap: 24px;
    flex-wrap: wrap;
}

.promo-cta-title {
    font-size: 26px;
    margin-bottom: 6px;
}

.promo-cta-text {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 560px;
}

@media (max-width: 768px) {
    .promo-cta-banner {
        padding: 24px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .promo-cta-title {
        font-size: 20px;
    }

    .promo-cta-banner .btn {
        width: 100%;
        justify-content: center;
    }
}
