/* =========================================
   Global Variables & Resets
========================================= */
:root {
    --primary-bg: #FFFFFF;
    --text-main: #333333;
    --text-light: #777777;
    --accent-color: #ee6a5a;
    --accent-hover: #d85c4d;
    --bg-light: #f5f5f5;
    --bg-fainter: #fafafa;
    --border-color: #e5e5e5;
    --header-height: 70px;
    --font-family: 'Google Sans', 'Inter', 'Roboto', sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
}

* {
    font-family: var(--font-family);
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

/* =========================================
   Layout
========================================= */
.main-content {
    flex: 1;
    padding: 30px 0;
}

/* =========================================
   Header Component
========================================= */
.site-header {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--text-main);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle at top left, #0d47a1, #ee6a5a, #fbc02d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Search Bar */
.search-bar {
    display: flex;
    flex: 1;
    min-width: 0;
    max-width: 500px;
    height: 40px;
    position: relative;
    margin: 0 12px;
}

.search-input {
    width: 100%;
    height: 100%;
    padding: 0 16px;
    border: none;
    background-color: var(--bg-fainter);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
    background-color: #fff;
    box-shadow: 0 0 0 2px var(--border-color);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    background-color: #000;
    color: #fff;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background-color: var(--text-main);
}

/* Header Utils */
.header-utils {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: auto;
}

.util-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.util-item svg {
    width: 20px;
    height: 20px;
}

/* Mobile nav toggle */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: none;
    border: none;
}

/* User Dropdown Menu */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: -10px;
    width: 150px;
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    display: none;
    flex-direction: column;
    z-index: 200;
    padding: 8px 0;
    margin-top: 10px;
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

#user-menu-container:hover .user-dropdown {
    display: flex;
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    background: none;
    border: none;
    width: 100%;
    display: block;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-item:hover {
    background-color: var(--bg-fainter);
    color: var(--accent-color);
}

.dropdown-item.signout-btn {
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
    padding-top: 12px;
}

/* Header Nav */
.header-nav {
    border-top: 1px solid var(--border-color);
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.nav-item {
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-main);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-hot {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Nav States */
.active-nav {
    font-weight: 700;
}

.tab-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Mobile nav collapse */
@media (max-width: 991.98px) {
    .header-nav {
        max-height: 0;
        opacity: 0;
        padding: 0;
        border-top: none;
    }

    .header-nav.show {
        max-height: 300px;
        opacity: 1;
        padding: 12px 0;
        border-top: 1px solid var(--border-color);
    }

    .header-nav .nav-item {
        display: block;
        padding: 10px 20px;
    }
}

@media (min-width: 992px) {
    .header-nav {
        max-height: none !important;
        opacity: 1 !important;
    }
}

/* =========================================
   Footer Component
========================================= */
.site-footer {
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px;
    margin-top: auto;
}

.site-footer h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.site-footer li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-light);
}

.payment-badge {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
}

/* =========================================
   UI Components
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: #fff !important;
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background-color: #fff;
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: #000;
    color: #fff;
}

.form-field-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

.input-field {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: #000;
}

/* Form Shared */
.auth-container {
    max-width: 480px;
    margin: 60px auto;
    background: var(--primary-bg);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* =========================================
   Dashboard Elements
========================================= */
/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 24px;
    padding: 0;
    background: none;
}

