/* ==========================================================================
   THE CHARACTER STORE - PIXEL PERFECT DESIGN SYSTEM & STYLES
   ========================================================================== */

/* --- CSS Reset & Variables --- */
:root {
    --bg-dark: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F1F5F9;
    --bg-input: #F8FAFC;
    --border-color: #E2E8F0;
    
    --bg-navy: #0F1E36;
    --accent-yellow: #F59E0B;
    --accent-yellow-hover: #D97706;
    --accent-gold: #FBBF24;
    --accent-cyan: #0EA5E9;
    --accent-cyan-hover: #0284C7;
    --accent-purple: #7C3AED;
    --accent-purple-dark: #6D28D9;
    
    --text-white: #0F172A;
    --text-muted: #64748B;
    --text-dark: #000000;
    
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --max-width: 1280px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* --- TOP ANNOUNCEMENT BAR --- */
.top-bar {
    background: linear-gradient(90deg, #1E1B4B 0%, #312E81 50%, #4338CA 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- MAIN HEADER --- */
.main-header {
    background-color: #FFFFFF;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-yellow);
    margin-bottom: 2px;
}

.logo-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.logo-store {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-yellow);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Search Box */
.search-box {
    flex: 1;
    max-width: 520px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #F1F5F9;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-pill);
    padding: 4px 6px 4px 20px;
    transition: var(--transition);
}

.search-box:focus-within {
    background-color: #FFFFFF;
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.search-box input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-size: 14px;
    padding: 8px 0;
}

.search-box input::placeholder {
    color: #94A3B8;
}

.search-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #F59E0B;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: #D97706;
    transform: scale(1.04);
}

/* Header Actions (Minimal Design matching Picture 2) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Currency Selector */
.currency-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
}

.currency-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    padding-right: 18px;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.currency-selector select option {
    background-color: #FFFFFF;
    color: #0F172A;
}

.currency-selector .dropdown-chevron {
    position: absolute;
    right: 2px;
    pointer-events: none;
    color: var(--text-white);
}

/* Minimal Header Icon Buttons */
.header-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    background: transparent;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.header-icon-btn:hover {
    color: var(--accent-yellow);
    transform: translateY(-1px);
}

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

/* Floating Cart Badge (Soft circle style like Picture 2) */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    background-color: #E2C2C6;
    color: #2D1810;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* --- CATEGORY NAV BAR --- */
.category-nav {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 24px;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.all-categories-btn {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.all-categories-btn:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-1px);
}

/* All Categories Dropdown Mega Menu */
.all-categories-wrapper {
    position: relative;
}

.all-categories-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 480px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
}

.all-categories-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cat-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.cat-item:hover {
    background: #FEF3C7;
    border-color: #F59E0B;
    transform: translateY(-1px);
}

.cat-icon {
    font-size: 22px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.cat-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}

.cat-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.cat-item-all {
    grid-column: span 2;
    background: #FEF3C7;
    border-color: #FDE68A;
}

.cat-item-all .cat-title {
    color: #D97706;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link.active {
    color: #D97706;
    background-color: #FEF3C7;
}

.nav-link:hover {
    color: #D97706;
}

.arrow {
    font-size: 10px;
    opacity: 0.7;
}

/* Dropdown Menus */
.nav-links li.dropdown {
    position: relative;
}

.nav-links li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 0;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    list-style: none;
}

.nav-links .dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
}

.nav-links .dropdown-menu li a:hover {
    background: #FEF3C7;
    color: #D97706;
}

/* --- MAIN CONTENT & SECTIONS --- */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
}

.section {
    margin-bottom: 56px;
}

/* --- HERO BANNER SECTION --- */
.hero-section {
    background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 40%, #F3E8FF 100%);
    border-radius: var(--radius-lg);
    border: 1px solid #FDE68A;
    padding: 48px 56px;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.08);
}

/* Sparkle overlay effects */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(245, 158, 11, 0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.8;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-cursive {
    font-family: var(--font-cursive);
    color: #D97706;
    font-size: 28px;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--text-white);
}

.hero-title-gradient {
    background: linear-gradient(90deg, #E11D48 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    box-shadow: 0 4px 16px rgba(255, 208, 0, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.2;
}

.btn-yellow:hover {
    background-color: var(--accent-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 208, 0, 0.35);
    color: var(--text-dark);
}

.btn-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, #FF2B85 0%, #E61C68 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 43, 133, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.2;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #e02675 0%, #c91557 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 43, 133, 0.45);
    color: #ffffff;
}

.btn-outline {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: var(--text-white);
    font-weight: 600;
}

.btn-outline:hover {
    background: #F8FAFC;
    border-color: #D97706;
    color: #D97706;
    transform: translateY(-2px);
}

.btn-dark-pill {
    background-color: #0F172A;
    border: 1px solid #1E293B;
    color: #FFFFFF;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
}

.btn-dark-pill:hover {
    background-color: #1E293B;
    border-color: #F59E0B;
}

.btn-purple-pill {
    background-color: #F3E8FF;
    border: 1px solid #E9D5FF;
    color: #7C3AED;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
}

