/* ==========================================================================
   SteelSocks.com — Modern, Premium & Mobile-First Design System
   ========================================================================== */

/* --- Custom Properties & Variables --- */
:root {
    --bg-primary: #FAFAF7;
    --bg-secondary: #F0EDE8;
    --bg-tertiary: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-muted: #7C7C8A;
    --text-dark: #1c1c1e;
    
    /* Brand Accents */
    --accent-coral: #FF6B35;
    --accent-pink: #FF1493;
    --accent-purple: #8B5CF6;
    --accent-red: #ff3b30;
    --accent-green: #10B981;
    
    /* Legacy alias so old var(--accent-yellow) refs don't break */
    --accent-yellow: #FF6B35;
    --accent-orange: #FF6B35;
    
    /* Borders & Glass */
    --border-color: rgba(26, 26, 46, 0.08);
    --border-hover: rgba(26, 26, 46, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-blur: blur(16px);
    
    /* Layout */
    --navbar-height: 70px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --container-width: 1280px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

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

button {
    cursor: pointer;
}

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

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #C8C5BE;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B0ADA6;
}

/* --- Loader (Loading Screen) --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(26, 26, 46, 0.08);
    border-top-color: var(--accent-coral);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

.loader-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Background Orbs (Premium Depth) --- */
.bg-orb {
    position: fixed;
    width: 45vw;
    height: 45vw;
    max-width: 600px;
    max-height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
}

.bg-orb-1 {
    background: radial-gradient(circle, #FF6B35 0%, transparent 80%);
    top: -10%;
    left: -10%;
}

.bg-orb-2 {
    background: radial-gradient(circle, #FF1493 0%, transparent 80%);
    bottom: 10%;
    right: -10%;
}

.bg-orb-3 {
    background: radial-gradient(circle, #8B5CF6 0%, transparent 80%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- Utility Classes --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-danger { color: var(--accent-red) !important; }
.mt-4 { margin-top: 1.5rem; }
.hidden-desktop { display: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35, #FF1493);
    color: #ffffff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF1493, #8B5CF6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

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

.btn-ghost:hover {
    background-color: rgba(26, 26, 46, 0.05);
    border-color: var(--text-primary);
}

.btn-accent {
    background: linear-gradient(135deg, #8B5CF6, #FF1493);
    color: #ffffff;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--border-radius-md);
}

.btn-full {
    width: 100%;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
}

/* --- Shipping Status Bar --- */
.shipping-bar-container {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 24px;
    position: sticky;
    top: 0;
    z-index: 1001;
    font-size: 0.75rem;
    font-weight: 600;
}

.shipping-bar-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.shipping-bar-text {
    text-align: center;
    letter-spacing: 0.05em;
}

.shipping-bar-text span {
    color: var(--accent-yellow);
}

.shipping-bar-progress-bg {
    width: 100%;
    max-width: 400px;
    height: 4px;
    background: rgba(26, 26, 46, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.shipping-bar-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-yellow));
    border-radius: 2px;
    transition: width 0.4s ease-out;
}

/* --- Navigation --- */
#navbar {
    height: var(--navbar-height);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
}

.nav-logo-steel {
    background: linear-gradient(135deg, #8B939A 0%, #C0C8D0 50%, #6B7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo-socks {
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B35 0%, #FF1493 50%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

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

/* User Account Icon Container */
.nav-user-container {
    position: relative;
}

.nav-user-btn, .nav-cart-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.nav-user-btn:hover, .nav-cart-btn:hover {
    background: rgba(26, 26, 46, 0.05);
    border-color: var(--border-color);
}

.nav-cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-yellow);
    color: var(--bg-primary);
    font-size: 0.6875rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown Menu for User */
.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.15);
    padding: 16px;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 1010;
}

.nav-user-container.active .nav-user-dropdown {
    display: flex;
}

.dropdown-header {
    display: flex;
    flex-direction: column;
}

.dropdown-header .user-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.dropdown-header .user-email {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
}

.dropdown-item {
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 8px 0;
    text-align: left;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    color: var(--accent-yellow);
}

/* --- Hero Section (Apple-like Bold Impact) --- */
#hero {
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 24px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg, #1A1A2E 30%, #FF6B35 60%, #FF1493 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 2px;
    height: 15px;
    background: var(--text-muted);
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid var(--text-muted);
    border-right: 2px solid var(--text-muted);
    transform: translateX(-50%) rotate(45deg);
}

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

/* --- Carousel Category Slider (Horizontal Scroll) --- */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.slider-container {
    overflow-x: auto;
    padding-bottom: 24px;
    display: flex;
    gap: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.slider-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.slider-item {
    scroll-snap-align: start;
    flex: 0 0 280px;
}

/* --- Products Section --- */
#products {
    padding: 100px 0;
}

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

.products-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    gap: 20px;
}

.products-filter {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.products-filter::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

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

/* --- Categories Wrapper (Grouped Vertical Grid View) --- */
.categories-wrapper {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.category-section {
    position: relative;
}

.category-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.category-section-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-section-emoji {
    font-size: 1.5rem;
    line-height: 1;
}

.category-section-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.category-section-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* --- Category Grid (Vertical, same as products-grid) --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 24px;
}

/* --- Product Card (Premium Nike Style) --- */
.product-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.product-image-container {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #F5F3EF;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-orange);
    color: var(--text-primary);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    z-index: 2;
}

.product-quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    z-index: 2;
}

.product-card:hover .product-quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-quick-add .btn {
    padding: 8px 16px;
    font-size: 0.75rem;
    width: 90%;
}

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

.product-brand {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.product-title {
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6rem;
}

.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.price-original {
    font-size: 0.8125rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.price-current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Couple Banner Section --- */
.promo-banner-section {
    padding: 60px 0;
}

.promo-banner {
    width: 100%;
    min-height: 420px;
    background: linear-gradient(135deg, #F5F3EF 0%, #E8E5E0 100%);
    position: relative;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px;
}

.promo-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.promo-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--accent-yellow);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.promo-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.promo-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.promo-image-bg {
    position: absolute;
    right: 5%;
    bottom: -10%;
    width: 450px;
    height: 110%;
    object-fit: contain;
    z-index: 1;
    opacity: 0.75;
    pointer-events: none;
    transform: rotate(-10deg);
}

/* --- Müşteri Yorumları (Testimonials) --- */
#testimonials {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.testimonial-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.testimonial-stars {
    color: var(--accent-yellow);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B35, #FF1493);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

.testimonial-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testimonial-verified-badge {
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent-yellow);
    font-size: 0.625rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    text-transform: uppercase;
}

/* --- Neden Biz? (Value Props) --- */
#value-props {
    padding: 80px 0;
}

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

.value-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--border-radius-md);
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-yellow);
    transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
    background: var(--accent-yellow);
    color: var(--bg-primary);
    transform: scale(1.08);
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- SSS (FAQ) Accordion --- */
#faq {
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-btn {
    width: 100%;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    transition: var(--transition-smooth);
}

