/* styles.css - LilBloom Soft Pastel Boutique (pure CSS) */

/* ---------- Root & resets ---------- */
:root {
    --bg: #fffafc;
    --card: #fff;
    --muted: #7b7b85;
    --accent: #ffd6e8;
    --accent-2: #dff7ea;
    --pink: #ff6fa8;
    --shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
    --radius: 14px;
    --container: 1100px;
    --glass: rgba(255, 255, 255, 0.72);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: Inter, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg), #fff);
    color: #222;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    font-feature-settings: "liga" 1;
    -webkit-font-feature-settings: "liga" 1;
}

/* ---------- Container ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */
.header {
    background: var(--glass);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.logo {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo .mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd6e8, #fff1f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #b33a66;
    box-shadow: var(--shadow);
    font-size: 18px;
}

.logo .title {
    font-weight: 600
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 8px 6px;
    border-radius: 8px;
    font-weight: 600;
}

.nav a.active {
    color: var(--pink);
}

.cta {
    background: linear-gradient(90deg, #ffd6e8, #fff1f6);
    color: #9b2650;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(155, 38, 80, 0.06);
    box-shadow: 0 8px 20px rgba(249, 153, 201, 0.06);
    display: inline-block;
}

.menu-btn {
    display: none;
    background: transparent;
    border: 0;
    font-size: 20px;
}

/* ---------- Hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 28px;
    align-items: center;
    padding: 38px 0;
    position: relative;
}

.hero-left h1 {
    font-size: 34px;
    margin: 0 0 12px
}

.hero-left p {
    color: var(--muted);
    margin: 0 0 18px
}

.hero-visual {
    border-radius: 18px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
    padding: 8px;
    position: relative;
}

.hero-visual img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 12px
}

/* ---------- Floating blob ---------- */
.hero-blob {
    position: absolute;
    right: 10%;
    top: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 206, 235, 0.55), rgba(255, 230, 240, 0.22) 60%);
    filter: blur(38px);
    z-index: 0;
    animation: float-blob 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes float-blob {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    100% {
        transform: translateY(-22px) translateX(18px) rotate(6deg);
    }
}

/* ---------- Grid & cards ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform .28s ease, box-shadow .28s ease;
    position: relative;
    overflow: hidden;
}

.card {
    position: relative;
    transition: all 0.35s ease;
}

.card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 200, 230, 0.25), rgba(255, 255, 255, 0));
    pointer-events: none;
}


.card img {
    width: 100%;
    height: auto;
    /* adjust height automatically */
    max-height: 350px;
    /* avoid extra tall images */
    object-fit: contain;
    border-radius: 10px;
}


.card h4 {
    margin: 10px 0 6px;
    font-size: 16px
}

.price {
    color: var(--pink);
    font-weight: 700
}

/* ---------- CTA strip ---------- */
.cta-strip {
    margin-top: 28px;
    padding: 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* ---------- Footer ---------- */
.footer-inner {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center
}

footer {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: 32px;
    color: var(--muted);
    font-size: 14px
}

/* ---------- Forms & utilities ---------- */
.form {
    background: var(--card);
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow)
}

.form input,
.form textarea,
select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 8px;
    font-size: 14px;
    outline: none;
}