.btn-purple-pill:hover {
    border-color: #7C3AED;
    background-color: #E9D5FF;
    color: #6C2BD9;
}

.btn-pink {
    background-color: var(--accent-pink);
    color: var(--text-white);
    padding: 14px 32px;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(230, 28, 104, 0.3);
}

.btn-pink:hover {
    background-color: #D0155A;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img-wrapper {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

.hero-badge {
    position: absolute;
    bottom: 12px;
    right: -10px;
    background: radial-gradient(circle, #E61C68 0%, #B00D46 100%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(230, 28, 104, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    animation: float 4s ease-in-out infinite;
}

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

.badge-stars {
    color: var(--accent-yellow);
    font-size: 10px;
    letter-spacing: 1px;

}

.badge-number {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
}

.badge-text {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-white);
}

/* --- TRUST BADGES ROW --- */
.trust-section {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 32px;
    margin-bottom: 56px;
}

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
    border-right: 1px solid var(--border-color);
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 208, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.trust-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- SECTION HEADERS --- */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
}

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

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.carousel-arrows {
    display: flex;
    gap: 8px;
}

.arrow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
}

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

/* --- CATEGORY GRID --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.category-card {
    position: relative;
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-yellow);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.category-card:hover .category-img {
    transform: scale(1.06);
}

.category-info {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(18, 20, 29, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
}

.category-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}

.category-count {
    font-size: 11px;
    color: var(--text-muted);
}

/* --- PROMOTIONAL DISCOUNT BANNER --- */
.promo-banner-section {
    margin-bottom: 56px;
}