.accordion-btn:hover {
    color: var(--accent-yellow);
}

.accordion-btn::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-btn.active::after {
    transform: rotate(45deg);
    color: var(--accent-yellow);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding-bottom: 24px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* --- Instagram Mockup Section --- */
#instagram-feed {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.instagram-item {
    aspect-ratio: 1 / 1;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.instagram-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-item:hover .instagram-img {
    transform: scale(1.05);
}

.instagram-overlay svg {
    color: var(--text-primary);
}

/* --- Footer --- */
#footer {
    background: #1A1A2E;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0 40px;
    color: #ffffff;
}

#footer .footer-brand p {
    color: rgba(255, 255, 255, 0.6);
}

#footer .footer-social a {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

#footer .footer-social a:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

#footer .footer-col h4 {
    color: var(--accent-coral);
}

#footer .footer-col a {
    color: rgba(255, 255, 255, 0.6);
}

#footer .footer-col a:hover {
    color: #ffffff;
}

#footer .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
}

#footer .payment-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.footer-social a:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-yellow);
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-payment-icons {
    display: flex;
    gap: 12px;
}

.payment-icon {
    font-weight: 800;
    padding: 4px 8px;
    background: #E8E5E0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
}

/* --- Universal Modal & Drawers --- */
.modal-content, .checkout-content, .auth-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1050;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 50px rgba(26, 26, 46, 0.15);
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.modal-content.active, .checkout-content.active, .auth-content.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    z-index: 5;
}

