/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Inspired by luonvuituoi.co)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg: #ffffff;
    --color-bg-sec: #f8f9fa;
    --color-bg-dark: #000000;
    --color-border: #e9ecef;
    --color-border-dark: #333333;
    
    --color-text: #2b2b2b;
    --color-text-light: #777777;
    --color-text-white: #ffffff;
    --color-text-heading: #1a1a1a;
    
    --color-primary: #000000;
    --color-primary-hover: #222222;
    --color-accent: #e84e4e; /* Price sale color (Vibrant Red) */
    --color-success: #2c8d53;
    --color-warning: #f1c40f;
    --color-info: #0059c9;
    
    /* Fonts */
    --font-header: 'Jost', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-full: 9999px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: 600;
    color: var(--color-text-heading);
    line-height: 1.25;
}

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

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

button {
    cursor: pointer;
    background: none;
    border: none;
}

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

.section-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-sec);
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Utility classes */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.text-free { color: var(--color-success); font-weight: 600; }
.hidden-section { display: none !important; }
.active-section { display: block !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    font-size: 0.85rem;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.75rem;
}

.btn-xs {
    padding: 5px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 0.95rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--color-text-heading);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-bg);
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ==========================================================================
   HEADER & NAVIGATION (Matched to screenshot)
   ========================================================================== */
.announcement-bar {
    height: 35px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    font-family: var(--font-header);
}

.main-header {
    background-color: var(--color-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

/* Top bar (White background, centered logo, actions) */
.header-top-bar {
    height: 60px;
    border-bottom: 1px solid #f1f1f1;
    background-color: var(--color-bg);
}

.header-container-flex {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left-actions {
    width: 200px;
    display: flex;
    align-items: center;
}

.header-right-actions {
    width: 220px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.3rem;
}

.logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-align: center;
}

/* Navigation menu bar (Black background) */
.header-nav-bar {
    background-color: var(--color-bg-dark);
    height: 48px;
}

.header-nav-bar .header-container-flex {
    justify-content: center;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 14px;
    align-items: center;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu a {
    font-family: var(--font-header);
    font-size: 0.72rem;
    font-weight: 600;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 2px;
    display: block;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-text-white);
}

/* Dropdown Menu Styles (Matched to Screenshot) */
.dropdown-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    display: none;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    text-align: left;
}

.dropdown-menu-wrapper::-webkit-scrollbar {
    width: 4px;
}
.dropdown-menu-wrapper::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: var(--radius-full);
}

.has-dropdown:hover .dropdown-menu-wrapper {
    display: block;
}

/* Sub-dropdown Menu Styles (Matched to Thể Thao submenu) */
.has-sub-dropdown {
    position: relative;
}

.sub-dropdown-menu-wrapper {
    position: absolute;
    top: -8px;
    left: 100%;
    width: 200px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 1px solid #e2e8f0;
    padding: 8px 0;
    display: none;
    z-index: 1010;
}

.has-sub-dropdown:hover .sub-dropdown-menu-wrapper {
    display: block;
}

.dropdown-menu-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0;
}

.dropdown-menu-list li {
    width: 100%;
}

.dropdown-menu-list a {
    color: #555555 !important;
    font-size: 0.85rem !important;
    text-transform: none !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
    border-bottom: 1px solid #f9f9f9;
    letter-spacing: 0px !important;
}

.dropdown-menu-list a:hover {
    background-color: #f5f5f5;
    color: #000000 !important;
}

.dropdown-menu-list i {
    font-size: 0.75rem;
    color: #999999;
}

.action-btn {
    font-size: 1.15rem;
    padding: 6px;
    position: relative;
    transition: var(--transition-fast);
}

.action-btn:hover {
    color: var(--color-text-light);
}

.cart-icon-wrapper {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background-color: var(--color-accent);
    color: var(--color-text-white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-toggle-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-family: var(--font-header);
    text-transform: uppercase;
    font-weight: 600;
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    background-color: var(--color-bg-sec);
}

.admin-toggle-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white) !important;
    border-color: var(--color-primary);
}

