/* ===== VARIABLES & THEMES ===== */
:root {
    --bg: #fef6fb;
    --bg-2: rgba(255, 255, 255, 0.6);
    --bg-3: rgba(255, 255, 255, 0.8);
    --text: #2d1b4e;
    --text-2: #6b5b8a;
    --text-3: #9b8bb0;
    --border: rgba(255, 255, 255, 0.3);
    --accent: #ff6b9d;
    --accent-2: #c44569;
    --gradient-1: linear-gradient(135deg, #ff6b9d 0%, #c44569 100%);
    --gradient-2: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    --gradient-3: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
    --gradient-4: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    --shadow: 0 8px 32px rgba(255, 107, 157, 0.15);
    --shadow-lg: 0 20px 60px rgba(255, 107, 157, 0.25);
    --radius: 20px;
    --radius-lg: 30px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Arial Black', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] {
    --bg: #1a0b2e;
    --bg-2: rgba(45, 27, 78, 0.6);
    --bg-3: rgba(45, 27, 78, 0.8);
    --text: #fef6fb;
    --text-2: #c9b8e8;
    --text-3: #8b7baa;
    --border: rgba(255, 255, 255, 0.1);
    --accent: #ff6b9d;
    --accent-2: #ff8fab;
    --shadow: 0 8px 32px rgba(255, 107, 157, 0.3);
    --shadow-lg: 0 20px 60px rgba(255, 107, 157, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

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

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-50px, 50px) scale(0.9); }
}

/* ===== GLASSMORPHISM ===== */
.glass {
    background: var(--bg-2);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
}

.btn-glass {
    background: var(--bg-2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    color: var(--text);
}

.btn-glass:hover {
    background: var(--bg-3);
    border-color: var(--accent);
}

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

/* ===== ICON BUTTONS ===== */
.icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
    color: var(--text);
}

.icon-btn:hover {
    transform: scale(1.1) rotate(5deg);
}

.icon-btn .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gradient-1);
    color: white;
    font-size: 0.65rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.5);
}

.icon-btn-large {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.icon-btn-large:hover {
    transform: scale(1.1) rotate(-5deg);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-2);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--accent);
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.logo-dot { color: var(--accent); }

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 0.3s;
}

.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    padding: 5px 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 10px;
    transition: var(--transition);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.page { display: none; animation: fadeIn 0.5s ease; }
.page.active { display: block; }

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

/* ===== HERO ===== */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    animation: slideIn 0.6s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.sparkle {
    animation: sparkle 1.5s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 25px;
    letter-spacing: -2px;
    animation: slideIn 0.8s ease;
}

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

.outline-text {
    -webkit-text-stroke: 3px var(--text);
    color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-2);
    max-width: 450px;
    margin-bottom: 35px;
    animation: slideIn 1s ease;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: slideIn 1.2s ease;
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: zoomIn 1s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.hero-circle {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

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

.circle-ring {
    position: absolute;
    inset: -20px;
    border: 3px dashed var(--accent);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

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

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    animation: floatElement 3s ease-in-out infinite;
}

.float-1 { top: 10%; left: 0; animation-delay: 0s; }
.float-2 { top: 50%; right: 0; animation-delay: 1s; }
.float-3 { bottom: 10%; left: 10%; animation-delay: 2s; }

@keyframes floatElement {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* ===== SECTIONS ===== */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-tag {
    display: block;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -1px;
}

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

.category-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.category-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card:hover .category-bg {
    opacity: 0.8;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.category-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: white;
}

.category-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.category-content span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg-2);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

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

.product-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: var(--bg-3);
}

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

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-1);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.5);
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: var(--bg-2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
}

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

.product-wishlist.active {
    opacity: 1;
    color: var(--accent);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-3);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 8px 0;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    position: relative;
    padding: 100px 30px;
    text-align: center;
    margin: 40px 0;
    overflow: hidden;
}

.promo-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0.1;
}

