/* ========================================
   MONOPULSEFILD — GLOBAL STYLES
   Soft Luxury + Neon Pastel Play
   ======================================== */

:root {
    --bg: #0A0F1F;
    --bg-lighter: #0F1530;
    --primary: #7C4DFF;
    --secondary: #00E5FF;
    --accent: #FFDE59;
    --highlight: #FF7EDB;
    --card: rgba(255,255,255,0.05);
    --card-hover: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.08);
    --text: #E8E8F0;
    --text-muted: #8888AA;
    --white: #FFFFFF;
    --radius: 22px;
    --radius-sm: 14px;
    --radius-xs: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 32px rgba(0,0,0,0.3);
    --glass: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--highlight), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 31, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 15, 31, 0.9);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    z-index: 101;
}

.logo-icon { font-size: 1.6rem; }

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: var(--transition);
}

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

.cart-btn {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
}

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

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--highlight);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

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

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========================================
   CART PANEL
   ======================================== */
.cart-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: var(--bg-lighter);
    border-left: 1px solid var(--border);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.cart-panel-header h3 {
    font-size: 1.2rem;
}

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

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

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

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

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

.cart-panel-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-xs);
    object-fit: cover;
}

.cart-panel-item-info { flex: 1; }
.cart-panel-item-info h4 { font-size: 0.9rem; margin-bottom: 4px; }
.cart-panel-item-info p { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

.cart-panel-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 4px;
}
.cart-panel-item-remove:hover { color: #ff4444; }

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

.cart-panel-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

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

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #9C6DFF);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(124, 77, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 77, 255, 0.5);
}

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

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

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124, 77, 255, 0.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #FFE566);
    color: var(--bg);
    font-weight: 700;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 222, 89, 0.4);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

.btn + .btn { margin-top: 8px; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--highlight);
    bottom: -50px;
    left: -100px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
    opacity: 0.2;
}

.orb-4 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 20%;
    right: 20%;
    animation-delay: -2s;
    opacity: 0.15;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

.cat-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    opacity: 0.3;
    animation: catGlow 4s ease-in-out infinite;
}

@keyframes catGlow {
    0%, 100% { opacity: 0.2; filter: drop-shadow(0 0 20px rgba(124, 77, 255, 0.3)); }
    50% { opacity: 0.4; filter: drop-shadow(0 0 40px rgba(124, 77, 255, 0.6)); }
}

.light-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.15) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.3; height: 20px; }
}

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
    position: relative;
    padding: 140px 0 60px;
    text-align: center;
    overflow: hidden;
}

.page-hero-sm { padding: 120px 0 40px; }

.page-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(124, 77, 255, 0.15);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
}

.product-badge.new { background: var(--secondary); color: var(--bg); }