.user-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-success);
    border: 1px solid var(--color-bg);
}

/* ==========================================================================
   HERO BANNER (Matched to pickleball screenshot)
   ========================================================================== */
.hero-banner {
    position: relative;
    height: 600px;
    background-color: #000;
    overflow: hidden;
}

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

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 80px;
    z-index: 3;
    color: var(--color-text-white);
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2 {
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.hero-content h1 {
    font-family: var(--font-header);
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
    color: var(--color-text-white);
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.btn-banner {
    background-color: var(--color-bg);
    color: var(--color-primary);
    border: none;
}

.btn-banner:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* ==========================================================================
   SECTION 1: EXPLORE COLLECTIONS (Khám phá các bộ sưu tập)
   ========================================================================== */
.explore-collections-section {
    padding: 60px 0;
    background-color: var(--color-bg);
}

.explore-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title-custom {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-header);
    color: var(--color-text-heading);
}

.btn-viewmore {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    border-bottom: 1.5px solid var(--color-primary);
    padding-bottom: 2px;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.explore-card {
    cursor: pointer;
    background-color: var(--color-bg-sec);
    transition: var(--transition-normal);
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.explore-img-wrapper {
    aspect-ratio: 1/1;
    overflow: hidden;
}

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

.explore-card:hover .explore-img-wrapper img {
    transform: scale(1.05);
}

.explore-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-top: none;
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 1.05rem;
}

.circle-arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-bg-sec);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.explore-card:hover .circle-arrow-btn {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

/* ==========================================================================
   SHELVES - HOODIE / SWEATER LISTS
   ========================================================================== */
.collection-shelf-section {
    padding: 40px 0;
    background-color: var(--color-bg);
    border-top: 1px solid #f5f5f5;
}

.shelf-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.viewmore-shelf-label {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.product-card:hover .viewmore-shelf-label {
    color: var(--color-primary);
    text-decoration: underline;
}

/* ==========================================================================
   SECTION 4: SOFT ROUTINE (Matched to screenshot)
   ========================================================================== */
.soft-routine-section {
    background-color: var(--color-bg-dark); /* Outer wrapper dark background */
    padding: 0;
    margin-top: 60px;
}

.soft-routine-title-bar {
    background-color: var(--color-bg-dark);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soft-routine-title-bar h2 {
    color: var(--color-text-white);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.soft-routine-content-area {
    background-color: var(--color-bg); /* Inner content area white background */
    padding: 50px 0 80px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.soft-routine-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
}

.product-title-soft {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: 8px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.soft-card-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--color-border);
    padding-top: 10px;
    margin-top: 10px;
}

.soft-swatches {
    display: flex;
    gap: 4px;
}

.soft-sizes {
    display: flex;
    gap: 4px;
}

.size-pill-mini {
    font-size: 0.65rem;
    font-weight: 700;
    border: 1px solid var(--color-border);
    padding: 1px 4px;
    min-width: 18px;
    text-align: center;
}

.badge-sale-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-accent);
    color: var(--color-text-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    z-index: 5;
}

/* ==========================================================================
   PRODUCT CARD COMPONENT STANDARD STYLES
   ========================================================================== */
.product-card {
    position: relative;
    cursor: pointer;
    background-color: var(--color-bg);
    min-width: 0;
}

.product-image-area {
    position: relative;
    aspect-ratio: 3/4;
    background-color: var(--color-bg-sec);
    overflow: hidden;
    margin-bottom: 12px;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-family: var(--font-header);
    letter-spacing: 0.5px;
}

.badge-sale {
    background-color: var(--color-accent);
}

.badge-new {
    background-color: var(--color-primary);
}

.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-card-img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.product-card:hover .product-card-img.hover-img {
    opacity: 1;
}

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

.product-action-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 2;
    transition: var(--transition-normal);
    opacity: 0;
}

.product-card:hover .product-action-overlay {
    bottom: 0;
    opacity: 1;
}

.btn-quickview {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-size: 0.75rem;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-quickview:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.product-info {
    padding: 5px 0;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 0.9rem;
}

.price-regular {
    color: var(--color-primary);
}

.price-sale {
    color: var(--color-accent);
}

.price-compare {
    color: var(--color-text-light);
    text-decoration: line-through;
    font-size: 0.8rem;
    font-weight: 400;
}

.swatch-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    display: inline-block;
}

/* ==========================================================================
   MODALS (Quick View, Auth)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.product-modal-container {
    background-color: var(--color-bg);
    width: 90%;
    max-width: 900px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-normal);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .product-modal-container {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
}

.modal-close-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 30px;
    padding: 40px;
}

.modal-media-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-main-image {
    aspect-ratio: 3/4;
    background-color: var(--color-bg-sec);
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-thumbs {
    display: flex;
    gap: 10px;
}

.thumb-item {
    width: 60px;
    height: 80px;
    background-color: var(--color-bg-sec);
    cursor: pointer;
    border: 1px solid transparent;
}

.thumb-item.active {
    border-color: var(--color-primary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-product-details {
    display: flex;
    flex-direction: column;
}

.modal-product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.modal-price-row {
    margin-bottom: 15px;
}

.modal-desc {
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.option-select-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.option-select-group {
    margin-bottom: 20px;
}

.color-swatch-list {
    display: flex;
    gap: 10px;
}

.color-swatch-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    padding: 2px;
}

.color-swatch-btn span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.color-swatch-btn.active {
    border-color: var(--color-primary);
}

.size-selector-list {
    display: flex;
    gap: 8px;
}

.size-btn {
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.size-btn:hover {
    border-color: var(--color-primary);
}

.size-btn.active {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    width: fit-content;
    height: 40px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.qty-btn {
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-input {
    width: 36px;
    height: 100%;
    text-align: center;
    border: none;
    font-family: var(--font-header);
    font-weight: 600;
}

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

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Auth Modal Container */
.auth-modal-container {
    background-color: var(--color-bg);
    width: 95%;
    max-width: 420px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    position: relative;
    padding: 35px 25px;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.modal-overlay.open .auth-modal-container {
    transform: translateY(0);
}

.auth-form-view {
    display: none;
}

.auth-form-view.active-form {
    display: block;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    color: var(--color-text-light);
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 20px;
}

.auth-switch {
    margin-top: 15px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.auth-switch a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

.profile-info-card {
    background-color: var(--color-bg-sec);
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}

.profile-info-card p {
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.user-order-history {
    max-height: 180px;
    overflow-y: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px;
}

.empty-history-text {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-align: center;
    padding: 15px 0;
}

.history-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.8rem;
}

.history-order-id {
    font-weight: 600;
}

.history-order-status {
    padding: 2px 6px;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
}

.status-pending { background-color: #fff3cd; color: #856404; }
.status-shipping { background-color: #d1ecf1; color: #0c5460; }
.status-completed { background-color: #d4edda; color: #155724; }
.status-cancelled { background-color: #f8d7da; color: #721c24; }

/* ==========================================================================
   SHOPPING CART SLIDE DRAWER & CHECKOUT
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.cart-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: var(--color-bg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateX(100%);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

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

.cart-drawer-header h3 {
    font-size: 1rem;
    letter-spacing: 1px;
}

.cart-drawer-close {
    font-size: 1.3rem;
}

.cart-drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-light);
    gap: 15px;
}

.empty-cart-view i {
    font-size: 2.5rem;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.cart-item-image {
    width: 60px;
    aspect-ratio: 3/4;
    background-color: var(--color-bg-sec);
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-variant {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 6px;
}

.cart-item-qty-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-qty-adjuster {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    height: 28px;
}

.cart-qty-btn {
    width: 26px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.cart-qty-input {
    width: 22px;
    text-align: center;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.cart-item-price {
    font-family: var(--font-header);
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-remove-item {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-decoration: underline;
    margin-left: 8px;
}

.cart-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg-sec);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.subtotal-amount {
    font-family: var(--font-header);
    color: var(--color-accent);
}

.cart-tax-note {
    font-size: 0.7rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.checkout-drawer {
    max-width: 480px;
}

.checkout-drawer-content {
    overflow-y: auto;
    padding: 20px;
    height: 100%;
}

.checkout-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 6px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.auth-hint-box {
    background-color: #e6f0fa;
    border: 1px solid #b3d1ff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: #004085;
    margin-bottom: 15px;
}

.auth-hint-box a {
    text-decoration: underline;
    font-weight: 600;
    color: #002752;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.payment-option-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--color-border);
    padding: 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.payment-option-card:hover {
    border-color: var(--color-primary);
}

.payment-option-card input {
    margin-top: 3px;
}

.option-details {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-heading);
    margin-bottom: 2px;
}

.option-desc {
    font-size: 0.7rem;
    color: var(--color-text-light);
}

.checkout-summary-card {
    background-color: var(--color-bg-sec);
    border: 1px solid var(--color-border);
    padding: 15px;
    border-radius: var(--radius-sm);
}

.checkout-summary-items {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.checkout-item-price {
    font-family: var(--font-header);
    font-weight: 600;
}

.checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.checkout-summary-row.total-row {
    border-top: 1px dashed var(--color-border);
    padding-top: 10px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0;
}

.checkout-summary-row.total-row .total-amount {
    color: var(--color-accent);
}

/* ==========================================================================
   ADMIN DASHBOARD VIEW
   ========================================================================== */
.admin-container {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 108px - 35px);
    background-color: var(--color-bg-sec);
}

.admin-sidebar {
    background-color: #000;
    color: var(--color-text-white);
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--color-border-dark);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.admin-avatar {
    font-size: 2rem;
    color: var(--color-text-light);
}

.admin-profile h4 {
    color: var(--color-text-white);
    font-size: 0.9rem;
}

.admin-profile p {
    font-size: 0.7rem;
    color: var(--color-text-light);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #aaaaaa;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: left;
    transition: var(--transition-fast);
    width: 100%;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background-color: var(--color-border-dark);
    color: var(--color-text-white);
}

.admin-sidebar-footer {
    border-top: 1px solid var(--color-border-dark);
    padding-top: 15px;
}

.admin-sidebar-footer button {
    border-color: #555;
    color: var(--color-text-white);
    width: 100%;
}

.admin-sidebar-footer button:hover {
    background-color: #fff;
    color: #000;
}

.admin-content-area {
    padding: 30px;
    overflow-y: auto;
}

.admin-tab-content {
    display: none;
}

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

.admin-page-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.admin-header-row .admin-page-title {
    margin-bottom: 0;
}

.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.stat-icon.revenue { background-color: #e8f5e9; color: #2e7d32; }
.stat-icon.orders { background-color: #e3f2fd; color: #1565c0; }
.stat-icon.customers { background-color: #f3e5f5; color: #6a1b9a; }

.admin-table-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-card-header h3 {
    font-size: 0.95rem;
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.8rem;
}

.admin-table th,
.admin-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
}

.admin-table th {
    background-color: var(--color-bg-sec);
    color: var(--color-text-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
    background-color: var(--color-bg-sec);
}

.status-pill {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

.action-select {
    padding: 4px 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-bg);
    font-size: 0.75rem;
}

.btn-delete-order {
    color: var(--color-accent);
    margin-left: 6px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.store-footer {
    background-color: var(--color-bg-sec);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 20px;
    font-size: 0.85rem;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-header);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-col.about p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #E9E9E9;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
}

.footer-col.links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col.links a {
    color: var(--color-text-light);
}

.footer-col.links a:hover {
    color: var(--color-primary);
}

.footer-col.contact p {
    color: var(--color-text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 0.75rem;
}

/* ==========================================================================
   TOAST & CHAT BUBBLE
   ========================================================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-normal);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.1rem;
}

.toast-icon.fa-circle-check { color: #2ecc71; }
.toast-icon.fa-circle-exclamation { color: #e74c3c; }

.chat-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: #0084ff;
    color: var(--color-text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 800;
    transition: var(--transition-fast);
}

.chat-bubble:hover {
    transform: scale(1.06) rotate(5deg);
}

/* ==========================================================================
   BREADCRUMBS & CATALOG/DETAIL STYLES
   ========================================================================== */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.82rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-header);
}
.breadcrumbs a {
    color: var(--color-text-light);
    transition: var(--transition-fast);
}
.breadcrumbs a:hover {
    color: var(--color-primary);
}
.breadcrumbs .divider {
    color: #ccc;
}
.breadcrumbs .current-crumb {
    color: var(--color-primary);
    font-weight: 500;
}

/* Catalog Page Layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-top: 10px;
    margin-bottom: 60px;
}
.catalog-sidebar {
    border-right: 1px solid var(--color-border);
    padding-right: 20px;
}
.filter-group {
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
}
.filter-group:last-child {
    border-bottom: none;
}
.filter-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 12px;
}
.filter-group-header h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.filter-group-header i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}
.filter-group.collapsed .filter-group-header i {
    transform: rotate(180deg);
}
.filter-group-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}
.filter-group.collapsed .filter-group-content {
    max-height: 0;
    overflow: hidden;
    padding: 0;
}
.filter-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    cursor: pointer;
    width: 100%;
}
.filter-checkbox-label div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.filter-checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--color-primary);
    cursor: pointer;
}
.filter-count-badge {
    color: var(--color-text-light);
    font-size: 0.75rem;
}
.price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 5px;
}
.price-input-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    flex: 1;
}
.price-input-box span {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-right: 5px;
}
.price-input-box input {
    border: none;
    width: 100%;
    font-size: 0.8rem;
    background: transparent;
    outline: none;
}

/* Catalog Right Content Area */
.catalog-content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}
.catalog-title {
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    font-weight: 800;
}
.catalog-count-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 4px;
}
.catalog-sorting {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}
.catalog-sorting select {
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    background-color: var(--color-bg);
    cursor: pointer;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
}

/* Product Card Swatches */
.product-card-swatches {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 8px;
    align-items: center;
}
.card-swatch-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
}
.card-swatch-more {
    font-size: 0.7rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Product Detail Page Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    margin-top: 10px;
    margin-bottom: 60px;
}
.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.detail-main-image-wrapper {
    background-color: var(--color-bg-sec);
    border: 1px solid var(--color-border);
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.detail-main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-thumbs-wrapper {
    display: flex;
    gap: 10px;
}
.detail-thumb-item {
    width: 80px;
    height: 80px;
    border: 1px solid var(--color-border);
    cursor: pointer;
    overflow: hidden;
    background-color: var(--color-bg-sec);
}
.detail-thumb-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary);
}
.detail-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Detail Info Right Column */
.product-detail-info {
    display: flex;
    flex-direction: column;
}
.detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.detail-product-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.5px;
}
.detail-sku-row {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 8px;
}
.detail-price-row {
    margin-top: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.detail-price-row .price-sale {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent);
}
.detail-price-row .price-compare {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--color-text-light);
    margin-left: 15px;
}
.detail-price-row .price-regular {
    font-size: 1.6rem;
    font-weight: 700;
}
.detail-desc {
    color: #4a4a4a;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}

.selected-option-label {
    margin-left: 6px;
    text-transform: none;
    color: var(--color-text-light);
    font-weight: 400;
}

/* Large large buttons */
.detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}
.btn-add-cart-large {
    flex: 2;
    height: 52px;
    font-size: 0.95rem;
}
.btn-buy-now-large {
    flex: 1;
    height: 52px;
    font-size: 0.95rem;
}
.detail-social-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}
.detail-social-link {
    display: flex;
    align-items: center;
    gap: 6px;
}
.detail-social-link:hover {
    color: var(--color-primary);
}

/* Size chart styling */
.detail-size-chart-wrapper {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    margin-top: 20px;
}
.size-chart-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
.size-chart-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}
.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: center;
}
.size-chart-table th, .size-chart-table td {
    padding: 8px;
    border: 1px solid var(--color-border);
}
.size-chart-table th {
    background-color: var(--color-bg-sec);
    font-weight: 600;
    color: var(--color-text-heading);
}
.size-chart-image {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background-color: var(--color-bg-sec);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}
.shirt-vector {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vector-icon {
    font-size: 110px;
    color: #e2e8f0;
}
.shirt-width-arrow {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: #777;
    display: flex;
    justify-content: center;
}
.shirt-width-arrow::before, .shirt-width-arrow::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #777;
    border-left: 2px solid #777;
}
.shirt-width-arrow::before {
    left: 0;
    transform: rotate(-45deg);
}
.shirt-width-arrow::after {
    right: 0;
    transform: rotate(135deg);
}
.shirt-height-arrow {
    position: absolute;
    top: 20px;
    bottom: 20px;
    right: 30px;
    width: 2px;
    background-color: #777;
    display: flex;
    align-items: center;
}
.shirt-height-arrow::before, .shirt-height-arrow::after {
    content: '';
    position: absolute;
    left: -3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #777;
    border-left: 2px solid #777;
}
.shirt-height-arrow::before {
    top: 0;
    transform: rotate(45deg);
}
.shirt-height-arrow::after {
    bottom: 0;
    transform: rotate(-135deg);
}
.shirt-width-arrow .arrow-text {
    top: -10px;
}
.shirt-height-arrow .arrow-text {
    left: -20px;
    transform: rotate(90deg);
}