.form button {
    background: linear-gradient(90deg, #ffd6e8, #fff1f6);
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer
}

.row {
    display: flex;
    gap: 12px
}

.muted {
    color: var(--muted);
    font-size: 14px
}

.small-note {
    font-size: 13px;
    color: var(--muted)
}

/* ---------- Animations (new) ---------- */
/* Fade-up */
.fade-up {
    opacity: 0;
    transform: translateY(22px);
    animation: fadeUp 0.9s cubic-bezier(.2, .9, .3, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Fade-in */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Card fade (stagger handled by JS) */
.grid .card {
    opacity: 0;
    transform: translateY(18px);
    animation: cardShow 0.9s cubic-bezier(.2, .9, .3, 1) forwards;
}

@keyframes cardShow {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Hover zoom on hero image */
.hero-visual img {
    transition: transform .6s cubic-bezier(.2, .9, .3, 1), filter .45s ease;
}

.hero-visual:hover img {
    transform: scale(1.05);
    filter: saturate(1.05);
}

/* CTA hover micro-interaction */
.cta,
.cta:hover,
.cta:focus {
    transition: transform .22s ease, box-shadow .22s ease;
}

.cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 26px rgba(155, 38, 80, 0.06);
}

/* mobile adjustments */
@media (max-width:1000px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 28px 0
    }

    .hero-visual img {
        height: 320px
    }

    .hero-blob {
        right: 6%;
        top: -20px;
        width: 140px;
        height: 140px
    }
}

@media (max-width:640px) {
    .nav {
        display: none
    }

    .menu-btn {
        display: block
    }

    .mobile-nav {
        display: none
    }

    .hero-left h1 {
        font-size: 26px
    }

    .grid {
        grid-template-columns: 1fr
    }

    .hero-visual img {
        height: 260px
    }
}

/* simple mobile nav show */
.mobile-nav {
    display: none;
    padding: 10px 20px;
    background: var(--glass);
    border-top: 1px solid rgba(0, 0, 0, 0.04)
}

.mobile-nav a {
    display: block;
    padding: 8px 0;
    color: var(--muted);
    text-decoration: none
}

.mobile-nav.show {
    display: block
}

#p-main-img {
    width: 100%;
    height: auto;
    /* allow natural height */
    max-height: 500px;
    /* prevent super tall image */
    object-fit: contain;
    /* show full image */
    border-radius: 16px;
    background: #fff;
}

/* ---------------------------
   CONTACT PAGE – ELEGANT VERSION
----------------------------*/

.contact-hero {
    text-align: center;
    padding: 60px 20px 20px;
}

.contact-hero h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 0;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    margin-top: 20px;
}

/* INFO LEFT */
.contact-info h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.contact-box {
    margin-top: 20px;
}

.contact-box a {
    display: block;
    margin-top: 4px;
    text-decoration: none;
    color: #d14a86;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* FORM RIGHT */
.contact-form {
    padding: 28px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 160, 210, 0.35);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
    font-size: 15px;
    margin-bottom: 14px;
    transition: .25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff9ac6;
    box-shadow: 0 0 0 3px rgba(255, 180, 216, 0.3);
    outline: none;
}

.contact-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #ff7eb3, #ffb3d9);
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 120, 170, 0.3);
}

/* MOBILE */
@media (max-width: 900px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------
   PREMIUM CUSTOM ORDER PAGE
----------------------------*/

.custom-order-hero {
    position: relative;
    padding: 70px 0 40px;
    text-align: left;
    overflow: hidden;
}

.custom-order-hero h1 {
    font-size: 34px;
    font-weight: 700;
    margin: 0;
}

.custom-order-hero p {
    font-size: 17px;
    margin-top: 10px;
}

/* FLOATING BLOBS */
.blob1,
.blob2,
.blob3 {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    z-index: -1;
}

.blob1 {
    background: #ffd6e8cc;
    top: -40px;
    left: -60px;
    animation: blob 6s infinite alternate ease-in-out;
}

.blob2 {
    background: #ffe6f7cc;
    top: 80px;
    right: -70px;
    animation: blob 7s infinite alternate ease-in-out;
}

.blob3 {
    background: #dff8ffcc;
    top: 200px;
    left: 40%;
    animation: blob 5s infinite alternate ease-in-out;
}

@keyframes blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -40px) scale(1.1);
    }
}

/* FORM BOX */
.custom-form-section {
    margin-top: 20px;
    margin-bottom: 50px;
}

.custom-form-box {
    background: white;
    padding: 32px;
    border-radius: 22px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 160, 210, 0.35);
    backdrop-filter: blur(8px);
    animation: fadeUp 1s ease forwards;
}

.row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}

.custom-form-box input,
.custom-form-box textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
    font-size: 15px;
    transition: 0.25s;
}

.custom-form-box input:focus,
.custom-form-box textarea:focus {
    border-color: #ff9ac6;
    box-shadow: 0 0 0 3px rgba(255, 180, 216, 0.3);
    outline: none;
}

.custom-btn {
    margin-top: 14px;
    background: linear-gradient(90deg, #ff7eb3, #ffb3d9);
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: 0.3s;
}

.custom-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(255, 120, 170, 0.35);
}

/* =========================================================
   PRODUCT PAGE — NEW PREMIUM LAYOUT
========================================================= */

.product-page {
    position: relative;
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Floating Blobs */
.product-bg-blob {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
}

.blob1 {
    background: rgba(255, 182, 225, 0.5);
    top: -40px;
    left: -60px;
}

.blob2 {
    background: rgba(200, 240, 255, 0.6);
    top: 200px;
    right: -80px;
}

/* Wrapper */
.product-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Image Box */
.product-image-box {
    background: white;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.07);
}