.promo-container {
    background: linear-gradient(135deg, #1A0D30 0%, #2A104A 50%, #150A26 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 24px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.promo-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.special-offer-badge {
    background: linear-gradient(135deg, #FF2B85 0%, #E61C68 100%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
    box-shadow: 0 4px 14px rgba(255, 43, 133, 0.4);
    flex-shrink: 0;
}

.promo-headline {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-white);
}

.promo-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.code-highlight {
    color: var(--accent-magenta);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.promo-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.promo-hat-graphic {
    font-size: 42px;
}

/* --- FEATURED PRODUCTS SECTION --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 208, 0, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent-purple);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    z-index: 2;
}

.product-img-wrap {
    width: 100%;
    height: 260px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 14px;
    background-color: #0E1017;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

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

.product-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;

}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.stars {
    color: var(--accent-yellow);
    font-size: 12px;
    letter-spacing: 1px;
}

.review-count {
    font-size: 11px;
    color: var(--text-muted);
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-white);
}

.product-card .add-cart-btn,
button.add-cart-btn:not(.btn-yellow):not(.btn-buy-now):not(.btn) {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}

.product-card .add-cart-btn:hover,
button.add-cart-btn:not(.btn-yellow):not(.btn-buy-now):not(.btn):hover {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--text-dark);
}

/* Quantity Control Box */
.qty-control {
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 2px 6px;
    height: 44px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-yellow);
}

.qty-input {
    width: 44px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-weight: 700;
    font-size: 15px;
    text-align: center;
}

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

/* --- MAGICAL MIDDLE BANNER --- */
.magical-banner-section {
    margin-bottom: 56px;
}

.magical-container {
    background: linear-gradient(135deg, #1C0C38 0%, #35135C 50%, #170A2E 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 32px 48px;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    gap: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.magical-left-img, .magical-right-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magical-kid-img {
    height: 100%;
    object-fit: contain;
}

.magical-headline {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.magical-yellow-text {
    font-size: 44px;
    color: var(--accent-yellow);
    letter-spacing: -0.5px;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(255, 208, 0, 0.3);
}

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

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-yellow);
}

.user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.quote-mark {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- FOOTER FEATURES BAR --- */
.footer-features {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    margin-bottom: 48px;
}

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

.ff-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ff-icon {
    font-size: 24px;
}

.ff-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.ff-text p {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- SITE FOOTER --- */
/* --- SITE FOOTER --- */
.main-footer, .site-footer {
    background-color: #0F172A;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px 24px 24px;
    color: #FFFFFF;
    box-sizing: border-box;
    width: 100%;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
    width: 100%;
}

.footer-logo, .footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: contain;
}

.footer-desc {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

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

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--accent-yellow);
    color: #0F172A;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 18px;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links a {
    font-size: 13px;
    color: #94A3B8;
    transition: var(--transition);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.newsletter-desc {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.5;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    padding: 10px 16px;
    color: #FFFFFF;
    font-size: 13px;
    outline: none;
}

.newsletter-input::placeholder {
    color: #64748B;
}

.newsletter-input:focus {
    border-color: var(--accent-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    padding: 10px 20px;
    font-size: 13px;
    white-space: nowrap;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.copyright {
    font-size: 12px;
    color: #94A3B8;
}

.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-badge {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        order: 1;
    }
    .hero-visual {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    .hero-description {
        margin: 0 auto 24px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 1rem auto 0;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .main-header {
        padding: 14px 20px;
    }
    .header-container {
        flex-wrap: wrap;
        gap: 16px;
    }
    .search-box {
        order: 3;
        width: 100%;
        max-width: none;
        flex: 1 1 100%;
    }
    .action-info {
        display: none;
    }
    .header-actions {
        gap: 12px;
    }
    .action-icon {
        width: 36px;
        height: 36px;
    }
    .category-nav {
        padding: 10px 20px;
    }
    .nav-container {
        flex-wrap: wrap;
        gap: 12px;
    }
    .all-categories-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    .nav-links.show {
        max-height: 500px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }
    .nav-link {
        padding: 8px 14px;
        font-size: 13px;
    }
    .hero-section {
        padding: 32px 28px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-cursive {
        font-size: 22px;
    }
    .section {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 24px;
    }
    .trust-section {
        padding: 16px 24px;
    }
    .footer-features {
        padding: 20px 0;
    }
    .promo-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .promo-left {
        flex-direction: column;
        text-align: center;
    }
    .promo-right {
        justify-content: center;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .header-nav-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .trust-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .trust-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 12px;
        padding-right: 0;
    }
    .trust-item:last-child {
        border-bottom: none;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .category-card {
        height: 220px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-card {
        padding: 12px;
    }
    .product-img-wrap {
        height: 240px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .magical-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px;
    }
    .magical-left-img, .magical-right-img {
        display: none;
    }
    .magical-headline {
        font-size: 24px;
    }
    .magical-yellow-text {
        font-size: 32px;
    }
    .footer-features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-section {
        padding: 24px 20px;
    }
    .hero-title {
        font-size: 28px;
    }
    .hero-cursive {
        font-size: 20px;
    }
    .hero-description {
        font-size: 14px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .promo-container {
        padding: 20px;
    }
    .promo-headline {
        font-size: 18px;
    }
    .special-offer-badge {
        width: 60px;
        height: 60px;
        font-size: 10px;
    }
    .main-content {
        padding: 16px;
    }
    .section-header {
        margin-bottom: 16px;
    }
    .carousel-arrows {
        display: none;
    }
    .main-footer, .site-footer {
        padding: 32px 16px 24px;
        width: 100%;
        box-sizing: border-box;
    }
    .footer-container {
        padding: 0 4px;
        box-sizing: border-box;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    .newsletter-btn {
        width: 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
    }
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        gap: 8px;
    }
    .logo-img {
        width: 36px;
        height: 36px;
    }
    .logo-sub {
        font-size: 14px;
    }
    .logo-title {
        font-size: 16px;
    }
    .logo-store {
        font-size: 12px;
    }
    .hero-section {
        padding: 20px 16px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-cursive {
        font-size: 18px;
    }
    .hero-description {
        font-size: 13px;
    }
    .category-grid {
        grid-template-columns: 1fr;
    }
    .category-card {
        height: 240px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-img-wrap {
        height: 320px;
    }
    .trust-section {
        padding: 12px 16px;
    }
    .trust-icon {
        width: 36px;
        height: 36px;
    }
    .trust-icon svg {
        width: 18px;
        height: 18px;
    }
    .trust-title {
        font-size: 13px;
    }
    .trust-sub {
        font-size: 11px;
    }
    .promo-container {
        padding: 16px;
        gap: 16px;
    }
    .promo-hat-graphic {
        font-size: 32px;
    }
    .testimonial-card {
        padding: 16px;
    }
    .btn-yellow, .btn-outline, .btn-pink {
        padding: 12px 24px;
        font-size: 13px;
    }
    .payment-methods {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .footer-features-container {
        grid-template-columns: 1fr;
    }
    .ff-item {
        min-width: auto;
    }
}

/* --- SHOP & INNER PAGES STYLING (LIGHT THEME) --- */
.page-banner {
    background: linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 50%, #FDF2F8 100%);
    border-radius: var(--radius-lg);
    border: 1px solid #E9D5FF;
    padding: 32px 40px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.04);
}

.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.breadcrumb a { color: #D97706; }

.shop-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

.filter-card, .sidebar-card, .detail-card, .auth-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-white);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.filter-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.filter-link:hover, .filter-link.active {
    background: #FEF3C7;
    border-color: #F59E0B;
    color: #D97706;
}

.badge-count {
    background: #E2E8F0;
    color: var(--text-white);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.filter-link.active .badge-count {
    background: #F59E0B;
    color: #FFFFFF;
}

.form-control, .form-select {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-white);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.btn-yellow {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-weight: 700;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

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

@media (max-width: 991px) {
    .shop-wrapper {
        grid-template-columns: 1fr;
    }
    .product-detail-wrap, .cart-layout, .checkout-layout, .about-grid, .contact-main-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- ABOUT & CONTACT PAGE ENHANCEMENTS --- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-yellow);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

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

.contact-info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.contact-info-card:hover {
    border-color: var(--accent-yellow);
    transform: translateY(-3px);
}

.contact-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 208, 0, 0.1);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.faq-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 14px;
    transition: var(--transition);
    cursor: pointer;
}

.faq-card:hover {
    border-color: rgba(255, 208, 0, 0.4);
}

.faq-question {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .stat-grid, .contact-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stat-grid, .contact-card-grid {
        grid-template-columns: 1fr;
    }
}