.modal-close:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: rgba(26, 26, 46, 0.05);
}

/* Modal Body Layout */
.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

/* --- Product Detail Modal Gallery --- */
.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-image-main {
    aspect-ratio: 1 / 1;
    background: #F5F3EF;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-image-main img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
}

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

.thumb {
    aspect-ratio: 1 / 1;
    width: 70px;
    background: #F5F3EF;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.thumb img {
    max-width: 90%;
    max-height: 90%;
}

.thumb.active {
    border-color: var(--accent-yellow);
}

/* --- Product Detail Info --- */
.modal-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-brand {
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 800;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.stars {
    color: var(--accent-yellow);
}

.rating-count {
    color: var(--text-muted);
}

.modal-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-price-original {
    font-size: 1.125rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.modal-price-current {
    font-size: 1.75rem;
    font-weight: 800;
}

.modal-discount-tag {
    background: var(--accent-orange);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
}

.modal-option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pickers */
.color-picker, .size-picker {
    display: flex;
    gap: 10px;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.color-option.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 10px rgba(26, 26, 46, 0.15);
}

.size-option {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.quantity-picker {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    background: var(--bg-secondary);
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
}

.qty-btn:hover {
    color: var(--accent-yellow);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-add-to-cart {
    margin-top: 10px;
}

.modal-features {
    display: flex;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.modal-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.modal-feature-item svg {
    color: var(--accent-yellow);
}

/* --- Cart Drawer --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 26, 46, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--bg-tertiary);
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(26, 26, 46, 0.15);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.cart-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

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

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Cart Item */
.cart-item {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #F5F3EF;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0;
}

.cart-item-image img {
    max-width: 90%;
    max-height: 90%;
}

.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    padding-right: 20px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

.cart-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.cart-item-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cart-item-qty-selector {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.cart-item-qty-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 300;
}

.cart-item-qty-value {
    width: 24px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--text-muted);
}

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

/* Cart Empty State */
.cart-empty {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60%;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    gap: 12px;
}

.cart-empty.active {
    display: flex;
}

.cart-empty svg {
    color: #C8C5BE;
}

.cart-empty p {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.cart-empty span {
    font-size: 0.875rem;
}

/* Cart Footer */
.cart-footer {
    padding: 24px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.cart-subtotal, .cart-shipping, .cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.cart-subtotal span:last-child, .cart-total span:last-child {
    font-weight: 700;
}

.free-shipping {
    color: var(--accent-yellow);
    font-weight: 700;
}

.cart-total {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    font-size: 1.125rem;
    font-weight: 800;
}

.btn-checkout {
    margin-top: 12px;
    width: 100%;
}

/* --- Checkout Modal Forms --- */
.checkout-content {
    max-width: 600px;
    padding: 30px;
}

.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.step.active {
    color: var(--accent-yellow);
}

.step.active .step-number {
    border-color: var(--accent-yellow);
    background: var(--accent-yellow);
    color: var(--bg-primary);
    font-weight: 800;
}

.step.completed {
    color: var(--text-primary);
}

.step.completed .step-number {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: var(--bg-primary);
}

.step-line {
    flex-grow: 1;
    max-width: 60px;
    height: 2px;
    background: var(--border-color);
    margin: 0 10px;
    transform: translateY(-10px);
}

.checkout-step-content {
    display: none;
}

.checkout-step-content.active {
    display: block;
}

.checkout-step-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
}

/* Forms */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-yellow);
}

.form-group textarea {
    resize: none;
}

.checkout-order-summary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 24px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.order-summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: 12px;
    font-weight: 800;
    font-size: 1rem;
}

/* Card Preview Widget */
.card-preview {
    background: linear-gradient(135deg, #2D2D3F 0%, #1A1A2E 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    aspect-ratio: 1.58 / 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #e5c060 0%, #aa8528 100%);
    border-radius: 4px;
}

.card-brand-icon {
    font-size: 1.125rem;
    font-weight: 800;
}

.card-number-display {
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    font-family: monospace;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
}

.card-preview-bottom {
    display: flex;
    justify-content: space-between;
}

.card-label {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.card-holder-display, .card-expiry-display {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* OTP (3D Secure) Overlay Layout */
.secure-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 26, 46, 0.6);
    z-index: 1080;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.secure-overlay.active {
    opacity: 1;
    visibility: visible;
}

.secure-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 440px;
    z-index: 1090;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 50px rgba(26, 26, 46, 0.15);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.secure-content.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

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

.secure-logo {
    font-size: 1rem;
    font-weight: 900;
}

.secure-logo span {
    color: var(--accent-yellow);
    font-weight: 300;
}

.secure-bank-logo {
    font-size: 0.6875rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.secure-info {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.secure-details {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8125rem;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
}

.detail-row span {
    color: var(--text-muted);
}

.secure-help-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    display: block;
    margin-top: 6px;
}

.secure-timer {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.secure-countdown {
    color: var(--accent-yellow);
    font-weight: 700;
}

.secure-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.btn-link {
    background: none;
    border: none;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px;
    text-transform: none;
    letter-spacing: 0;
}

.btn-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Order Confirmation Screen */
.confirmation-content {
    text-align: center;
    padding: 20px;
}

.confirm-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.confirm-order-id {
    font-size: 1.125rem;
    margin: 12px 0 20px;
}

.confirm-text {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.confirm-delivery {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.875rem;
    margin-bottom: 30px;
}

.confirm-delivery svg {
    color: var(--accent-yellow);
}

/* --- Authenticate Modal --- */
.auth-content {
    max-width: 440px;
    padding: 30px;
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.auth-subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.auth-tab {
    padding: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.auth-tab.active {
    color: var(--accent-yellow);
    border-bottom-color: var(--accent-yellow);
}

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

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

.auth-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* --- Toast Notification System --- */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.toast {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-yellow);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.removing {
    animation: slideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.toast-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@keyframes slideIn {
    0% { transform: translateX(50px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(50px); opacity: 0; }
}

/* --- Social Proof Floating Popup (Dönüşüm Odaklı) --- */
.social-proof-toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(26, 26, 46, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, visibility 0.5s ease;
}

.social-proof-toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-proof-img {
    width: 48px;
    height: 48px;
    background: #F5F3EF;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
}

.social-proof-img img {
    max-width: 90%;
    max-height: 90%;
}

.social-proof-content {
    flex-grow: 1;
    font-size: 0.75rem;
    line-height: 1.4;
}

.social-proof-name {
    font-weight: 700;
}

.social-proof-time {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-top: 2px;
}

.social-proof-close {
    color: var(--text-muted);
    cursor: pointer;
    align-self: flex-start;
    margin-top: -4px;
    margin-right: -4px;
}

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

/* --- WhatsApp FAB Button --- */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.whatsapp-fab::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: pulse 2s infinite;
}

.whatsapp-fab:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* --- Live Viewer Count Notification --- */
.viewer-count-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    width: fit-content;
}

.viewer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-orange);
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

/* --- Help/Info Page Custom Layout styles --- */
.info-page-body {
    background-color: var(--bg-primary);
}

.info-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: var(--container-width);
    margin: 40px auto 100px;
    padding: 0 24px;
}

.info-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    height: fit-content;
}

.sidebar-title {
    font-size: 0.8125rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-yellow);
    margin-bottom: 16px;
}

.sidebar-title:not(:first-child) {
    margin-top: 30px;
}

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

.sidebar-menu a {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    padding: 4px 0;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    color: var(--text-primary);
    transform: translateX(4px);
}

.info-content-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 48px;
}

.info-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.info-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.info-card p, .info-card li {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-card ul {
    margin-top: 12px;
    padding-left: 20px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.info-table th, .info-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
}

.info-table th {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
}

/* Form Styles inside Info Layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

/* Sticky Bottom Nav (Mobile Only) */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--border-color);
    z-index: 999;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
}

.bottom-nav-item.active {
    color: var(--accent-yellow);
}

.bottom-nav-item svg {
    width: 20px;
    height: 20px;
}

/* Sticky Bottom Add To Cart Button (Mobile Product Details Page) */
.mobile-sticky-cart-btn {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 12px 24px;
    z-index: 1030;
    box-shadow: 0 -10px 30px rgba(26, 26, 46, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 60px;
    }
    
    body {
        /* Add padding at bottom to prevent overlap with sticky bottom nav */
        padding-bottom: 60px;
    }

    .hidden-desktop {
        display: flex;
    }

    .hidden-mobile {
        display: none !important;
    }

    /* Hero */
    .hero-title {
        font-size: 2.75rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Promos */
    .promo-banner {
        padding: 40px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        min-height: auto;
    }
    .promo-title {
        font-size: 2.25rem;
    }
    .promo-image-bg {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-top: 20px;
        opacity: 0.9;
        align-self: center;
    }

    /* Grids */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }
    .categories-wrapper {
        gap: 40px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }
    .category-section-title {
        font-size: 1.1rem;
    }
    .category-section-emoji {
        font-size: 1.25rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    /* Layouts */
    .info-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        margin: 20px auto 60px;
    }
    
    .info-content-container {
        padding: 24px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Modals & Popups */
    .modal-content, .checkout-content, .auth-content {
        padding: 24px;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .modal-content.active, .checkout-content.active, .auth-content.active {
        transform: translate(-50%, -50%);
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 20px;
    }

    /* Navigation */
    .mobile-bottom-nav {
        display: grid;
    }

    /* Cart drawer width full screen on mobile */
    .cart-drawer {
        max-width: 100%;
    }
    
    /* WhatsApp repositioned slightly higher on mobile to avoid covering by bottom nav */
    .whatsapp-fab {
        bottom: 75px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    /* Social proof repositioned on mobile to avoid bottom nav */
    .social-proof-toast {
        bottom: 80px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Survey Card Styles */
.survey-card {
    background: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    transition: all 0.3s ease;
}

.survey-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.survey-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.star-rating .star {
    font-size: 2.25rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.1s ease;
}

.star-rating .star:hover,
.star-rating .star:hover ~ .star,
.star-rating .star.selected,
.star-rating .star.selected ~ .star {
    color: #ffb703;
    transform: scale(1.1);
}

.survey-comment-wrapper {
    margin-bottom: 16px;
}

.survey-comment-wrapper textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 10px;
    font-family: inherit;
    font-size: 0.875rem;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
}

.survey-comment-wrapper textarea:focus {
    border-color: var(--accent-coral);
}

/* Survey Success State */
.survey-success {
    background: rgba(46, 196, 182, 0.05);
    border: 1px solid rgba(46, 196, 182, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.survey-success .success-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.survey-success h3 {
    color: #2ec4b6;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.coupon-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.coupon-box span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.coupon-box strong {
    font-size: 1.25rem;
    color: var(--accent-coral);
    letter-spacing: 1px;
}

.btn-copy-coupon {
    background: var(--accent-coral);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-copy-coupon:hover {
    opacity: 0.9;
}
