/* ============================================
   МЫЛО3D — Main Stylesheet
   Pink-Purple Soft Theme
   ============================================ */

/* === CSS Variables === */
:root {
    --pink:          #E91E8C;
    --pink-light:    #FF6EC7;
    --pink-pale:     #FFB3E6;
    --purple:        #9B27AF;
    --purple-light:  #CE93D8;
    --purple-pale:   #E1BEE7;

    --bg:            #FDF0FF;
    --bg-card:       rgba(255, 255, 255, 0.85);
    --text:          #2D1B4E;
    --text-muted:    #8B6DAD;

    --gradient:      linear-gradient(135deg, #E91E8C 0%, #9B27AF 100%);
    --gradient-soft: linear-gradient(135deg, #FFB3E6 0%, #CE93D8 100%);

    --shadow-sm:   0 4px 16px rgba(155, 39, 175, 0.10);
    --shadow:      0 8px 32px rgba(155, 39, 175, 0.14);
    --shadow-lg:   0 16px 56px rgba(155, 39, 175, 0.22);
    --shadow-card: 0 4px 24px rgba(233, 30, 140, 0.09);

    --radius-xs: 8px;
    --radius-sm: 14px;
    --radius:    24px;
    --radius-lg: 36px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h:  72px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* === Floating Bubbles === */
.bubbles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: rise-bubble linear infinite;
    bottom: -120px;
}

.bubble:nth-child(1) { width: 70px;  height: 70px;  left: 8%;  background: radial-gradient(circle at 35% 35%, var(--pink-pale), var(--pink));       animation-duration: 14s; animation-delay: 0s;  }
.bubble:nth-child(2) { width: 110px; height: 110px; left: 22%; background: radial-gradient(circle at 35% 35%, var(--purple-pale), var(--purple));    animation-duration: 19s; animation-delay: 3s;  }
.bubble:nth-child(3) { width: 55px;  height: 55px;  left: 55%; background: radial-gradient(circle at 35% 35%, #FFD6F0, var(--pink-light));           animation-duration: 12s; animation-delay: 6s;  }
.bubble:nth-child(4) { width: 90px;  height: 90px;  left: 75%; background: radial-gradient(circle at 35% 35%, var(--purple-pale), var(--purple-light)); animation-duration: 22s; animation-delay: 1s; }
.bubble:nth-child(5) { width: 45px;  height: 45px;  left: 40%; background: radial-gradient(circle at 35% 35%, var(--pink-pale), var(--pink));         animation-duration: 10s; animation-delay: 9s;  }
.bubble:nth-child(6) { width: 130px; height: 130px; left: 90%; background: radial-gradient(circle at 35% 35%, #F3D0FF, var(--purple));               animation-duration: 26s; animation-delay: 4s;  }

@keyframes rise-bubble {
    0%   { transform: translateY(0) scale(1);    opacity: 0;    }
    10%  { opacity: 0.18; }
    90%  { opacity: 0.10; }
    100% { transform: translateY(-110vh) scale(1.3); opacity: 0; }
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.38);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(233, 30, 140, 0.50);
}
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.75);
    color: var(--purple);
    border: 2px solid rgba(155, 39, 175, 0.22);
    backdrop-filter: blur(12px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--purple);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--pink);
    border: 2px solid var(--pink);
    padding: 12px 24px;
}
.btn-outline:hover:not(:disabled) {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}
.btn-outline:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-outline-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    border: 2px solid rgba(255, 255, 255, 0.25);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: inherit;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline-light:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}
.btn-outline-light:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-full { width: 100%; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(253, 240, 255, 0.82);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(233, 30, 140, 0.10);
    transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    flex-shrink: 0;
}
.logo-icon { font-size: 1.9rem; }
.logo-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--pink);
    background: rgba(233, 30, 140, 0.08);
}

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

.cart-btn {
    position: relative;
    font-size: 1.35rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(233, 30, 140, 0.09);
    transition: var(--transition);
    line-height: 1;
}
.cart-btn:hover { background: rgba(233, 30, 140, 0.18); transform: scale(1.05); }

.cart-badge {
    position: absolute;
    top: 0; right: 0;
    transform: translate(40%, -40%);
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 50px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(233, 30, 140, 0.4);
}
.cart-badge.visible { display: flex; }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px 10px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
}
.burger:hover { background: rgba(233, 30, 140, 0.08); }
.burger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 70% 20%, rgba(233, 30, 140, 0.10) 0%, transparent 60%),
                radial-gradient(ellipse at 10% 80%, rgba(155, 39, 175, 0.10) 0%, transparent 60%),
                var(--bg);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    flex: 1;
    padding-bottom: 60px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(233, 30, 140, 0.09);
    border: 1px solid rgba(233, 30, 140, 0.22);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 22px;
    color: var(--text);
}

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

