/* ============================================
   CigarForge - Tesla-Inspired Premium Design
   ============================================ */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --accent-orange: #ff6b35;
    --accent-orange-light: #ff8855;
    --accent-gold: #d4a574;
    --border-subtle: #2a2a2a;
    --success: #4ade80;
    --success-dark: #22c55e;
    
    /* Forge temperature colors */
    --forge-cold: #4a5568;
    --forge-warm: #ff6b35;
    --forge-hot: #ef4444;
    --forge-white-hot: #ffffff;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow-orange: 0 0 60px rgba(255, 107, 53, 0.4);
    --shadow-glow-white: 0 0 80px rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ============ HEADER ============ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.98);
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 53px;
    height: 53px;
    position: relative;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--text-primary);
}

nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Search Bar */
.search-container {
    position: relative;
}

.search-input {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 10px 16px 10px 40px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    width: 280px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-orange);
    width: 320px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

/* Cart Button */
.cart-btn {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

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

.cart-count {
    background: var(--accent-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* ============ MEGA FORGE INDICATOR ============ */
.forge-indicator {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    background: linear-gradient(145deg, #1e1e1e, #151515);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 24px;
    min-width: 340px;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Forge toggle - hidden on desktop */
.forge-toggle {
    display: none;
}

.forge-indicator::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(145deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.5s;
}

.forge-indicator.heated {
    border-color: var(--forge-warm);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 107, 53, 0.25);
}

.forge-indicator.heated::before {
    background: linear-gradient(145deg, var(--forge-warm), transparent);
}

.forge-indicator.hot {
    border-color: var(--forge-hot);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(239, 68, 68, 0.35);
}

.forge-indicator.hot::before {
    background: linear-gradient(145deg, var(--forge-hot), var(--forge-warm));
}

.forge-indicator.white-hot {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg), var(--shadow-glow-white);
}

.forge-indicator.white-hot::before {
    background: linear-gradient(145deg, #ffffff, var(--forge-hot));
}

.forge-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

/* MEGA FORGE ICON */
.forge-icon-container {
    width: 80px;
    height: 80px;
    position: relative;
    flex-shrink: 0;
}

.forge-icon-container svg {
    width: 100%;
    height: 100%;
    transition: all 0.5s;
}

.forge-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--forge-cold) 0%, transparent 70%);
    opacity: 0.3;
    transition: all 0.5s;
    z-index: -1;
}

.forge-indicator.heated .forge-glow {
    background: radial-gradient(circle, var(--forge-warm) 0%, transparent 70%);
    opacity: 0.5;
    animation: pulse-glow 2s ease-in-out infinite;
}

.forge-indicator.hot .forge-glow {
    background: radial-gradient(circle, var(--forge-hot) 0%, transparent 70%);
    opacity: 0.6;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

.forge-indicator.white-hot .forge-glow {
    inset: -20px;
    background: radial-gradient(circle, #ffffff 0%, var(--forge-hot) 40%, transparent 70%);
    opacity: 0.8;
    animation: pulse-glow-intense 1s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

@keyframes pulse-glow-intense {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 1; }
}

.forge-title {
    flex: 1;
}

.forge-title h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.forge-tier-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forge-tier-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    transition: all 0.3s;
}

.forge-indicator.heated .forge-tier-badge {
    background: rgba(255, 107, 53, 0.2);
    color: var(--forge-warm);
}

.forge-indicator.hot .forge-tier-badge {
    background: rgba(239, 68, 68, 0.2);
    color: var(--forge-hot);
}

.forge-indicator.white-hot .forge-tier-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-shadow: 0 0 10px #fff;
}

.forge-discount-display {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-muted);
    transition: all 0.3s;
}

.forge-indicator.heated .forge-discount-display,
.forge-indicator.hot .forge-discount-display {
    color: var(--success);
}

.forge-indicator.white-hot .forge-discount-display {
    color: #ffffff;
    text-shadow: 0 0 20px #fff;
}

/* Forge Box System */
.forge-boxes {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    padding: 0 4px;
}

.forge-box {
    flex: 1;
    height: 32px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-subtle);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.forge-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.forge-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: var(--forge-cold);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Filled box states */
.forge-box.filled::after {
    height: 100%;
}

.forge-box.filled::before {
    opacity: 1;
}

.forge-box.filled {
    border-color: var(--forge-cold);
    box-shadow: 0 0 10px rgba(74, 85, 104, 0.3);
}

