/* BeastStore - Pink Theme v1 */
:root {
    --primary: #FF6B9D;
    --primary-light: #FF8FB3;
    --primary-dark: #E85A8A;
    --accent: #FFB347;
    --accent-light: #FFD700;
    --bg: #FFF5F7;
    --bg-card: #FFFFFF;
    --bg-warm: #FFE8ED;
    --text: #4A4A4A;
    --text-light: #7A7A7A;
    --text-muted: #9A9A9A;
    --border: #FFD1DC;
    --shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
    --shadow-lg: 0 8px 40px rgba(255, 107, 157, 0.2);
    --shadow-hover: 0 12px 50px rgba(255, 107, 157, 0.25);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --font-display: 'Nunito', 'Noto Sans SC', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
    --font-body: 'Nunito', 'Noto Sans SC', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
}

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

html { font-size: 18px; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 1.125rem;
    -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
    background: rgba(254, 252, 250, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo {
    font-size: 42px;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 48px;
}

.nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.lang-selector {
    position: relative;
}

.lang-current {
    background: var(--bg-warm);
    border: 2px solid var(--border);
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
}

.lang-current:hover {
    border-color: var(--primary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
}

.lang-option:hover {
    background: var(--bg-warm);
}

.cart-btn {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    transition: all 0.3s;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.cart-icon {
    font-size: 26px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 80px 60px;
    align-items: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-warm) 100%);
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 32px;
    color: var(--text);
}

.title-highlight {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    gap: 60px;
    margin-bottom: 48px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: 8px;
    display: block;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

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

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

.btn-lg {
    padding: 22px 48px;
    font-size: 1.25rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

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

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

/* Hero Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.character-showcase {
    position: relative;
    width: 480px;
    height: 480px;
}

.character-card {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.character-emoji {
    font-size: 180px;
}

.character-name {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    margin-top: 24px;
    color: var(--primary);
}

.character-tag {
    background: var(--accent);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 16px;
}

/* Sections */
.section-header {
    text-align: center;
    padding: 100px 60px 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--bg-warm), #FFF0F3);
    border: 2px solid var(--primary-light);
    padding: 12px 28px;
    border-radius: 50px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--text);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 0 60px 60px;
    flex-wrap: wrap;
}

.cat-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cat-tab:hover,
.cat-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

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

/* Products Grid */
.products {
    padding: 0 60px 100px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg, var(--bg-warm), #FFF0F3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Favorite & Share Buttons */
.btn-favorite,
.btn-share {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.btn-favorite {
    top: 16px;
    right: 16px;
}

.btn-favorite:hover,
.btn-favorite.active {
    background: #FFE4E1;
    transform: scale(1.1);
}

.btn-favorite.active {
    animation: heartBeat 0.3s ease;
}

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

.btn-share {
    top: 16px;
    right: 68px;
}

.btn-share:hover {
    background: #E8F4FF;
    transform: scale(1.1);
}

/* Points Badge */
.points-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.points-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.points-popup {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.points-badge:hover .points-popup,
.points-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.points-popup h4 {
    font-family: var(--font-display);
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.points-popup p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 1rem;
}

.points-popup .points-total {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 16px 0;
}

.points-popup button {
    width: 100%;
    margin-top: 12px;
}

.product-emoji {
    font-size: 100px;
    transition: transform 0.3s;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    line-height: 1;
}

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

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-tag.bestseller {
    background: var(--accent);
    color: white;
}

.product-tag.limited {
    background: var(--primary);
    color: white;
}

.product-tag.new {
    background: #22C55E;
    color: white;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.product-personality {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.product-stock {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    font-family: 'Nunito', 'Noto Sans SC', 'Apple Color Emoji', sans-serif;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.btn-view {
    width: 48px;
    height: 48px;
    background: var(--bg-warm);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s;
}

.btn-view:hover {
    background: var(--border);
}

/* Simplified product actions - single button */
.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.product-actions .btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.load-more {
    text-align: center;
    margin-top: 60px;
}

/* Features */
.features {
    background: white;
    padding: 100px 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1.125rem;
}

/* About */
.about {
    padding: 100px 80px;
    background: var(--bg-warm);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 1.25rem;
    line-height: 1.9;
}

.about-cta {
    margin-top: 40px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

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

.grid-emoji {
    font-size: 72px;
    padding: 32px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 80px 80px 40px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand .logo {
    font-size: 56px;
}

.footer-brand .brand-text {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: white;
}

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

.footer-col h4 {
    margin-bottom: 28px;
    color: var(--accent);
    font-size: 1.25rem;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 1.125rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

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

.social-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1.125rem;
    opacity: 0.7;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -480px;
    width: 480px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 60px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

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

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 2rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: var(--text-light);
}

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

.cart-empty {
    text-align: center;
    padding: 80px 40px;
}

.empty-icon {
    font-size: 80px;
    display: block;
    margin-bottom: 28px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

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

.cart-item-name {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    padding: 8px;
}

.cart-footer {
    padding: 32px;
    border-top: 2px solid var(--border);
    background: var(--bg-warm);
}

.cart-summary {
    margin-bottom: 28px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1.125rem;
}

.summary-row.total {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.summary-row.points-discount {
    color: #22C55E;
}

.points-section {
    background: var(--bg-warm);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.points-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.points-info span:first-child {
    font-size: 1.125rem;
}

.points-value {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-sm {
    padding: 12px 24px;
    font-size: 1rem;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

/* Toast */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--text);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s;
    font-size: 1.125rem;
    font-weight: 500;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 28px;
}

/* Responsive */
@media (max-width: 1280px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding: 80px 60px; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .character-showcase { width: 400px; height: 400px; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content { grid-template-columns: 1fr; text-align: center; }
    .character-grid { justify-content: center; }
}

@media (max-width: 1024px) {
    .navbar { padding: 20px 40px; }
    .nav-links { gap: 32px; }
    .hero-title { font-size: 3.5rem; }
    .section-title { font-size: 2.75rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { justify-content: center; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
}

.checkout-content {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-header {
    padding: 32px;
    border-bottom: 2px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
}

.checkout-header h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.checkout-close {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    color: var(--text-light);
}

.checkout-body {
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1.125rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
}

.payment-option:hover,
.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--bg-warm);
}

.payment-option input {
    width: auto;
}

.order-summary {
    background: var(--bg-warm);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin: 32px 0;
}

.order-summary h4 {
    font-family: var(--font-display);
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.order-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Product Modal */
.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.product-modal-content {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 800px;
    position: relative;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-warm);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--border);
}

.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.modal-image {
    height: 400px;
    background: var(--bg-warm);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 180px;
}

.modal-info h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.modal-personality {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.modal-price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
}

.modal-stock {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.modal-desc {
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    html { font-size: 16px; }
    .navbar { padding: 16px 24px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 60px 24px; }
    .hero-title { font-size: 2.75rem; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .hero-actions { flex-direction: column; }
    .section-header { padding: 60px 24px 40px; }
    .category-tabs { padding: 0 24px 40px; }
    .products { padding: 0 24px 60px; }
    .products-grid { grid-template-columns: 1fr; gap: 24px; }
    .features-grid { grid-template-columns: 1fr; }
    .about { padding: 60px 24px; }
    .footer { padding: 60px 24px 30px; }
    .footer-links { grid-template-columns: 1fr; }
    .cart-sidebar { width: 100%; right: -100%; }
    .modal-product { grid-template-columns: 1fr; }
    .modal-image { height: 250px; font-size: 100px; }
    .checkout-content { max-height: 95vh; }
    .payment-options { flex-direction: column; }
}