.breadcrumb a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* Sidebar */
.sidebar {
    background-color: var(--primary-bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    padding: 14px 24px;
    font-size: 15px;
    color: var(--text-main);
    transition: background-color 0.2s ease, font-weight 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.sidebar-link:hover {
    background-color: var(--bg-fainter);
    color: var(--text-main);
}

.sidebar-link.active {
    font-weight: 600;
    border-left-color: var(--accent-color);
    background-color: #fff9f8;
}

/* Dashboard Content */
.content-box {
    background-color: var(--primary-bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 24px;
}

.welcome-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background-color: #E0E0E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 28px;
    flex-shrink: 0;
}

.welcome-text {
    font-size: 18px;
    font-weight: 600;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 600;
}

.view-all {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 20px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.status-item:hover {
    color: var(--accent-color);
}

.status-item.active-status {
    color: var(--accent-color);
    font-weight: 600;
}

.order-filter-btn {
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-main);
}

.order-filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.order-filter-btn.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.status-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

/* Extras Box (Coupons/Inbox) */
.split-boxes {
    display: flex;
    gap: 24px;
}

.split-box {
    flex: 1;
    background-color: var(--primary-bg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* Tabs */
.content-tabs {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.tab-btn {
    padding: 0 0 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--text-main);
    border-bottom-color: var(--text-main);
    font-weight: 600;
}

/* Product Grid (rv = recently viewed) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.rv-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 150px));
    gap: 16px;
}

.rv-grid .product-img {
    width: 100%;
    max-width: 150px;
    aspect-ratio: 1;
}

.rv-grid .product-card {
    max-width: 150px;
}

.rv-grid .product-title {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 4px;
}

.rv-grid .product-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.product-card {
    text-align: center;
}

.product-img {
    width: 100%;
    aspect-ratio: 1;
    background-color: #f0f0f0;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-title {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-price {
    font-size: 15px;
    font-weight: 600;
}

/* =========================================
   Category Pages - Catalog Grid
========================================= */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 24px;
    font-weight: 700;
}

.category-filters {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-label {
    font-size: 14px;
    color: #666;
}

.filter-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    outline: none;
}

.filter-select:focus {
    border-color: #888;
}

/* Catalog card grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.catalog-card {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.catalog-card:hover {
    transform: translateY(-4px);
}

.catalog-card:hover .add-to-cart-quick {
    opacity: 1;
    transform: translateY(0);
}

.catalog-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--bg-fainter);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

.catalog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-img-wrapper img {
    transform: scale(1.05);
}

.add-to-cart-quick {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.add-to-cart-quick:hover {
    background-color: var(--accent-color);
}

.catalog-info {
    text-align: left;
}

.catalog-title {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 6px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.catalog-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
}

.catalog-fav-link {
    display: inline-block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
    transition: color 0.2s;
    text-decoration: none;
}

.catalog-fav-link:hover {
    color: var(--accent-color);
}

.catalog-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* =========================================
   Product Details Page
========================================= */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.main-image {
    background-color: var(--bg-fainter);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.thumbnail-list::-webkit-scrollbar {
    height: 3px;
}

.thumbnail-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.thumbnail {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.thumbnail:hover,
.active-thumb {
    border-color: #000;
}

.product-info .product-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.product-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.discount-box {
    background-color: #f7f7f7;
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.discount-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 10px;
}

.discount-badge {
    background-color: var(--accent-color);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.discount-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

.discount-list strong {
    color: var(--accent-color);
}

.discount-dates {
    font-size: 12px;
    color: #888;
}

.config-section {
    margin-bottom: 20px;
}

.config-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.config-label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    color: #333;
}

.size-guide {
    font-size: 12px;
    color: #666;
    text-decoration: underline;
}

.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.size-btn,
.custom-btn,
.patch-btn {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.size-btn:hover,
.custom-btn:hover,
.patch-btn:hover {
    border-color: #000;
}

.size-btn.active-size,
.size-btn.active,
.custom-btn.active-custom,
.patch-btn.active-patch {
    border-color: #000;
    background-color: #000;
    color: #fff;
}

.customize-options,
.patches-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.patch-img-btn {
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.patch-img-btn:hover {
    border-color: #000;
}

.patch-img-btn.active-patch {
    border-color: #000;
    box-shadow: 0 0 0 1px #000;
}

.patch-img-btn img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.patch-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 10px;
    border-radius: var(--radius-sm);
    display: none;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
    text-align: center;
    margin-bottom: 8px;
}

.patch-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.patch-img-btn:hover .patch-tooltip {
    display: block;
}

.patch-tooltip img {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-bottom: 6px;
}

.patch-tooltip span {
    display: block;
    font-size: 13px;
    font-weight: 500;
}

.customize-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;
}

.custom-field-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
    color: #555;
}

.total-extras {
    font-size: 14px;
    margin-bottom: 20px;
}

.total-extras span {
    color: var(--accent-color);
    font-weight: 600;
}

.action-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 16px;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-controls input {
    width: 44px;
    text-align: center;
    border: none;
    font-size: 14px;
    outline: none;
    font-weight: 500;
}

.stock-status {
    font-size: 14px;
    color: #888;
}

.cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-large {
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    width: 100%;
}

.add-to-favorites {
    display: inline-block;
    font-size: 14px;
    color: #555;
    margin-top: 8px;
}

/* Product Tabs */
.product-tabs {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-headers::-webkit-scrollbar {
    display: none;
}

.tab-headers .tab-btn {
    padding: 14px 20px;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
}

.tab-btn.active-tab {
    color: #000;
}

.tab-btn.active-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

.tab-content {
    display: none;
    padding: 16px 0;
    line-height: 1.6;
    color: #444;
}

.tab-content.active-content {
    display: block;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin-top: 12px;
}

.specs-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* =========================================
   Cart Drawer (Sidebar)
========================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.close-cart {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: var(--bg-fainter);
    border-radius: 4px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    padding-right: 20px;
    line-height: 1.4;
}

.cart-item-title:hover {
    color: var(--accent-color);
}

.cart-item-size,
.cart-item-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.cart-item-qty-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.cart-qty-btn:hover:not(:disabled) {
    background: #f0f0f0;
}

.cart-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cart-qty-val {
    font-size: 14px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.cart-item-subtotal {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #bbb;
    font-size: 14px;
    transition: color 0.15s;
    line-height: 1;
    padding: 2px;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.small-qty .qty-btn {
    padding: 4px 8px;
    font-size: 14px;
}

.small-qty input {
    width: 30px;
    height: 26px;
}

.item-total {
    font-weight: 700;
    font-size: 14px;
}

.remove-item {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
}

.remove-item:hover {
    color: red;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: #f9f9f9;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 500;
}

.cart-total-price {
    font-weight: 700;
    font-size: 18px;
}

.tax-note {
    font-size: 12px;
    color: #888;
    margin-bottom: 16px;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-checkout:hover {
    opacity: 0.9;
}

.btn-checkout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cart-empty-msg {
    text-align: center;
    color: #888;
    padding: 40px 0;
    font-size: 14px;
}

.cart-item-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: var(--bg-fainter);
    border-radius: 4px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

/* Cart badge on header icon */
.cart-badge {
    display: none;
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--accent-color, #e67e22);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 4px;
    align-items: center;
    justify-content: center;
}

.cart-count-badge {
    font-size: 13px;
    font-weight: 400;
    color: #888;
}

/* =========================================
   Homepage Sections
========================================= */
.home-section {
    padding: 40px 0;
}

.home-section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a1a1a;
}

/* Leagues & Regional Grid */
.leagues-section {
    background-color: var(--primary-bg);
    border-radius: var(--radius-md);
    margin: 16px auto;
    max-width: 1200px;
    padding: 30px 16px;
}

.regions-section {
    padding: 24px 16px;
}

.leagues-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.league-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.league-item:hover {
    transform: translateY(-4px);
    color: var(--text-main);
}

.league-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.all-category-item {
    justify-content: center;
}

.all-category-item .all-category-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #111;
    background: linear-gradient(145deg, #ffffff 0%, #f7f7f7 45%, #ececec 100%);
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.league-item.all-category-item .all-category-icon {
    width: 64px;
    height: 64px;
    font-size: 14px;
}

.club-logo-item.all-category-item .all-category-icon {
    width: 52px;
    height: 52px;
    font-size: 12px;
}

.all-category-item span {
    text-align: center;
}

.all-category-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 2px 10px rgba(238, 106, 90, 0.2);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    width: 100%;
    max-height: 440px;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: inline-block;
    padding: 12px 40px;
    background-color: #e67e22;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    letter-spacing: 1px;
}

.hero-cta:hover {
    background-color: #d35400;
    transform: scale(1.05);
    color: #fff;
}

/* Social Media Hot Topics */
.hot-topics-section {
    background-color: var(--bg-light);
    padding: 50px 0;
}

.platform-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.platform-tab {
    flex: 1;
    padding: 10px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    background-color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border-right: 1px solid var(--border-color);
}

.platform-tab:last-child {
    border-right: none;
}

.platform-tab:hover {
    background-color: var(--bg-fainter);
}

.platform-tab.active-platform {
    background-color: #000;
    color: #fff;
}

.hot-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.hot-product-card {
    text-align: center;
    transition: transform 0.2s ease;
}

.hot-product-card:hover {
    transform: translateY(-4px);
}

.hot-product-img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--bg-fainter);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 10px;
    text-decoration: none;
}

.hot-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hot-product-card:hover .hot-product-img img {
    transform: scale(1.05);
}

.hot-product-name {
    display: -webkit-box;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.hot-product-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.hot-price {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.hot-original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.btn-dark {
    display: inline-block;
    padding: 12px 40px;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

.btn-dark:hover {
    background-color: #111;
    color: #fff;
}

/* World Cup Featured section */
.wc-featured-section {
    background-color: var(--primary-bg);
    padding: 50px 0;
}

/* Club Logo Subcategory Grid */
.club-logos-section {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    margin-bottom: 24px;
}

.club-logos-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.club-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    background: #fff;
    border: 1px solid transparent;
}

.club-logo-item:hover {
    border-color: var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    color: var(--text-main);
}

.club-logo-item img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

/* ── World Cup Page Banner ── */
.wc-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 280px;
}

.wc-banner-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.wc-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    padding: 20px;
}

.wc-banner-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.wc-banner-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

/* World Cup teams grid */
.wc-teams-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
}

/* =========================================
   Auth Page Two-Column Layout
========================================= */
.auth-page-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 30px auto;
}

.auth-form-section {
    background: var(--primary-bg);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.auth-side-section {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* =========================================
   Quick-View Modal
========================================= */
.qv-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.qv-overlay.active {
    display: flex;
}

.qv-modal {
    background: #fff;
    border-radius: var(--radius-md);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.25);
}

.qv-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 28px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.qv-close:hover {
    background: var(--bg-light);
    color: #000;
}

.qv-body {
    padding: 24px;
}

.qv-loading {
    text-align: center;
    padding: 50px 20px;
    font-size: 16px;
    color: #888;
}

.qv-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.qv-gallery {
    display: flex;
    flex-direction: column;
}

.qv-main-image {
    background: var(--bg-fainter);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.qv-main-image img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.qv-thumb-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.qv-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.qv-thumb:hover,
.qv-thumb.active-thumb {
    border-color: #000;
}

.qv-info {
    display: flex;
    flex-direction: column;
}

.qv-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text-main);
}

.qv-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.qv-current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.qv-original-price {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
}

.qv-stock {
    font-size: 13px;
    color: #5cb85c;
    margin-bottom: 16px;
}

.qv-config-section {
    margin-bottom: 16px;
}

.qv-size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.qv-qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}

.qv-more-details {
    display: inline-block;
    font-size: 14px;
    color: #333;
    text-decoration: underline;
    margin-top: 10px;
}

.qv-more-details:hover {
    color: var(--accent-color);
}

/* =============================================
   Size Guide Modal
   ============================================= */
#size-guide-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 16px;
}

.sg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.sg-box {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    padding: 28px 24px;
    z-index: 1;
}

.sg-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
}