.promo-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.promo-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.promo-content h2 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.promo-content p {
    color: var(--text-2);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ===== PAGE HEADERS ===== */
.page-header {
    text-align: center;
    padding: 60px 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.page-header p { color: var(--text-2); font-size: 1.1rem; }

/* ===== SHOP LAYOUT ===== */
.shop-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 80px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.filters-sidebar {
    padding: 25px;
    border-radius: var(--radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.filters-header h3 { 
    font-size: 1.1rem; 
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clear-filters {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
}

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

.filter-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--text-2);
    font-weight: 700;
}

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

.glass-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: var(--bg-3);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.glass-chip:hover {
    background: var(--gradient-1);
    color: white;
}

.size-options, .color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.size-btn:hover, .size-btn.active {
    background: var(--gradient-1);
    color: white;
    transform: scale(1.1);
}

.color-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.color-dot:hover, .color-dot.active {
    border-color: var(--accent);
    transform: scale(1.2);
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    border-radius: var(--radius);
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.result-count {
    font-size: 0.9rem;
    color: var(--text-2);
    font-weight: 600;
}

.sort-select {
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-3);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

/* ===== CATEGORIES FULL PAGE ===== */
.categories-full {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px 80px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.category-full-card {
    position: relative;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.category-full-card:hover {
    transform: translateY(-10px);
}

.category-full-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

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

.category-full-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.category-full-content span {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 600;
}

.category-full-content h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    margin: 10px 0;
}

.category-full-content p {
    margin-bottom: 20px;
    max-width: 300px;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 15px 0 25px;
}

.about-hero-text p {
    color: var(--text-2);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 4px solid var(--accent);
}

.about-values {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px) rotate(2deg);
}

.value-card i {
    font-size: 2.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

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

.value-card p {
    color: var(--text-2);
    font-size: 0.9rem;
}

.about-stats {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat {
    padding: 30px;
    border-radius: var(--radius);
}

.about-stats h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.about-stats p {
    color: var(--text-2);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.contact-item h4 { margin-bottom: 5px; font-weight: 700; }
.contact-item p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }

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

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-5px) rotate(10deg);
}

.contact-form {
    padding: 40px;
    border-radius: var(--radius-lg);
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg-3);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* ===== MODALS ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

.modal.active { display: flex; }

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.close-modal:hover {
    transform: scale(1.1) rotate(90deg);
}

/* Search Modal */
.search-container {
    width: 100%;
    max-width: 700px;
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    margin-top: 80px;
    animation: slideDown 0.4s ease;
}

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

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.search-input-wrap i { font-size: 1.3rem; color: var(--accent); }

.search-input-wrap input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1.2rem;
    color: var(--text);
    outline: none;
}

.search-results {
    padding-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.search-hint {
    text-align: center;
    color: var(--text-3);
    padding: 20px;
}

.search-result-item {
    display: flex;
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover { 
    background: var(--bg-3);
    transform: translateX(5px);
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
}

.search-result-info h4 { font-size: 0.95rem; margin-bottom: 4px; font-weight: 700; }
.search-result-info p { 
    font-size: 0.85rem; 
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ===== SIDE PANELS ===== */
.side-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-panel.active { right: 0; }

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

.panel-header h3 { font-size: 1.1rem; font-weight: 700; }

.close-panel {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-panel:hover { 
    background: var(--gradient-1);
    color: white;
    transform: rotate(90deg);
}

.panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

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

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-3);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

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

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.95rem; margin-bottom: 4px; font-weight: 700; }
.cart-item-info .meta { font-size: 0.8rem; color: var(--text-2); margin-bottom: 8px; }
.cart-item-info .price { 
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.cart-item-remove {
    color: var(--text-3);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-remove:hover { 
    color: var(--accent);
    transform: scale(1.2);
}

/* ===== PRODUCT MODAL ===== */
.product-modal-content {
    width: 100%;
    max-width: 1000px;
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    animation: zoomIn 0.4s ease;
}

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

.main-image {
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-3);
    margin-bottom: 15px;
    border: 3px solid var(--accent);
}

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

.thumb-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb-gallery img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.thumb-gallery img:hover,
.thumb-gallery img.active {
    opacity: 1;
    border: 3px solid var(--accent);
}

.product-modal-info h2 {
    font-size: 2rem;
    font-weight: 900;
    margin: 8px 0 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #fdcb6e;
    margin-bottom: 15px;
}

.product-rating span {
    color: var(--text-2);
    font-size: 0.85rem;
    margin-left: 8px;
}

.product-modal-info .product-price {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.product-description {
    color: var(--text-2);
    margin-bottom: 25px;
    line-height: 1.7;
}

.product-option {
    margin-bottom: 20px;
}

.product-option label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-2);
    font-weight: 700;
}

.product-quantity {
    margin-bottom: 25px;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border-radius: 50px;
    overflow: hidden;
}

.qty-control button {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
}

.qty-control button:hover { 
    background: var(--gradient-1);
    color: white;
}

.qty-control span {
    width: 45px;
    text-align: center;
    font-weight: 700;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.product-actions .btn-primary { flex: 1; }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-2);
    backdrop-filter: blur(20px);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col p {
    color: var(--text-2);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.footer-col ul li a {
    color: var(--text-2);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover { 
    color: var(--accent);
    padding-left: 5px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-1);
    color: white;
    transform: translateY(-5px) rotate(10deg);
}

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

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--bg-3);
    color: var(--text);
    outline: none;
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.newsletter-form button:hover { 
    transform: scale(1.1) rotate(10deg);
}

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

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 300;
    transition: transform 0.4s ease;
}

.toast.show { transform: translateX(-50%)}
    /* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 300;
    transition: transform 0.4s ease;
    color: white;
    background: var(--gradient-1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.5);
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px; }
    .hero-circle { width: 350px; height: 350px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .about-hero, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .about-values, .about-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .filters-sidebar { position: static; display: none; }
    .filters-sidebar.active { display: block; }
    .filter-toggle { display: flex; }
    .product-modal-grid { grid-template-columns: 1fr; }
    .main-image { height: 400px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-2);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 25px;
        gap: 15px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-150%);
        transition: transform 0.3s;
    }
    .nav-menu.active { transform: translateY(0); }
    .menu-toggle { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-image { height: 220px; }
    .categories-full { grid-template-columns: 1fr; }
    .category-full-card { height: 350px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .side-panel { width: 100%; right: -100%; }
    .hero-title { font-size: 3.5rem; }
    .hero-circle { width: 300px; height: 300px; }
    .floating-element { display: none; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .section-title { font-size: 2rem; }
    .category-grid { grid-template-columns: 1fr; }
    .category-card { height: 280px; }
}