.hero-desc {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 490px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 700; }
.stat-divider { width: 1px; height: 36px; background: rgba(155, 39, 175, 0.2); }

/* --- Hero Soap Showcase --- */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.soap-showcase {
    position: relative;
    width: 360px;
    height: 360px;
}

.hero-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.20) 0%, rgba(155, 39, 175, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.soap-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation: float-soap ease-in-out infinite;
}
.soap-card-name {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-muted);
}
.soap-card--top   { top: 0;   left: 50%; transform: translateX(-50%); animation-duration: 4.5s; animation-delay: 0s;  }
.soap-card--left  { top: 50%; left: 0;   transform: translateY(-50%); animation-duration: 5.5s; animation-delay: 1.5s; }
.soap-card--right { top: 50%; right: 0;  transform: translateY(-50%); animation-duration: 5s;   animation-delay: 0.8s; }

@keyframes float-soap {
    0%, 100% { translate: 0  0px; }
    50%       { translate: 0 -14px; }
}

/* --- 3D Soap Shape --- */
.soap-3d {
    width: 110px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: perspective(260px) rotateX(18deg) rotateY(-14deg);
    box-shadow:
        5px 7px 0 rgba(0,0,0,0.09),
        0 12px 28px rgba(0,0,0,0.13),
        inset 0 2px 6px rgba(255,255,255,0.45);
    transition: var(--transition);
    position: relative;
}
.soap-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(255,255,255,0.35) 0%, transparent 60%);
    pointer-events: none;
}
.soap-emoji { font-size: 2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.22)); }

/* Hero wave separator */
.hero-wave {
    width: 100%;
    margin-top: auto;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* ============================================
   SECTIONS — Common
   ============================================ */
.section { padding: 100px 0; position: relative; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(233, 30, 140, 0.09);
    border: 1px solid rgba(233, 30, 140, 0.20);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--text);
    margin-bottom: 14px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background: linear-gradient(160deg, rgba(255,179,230,0.12) 0%, rgba(206,147,216,0.12) 100%);
}

.steps {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
}

.step {
    flex: 1;
    max-width: 290px;
    text-align: center;
    padding: 44px 28px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.step::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    border-radius: inherit;
}
.step:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.step:hover::before { opacity: 0.04; }

.step-icon-wrap {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--gradient-soft);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.20);
}
.step-icon { font-size: 2rem; }
.step-num {
    position: absolute;
    top: 14px; right: 18px;
    font-size: 2.4rem;
    font-weight: 900;
    color: rgba(233, 30, 140, 0.09);
    line-height: 1;
}
.step-title {
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--text);
}
.step-desc {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    flex-shrink: 0;
    position: relative;
}
.connector-line {
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-soft);
    transform: translateY(-50%);
}
.connector-arrow {
    font-size: 1.6rem;
    color: var(--pink-light);
    font-weight: 900;
    position: relative;
    z-index: 1;
    background: var(--bg);
    padding: 0 6px;
    line-height: 1;
}

/* ============================================
   CATALOG
   ============================================ */
.catalog-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}
.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.93rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.72);
    border: 2px solid transparent;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    font-family: inherit;
    cursor: pointer;
}
.filter-btn:hover { background: rgba(255, 255, 255, 0.95); color: var(--pink); }
.filter-btn.active {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 18px rgba(233, 30, 140, 0.30);
}

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

/* Product card */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.product-img {
    padding: 28px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255,179,230,0.18) 0%, rgba(206,147,216,0.18) 100%);
    min-height: 150px;
}
.product-img .soap-3d {
    width: 130px;
    height: 82px;
    border-radius: 18px;
    transform: perspective(280px) rotateX(16deg) rotateY(-12deg);
}
.product-img .soap-emoji { font-size: 2.5rem; }

.product-info { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-size: 1.08rem; font-weight: 900; margin-bottom: 4px; color: var(--text); }
.product-category { font-size: 0.78rem; color: var(--text-muted); font-weight: 700; margin-bottom: 12px; }
.product-price {
    font-size: 1.3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
}
.product-card .btn { padding: 11px; font-size: 0.88rem; margin-top: auto; }

/* "Soon" overlay */
.product-card--soon { pointer-events: none; }
.soon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 240, 255, 0.55);
    backdrop-filter: blur(5px);
    z-index: 2;
    border-radius: inherit;
}
.soon-badge {
    background: var(--gradient);
    color: #fff;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(233, 30, 140, 0.35);
}