.sg-close:hover {
    color: var(--text-main);
}

.sg-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.sg-unit-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
}

.sg-unit-btn {
    padding: 6px 20px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}

.sg-unit-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.sg-unit-btn:last-child {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.sg-unit-btn.sg-unit-active {
    background: #222;
    color: #fff;
    border-color: #222;
}

.sg-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 16px 0 8px;
}

.sg-scroll {
    overflow-x: auto;
}

.sg-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sg-table th,
.sg-table td {
    border: 1px solid var(--border-color);
    padding: 8px 10px;
    text-align: center;
    white-space: nowrap;
}

.sg-table thead th {
    background: var(--bg-light);
    font-weight: 600;
    font-size: 12px;
}

.sg-table tbody tr:hover {
    background: var(--bg-fainter);
}

.sg-table tbody td:first-child {
    font-weight: 700;
}

.sg-note {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
}

/* =========================================
   Address Form Styles
========================================= */
.addr-label {
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.addr-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.addr-input:focus {
    outline: none;
    border-color: #000;
}

/* =========================================
   Responsive - Tablet
========================================= */
@media (max-width: 991.98px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hot-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .wc-teams-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .club-logos-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .qv-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qv-main-image img {
        max-height: 260px;
    }
}

/* =========================================
   Responsive - Mobile
========================================= */
@media (max-width: 767.98px) {
    .main-content {
        padding: 20px 0;
    }

    /* Header */
    .header-top {
        height: auto;
        min-height: 56px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .search-bar {
        order: 3;
        width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
        margin: 8px 0 0 0;
    }

    /* Product detail layout */
    .product-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 24px;
    }

    .product-info .product-title {
        font-size: 20px;
    }

    .current-price {
        font-size: 20px;
    }

    .original-price {
        font-size: 16px;
    }

    .discount-box {
        padding: 12px;
    }

    .discount-list {
        font-size: 12px;
    }

    .cta-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Dashboard */
    .sidebar {
        padding: 8px 0;
    }

    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-menu::-webkit-scrollbar {
        display: none;
    }

    .sidebar-link {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
        padding: 10px 16px;
    }

    .sidebar-link.active {
        border-left-color: transparent;
        border-bottom-color: var(--accent-color);
        background-color: transparent;
    }

    .status-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .split-boxes {
        flex-direction: column;
    }

    /* Grids */
    .catalog-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hot-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* Category */
    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-filters {
        width: 100%;
    }

    .filter-select {
        width: 100%;
    }

    .page-title {
        font-size: 20px;
    }

    /* Home Sections */
    .home-section-title {
        font-size: 18px;
    }

    /* Order Filters */
    .order-filter-btn {
        padding: 5px 12px;
        font-size: 12px;
    }

    /* Quick-View modal */
    .qv-overlay {
        padding: 0;
    }

    .qv-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        height: 100vh;
    }

    .qv-body {
        padding: 16px;
    }

    .qv-close {
        width: 44px;
        height: 44px;
    }

    /* Sidebar sign-out link */
    .sidebar-link-signout {
        margin-top: 0 !important;
    }

    /* Auth */
    .auth-page-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .auth-form-section {
        padding: 24px 16px;
    }

    /* Cart */
    .cart-drawer {
        width: 100%;
    }

    /* Hero */
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-bg {
        height: 300px;
    }

    .leagues-grid {
        gap: 16px;
    }

    .league-item img {
        width: 50px;
        height: 50px;
    }

    /* WC */
    .wc-banner-title {
        font-size: 26px;
    }

    .wc-banner-img {
        height: 200px;
    }

    .wc-teams-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .club-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================
   Responsive - Small Mobile
========================================= */
@media (max-width: 479.98px) {

    .catalog-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .hot-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-bg {
        height: 240px;
    }

    .hero-cta {
        padding: 10px 28px;
        font-size: 13px;
    }

    .league-item img {
        width: 44px;
        height: 44px;
    }

    .league-item {
        font-size: 11px;
        gap: 6px;
    }

    .leagues-grid {
        gap: 12px;
    }

    .club-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .club-logo-item img {
        width: 44px;
        height: 44px;
    }

    .wc-teams-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .size-btn,
    .custom-btn,
    .patch-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .config-label {
        font-size: 12px;
    }

    .product-info .product-title {
        font-size: 18px;
    }

    .current-price {
        font-size: 18px;
    }

    .original-price {
        font-size: 14px;
    }
}