/* Tier-based colors for filled boxes */
.forge-box.tier-cold::after {
    background: linear-gradient(180deg, #6b7280 0%, #4a5568 100%);
}
.forge-box.tier-cold.filled {
    border-color: #6b7280;
    box-shadow: 0 0 12px rgba(107, 114, 128, 0.4);
}

.forge-box.tier-heated::after {
    background: linear-gradient(180deg, #ff8855 0%, #ff6b35 100%);
}
.forge-box.tier-heated.filled {
    border-color: var(--forge-warm);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
    animation: box-pulse-warm 2s ease-in-out infinite;
}

.forge-box.tier-hot::after {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
}
.forge-box.tier-hot.filled {
    border-color: var(--forge-hot);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.6);
    animation: box-pulse-hot 1.5s ease-in-out infinite;
}

.forge-box.tier-white-hot::after {
    background: linear-gradient(180deg, #ffffff 0%, #fbbf24 50%, #ef4444 100%);
}
.forge-box.tier-white-hot.filled {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.7), 0 0 40px rgba(255, 187, 36, 0.4);
    animation: box-pulse-white 1s ease-in-out infinite;
}

/* Box pulse animations */
@keyframes box-pulse-warm {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 107, 53, 0.4); }
    50% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.6); }
}

@keyframes box-pulse-hot {
    0%, 100% { box-shadow: 0 0 18px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.7); }
}

@keyframes box-pulse-white {
    0%, 100% { 
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 187, 36, 0.3);
    }
    50% { 
        box-shadow: 0 0 35px rgba(255, 255, 255, 0.9), 0 0 50px rgba(255, 187, 36, 0.5);
    }
}

/* Fill animation for newly added box */
.forge-box.just-filled::after {
    animation: fill-rise 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fill-rise {
    0% { height: 0%; }
    100% { height: 100%; }
}

/* Tier labels below boxes */
.forge-box-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    margin-bottom: 16px;
}

.tier-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.tier-label.cold { width: 25%; text-align: left; }
.tier-label.heated { width: 25%; text-align: center; }
.tier-label.hot { width: 25%; text-align: center; }
.tier-label.white-hot { width: 25%; text-align: right; }

/* Active tier label highlighting */
.forge-indicator .tier-label.active {
    color: var(--text-primary);
}

.forge-indicator.heated .tier-label.heated.active {
    color: var(--forge-warm);
}

.forge-indicator.hot .tier-label.hot.active {
    color: var(--forge-hot);
}

.forge-indicator.white-hot .tier-label.white-hot.active {
    color: #ffffff;
    text-shadow: 0 0 10px #fff;
}

/* Overflow indicator for 8+ packs */
.forge-box.overflow {
    position: relative;
}

.forge-box.overflow::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    opacity: 1;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Forge Stats */
.forge-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.forge-stat {
    text-align: center;
    padding: 16px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.forge-stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    transition: all 0.3s;
    line-height: 1;
}

.forge-stat-value.savings {
    color: var(--success);
}

.forge-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* MASSIVE SAVINGS DISPLAY */
.forge-savings-banner {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.forge-savings-banner .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--success);
    margin-bottom: 4px;
}

.forge-savings-banner .amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
}

.forge-savings-banner .vs-msrp {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Checkout Button */
.forge-cta {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.forge-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.forge-cta:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============ HERO SECTION ============ */
.hero {
    padding: 160px 24px 120px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1527525443983-6e60c75fff46?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.7) 0%, 
        rgba(10, 10, 10, 0.4) 30%, 
        rgba(10, 10, 10, 0.6) 70%, 
        rgba(10, 10, 10, 1) 100%);
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent-orange);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent-orange), #ffaa66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    color: white;
    padding: 18px 40px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

/* ============ VALUE PROPOSITION ============ */
.value-prop {
    background: var(--bg-secondary);
    padding: 100px 24px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.value-prop-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s;
}

.value-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 28px;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============ CTA BANNERS ============ */
.cta-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(10, 10, 10, 1) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: float-glow 8s ease-in-out infinite;
}

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 30px); }
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.cta-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow-orange);
}

.cta-card:hover::before {
    transform: scaleX(1);
}

.cta-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    animation: bounce-gentle 2s ease-in-out infinite;
}

.cta-card:nth-child(2) .cta-icon {
    animation-delay: 0.3s;
}

.cta-card:nth-child(3) .cta-icon {
    animation-delay: 0.6s;
}

@keyframes bounce-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.cta-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Megaphone animation */
.megaphone-icon {
    display: inline-block;
    position: relative;
}

.megaphone-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: sound-wave 1.5s ease-out infinite;
}

@keyframes sound-wave {
    0% { transform: translateY(-50%) scale(0.5); opacity: 1; }
    100% { transform: translateY(-50%) scale(2); opacity: 0; }
}

