/* ========================================
   DreamBaltic - Professional Gaming Store
   Clean & Modern Design
   ======================================== */

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

:root {
    /* Colors - Professional Baltic Theme */
    --primary: #00C9FF;
    --primary-dark: #00A3CC;
    --secondary: #FF6B9D;
    --dark: #0D1117;
    --dark-light: #161B22;
    --card-bg: #1C2128;
    --text: #E6EDF3;
    --text-muted: #8B949E;
    --border: #30363D;
    --success: #3FB950;
    --warning: #D29922;
    --error: #F85149;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00C9FF 0%, #92FE9D 100%);
    --gradient-secondary: linear-gradient(135deg, #FF6B9D 0%, #FFA06B 100%);
    --gradient-dark: linear-gradient(180deg, #0D1117 0%, #161B22 100%);
    
    /* Spacing */
    --container: 1200px;
    --gap-xs: 0.5rem;
    --gap-sm: 1rem;
    --gap-md: 1.5rem;
    --gap-lg: 2rem;
    --gap-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 201, 255, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gap-md);
}

/* ========== Top Banner ========== */
.top-banner {
    background: var(--gradient-primary);
    color: var(--dark);
    text-align: center;
    padding: var(--gap-xs) 0;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ========== Header ========== */
.header {
    background: var(--dark-light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--gap-md) 0;
    gap: var(--gap-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.logo-text {
    font-family: 'Outfit', sans-serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    gap: var(--gap-lg);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
}

.search-btn, .user-btn, .cart-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: var(--gap-xs) var(--gap-sm);
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    transition: var(--transition);
}

.search-btn svg, .user-btn svg, .cart-btn svg {
    width: 20px;
    height: 20px;
}

.search-btn:hover, .user-btn:hover, .cart-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 201, 255, 0.1);
    transform: translateY(-2px);
}

.cart-btn {
    position: relative;
}

.cart-badge {
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    text-align: center;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========== Search Overlay ========== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    padding-top: 10vh;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    opacity: 1;
}

.search-modal {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: var(--gap-md);
    font-size: 1.5rem;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.search-close {
    position: absolute;
    top: 50%;
    right: var(--gap-md);
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--text);
    transform: translateY(-50%) rotate(90deg);
}

.search-results {
    margin-top: var(--gap-md);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    max-height: 400px;
    overflow-y: auto;
}

/* ========== Hero Section ========== */
.hero {
    padding: var(--gap-xl) 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 201, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 0.8s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--gap-md);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: var(--gap-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--gap-md);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    animation: slideInRight 0.8s ease;
}

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

.hero-card {
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.hero-card:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hero-card-2 {
    top: 50%;
    left: 0;
    animation-delay: 0.5s;
}

.hero-card-3 {
    top: 50%;
    right: 0;
    animation-delay: 1s;
}

.card-emoji {
    font-size: 5rem;
}

.card-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gradient-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: 12px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
}

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

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

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

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

/* ========== Sections ========== */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--gap-xl);
}

/* ========== Categories ========== */
.categories {
    padding: var(--gap-xl) 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--gap-md);
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--gap-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: var(--gap-sm);
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--gap-xs);
}

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

/* ========== Products ========== */
.products {
    padding: var(--gap-xl) 0;
    background: var(--dark-light);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gap-xl);
}

.filter-select {
    padding: var(--gap-xs) var(--gap-md);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--gap-lg);
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

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

.product-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1C2128 0%, #0D1117 100%);
    font-size: 5rem;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: var(--gap-md);
}

.product-category {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--gap-xs);
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--gap-sm);
    color: var(--text);
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--gap-md);
}

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

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

.product-actions {
    display: flex;
    gap: var(--gap-sm);
}

.add-to-cart-btn {
    flex: 1;
    padding: var(--gap-sm);
    background: var(--gradient-primary);
    color: var(--dark);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.quick-view-btn {
    padding: var(--gap-sm);
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.quick-view-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 201, 255, 0.1);
}

/* ========== Deals Section ========== */
.deals {
    padding: var(--gap-xl) 0;
}

.deals-banner {
    background: var(--gradient-secondary);
    border-radius: var(--radius-xl);
    padding: var(--gap-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: center;
}

.deals-title {
    font-size: 3rem;
    color: white;
    margin-bottom: var(--gap-sm);
}

.deals-subtitle {
    font-size: 1.2rem;
    color: white;
    opacity: 0.9;
    margin-bottom: var(--gap-md);
}

.deals-visual {
    position: relative;
    height: 200px;
}

.deal-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #FF6B9D;
    font-size: 3rem;
    font-weight: 800;
    padding: var(--gap-md) var(--gap-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.deal-emoji {
    position: absolute;
    font-size: 4rem;
    animation: rotate 3s linear infinite;
}

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

/* ========== Trust Section ========== */
.trust {
    padding: var(--gap-xl) 0;
    background: var(--dark-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gap-lg);
}

.trust-item {
    text-align: center;
    padding: var(--gap-lg);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: var(--gap-sm);
}

.trust-item h3 {
    font-size: 1.2rem;
    margin-bottom: var(--gap-xs);
}

.trust-item p {
    color: var(--text-muted);
}

/* ========== Newsletter ========== */
.newsletter {
    padding: var(--gap-xl) 0;
    background: var(--gradient-dark);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: var(--gap-sm);
}

.newsletter-content p {
    color: var(--text-muted);
    margin-bottom: var(--gap-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--gap-sm);
}

.newsletter-form input {
    flex: 1;
    padding: var(--gap-md);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
}

/* ========== Contact ========== */
.contact {
    padding: var(--gap-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--gap-md);
}

.info-item {
    margin-bottom: var(--gap-md);
    line-height: 1.8;
}

.info-item a {
    color: var(--primary);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: var(--gap-sm);
    margin-top: var(--gap-lg);
}

.social-link {
    padding: var(--gap-sm) var(--gap-md);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--primary);
    background: rgba(0, 201, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.contact-form input,
.contact-form textarea {
    padding: var(--gap-md);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

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

/* ========== Footer ========== */
.footer {
    background: var(--dark-light);
    border-top: 1px solid var(--border);
    padding: var(--gap-xl) 0 var(--gap-md);
}

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

.footer-col h4 {
    margin-bottom: var(--gap-md);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: var(--gap-sm);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--gap-md);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* ========== Auth Modal ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--gap-xl);
    max-width: 450px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: var(--gap-md);
    right: var(--gap-md);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--text);
    transform: rotate(90deg);
}

.modal-content h2 {
    margin-bottom: var(--gap-sm);
}

.auth-tabs {
    display: flex;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-lg);
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    padding: var(--gap-md) var(--gap-sm);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

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

.auth-tab:hover {
    color: var(--primary);
}

.auth-section {
    display: none;
}

.auth-section.active {
    display: block;
}

.auth-section form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

.auth-section input {
    padding: var(--gap-md);
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
}

.auth-section input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: var(--gap-lg);
}

