/* ============================================================
   Elzeve — Global Design System
   Best Custom Jersey | v1.0
   ============================================================ */

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

/* ============================================================
   CSS Variables — Design Tokens
   ============================================================ */
:root {
    /* Brand Colors */
    --clr-primary:        #2D7A3A;
    --clr-primary-light:  #3a9e4a;
    --clr-primary-dark:   #1B4D27;
    --clr-primary-glow:   rgba(45, 122, 58, 0.25);
    --clr-accent:         #FFC107;
    --clr-accent-dark:    #e6ac00;
    --clr-danger:         #e53935;
    --clr-success:        #43a047;
    --clr-warning:        #fb8c00;
    --clr-info:           #039be5;

    /* Backgrounds */
    --bg-base:            #FFFFFF;
    --bg-surface:         #F8F9FA;
    --bg-card:            #FFFFFF;
    --bg-card-hover:      #F0FDF4;
    --bg-overlay:         rgba(0,0,0,0.5);
    --bg-glass:           rgba(45, 122, 58, 0.05);
    --bg-glass-border:    rgba(45, 122, 58, 0.1);

    /* Text */
    --text-primary:       #111827;
    --text-secondary:     #4B5563;
    --text-muted:         #6B7280;
    --text-inverse:       #000000;

    /* Borders */
    --border:             #E5E7EB;
    --border-hover:       #D1D5DB;
    --border-primary:     rgba(45, 122, 58, 0.5);

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-pill: 999px;

    /* Shadows */
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.4);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.6);
    --shadow-glow:    0 0 20px var(--clr-primary-glow);
    --shadow-glow-lg: 0 0 40px rgba(45,122,58,0.35);
    --shadow-accent:  0 4px 20px rgba(255,193,7,0.3);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* Transitions */
    --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky:   200;
    --z-overlay:  300;
    --z-modal:    400;
    --z-toast:    500;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-base);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    outline: none;
    border: none;
    background: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--text-secondary); }

.text-gradient {
    background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-primary-color { color: var(--clr-primary-light); }
.text-accent { color: var(--clr-accent); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.section {
    padding: var(--space-3xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: var(--clr-primary);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: var(--clr-primary-dark);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.navbar-inner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    height: 70px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-glow);
}

.navbar-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
    color: #fff;
}

.navbar-logo-text span {
    color: var(--clr-accent);
}

.navbar-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    display: block;
    line-height: 1;
    margin-top: 1px;
}

.navbar-search {
    flex: 1;
    min-width: 220px;
    max-width: 400px;
    position: relative;
}

.navbar-search form {
    width: 100%;
    display: flex;
}

.navbar-search input {
    width: 100%;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-pill);
    padding: 0 var(--space-md) 0 42px;
    color: #fff;
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.navbar-search input:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.navbar-search input::placeholder {
    color: rgba(255,255,255,0.6);
}

.navbar-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    width: 16px;
    height: 16px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: auto;
}

.nav-link {
    padding: var(--space-sm) 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
}

.cart-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--clr-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-surface);
    z-index: var(--z-overlay);
    padding: var(--space-lg);
    flex-direction: column;
    gap: var(--space-sm);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-link {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--bg-glass);
    color: var(--text-primary);
    border-color: var(--border-primary);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0 var(--space-xl);
    height: 48px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: white;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 0.05; }
.btn:active::after { opacity: 0.1; }

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    color: white;
    box-shadow: 0 4px 15px var(--clr-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
}

.btn-accent {
    background: linear-gradient(135deg, var(--clr-accent), #ff8f00);
    color: var(--text-inverse);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,193,7,0.4);
}

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

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--border-hover);
}

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