/* ============================================
   FUTURE FEATURES
   ============================================ */
.future {
    background: linear-gradient(150deg, #1E0D38 0%, #3A0A4F 50%, #1E0D38 100%);
    position: relative;
    overflow: hidden;
}
.future::before {
    content: '';
    position: absolute;
    top: -150px; left: -150px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.28) 0%, transparent 70%);
    pointer-events: none;
}
.future::after {
    content: '';
    position: absolute;
    bottom: -150px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(155, 39, 175, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.future .section-badge {
    background: rgba(233, 30, 140, 0.18);
    border-color: rgba(233, 30, 140, 0.35);
}
.future .section-title { color: #fff; }
.future .section-desc  { color: rgba(255,255,255,0.60); }

.future-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.future-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--radius);
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}
.future-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.future-card-glow {
    position: absolute;
    top: -60px; left: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(233, 30, 140, 0.20) 0%, transparent 70%);
    pointer-events: none;
}
.future-card-glow--ai {
    background: radial-gradient(circle, rgba(155, 39, 175, 0.22) 0%, transparent 70%);
}

.future-card-icon { font-size: 3rem; margin-bottom: 18px; }

.coming-soon-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(233, 30, 140, 0.25);
    border: 1px solid rgba(233, 30, 140, 0.45);
    border-radius: 50px;
    font-size: 0.80rem;
    font-weight: 800;
    color: var(--pink-light);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}
.coming-soon-badge--ai {
    background: rgba(155, 39, 175, 0.25);
    border-color: rgba(155, 39, 175, 0.45);
    color: var(--purple-light);
}

.future-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
}
.future-card-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 24px;
}
.future-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 32px;
}
.future-list li {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0F0620;
    padding: 64px 0 32px;
    color: rgba(255,255,255,0.78);
}

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

.footer-logo .logo-text { color: rgba(255,255,255,0.9); }

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.42);
    margin-bottom: 24px;
    line-height: 1.7;
    max-width: 260px;
}

.social-links { display: flex; gap: 10px; }
.social-link {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.40);
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.80rem;
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 22px;
}
.footer-nav a {
    display: block;
    font-size: 0.90rem;
    color: rgba(255,255,255,0.48);
    margin-bottom: 12px;
    transition: var(--transition);
    font-weight: 600;
}
.footer-nav a:hover { color: var(--pink-light); padding-left: 4px; }

.footer-contact p {
    font-size: 0.90rem;
    color: rgba(255,255,255,0.48);
    margin-bottom: 12px;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.25);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
    color: rgba(255,255,255,0.25);
    transition: var(--transition);
    font-size: 0.82rem;
}
.footer-links a:hover { color: var(--pink-light); }

/* ============================================
   CART DRAWER
   ============================================ */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 13, 56, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 400px;
    height: 100dvh;
    background: var(--bg);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 56px rgba(30, 13, 56, 0.22);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(155, 39, 175, 0.13);
    flex-shrink: 0;
}
.cart-header h3 { font-size: 1.15rem; font-weight: 900; }

.close-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(233, 30, 140, 0.09);
    color: var(--pink);
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    flex-shrink: 0;
}
.close-btn:hover { background: var(--pink); color: #fff; transform: scale(1.05); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}
.cart-items::-webkit-scrollbar { width: 5px; }
.cart-items::-webkit-scrollbar-track { background: transparent; }
.cart-items::-webkit-scrollbar-thumb { background: var(--pink-pale); border-radius: 10px; }

.cart-empty {
    text-align: center;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 6px; }
.cart-empty p { color: var(--text-muted); font-size: 1rem; font-weight: 700; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.95);
    box-shadow: var(--shadow-sm);
}
.cart-item-emoji { font-size: 2.1rem; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name  { font-weight: 800; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-opts  { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.cart-item-price { font-weight: 900; color: var(--pink); font-size: 1rem; }
.cart-item-remove {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    background: none; border: none; font-family: inherit; padding: 0;
}
.cart-item-remove:hover { color: #e53935; }

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(155, 39, 175, 0.13);
    flex-shrink: 0;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 800;
    font-size: 1.05rem;
}
.cart-total-price {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   ORDER MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 13, 56, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: var(--bg);
    border-radius: var(--radius-lg);
    max-width: 720px;
    width: 100%;
    max-height: 92dvh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 40px 100px rgba(30, 13, 56, 0.45);
    transform: scale(0.88) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.modal::-webkit-scrollbar { width: 5px; }
.modal::-webkit-scrollbar-thumb { background: var(--pink-pale); border-radius: 10px; }
.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    z-index: 2;
}

.modal-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

.modal-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255,179,230,0.28) 0%, rgba(206,147,216,0.28) 100%);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    min-height: 320px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.modal-preview::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,30,140,0.15), transparent);
    top: -40px; left: -40px;
}
.modal-preview .soap-3d {
    width: 160px;
    height: 100px;
    transform: perspective(320px) rotateX(20deg) rotateY(-15deg);
}
.modal-preview .soap-emoji { font-size: 3.5rem; }