.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
    padding: var(--gap-md);
    background: white;
    color: #333;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: var(--gap-md);
}

.google-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.google-icon {
    width: 24px;
    height: 24px;
}

.divider {
    text-align: center;
    margin: var(--gap-md) 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background: var(--card-bg);
    padding: 0 var(--gap-sm);
    color: var(--text-muted);
}

#emailSignIn {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}

#emailSignIn input {
    padding: var(--gap-md);
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 1rem;
}

#emailSignIn input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-footer {
    text-align: center;
    margin-top: var(--gap-md);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.modal-footer a:hover {
    text-decoration: underline;
}

.logged-in-user {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: var(--gap-lg);
    margin-bottom: var(--gap-lg);
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

.user-avatar {
    font-size: 3rem;
    min-width: 60px;
    text-align: center;
}

.user-details {
    flex: 1;
}

.user-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
    color: var(--text);
}

.user-email {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 4px 0 0 0;
}

/* ========== Product Detail Modal ========== */
.product-detail-modal {
    max-width: 650px;
    width: 90%;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: var(--gap-md);
    align-items: start;
}

.product-detail-image {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #1C2128 0%, #0D1117 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-detail-emoji {
    font-size: 5rem;
    animation: float 3s ease-in-out infinite;
}

.product-detail-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-secondary);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.75rem;
}

.product-detail-info {
    padding: 0;
}

.product-detail-category {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--gap-xs);
}

.product-detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--gap-sm);
    line-height: 1.3;
}

.product-detail-price-section {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-sm);
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.product-detail-old-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-detail-savings {
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--gap-md);
}

.product-detail-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--gap-md);
}

.product-detail-features {
    background: rgba(0, 201, 255, 0.08);
    border-left: 3px solid var(--primary);
    padding: var(--gap-sm) var(--gap-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--gap-md);
}

.product-detail-features h3 {
    margin-bottom: var(--gap-sm);
    font-size: 1rem;
}

.product-detail-features ul {
    list-style: none;
    padding: 0;
}

.product-detail-features li {
    padding: var(--gap-xs) 0;
    color: var(--text);
    font-size: 0.9rem;
}

.product-detail-actions {
    display: flex;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-md);
}

.quantity-input {
    width: 70px;
    padding: var(--gap-sm);
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text);
    font-size: 0.95rem;
    text-align: center;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary);
}

#buyProductBtn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.95rem;
}

#continueShoppingBtn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.95rem;
}

.product-detail-footer {
    display: flex;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    padding-top: var(--gap-md);
    border-top: 1px solid var(--border);
}

.trust-badge {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: var(--gap-sm);
    background: var(--dark);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }
    
    .product-detail-image {
        height: 250px;
    }
    
    .product-detail-emoji {
        font-size: 4rem;
    }
}

/* ========== Cart Sidebar ========== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: var(--card-bg);
    border-left: 1px solid var(--border);
    z-index: 4000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--gap-md);
}

.empty-cart {
    text-align: center;
    padding: var(--gap-xl) 0;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--gap-md);
}

.cart-item {
    display: flex;
    gap: var(--gap-md);
    padding: var(--gap-md);
    background: var(--dark);
    border-radius: var(--radius-md);
    margin-bottom: var(--gap-sm);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--dark-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: var(--gap-xs);
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    margin-top: var(--gap-sm);
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    border-color: var(--primary);
    background: rgba(0, 201, 255, 0.1);
}

.cart-footer {
    padding: var(--gap-lg);
    border-top: 1px solid var(--border);
}

.cart-subtotal,
.cart-shipping,
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--gap-sm);
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: var(--gap-sm);
    border-top: 1px solid var(--border);
    margin-bottom: var(--gap-md);
}

/* ========== Overlay ========== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* ========== Toast Notification ========== */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    border: 1px solid var(--primary);
    padding: var(--gap-md) var(--gap-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 5000;
    transition: bottom 0.3s ease;
}

.toast.show {
    bottom: var(--gap-lg);
}

/* ========== Responsive ========== */
@media (max-width: 968px) {
    .nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .deals-banner {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 640px) {
    .header-actions {
        gap: var(--gap-xs);
    }
    
    .user-btn span {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