.btn-outline-primary:hover {
    background: var(--clr-primary-glow);
    border-color: var(--clr-primary-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0 var(--space-md);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.btn-sm {
    height: 36px;
    padding: 0 var(--space-md);
    font-size: 0.85rem;
}

.btn-lg {
    height: 56px;
    padding: 0 var(--space-2xl);
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: var(--space-lg);
}

.card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.card-footer {
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border);
    background: var(--bg-glass);
}

/* Glass Card */
.card-glass {
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

/* ============================================================
   Product Card
   ============================================================ */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-primary);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5), var(--shadow-glow);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-surface);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-badges {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-new { background: var(--clr-primary); color: white; }
.badge-hot { background: #e53935; color: white; }
.badge-best { background: var(--clr-accent); color: #000; }
.badge-sale { background: #e53935; color: white; }
.badge-sport {
    background: rgba(255,255,255,0.1);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.product-card-actions {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.card-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-secondary);
}

.card-action-btn:hover {
    background: var(--clr-primary);
    color: white;
    border-color: var(--clr-primary);
}

.product-card-body {
    padding: var(--space-md);
}

.product-card-sport {
    font-size: 0.75rem;
    color: var(--clr-primary-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.product-card-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--space-sm);
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 12px;
    height: 12px;
    color: var(--clr-accent);
    fill: var(--clr-accent);
}

.star.empty {
    color: var(--text-muted);
    fill: none;
}

.rating-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.product-card-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--clr-accent);
}

.product-card-price .price-from {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
    margin-bottom: 2px;
}

.product-card-footer {
    padding: var(--space-sm) var(--space-md) var(--space-md);
    display: flex;
    gap: var(--space-sm);
}

.product-card-footer .btn {
    flex: 1;
    height: 38px;
    font-size: 0.8rem;
}

/* ============================================================
   Badges & Tags
   ============================================================ */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tag:hover,
.tag.active {
    background: var(--clr-primary-glow);
    border-color: var(--clr-primary);
    color: var(--clr-primary-light);
}

/* ============================================================
   Form Elements
   ============================================================ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-label span {
    color: var(--clr-danger);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 var(--space-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px var(--clr-primary-glow);
    background: var(--bg-card-hover);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-textarea {
    height: auto;
    padding: var(--space-md);
    resize: vertical;
    min-height: 100px;
}

/* ============================================================
   Section Heading
   ============================================================ */
.section-heading {
    margin-bottom: var(--space-2xl);
}

.section-heading-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-lg);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-primary-light);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-primary-light);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 0.95rem;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    position: relative;
    min-height: auto;
    padding: var(--space-xl) 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-base);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(45, 122, 58, 0.2), transparent),
                radial-gradient(ellipse 60% 60% at 20% 80%, rgba(255, 193, 7, 0.08), transparent);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(45,122,58,0.2), rgba(255,193,7,0.1));
    border: 1px solid rgba(45,122,58,0.4);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    animation: fadeInDown 0.6s ease;
}

.hero-badge svg { color: var(--clr-primary-light); }

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fadeIn 1s ease 0.5s both;
    overflow: visible;
}