.product-card-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(10, 15, 31, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-actions {
    transform: translateY(0);
}

.product-card-info {
    padding: 20px;
}

.product-rating {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

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

.product-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ========================================
   FEATURED SECTION
   ======================================== */
.featured-section {
    padding: 100px 0;
}

/* ========================================
   WHY SECTION
   ======================================== */
.why-section {
    padding: 100px 0;
    background: var(--bg-lighter);
}

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

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124, 77, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

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

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
}

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

.testimonial-stars {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.orb-cta-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -50px;
}

.orb-cta-2 {
    width: 300px;
    height: 300px;
    background: var(--highlight);
    bottom: -50px;
    right: -50px;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

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

/* ========================================
   CATEGORIES
   ======================================== */
.categories-section {
    padding: 80px 0 40px;
}

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

.category-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cat-color, var(--primary));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.category-card:hover {
    border-color: var(--cat-color, var(--primary));
    transform: translateY(-4px);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.category-count {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* ========================================
   SHOP PAGE
   ======================================== */
.shop-section {
    padding: 60px 0 100px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: flex-start;
}

.shop-filters {
    position: sticky;
    top: 100px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group:last-child { margin-bottom: 0; }

.filter-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.filter-option:hover { color: var(--text); }

.filter-option input[type="radio"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.filter-select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

.filter-select:focus { border-color: var(--primary); }

.shop-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.filter-mobile-btn {
    display: none;
    align-items: center;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 16px;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-size: 0.9rem;
}

.no-results {
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ========================================
   PRODUCT DETAIL
   ======================================== */
.product-detail-section {
    padding: 100px 0 80px;
}

.breadcrumb {
    margin-bottom: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.product-main-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
}

.product-main-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.product-thumbnails .thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    opacity: 0.6;
}

.product-thumbnails .thumb:hover,
.product-thumbnails .thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.product-detail-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.product-detail-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.product-detail-rating {
    margin-bottom: 16px;
    font-size: 0.9rem;
}

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

.product-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.product-detail-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-features {
    margin-bottom: 32px;
}

.product-features h3 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.product-features ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.feature-check {
    color: var(--secondary);
    font-weight: 700;
}

.product-detail-quantity {
    margin-bottom: 24px;
}

.product-detail-quantity label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 0.95rem;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    overflow: hidden;
}

.qty-btn {
    background: var(--card);
    border: none;
    color: var(--text);
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover { background: var(--card-hover); color: var(--primary); }

.qty-input {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
}

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

.product-detail-buttons {
    display: grid;
    gap: 12px;
    margin-bottom: 32px;
}

.product-detail-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

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

/* ========================================
   CART PAGE
   ======================================== */
.cart-section {
    padding: 40px 0 100px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: flex-start;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    align-items: center;
    transition: var(--transition);
}

.cart-item:hover { border-color: rgba(124, 77, 255, 0.3); }

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-info { flex: 1; }
.cart-item-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.cart-item-info .cart-item-price { color: var(--primary); font-weight: 600; }

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.cart-item-remove:hover { color: #ff4444; }

.cart-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.summary-total {
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: none;
    padding-top: 16px;
    margin-bottom: 24px;
}

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

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-empty-state h2 { margin-bottom: 12px; }
.cart-empty-state p { color: var(--text-muted); margin-bottom: 32px; }

/* ========================================
   CHECKOUT PAGE
   ======================================== */
.checkout-section {
    padding: 40px 0 100px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: flex-start;
}

.checkout-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.form-error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

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

.payment-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: rgba(124, 77, 255, 0.1);
}

.payment-option input { accent-color: var(--primary); }

.payment-label { font-size: 0.9rem; font-weight: 500; }

.checkout-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.checkout-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.checkout-item img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-xs);
    object-fit: cover;
}

.checkout-item-info { flex: 1; }
.checkout-item-info h4 { font-size: 0.85rem; }
.checkout-item-info p { font-size: 0.8rem; color: var(--text-muted); }

/* Success Overlay */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 31, 0.9);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.success-modal {
    background: var(--bg-lighter);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 60px 48px;
    text-align: center;
    max-width: 440px;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-overlay.active .success-modal {
    transform: scale(1);
}

.success-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.success-circle svg {
    width: 80px;
    height: 80px;
}

.success-circle circle {
    stroke: var(--secondary);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: circleAnim 0.6s 0.3s ease forwards;
}

.success-circle path {
    stroke: var(--secondary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkAnim 0.4s 0.8s ease forwards;
}

@keyframes circleAnim {
    to { stroke-dashoffset: 0; }
}

@keyframes checkAnim {
    to { stroke-dashoffset: 0; }
}

.success-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-section {
    padding: 80px 0 100px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

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

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

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

.value-icon { font-size: 2rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; }

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 32px;
}

.stat-number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

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

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    padding: 80px 0 100px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon { font-size: 1.5rem; }
.contact-item strong { display: block; margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.contact-form textarea {
    resize: vertical;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-section {
    padding: 40px 0 100px;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--white);
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-left: 24px;
    line-height: 2;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-lighter);
    border-top: 1px solid var(--border);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9rem;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

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

.social-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(124, 77, 255, 0.1);
}

.footer-links h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
    transform: translateY(0);
}

.toast-content {
    background: var(--bg-lighter);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(124, 77, 255, 0.3);
}

.toast-icon {
    background: var(--primary);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 220px 1fr;
        gap: 24px;
    }

    .product-detail {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 15, 31, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 100;
    }

    .nav-links.open { transform: translateX(0); }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--text);
    }

    .hero { padding: 120px 24px 60px; min-height: 90vh; }
    .hero-title { font-size: 2.2rem; }

    .cat-silhouette { width: 250px; height: 250px; }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        z-index: 1002;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    .shop-filters.open { left: 0; }

    .filter-mobile-btn { display: flex; }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 32px 20px;
    }

    .stat-number { font-size: 1.8rem; }

    .legal-content { padding: 28px; }

    .hero-scroll-indicator { display: none; }

    .product-detail-trust {
        flex-direction: column;
        gap: 12px;
    }

    .cart-panel { width: 100%; right: -100%; }

    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .form-row { grid-template-columns: 1fr; }

    .payment-methods { flex-direction: column; }

    .cart-item {
        flex-direction: column;
        text-align: center;
    }

    .cart-item-controls { justify-content: center; }

    .categories-grid { grid-template-columns: 1fr; }

    .about-stats { grid-template-columns: 1fr; }
}

/* ========================================
   ANIMATIONS & SCROLL EFFECTS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(124, 77, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 77, 255, 0.5);
}

/* Selection color */
::selection {
    background: rgba(124, 77, 255, 0.3);
    color: var(--white);
}

/* Placeholder */
::placeholder {
    color: rgba(136, 136, 170, 0.5);
}