.modal-content { padding: 44px 36px; }

.modal-title {
    font-size: 1.65rem;
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--text);
}
.modal-price {
    font-size: 1.9rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 28px;
    display: block;
}

.modal-options { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }

.option-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    background: rgba(155, 39, 175, 0.07);
    color: var(--text-muted);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    font-family: inherit;
}
.pill:hover, .pill.active {
    background: rgba(233, 30, 140, 0.09);
    border-color: var(--pink);
    color: var(--pink);
}

.color-options { display: flex; gap: 10px; flex-wrap: wrap; }
.color-pill {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.14);
}
.color-pill:hover   { transform: scale(1.12); }
.color-pill.active  { border-color: var(--text); transform: scale(1.18); box-shadow: 0 4px 14px rgba(0,0,0,0.22); }

.qty-control { display: flex; align-items: center; gap: 18px; }
.qty-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(233, 30, 140, 0.09);
    color: var(--pink);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}
.qty-btn:hover { background: var(--pink); color: #fff; transform: scale(1.05); }
.qty-val { font-size: 1.25rem; font-weight: 900; min-width: 28px; text-align: center; }

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--gradient);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.97rem;
    box-shadow: 0 8px 28px rgba(233, 30, 140, 0.42);
    z-index: 500;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet landscape */
@media (max-width: 1100px) {
    .catalog-grid    { grid-template-columns: repeat(3, 1fr); }
    .footer-inner    { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
    .footer-contact  { grid-column: 1 / -1; }
}

/* Tablet portrait */
@media (max-width: 860px) {
    .hero-inner      { grid-template-columns: 1fr; gap: 0; }
    .hero-visual     { display: none; }
    .hero-content    { text-align: center; }
    .hero-desc       { margin: 0 auto 36px; }
    .hero-actions    { justify-content: center; }
    .hero-stats      { justify-content: center; }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .step-connector { width: auto; height: 48px; flex-direction: column; }
    .connector-line { top: 0; bottom: 0; left: 50%; right: auto; width: 2px; height: 100%; transform: none; }
    .connector-arrow { transform: rotate(90deg); }
    .step { max-width: 400px; width: 100%; }

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

    .modal-inner     { grid-template-columns: 1fr; }
    .modal-preview   { border-radius: var(--radius-lg) var(--radius-lg) 0 0; min-height: 200px; }
    .modal-content   { padding: 32px 28px; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: rgba(253, 240, 255, 0.97);
        backdrop-filter: blur(22px);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 20px;
        border-bottom: 1px solid rgba(233, 30, 140, 0.12);
        transform: translateY(-110%);
        visibility: hidden;
        opacity: 0;
        transition: var(--transition);
        z-index: 99;
        gap: 4px;
    }
    .nav.open {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    .nav-link { padding: 12px 18px; border-radius: var(--radius-sm); text-align: center; }

    .burger { display: flex; }

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

    .footer-inner    { grid-template-columns: 1fr; gap: 28px; }
    .footer-contact  { grid-column: auto; }

    .cart-drawer     { width: 100%; }

    .section         { padding: 72px 0; }
    .hero            { padding-top: calc(var(--header-h) + 36px); }
    .section-header  { margin-bottom: 44px; }

    .future-card     { padding: 32px 26px; }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-title      { font-size: 2.1rem; }
    .hero-actions    { flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .catalog-grid    { gap: 10px; }
    .product-img     { min-height: 120px; padding: 18px; }
    .product-img .soap-3d { width: 100px; height: 64px; }

    .catalog-filters { gap: 6px; }
    .filter-btn      { padding: 8px 14px; font-size: 0.82rem; }

    .modal-content   { padding: 24px 20px; }
    .modal-title     { font-size: 1.35rem; }
    .modal-price     { font-size: 1.55rem; }

    .footer-bottom   { flex-direction: column; text-align: center; }
    .footer-links    { flex-direction: column; gap: 8px; }

    .steps .step     { padding: 32px 22px; }

    .toast { bottom: 16px; font-size: 0.88rem; padding: 12px 22px; }
}