.hero-jersey-display {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-jersey-main {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
    position: relative;
    z-index: 1;
}

.hero-jersey-float {
    position: absolute;
    padding: var(--space-md);
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    z-index: 30;
}

.hero-float-1 {
    bottom: -16px;
    left: -24px;
    animation: float 3s ease-in-out infinite;
    min-width: 150px;
}

.hero-float-2 {
    top: 20px;
    right: -24px;
    animation: float 3s ease-in-out infinite 1.5s;
    min-width: 160px;
}

/* ============================================================
   Category Chips
   ============================================================ */
.category-chips {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.category-chip:hover,
.category-chip.active {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    border-color: var(--clr-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.category-chip-icon {
    font-size: 1.1rem;
}

/* ============================================================
   How It Works
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: calc(16.66% + 16px);
    right: calc(16.66% + 16px);
    height: 1px;
    background: linear-gradient(90deg, var(--clr-primary), transparent 50%, var(--clr-primary));
    opacity: 0.3;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    position: relative;
    transition: var(--transition-base);
}

.step-card:hover {
    border-color: var(--border-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--clr-primary);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--clr-primary-glow), rgba(255,193,7,0.1));
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2rem;
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--border-primary);
    box-shadow: var(--shadow-glow);
}

.testimonial-quote {
    font-size: 2.5rem;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: var(--space-md);
    font-family: serif;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   CTA Banner
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--clr-primary-dark), var(--clr-primary), #1a472a);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3e%3cdefs%3e%3cpattern id='p' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3e%3ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.05)'/%3e%3c/pattern%3e%3c/defs%3e%3crect width='100%25' height='100%25' fill='url(%23p)'/%3e%3c/svg%3e");
    opacity: 0.5;
}

.cta-banner > * { position: relative; z-index: 1; }

.cta-banner h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: var(--space-xl);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--clr-primary);
    border-top: none;
    padding: var(--space-xl) 0 var(--space-md);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand-desc {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: var(--space-md) 0 var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.footer-social-link:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.3);
    color: white;
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-sm);
}

.footer-contact-item svg {
    flex-shrink: 0;
    color: #fff;
    margin-top: 2px;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.footer-bottom-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

.footer-payment-icons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.payment-icon {
    padding: 4px 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    color: #fff;
    font-weight: 600;
}

/* ============================================================
   Page Header
   ============================================================ */
.page-header {
    padding: var(--space-3xl) 0 var(--space-2xl);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at left, rgba(45,122,58,0.1), transparent);
}

.page-header > * { position: relative; z-index: 1; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.breadcrumb a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.breadcrumb a:hover { color: var(--clr-primary-light); }

.breadcrumb-sep { color: var(--text-muted); }
.breadcrumb-current { color: var(--text-secondary); }

/* ============================================================
   Filters / Sidebar
   ============================================================ */
.filter-sidebar {
    position: sticky;
    top: 90px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    height: fit-content;
}

.filter-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
}

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

.filter-section-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.filter-option:hover { background: var(--bg-glass); }

.filter-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-hover);
    border-radius: 4px;
    cursor: pointer;
    accent-color: var(--clr-primary);
    flex-shrink: 0;
}

.filter-option-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.filter-option input:checked ~ .filter-option-label {
    color: var(--text-primary);
}

/* Price Range Slider */
.price-range {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.price-range-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.range-input {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    accent-color: var(--clr-primary);
    cursor: pointer;
}

/* ============================================================
   Color Swatch
   ============================================================ */
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    position: relative;
}

.color-swatch:hover,
.color-swatch.active {
    border-color: white;
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

.color-swatch.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ============================================================
   Size Selector
   ============================================================ */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.size-option {
    min-width: 42px;
    height: 42px;
    padding: 0 var(--space-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    color: var(--text-secondary);
}

.size-option:hover,
.size-option.active {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
    color: white;
}

/* ============================================================
   Quantity Input
   ============================================================ */
.quantity-input {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.qty-btn:hover { background: var(--bg-glass); color: var(--text-primary); }

.qty-value {
    min-width: 48px;
    height: 44px;
    border: none;
    background: none;
    text-align: center;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

/* ============================================================
   Toast Notification
   ============================================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    pointer-events: all;
    animation: slideInRight 0.3s ease;
    min-width: 280px;
    max-width: 380px;
}

.toast.success { border-left: 3px solid var(--clr-success); }
.toast.error   { border-left: 3px solid var(--clr-danger); }
.toast.info    { border-left: 3px solid var(--clr-info); }
.toast.warning { border-left: 3px solid var(--clr-warning); }

.toast-icon { flex-shrink: 0; }
.toast-text { font-size: 0.88rem; color: var(--text-primary); flex: 1; }
.toast-close {
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    background: none;
    border: none;
    padding: 4px;
}
.toast-close:hover { color: var(--text-primary); }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px var(--clr-primary-glow); }
    50%       { box-shadow: 0 0 30px rgba(45,122,58,0.5); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.animate-fade-in    { animation: fadeIn 0.5s ease both; }
.animate-fade-up    { animation: fadeInUp 0.5s ease both; }
.animate-float      { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

/* Scroll animation trigger */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-card-hover); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   Selection
   ============================================================ */
::selection {
    background: var(--clr-primary);
    color: white;
}

/* ============================================================
   Landing Page Sections
   ============================================================ */
/* Bahan Kain Card */
.bahan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
    height: 100%;
}
.bahan-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-primary);
    box-shadow: var(--shadow-md);
}
.bahan-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto var(--space-md);
    color: var(--clr-primary);
}

/* Size Chart Table */
.size-chart-container {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.size-chart-table th {
    background: var(--clr-primary);
    color: white;
    padding: var(--space-md);
    font-family: var(--font-heading);
    font-weight: 700;
}
.size-chart-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}
.size-chart-table tr:last-child td {
    border-bottom: none;
}
.size-chart-table tr:hover td {
    background: var(--bg-surface);
}

/* Flowchart (Alur Pemesanan) */
.flowchart-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
    position: relative;
    overflow-x: auto;
    padding-bottom: var(--space-lg);
}
.flow-step {
    flex: 1;
    min-width: 220px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.flow-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto var(--space-md);
    box-shadow: 0 4px 15px rgba(45,122,58,0.2);
    position: relative;
    background-color: var(--bg-card);
}
.flow-line {
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-primary) 0%, transparent 100%);
    z-index: 1;
}

@media (max-width: 768px) {
    .flowchart-wrapper {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
    }
    .flow-line {
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 40px;
        background: linear-gradient(180deg, var(--clr-primary) 0%, transparent 100%);
    }
}

/* Shortcut Cards (Quick Links) */
.shortcut-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    background: var(--clr-primary);
    border: none;
    border-radius: var(--radius-pill);
    padding: var(--space-xs) var(--space-sm);
    text-decoration: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}
.shortcut-card:hover {
    transform: translateY(-2px);
    background: var(--clr-primary-dark);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}
.shortcut-icon {
    font-size: 1.1rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .navbar-search { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: flex; }
    
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .hero-stats { gap: var(--space-lg); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    
    .section { padding: var(--space-3xl) 0; }
    .section-heading-inner { flex-direction: column; align-items: flex-start; }
    
    .container { padding: 0 var(--space-md); }
}

@media (max-width: 480px) {
    .hero { min-height: 75vh; }
    .category-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: var(--space-sm); }
    .category-chip { flex-shrink: 0; }
    
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   Scroll Reveal Animations
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