@media (max-width: 900px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-card {
        padding: 32px 24px;
    }
}

/* ============ SAVINGS TIERS ============ */
.tiers-section {
    padding: 120px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.tier-card {
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    position: relative;
    transition: all 0.4s;
}

.tier-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
}

.tier-card.recommended {
    border-color: var(--accent-orange);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.08) 0%, var(--bg-card) 100%);
}

.tier-card.recommended::before {
    content: 'BEST VALUE';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.tier-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.tier-card:nth-child(1) .tier-icon { background: linear-gradient(135deg, #4a5568, #718096); }
.tier-card:nth-child(2) .tier-icon { background: linear-gradient(135deg, #ff6b35, #ff8855); }
.tier-card:nth-child(3) .tier-icon { background: linear-gradient(135deg, #ef4444, #f87171); }
.tier-card:nth-child(4) .tier-icon { background: linear-gradient(135deg, #fbbf24, #ffffff); }

.tier-name {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 600;
}

.tier-discount {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
}

.tier-card:nth-child(1) .tier-discount { color: var(--text-secondary); }
.tier-card:nth-child(2) .tier-discount { color: var(--forge-warm); }
.tier-card:nth-child(3) .tier-discount { color: var(--forge-hot); }
.tier-card:nth-child(4) .tier-discount { color: #ffffff; text-shadow: 0 0 20px #fff; }

.tier-requirement {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============ PRODUCTS SECTION ============ */
.products-section {
    padding: 100px 24px 120px;
    background: var(--bg-secondary);
}

.products-container {
    max-width: 1600px;
    margin: 0 auto;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.products-header h2 {
    font-size: 32px;
    font-weight: 700;
}

.products-count {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.products-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.products-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

.filter-btn.active {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
}

.view-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.view-toggle button {
    background: none;
    border: none;
    padding: 10px 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.view-toggle button:hover {
    color: var(--text-primary);
}

.view-toggle button.active {
    background: var(--accent-orange);
    color: white;
}

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

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

.products-grid.list-view {
    grid-template-columns: 1fr;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s;
}

.product-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.product-card.in-cart {
    border-color: var(--success);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.product-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.product-image .placeholder {
    font-size: 56px;
    opacity: 0.2;
}

.product-image .cigar-placeholder {
    width: 80%;
    height: auto;
    opacity: 0.5;
}

.product-image .cigar-placeholder svg {
    width: 100%;
    height: auto;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.staff-pick { background: var(--accent-gold); }
.product-badge.best-seller { background: var(--forge-hot); }
.product-badge.new { background: #22c55e; }
.product-badge.premium { background: #8b5cf6; }
.product-badge.value-pick { background: #06b6d4; }
.product-badge.fan-favorite { background: #ec4899; }

.product-savings-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(74, 222, 128, 0.95);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
}

.product-info {
    padding: 24px;
}

.product-brand {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 600;
}

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

.product-specs {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.product-specs .strength {
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--bg-secondary);
    text-transform: capitalize;
}

.product-specs .strength.mild { color: #86efac; }
.product-specs .strength.medium { color: #fcd34d; }
.product-specs .strength.full { color: #fca5a5; }

.product-pricing {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.product-price-group {
    display: flex;
    flex-direction: column;
}

.product-price {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.product-msrp {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-top: 4px;
}

.product-savings {
    text-align: right;
}

.product-savings-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--success);
}

.product-savings-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Add to Cart Button */
.add-to-cart {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.add-to-cart.added {
    background: var(--success);
    border-color: var(--success);
    color: #000;
}

.add-to-cart .qty-controls {
    display: none;
}

.add-to-cart.in-cart .qty-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.add-to-cart.in-cart .add-text {
    display: none;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============ BUILD A BOX SECTION ============ */
.build-box-section {
    padding: 120px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.build-box-card {
    background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
    border: 2px solid var(--accent-orange);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.build-box-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
    animation: rotate-gradient 20s linear infinite;
}

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

.build-box-content {
    position: relative;
    z-index: 1;
}

.build-box-icon {
    font-size: 72px;
    margin-bottom: 28px;
}

.build-box-card h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}

.build-box-card > p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 550px;
    margin: 0 auto 40px;
}

.box-options {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.box-option {
    background: var(--bg-primary);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    cursor: pointer;
    transition: all 0.35s;
    min-width: 220px;
}

.box-option:hover {
    border-color: var(--accent-orange);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow-orange);
}

.box-option h4 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.box-option p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.box-option .discount {
    color: var(--success);
    font-size: 16px;
    font-weight: 700;
}

/* ============ LOADING STATE ============ */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    gap: 20px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============ NO RESULTS ============ */
.no-results {
    text-align: center;
    padding: 80px 24px;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

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

/* ============ FOOTER ============ */
footer {
    padding: 80px 24px 40px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 20px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============ CART MODAL ============ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    position: fixed;
    top: 0;
    right: -480px;
    width: 480px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    z-index: 301;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-modal.open {
    right: 0;
}

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

.cart-header h2 {
    font-size: 20px;
    font-weight: 700;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s;
}

.cart-close:hover {
    color: var(--text-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-item-image {
    width: 80px;
    height: 60px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-brand {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
    margin-top: 8px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
}

.cart-item-remove:hover {
    color: var(--forge-hot);
}

.cart-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

.cart-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.cart-totals {
    margin-bottom: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.cart-total-row.subtotal {
    color: var(--text-secondary);
}

.cart-total-row.discount {
    color: var(--success);
}

.cart-total-row.savings {
    color: var(--success);
    font-weight: 600;
}

.cart-total-row.total {
    font-size: 18px;
    font-weight: 700;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 12px;
}

.cart-checkout-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* ============ RESPONSIVE ============ */
/* ============ TABLET (1024px) ============ */
@media (max-width: 1024px) {
    nav {
        display: none;
    }
    
    .search-input {
        width: 200px;
    }
    
    .search-input:focus {
        width: 240px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .value-prop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============ MOBILE (768px) ============ */
@media (max-width: 768px) {
    /* Collapsible Forge Indicator */
    .forge-indicator {
        bottom: 0;
        right: 0;
        left: 0;
        min-width: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        padding: 16px;
        max-height: 180px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .forge-indicator.collapsed {
        max-height: 72px;
        padding: 12px 16px;
    }
    
    .forge-indicator.collapsed .forge-boxes,
    .forge-indicator.collapsed .forge-box-labels,
    .forge-indicator.collapsed .forge-savings-banner,
    .forge-indicator.collapsed .forge-stats,
    .forge-indicator.collapsed .forge-cta {
        display: none;
    }
    
    .forge-indicator.collapsed .forge-header {
        margin-bottom: 0;
    }
    
    /* Mobile forge toggle button */
    .forge-toggle {
        display: flex;
        position: absolute;
        top: -32px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-bottom: none;
        border-radius: 12px 12px 0 0;
        padding: 8px 20px;
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        gap: 6px;
        align-items: center;
    }
    
    .forge-toggle-arrow {
        transition: transform 0.3s;
    }
    
    .forge-indicator.collapsed .forge-toggle-arrow {
        transform: rotate(180deg);
    }
    
    .forge-header {
        margin-bottom: 12px;
        gap: 12px;
    }
    
    .forge-icon-container {
        width: 48px;
        height: 48px;
    }
    
    .forge-title h3 {
        font-size: 14px;
    }
    
    .forge-discount-display {
        font-size: 18px;
    }
    
    .forge-boxes {
        margin-bottom: 6px;
    }
    
    .forge-box {
        height: 24px;
    }
    
    .forge-box-labels {
        margin-bottom: 10px;
    }
    
    .forge-savings-banner {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .forge-savings-banner .amount {
        font-size: 24px;
    }
    
    .forge-stats {
        display: none; /* Hide stats on mobile - redundant with header */
    }
    
    .forge-cta {
        padding: 14px;
        font-size: 14px;
    }
    
    /* Header */
    .header-content {
        padding: 10px 16px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .cart-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* Hero */
    .hero {
        padding: 120px 16px 60px;
    }
    
    .hero h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 8px 14px;
    }
    
    .hero-cta {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    /* Value Props */
    .value-prop {
        padding: 60px 16px;
    }
    
    .value-prop-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .value-card {
        padding: 24px 20px;
    }
    
    .value-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .value-card h3 {
        font-size: 17px;
    }
    
    .value-card p {
        font-size: 14px;
    }
    
    /* Tiers */
    .tiers-section {
        padding: 60px 16px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tier-card {
        padding: 24px 16px;
    }
    
    .tier-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .tier-discount {
        font-size: 36px;
    }
    
    .tier-requirement {
        font-size: 12px;
    }
    
    /* Products Section */
    .products-section {
        padding: 60px 16px 160px; /* Extra bottom padding for floating indicator */
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .products-header h2 {
        font-size: 24px;
    }
    
    .products-controls {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    /* Horizontal scroll filters */
    .products-filters {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .products-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
        min-height: 44px; /* Touch target */
    }
    
    .sort-select {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .view-toggle {
        display: none; /* Hide on mobile - always grid */
    }
    
    /* Product Grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Product Cards - Compact Mobile */
    .product-card {
        border-radius: var(--radius-md);
    }
    
    .product-image {
        aspect-ratio: 1/1;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-brand {
        font-size: 9px;
        margin-bottom: 2px;
    }
    
    .product-name {
        font-size: 13px;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
    }
    
    .product-specs {
        display: none; /* Hide on mobile */
    }
    
    .product-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .product-msrp {
        font-size: 11px;
    }
    
    .product-savings {
        display: none; /* Use badge instead */
    }
    
    .product-savings-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .product-badge {
        font-size: 8px;
        padding: 3px 6px;
    }
    
    .add-to-cart {
        padding: 12px 8px;
        font-size: 12px;
        min-height: 44px;
    }
    
    /* Build Box */
    .build-box-section {
        padding: 60px 16px 160px;
    }
    
    .build-box-card {
        padding: 32px 20px;
        border-radius: var(--radius-lg);
    }
    
    .build-box-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .build-box-card h2 {
        font-size: 24px;
    }
    
    .build-box-card > .build-box-content > p {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .box-options {
        flex-direction: column;
        gap: 12px;
    }
    
    .box-option {
        padding: 20px 24px;
        min-width: auto;
        width: 100%;
    }
    
    .box-option h4 {
        font-size: 22px;
    }
    
    /* Footer */
    footer {
        padding: 60px 16px 160px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4 {
        margin-bottom: 12px;
    }
    
    .footer-column a {
        margin-bottom: 8px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    /* Cart Modal - Full screen on mobile */
    .cart-modal {
        width: 100%;
        right: -100%;
    }
    
    .cart-modal.open {
        right: 0;
    }
    
    .cart-header {
        padding: 16px;
    }
    
    .cart-items {
        padding: 12px 16px;
    }
    
    .cart-item {
        padding: 12px 0;
    }
    
    .cart-item-image {
        width: 60px;
        height: 45px;
    }
    
    .cart-footer {
        padding: 16px;
    }
    
    /* Load More */
    .load-more-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* ============ SMALL MOBILE (480px) ============ */
@media (max-width: 480px) {
    .header-content {
        padding: 10px 12px;
    }
    
    .search-container {
        display: none;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    /* Single column products on very small screens */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        aspect-ratio: 16/10;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-name {
        font-size: 15px;
    }
    
    .product-price {
        font-size: 22px;
    }
    
    .add-to-cart {
        padding: 14px;
        font-size: 14px;
    }
    
    .tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .forge-boxes {
        gap: 3px;
    }
    
    .forge-box {
        height: 20px;
        border-radius: 3px;
        border-width: 1px;
    }
    
    .tier-label {
        font-size: 7px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 15px;
    }
}

/* ============ LANDSCAPE MOBILE ============ */
@media (max-height: 500px) and (orientation: landscape) {
    .forge-indicator {
        max-height: 120px;
        padding: 10px 16px;
    }
    
    .forge-indicator .forge-savings-banner,
    .forge-indicator .forge-stats {
        display: none;
    }
    
    .forge-header {
        margin-bottom: 8px;
    }
    
    .forge-icon-container {
        width: 40px;
        height: 40px;
    }
    
    .forge-box {
        height: 18px;
    }
    
    .forge-cta {
        padding: 10px;
        font-size: 13px;
    }
}

/* ============ TOUCH DEVICE OPTIMIZATIONS ============ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .filter-btn,
    .add-to-cart,
    .cart-btn,
    .forge-cta,
    .hero-cta,
    .box-option,
    .load-more-btn {
        min-height: 48px;
    }
    
    /* Remove hover effects that don't work on touch */
    .product-card:hover {
        transform: none;
    }
    
    .value-card:hover {
        transform: none;
    }
    
    .tier-card:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .product-card:active {
        transform: scale(0.98);
    }
    
    .add-to-cart:active {
        transform: scale(0.95);
    }
    
    .filter-btn:active {
        transform: scale(0.95);
    }
}

/* ============ SAFE AREA (notch phones) ============ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .forge-indicator {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
    
    @media (max-width: 768px) {
        .forge-indicator {
            padding-bottom: calc(12px + env(safe-area-inset-bottom));
        }
    }
}

/* Product Images */
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* In Cart Button - Green highlight */
.add-to-cart.in-cart-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border-color: #10b981 !important;
    color: white !important;
}

.add-to-cart.in-cart-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
}

/* Load More Button */
.load-more-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.showing-count {
    color: #888;
    font-size: 0.9rem;
}