/* Policies */
.brand-features-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-top: 1px solid var(--color-border);
    margin-top: 30px;
    padding-top: 25px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-item i {
    font-size: 1.3rem;
    color: var(--color-text-heading);
}
.feature-item h5 {
    font-size: 0.8rem;
    font-weight: 700;
}
.feature-item p {
    font-size: 0.7rem;
    color: var(--color-text-light);
    line-height: 1.3;
}

/* Recently viewed */
.recently-viewed-section {
    border-top: 1px solid var(--color-border);
    margin-top: 50px;
    padding-top: 35px;
    margin-bottom: 40px;
}
.recently-viewed-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-align: center;
    font-family: var(--font-header);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-6 {
        grid-template-columns: repeat(4, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .admin-container {
        grid-template-columns: 200px 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 108px;
        left: -100%;
        width: 80%;
        max-width: 280px;
        height: calc(100vh - 108px);
        background-color: var(--color-bg-dark);
        padding: 30px 20px;
        transition: var(--transition-normal);
        z-index: 101;
        overflow-y: auto;
    }
    .nav-menu.open {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
    }
    .nav-menu a {
        padding: 8px 0;
    }
    .hero-banner {
        height: 380px;
    }
    .hero-content {
        left: 20px;
        bottom: 30px;
        max-width: 90%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .explore-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .grid-6, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .product-modal-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .modal-close-btn {
        top: 10px;
        right: 10px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .admin-container {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        padding: 15px;
    }
    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .admin-nav-item {
        white-space: nowrap;
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    .admin-content-area {
        padding: 15px;
    }
    .stats-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Catalog & Detail Page Responsive */
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .catalog-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-right: 0;
        padding-bottom: 20px;
    }
    .catalog-content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .catalog-sorting {
        width: 100%;
        justify-content: space-between;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .brand-features-bar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .detail-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn-add-cart-large, .btn-buy-now-large {
        width: 100%;
        height: 48px;
    }
}