.product-image-box img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

/* Right Panel */
.product-info h1 {
    font-size: 32px;
    margin: 0 0 8px;
}

.p-price {
    font-size: 22px;
    color: #e64882;
    font-weight: 600;
    margin-bottom: 12px;
}

.p-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

/* Fabric + Size Box */
.options-box {
    background: white;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 160, 210, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.options-box select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* Buttons */
.product-btns {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.req-btn {
    background: linear-gradient(90deg, #ff7eb3, #ffb3d9);
    border: none;
    padding: 12px 26px;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.req-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 120, 170, 0.3);
}

.wa-btn {
    background: white;
    border: 1.5px solid #25D366;
    color: #25D366;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.wa-btn:hover {
    background: #25D366;
    color: white;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.3);
}

/* MOBILE */
@media (max-width: 900px) {
    .product-wrapper {
        grid-template-columns: 1fr;
    }

    .product-image-box img {
        max-height: 420px;
    }
}

.card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.card:hover img {
    transform: scale(1.10);
}

/* CLICK ZOOM IMAGE */
.product-image-box img {
    transition: transform 0.35s ease;
    cursor: zoom-in;
}

.product-image-box img.zoomed {
    transform: scale(2.2);
    /* zoom level */
    cursor: zoom-out;
    /* change cursor */
}

.product-image-box {
    overflow: hidden;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 40px rgba(255, 105, 180, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;              /* 👈 KEY FIX */
}

.card img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.card-top {
    flex: 1;
}

.card-bottom {
    display: flex;
    justify-content: left;
    margin-top: auto;
}

.card h4 {
  margin: 0;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}


.card .price {
    color: #e64882;
    font-weight: 700;
    margin-bottom: 10px;
}

#custom-product,
#custom-fabric,
#custom-size {
    background: #fdf2f8;
    border: 1px solid #f8cce3;
    cursor: not-allowed;
    font-weight: 600;
}

.nav-logo {
    height: 55px;
    /* adjust size */
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    border-radius: 6px;
    /* optional */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.cat-card {
    background: #fff;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.cat-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ============================
   PREMIUM HERO UPGRADE
============================ */
.hero-upgraded {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* keeps balance */
    gap: 40px;
    width: 100%;
    max-width: 1300px;
    margin: auto;
    /* PERFECT CENTER */
    padding: 60px 20px 80px;
}


.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: #b33265;
}

.hero-sub {
    font-size: 16px;
    color: var(--muted);
    margin-top: 12px;
    max-width: 450px;
}

.hero-buttons {
    margin-top: 24px;
    display: flex;
    gap: 14px;
}

.hero-btn-primary {
    background: linear-gradient(90deg, #ff7eb3, #ffb7d9);
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    color: white;
    box-shadow: 0 12px 28px rgba(255, 120, 170, 0.28);
    transition: 0.3s;
}

.hero-btn-primary:hover {
    transform: translateY(-4px);
}

.hero-btn-secondary {
    background: white;
    border: 1.5px solid #ff8abd;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #d14a86;
    transition: 0.3s;
}

.hero-btn-secondary:hover {
    background: #ffe6f4;
}

.hero-image-wrap {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.hero-main-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

/* Pink Glow */
.hero-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 260px;
    height: 260px;
    background: #ffd6e8;
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

/* Curved Design Behind Image */
.hero-bg-curve {
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 320px;
    height: 320px;
    background: #ffeef7;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

/* Mobile Responsive */
@media (max-width:900px) {
    .hero-upgraded {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-main-img {
        height: 400px;
    }
}

.hero-left-up {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Slow floating animation */
@keyframes slowFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-18px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Apply animation to hero image */
.hero-image-wrap img {
    animation: slowFloat 6s ease-in-out infinite;
    transition: transform 1s ease;
}

.hero-image-wrap img {
    animation: slowFloat 6s ease-in-out infinite;
    transform-origin: center;
    opacity: 0;
    animation: slowFloat 6s ease-in-out infinite, fadeIn 1.5s ease forwards;
}

/* Fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---------------------------------------
   NEW PREMIUM HERO SECTION
----------------------------------------*/

/* --------------------------------------------------
   FINAL IMPROVED HERO LAYOUT (Perfectly Centered)
-------------------------------------------------- */

.hero-upgraded {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    /* Centers whole hero */
    padding: 70px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Perfect spacing */
    gap: 40px;
    position: relative;

    background: linear-gradient(180deg, #fff6fb, #fdf6ff);
}

/* LEFT SIDE */
.hero-left-up {
    flex: 1;
    max-width: 500px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    color: #b72d63;
}

.hero-sub {
    color: #6a6a6a;
    margin-bottom: 24px;
    font-size: 16px;
}

/* RIGHT SIDE */
.hero-right-up {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-wrap {
    width: 460px;
    height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

/* IMAGE */
.hero-main-img {
    width: 100%;
    object-fit: contain;
    z-index: 4;
    animation: floatHero 6s ease-in-out infinite alternate;
}

/* GLASS BACK CARD */
.hero-glass {
    position: absolute;
    width: 460px;
    height: 520px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    top: 0;
    z-index: 1;

    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

/* GLOW */
.hero-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 175, 210, 0.6), rgba(255, 255, 255, 0));
    filter: blur(70px);
    z-index: 0;
}

/* BACKGROUND PAINT SPLASH */
.hero-bg-curve {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 35% 40%, #ffd6e8 25%, #c8f4ff 70%);
    opacity: 0.55;
    border-radius: 50%;
    filter: blur(30px);
    z-index: -1;
}

/* FLOAT ANIMATION */
@keyframes floatHero {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-18px) rotate(-2deg);
    }
}

/* MOBILE FIX */
@media (max-width: 900px) {
    .hero-upgraded {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-image-wrap {
        width: 320px;
        height: 400px;
    }

    .hero-title {
        font-size: 32px;
    }
}




/* ---------------------------------------
   PARALLAX ON SCROLL (JS will apply class)
----------------------------------------*/
.hero-parallax {
    transform: translateY(-20px);
    transition: transform 0.3s ease-out;
}

/* Mobile Optimization */
@media (max-width: 900px) {
    .hero-upgraded {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-right-up {
        margin-top: 20px;
    }

    .hero-image-wrap {
        width: 320px;
        height: 420px;
    }
}

/* =====================================================
   FULL MOBILE RESPONSIVE FIX — HERO + CATEGORY + HEADER
===================================================== */

/* -------- Tablets & Below -------- */
@media (max-width: 1024px) {
    .hero-upgraded {
        padding: 60px 24px;
        gap: 30px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-image-wrap {
        width: 380px;
        height: 440px;
    }
}

/* -------- Mobile (MAIN FIX) -------- */
@media (max-width: 768px) {

    /* HERO LAYOUT */
    .hero-upgraded {
        flex-direction: column-reverse;
        text-align: center;
        padding: 48px 20px;
    }

    .hero-left-up {
        max-width: 100%;
        align-items: center;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-sub {
        font-size: 15px;
        margin-bottom: 22px;
    }

    /* HERO BUTTONS */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 14px;
        font-size: 15px;
    }

    /* HERO IMAGE */
    .hero-right-up {
        width: 100%;
        justify-content: center;
    }

    .hero-image-wrap {
        width: 300px;
        height: 360px;
    }

    .hero-glass {
        width: 100%;
        height: 100%;
        border-radius: 22px;
    }

    .hero-bg-curve {
        width: 340px;
        height: 340px;
        filter: blur(25px);
    }

    .hero-glow {
        width: 260px;
        height: 260px;
        filter: blur(60px);
    }

    /* HEADER LOGO SIZE */
    .nav-logo {
        height: 36px;
    }
}

/* -------- Small Phones -------- */
@media (max-width: 480px) {

    .hero-title {
        font-size: 28px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .hero-image-wrap {
        width: 260px;
        height: 320px;
    }
}

/* -------- CATEGORY GRID MOBILE -------- */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .cat-card img {
        height: 140px;
    }
}

@media (max-width: 420px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   DARK MODE SYSTEM
================================ */

body {
    transition: background 0.4s ease, color 0.4s ease;
}

/* Toggle button */
.dark-toggle {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    cursor: pointer;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.dark-toggle:hover {
    transform: scale(1.08);
}

/* -------------------------------
   DARK MODE COLORS
-------------------------------- */
body.dark {
    background: #0f0f14;
    color: #e5e5ec;
}

body.dark .header {
    background: rgba(20, 20, 30, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark .nav a {
    color: #bfc0cc;
}

body.dark .nav a.active {
    color: #ff8fb8;
}

body.dark .hero-upgraded {
    background: radial-gradient(circle at top, #1a1a25, #0f0f14);
}

body.dark .hero-title {
    color: #ffd0e4;
}

body.dark .hero-sub {
    color: #b8b8c6;
}

body.dark .card,
body.dark .cat-card,
body.dark .hero-image-wrap,
body.dark footer,
body.dark .form,
body.dark .contact-form {
    background: #181825;
    color: #e5e5ec;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark .price {
    color: #ff8fb8;
}

body.dark .cta,
body.dark .hero-btn-primary {
    background: linear-gradient(90deg, #ff7eb3, #ffb3d9);
    color: #1a1a25;
}

body.dark .hero-btn-secondary {
    border-color: #ff8fb8;
    color: #ff8fb8;
}

/* Glass effect darker */
body.dark .hero-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
}

/* Toggle icon change */
body.dark .dark-toggle {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

/* ======================
   PREMIUM HERO DESIGN
====================== */
.hero-new {
    min-height: 90vh;
    padding: 80px 6%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
    background:
        radial-gradient(circle at top left, #ffeaf4, transparent 50%),
        radial-gradient(circle at bottom right, #e8f6ff, transparent 50%),
        #fff;
    overflow: hidden;
}

/* LEFT CONTENT */
.hero-content {
    animation: fadeSlide 1.2s ease forwards;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #ffe3ef;
    color: #c2185b;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-content h1 span {
    color: #e83e8c;
}

.hero-content p {
    font-size: 18px;
    color: #666;
    max-width: 520px;
}

/* BUTTONS */
.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 18px;
}

.btn-primary {
    background: linear-gradient(90deg, #ff6fa8, #ff9fc5);
    padding: 14px 26px;
    color: #fff;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 15px 40px rgba(255, 111, 168, 0.35);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-4px);
}

.btn-outline {
    padding: 14px 26px;
    border-radius: 30px;
    border: 2px solid #ff9fc5;
    color: #e83e8c;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #fff0f6;
}

/* RIGHT IMAGE */
.hero-visual {
    position: relative;
    animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }

    100% {
        transform: translateY(0);
    }
}

.hero-visual img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

/* GLASS EFFECT */
.hero-glass {
    position: absolute;
    inset: -15px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent);
    backdrop-filter: blur(10px);
    z-index: 1;
}

/* SHADOW */
.hero-shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4), transparent);
    filter: blur(18px);
    z-index: 0;
}

/* MOBILE */
@media (max-width: 900px) {
    .hero-new {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 34px;
    }
}

/* ===============================
   OFFER POPUP
================================ */
.offer-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.offer-card {
    background: linear-gradient(135deg, #fff, #fff5fa);
    padding: 28px;
    border-radius: 20px;
    width: 320px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    animation: popupIn 0.6s ease forwards;
}

@keyframes popupIn {
    from {
        transform: scale(0.7);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.offer-card h3 {
    margin: 0 0 10px;
    color: #d63384;
}

.offer-card p {
    font-size: 15px;
}

.coupon {
    background: #ffe3ef;
    padding: 10px;
    border-radius: 10px;
    margin: 14px 0;
}

.offer-btn {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(90deg, #ff6fa8, #ff9fc5);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

.offer-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}
#typewriter::after {
  content: "|";
  margin-left: 6px;
  animation: blink 1s infinite;
  color: #e83e8c;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
/* ===============================
   HERO ANIMATIONS
================================ */

.hero-new {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  padding: 80px 6%;
  align-items: center;
  background:
    radial-gradient(circle at top left, #ffeaf4, transparent 50%),
    radial-gradient(circle at bottom right, #e8f6ff, transparent 50%),
    #fff;
  overflow: hidden;
}

.hero-content {
  animation: heroText 1.2s ease forwards;
}

@keyframes heroText {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}

.hero-visual {
  position: relative;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

.hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.25);
  position: relative;
  z-index: 2;
}

.hero-glass {
  position: absolute;
  inset: -15px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent);
  backdrop-filter: blur(12px);
  z-index: 1;
}

.hero-shadow {
  position: absolute;
  bottom: -25px;
  left: 15%;
  right: 15%;
  height: 40px;
  background: radial-gradient(circle, rgba(0,0,0,0.4), transparent);
  filter: blur(18px);
}

/* ===============================
   SCROLL REVEAL
================================ */

.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: 0.9s cubic-bezier(.2,.9,.3,1);
}

.fade-up.show {
  opacity: 1;
  transform: none;
}

/* ===============================
   MOBILE HERO
================================ */

@media(max-width:900px){
  .hero-new {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 30px;
  }
}
/* ===============================
   DISCOUNT POPUP
================================ */

/* OVERLAY */
.offer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* POPUP BOX */
.offer-box {
  background: linear-gradient(180deg, #fff, #fff7fb);
  width: 90%;
  max-width: 420px;
  border-radius: 24px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  position: relative;
  border: 1px solid rgba(255, 180, 210, 0.45);
}

/* CLOSE */
.offer-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #999;
}

/* TAG */
.offer-tag {
  display: inline-block;
  background: linear-gradient(90deg, #ff8fb8, #ffb3d4);
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}

/* TITLE */
.offer-box h3 {
  font-size: 28px;
  margin: 8px 0 10px;
  color: #b02a5b;
}

/* TEXT */
.offer-text {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* CODE */
.offer-code {
  background: #fff;
  border: 2px dashed #ff8fb8;
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
  margin-bottom: 22px;
  color: #b02a5b;
}

/* BUTTON */
.offer-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff6fa8, #ff9ac6);
  color: white;
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(255, 120, 170, 0.35);
  transition: transform .3s ease;
}

.offer-btn:hover {
  transform: translateY(-3px);
}

/* NOTE */
.offer-note {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: #888;
}

/* MOBILE */
@media (max-width: 480px) {
  .offer-box {
    padding: 26px 20px;
  }
  .offer-box h3 {
    font-size: 24px;
  }
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: white;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.why-card h4 {
  margin-bottom: 8px;
  color: #b02a5b;
}

@media(max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}
.signature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.signature-card {
  height: 180px;
  border-radius: 20px;
  background: linear-gradient(135deg,#ffe6f0,#fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #b02a5b;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

@media(max-width: 900px) {
  .signature-grid { grid-template-columns: 1fr 1fr; }
}
.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.step {
  padding: 22px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  font-weight: 600;
}

@media(max-width:900px){
  .steps { grid-template-columns: 1fr; }
}
.site-footer {
  background: linear-gradient(180deg, #fff5fa, #ffffff);
  border-top: 1px solid #ffd6e8;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  width: 90px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #d63384;
  margin-bottom: 12px;
}

.footer-link {
  display: block;
  text-decoration: none;
  color: #444;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-link:hover {
  color: #ff5fa2;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #ffe0ec;
  padding-top: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 10px;
  }
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.social-link:hover .social-icon {
  filter: drop-shadow(0 0 6px rgba(225,48,108,0.6));
}
/* =========================
   HANDMADE CREATIONS
========================= */
.handmade-section {
  margin-top: 80px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #c1356f;
  margin-bottom: 10px;
}

.section-sub {
  color: #777;
  max-width: 600px;
  margin: 0 auto 40px;
}

.handmade-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.handmade-card {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.handmade-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.handmade-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.12);
}

.handmade-card:hover img {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 900px) {
  .handmade-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .handmade-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   IMAGE LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 92%;
  max-height: 90%;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.6);
  animation: zoomIn 0.4s ease;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 35px;
  font-size: 34px;
  color: white;
  cursor: pointer;
  font-weight: 300;
}

@keyframes zoomIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.card {
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(255, 105, 180, 0.18);
}
/* ===== MOBILE NAV ===== */

.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ff5c9d;
}

/* Mobile layout */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    z-index: 999;
  }

  .nav a {
    padding: 12px 0;
    font-size: 16px;
  }

  .nav.active {
    display: flex;
    animation: slideDown .3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* hide desktop CTA spacing issue */
  .cta {
    margin-left: 0;
  }
}
/* ===============================
   PRODUCT PAGE – MOBILE RESPONSIVE
================================ */

/* Base layout safety */
.product-page {
  overflow-x: hidden;
}

/* Product wrapper */
.product-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

/* Image */
.product-image-box img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
}

/* Options box */
.options-box select {
  width: 100%;
}

/* Buttons */
.product-btns {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

/* ===============================
   MOBILE FIXES
================================ */
@media (max-width: 768px) {

  /* Stack layout */
  .product-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Center image */
  .product-image-box {
    display: flex;
    justify-content: center;
  }

  .product-image-box img {
    max-width: 90%;
  }

  /* Text sizes */
  .product-info h1 {
    font-size: 22px;
  }

  .p-price {
    font-size: 20px;
  }

  .p-desc {
    font-size: 14px;
  }

  /* Options spacing */
  .options-box {
    padding: 14px;
  }

  /* Buttons full width */
  .product-btns {
    flex-direction: column;
  }

  .product-btns a,
  .product-btns button {
    width: 100%;
    text-align: center;
  }
}
