/* ============================================================
   assets/css/styles.css
   AirFreshiesByColleen — Global Stylesheet
   ============================================================ */

/* --- Google Fonts: Poppins --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (Pastel Palette)
   ============================================================ */
:root {
    /* Palette */
    --pink:              #FFB8CC;
    --pink-light:        #FFD9E6;
    --pink-dark:         #FF82A9;
    --mint:              #B5EAD7;
    --mint-light:        #D4F5EA;
    --mint-dark:         #7ED4B2;
    --lavender:          #CDB8FF;
    --lavender-light:    #E9DAFF;
    --lavender-dark:     #A882F5;
    --blue:              #BDE0FF;
    --blue-light:        #DAEEFF;
    --blue-dark:         #86C3F5;
    --peach:             #FFCBA4;
    --yellow-soft:       #FFF3B0;

    /* Surface & Background */
    --bg:                #FFF4F8;
    --bg-alt:            #F7F0FF;
    --surface:           #FFFFFF;
    --border:            #EDD8ED;

    /* Text */
    --text:              #4A3558;
    --text-light:        #7A6A8A;
    --text-xlight:       #B0A0C0;

    /* Buttons */
    --btn-primary:       #FF82A9;
    --btn-primary-hover: #FF5A8D;
    --btn-secondary:     #CDB8FF;
    --btn-secondary-hover:#A882F5;

    /* Shadows */
    --shadow-soft:  0 3px 14px rgba(100, 70, 130, 0.09);
    --shadow-card:  0 5px 24px rgba(100, 70, 130, 0.12);
    --shadow-hover: 0 10px 36px rgba(100, 70, 130, 0.20);

    /* Shape */
    --radius-sm:    10px;
    --radius-md:    18px;
    --radius-lg:    26px;
    --radius-pill:  999px;

    /* Typography */
    --font: 'Poppins', sans-serif;

    /* Layout */
    --header-h:    68px;
    --transition:  0.2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg) url('../../images/flower-bg.png') center center / cover fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.65;
    overflow-x: hidden;
}

img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul    { list-style: none; }
main  { flex: 1; }

/* ============================================================
   BACKGROUND DECORATIVE BLOBS (fixed, behind all content)
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    top: -140px; left: -140px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFD9E688 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    bottom: -120px; right: -120px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, #CDB8FF55 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

/* Additional mid-page blob via a shared utility class */
.blob-mid {
    position: fixed;
    top: 50%; left: 60%;
    transform: translate(-50%, -50%);
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, #B5EAD744 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   LAYOUT CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 244, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1.5px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* --- Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: 'Dancing Script', cursive;
    color: #9b59b6;
    line-height: 1.25;
}

/* --- Nav Links --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.91rem;
    font-weight: 500;
    color: var(--text-light);
    transition: background var(--transition), color var(--transition);
}
.nav-link:hover  { background: var(--pink-light); color: var(--text); }
.nav-link.active { background: var(--pink-light); color: var(--text); font-weight: 600; }

/* Cart badge */
.cart-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 19px; height: 19px;
    padding: 0 5px;
    background: var(--btn-primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.70rem;
    font-weight: 700;
    line-height: 1;
}

/* --- Hamburger (mobile only) --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 24px; height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.28s, opacity 0.28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--lavender-light) 100%);
    border-top: 1.5px solid var(--border);
    padding: 30px 20px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}
.site-footer p   { margin: 4px 0; }
.site-footer a   { color: var(--text); font-weight: 600; }
.site-footer a:hover { color: var(--btn-primary); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--btn-primary);
    color: #fff;
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.96rem;
    border: none;
    box-shadow: 0 4px 16px rgba(255, 90, 140, 0.32);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--btn-primary-hover);
    box-shadow: 0 7px 22px rgba(255, 60, 120, 0.38);
    transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    background: var(--btn-secondary);
    color: var(--text);
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.96rem;
    border: none;
    box-shadow: 0 4px 14px rgba(168, 130, 245, 0.22);
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
    cursor: pointer;
}
.btn-secondary:hover {
    background: var(--btn-secondary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.93rem;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.btn-outline:hover {
    border-color: var(--btn-primary);
    background: var(--pink-light);
}

/* ============================================================
   PAGE SECTIONS — GENERAL
   ============================================================ */
.page-section {
    padding: 72px 0;
    position: relative;
    z-index: 1;
}
.page-section.alt-bg {
    background: var(--bg-alt);
}

.section-header      { text-align: center; }
.section-title {
    font-size: clamp(1.55rem, 3.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 560px;
    margin-bottom: 44px;
    line-height: 1.7;
}
.section-header .section-subtitle { margin-left: auto; margin-right: auto; }

/* ============================================================
   FEATURE CARDS (used on home + about)
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.feature-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 36px 26px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.feature-card .card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.06rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p  { font-size: 0.91rem; color: var(--text-light); line-height: 1.65; }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
    padding: 86px 0 96px;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero .container {
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 640px;
    background: radial-gradient(ellipse at center, #FFD9E85A 0%, #E9DAFF40 55%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.hero-eyebrow {
    display: inline-block;
    padding: 5px 16px;
    background: var(--pink-light);
    color: var(--btn-primary-hover);
    border-radius: var(--radius-pill);
    font-size: 0.80rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    max-width: 680px;
    margin: 0 auto 20px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--btn-primary-hover), var(--lavender-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto 38px;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating freshie blobs illustration */
.hero-illustration {
    margin-top: 58px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.freshie-preview {
    width: var(--size, 100px);
    height: var(--size, 100px);
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    border: 3px solid rgba(255,255,255,0.7);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* ============================================================
   HOME — HOW IT WORKS STEPS
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
}

.step-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px 22px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform var(--transition);
}
.step-card:hover { transform: translateY(-4px); }

.step-number {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem;
    margin: 0 auto 12px;
}
.step-icon { font-size: 2rem; margin-bottom: 10px; }
.step-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step-card p  { font-size: 0.88rem; color: var(--text-light); }

/* ============================================================
   PAGE HERO (About, Contact, Cart headings)
   ============================================================ */
.page-hero {
    padding: 58px 0 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}
.page-hero p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.about-story-visual {
    background: linear-gradient(135deg, var(--pink-light), var(--mint-light));
    border-radius: var(--radius-lg);
    height: 340px;
    display: flex; align-items: center; justify-content: center;
    font-size: 5.5rem;
    box-shadow: var(--shadow-card);
}

.about-story-text h2 { font-size: 1.7rem; font-weight: 700; margin-bottom: 18px; }
.about-story-text p  { font-size: 0.96rem; color: var(--text-light); line-height: 1.8; margin-bottom: 14px; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
}

.process-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 30px 22px;
    box-shadow: var(--shadow-card);
    text-align: center;
    border-top: 4px solid var(--pink);
    transition: transform var(--transition);
}
.process-card:hover { transform: translateY(-4px); }
.process-card:nth-child(2) { border-top-color: var(--mint); }
.process-card:nth-child(3) { border-top-color: var(--lavender); }
.process-card:nth-child(4) { border-top-color: var(--blue); }
.process-card .card-icon { font-size: 2rem; margin-bottom: 12px; }
.process-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 7px; }
.process-card p  { font-size: 0.88rem; color: var(--text-light); }

.why-custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.why-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--lavender);
    transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-3px); }
.why-card:nth-child(2) { border-left-color: var(--mint); }
.why-card:nth-child(3) { border-left-color: var(--pink); }
.why-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 7px; }
.why-card p  { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 50px 0 80px;
    position: relative;
    z-index: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 52px;
    align-items: start;
}

.contact-info h2    { font-size: 1.65rem; font-weight: 700; margin-bottom: 16px; }
.contact-info p     { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.contact-info a     { color: var(--btn-primary-hover); font-weight: 600; }
.contact-info a:hover { text-decoration: underline; }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-soft);
}
.contact-info-item .ci-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-info-item .ci-label { font-size: 0.8rem; font-weight: 600; color: var(--text-xlight); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-item .ci-value { font-size: 0.94rem; color: var(--text); margin-top: 2px; }

.contact-form-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px 38px;
    box-shadow: var(--shadow-card);
}
.contact-form-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 22px; }

.form-group          { margin-bottom: 20px; }
.form-group label    { display: block; font-size: 0.87rem; font-weight: 600; margin-bottom: 7px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 0.94rem;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(255, 130, 169, 0.18);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.form-success {
    display: none;
    background: var(--mint-light);
    border: 1.5px solid var(--mint-dark);
    color: #1e6648;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
    font-size: 0.95rem;
}

/* ============================================================
   CUSTOMIZER LAYOUT
   ============================================================ */
.customizer-section {
    position: relative;
    z-index: 1;
    padding: 36px 0 72px;
}

.customizer-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 28px;
    align-items: start;
}

/* --- Step Boxes --- */
.customizer-steps { display: flex; flex-direction: column; gap: 24px; }

.cust-step {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-card);
}

.step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.step-num {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.83rem; font-weight: 700;
    flex-shrink: 0;
}
.step-label h2 { font-size: 1.05rem; font-weight: 600; }

/* --- Mold Category Tabs --- */
.mold-cat-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.mold-cat-tab {
    padding: 6px 14px;
    background: var(--lavender-light);
    border: 1.5px solid var(--lavender-dark);
    border-radius: var(--radius-pill);
    font-family: var(--font);
    font-size: 0.82rem;
    font-weight: 500;
    color: #6a3ec2;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    white-space: nowrap;
}
.mold-cat-tab:hover  { background: var(--lavender); border-color: #8855e0; color: #4a2a99; }
.mold-cat-tab.active { background: var(--lavender-dark); border-color: #7733cc; color: #fff; font-weight: 600; }

.mold-cat-panel        { display: none; }
.mold-cat-panel.active { display: block; }

/* Cardstock divider */
.cardstock-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 12px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}
.cardstock-divider::before,
.cardstock-divider::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: var(--border);
}
.cardstock-note {
    font-size: 0.83rem;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.6;
}

/* --- Mold Grid --- */
.mold-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.mold-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 8px 10px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.mold-card:hover {
    border-color: var(--pink-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}
.mold-card.selected {
    border-color: var(--btn-primary);
    background: var(--pink-light);
    box-shadow: 0 0 0 3px rgba(255, 130, 169, 0.22);
}

.mold-img-wrap {
    width: 80px; height: 80px;
    margin: 0 auto 9px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.mold-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.mold-placeholder  { font-size: 2.2rem; font-weight: 700; color: var(--btn-primary); }
.mold-name         { font-size: 0.80rem; font-weight: 600; color: var(--text); }

/* --- Color Swatches --- */
.color-section-label {
    font-size: 0.79rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-xlight);
    margin-bottom: 10px;
    margin-top: 16px;
}
.color-section-label:first-of-type { margin-top: 0; }

.color-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }

.color-swatch {
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), border-color var(--transition);
    flex-shrink: 0;
}
.color-swatch:hover   { transform: scale(1.14); }
.color-swatch.selected {
    border-color: var(--text);
    transform: scale(1.16);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--text);
}
.color-swatch.fluor {
    filter: saturate(1.3);
    box-shadow: 0 0 8px 3px rgba(0,0,0,0.08), var(--shadow-soft);
}

/* Tooltip on hover */
.swatch-label {
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: #fff;
    font-size: 0.70rem;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
    z-index: 20;
}
.color-swatch:hover .swatch-label { opacity: 1; }

/* --- Variant Row --- */
.variant-row {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1.5px solid var(--border);
}

.variant-btn {
    padding: 5px 15px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.83rem; font-weight: 500;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}
.variant-btn:hover   { background: var(--pink-light); border-color: var(--pink-dark); }
.variant-btn.selected { background: var(--btn-primary); border-color: var(--btn-primary); color: #fff; font-weight: 600; }

/* --- Scent Tabs & Panels --- */
.scent-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }

.scent-tab {
    padding: 6px 15px;
    background: var(--lavender-light);
    border: 1.5px solid var(--lavender-dark);
    border-radius: var(--radius-pill);
    font-size: 0.84rem; font-weight: 500;
    color: #6a3ec2;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.scent-tab:hover  { background: var(--lavender); border-color: #8855e0; color: #4a2a99; }
.scent-tab.active { background: var(--lavender-dark); border-color: #7733cc; color: #fff; font-weight: 600; }

.scent-panel        { display: none; flex-wrap: wrap; gap: 8px; }
.scent-panel.active { display: flex; }

.scent-btn {
    padding: 6px 13px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.82rem; font-weight: 400;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}
.scent-btn:hover   { background: var(--mint-light); border-color: var(--mint-dark); }
.scent-btn.selected { background: var(--mint); border-color: var(--mint-dark); font-weight: 600; }

/* --- Glitter / Beads Toggle --- */
.toggle-row { display: flex; gap: 12px; }

.toggle-btn {
    flex: 1;
    padding: 12px 10px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 0.92rem; font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.toggle-btn:hover   { background: var(--pink-light); border-color: var(--pink-dark); }
.toggle-btn.selected { background: var(--pink); border-color: var(--btn-primary); color: #fff; font-weight: 600; }

/* --- Size Buttons --- */
.size-row { display: flex; gap: 14px; }

.size-btn {
    flex: 1;
    padding: 14px 10px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    cursor: pointer;
    text-align: center;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.size-btn:hover   { background: var(--lavender-light); border-color: var(--lavender-dark); transform: translateY(-2px); }
.size-btn.selected { background: var(--lavender); border-color: var(--lavender-dark); }
.size-name  { display: block; font-size: 1.05rem; font-weight: 700; }
.size-price { display: block; font-size: 0.88rem; color: var(--text-light); margin-top: 4px; }
.size-btn.selected .size-price { color: var(--text); }

/* ============================================================
   PREVIEW PANEL
   ============================================================ */
.preview-panel {
    position: sticky;
    top: calc(var(--header-h) + 18px);
}

.preview-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-card);
}
.preview-card > h3 {
    font-size: 1.05rem; font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* The freshie shape */
.preview-freshie-wrap {
    position: relative;
    width: 154px; height: 154px;
    margin: 0 auto 22px;
}

#preview-freshie {
    width: 100%; height: 100%;
    border-radius: 50% 42% 62% 34% / 52% 58% 44% 50%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background 0.35s, box-shadow 0.35s;
    background: linear-gradient(135deg, #fce4f8, #e8d8ff);
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

#preview-mold-img {
    width: 100%; height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    position: absolute;
    inset: 0;
}

#preview-mold-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--text-xlight);
    text-align: center;
    padding: 12px;
    line-height: 1.4;
}
#preview-mold-placeholder span { font-size: 2.2rem; }

/* Glitter sparkle overlay */
#glitter-sparkle-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.95) 1.2px, transparent 1.2px),
        radial-gradient(circle, rgba(255,220,50,0.80)  1px,   transparent 1px),
        radial-gradient(circle, rgba(200,160,255,0.70) 1px,   transparent 1px);
    background-size: 18px 18px, 13px 13px, 22px 22px;
    background-position: 0 0, 9px 7px, 4px 12px;
    pointer-events: none;
    border-radius: inherit;
    animation: glitterPulse 1.8s ease-in-out infinite;
}
@keyframes glitterPulse {
    0%, 100% { opacity: 0.55; }
    50%       { opacity: 1; }
}

/* Summary table */
.preview-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 12px;
    font-size: 0.87rem;
    border-top: 1.5px solid var(--border);
    padding-top: 16px;
}
.ps-label { font-weight: 600; color: var(--text-light); white-space: nowrap; }
.ps-val   { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Price row */
.preview-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1.5px solid var(--border);
    padding-top: 13px;
    margin-top: 12px;
}
.preview-price-label { font-size: 0.97rem; font-weight: 600; }
.preview-price-value { font-size: 1.55rem; font-weight: 700; color: var(--btn-primary-hover); }

/* Actions */
.preview-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}
.preview-actions .btn-primary,
.preview-actions .btn-secondary { width: 100%; padding: 13px; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-section {
    padding: 44px 0 80px;
    position: relative;
    z-index: 1;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 26px;
    align-items: start;
}

/* Cart item row */
.cart-item {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
    transition: box-shadow var(--transition);
}
.cart-item:hover { box-shadow: var(--shadow-hover); }

.cart-item-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.cart-mold-img {
    width: 68px; height: 68px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    padding: 6px;
}
.cart-item-color-dot {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.cart-item-details { flex: 1; min-width: 0; }
.cart-item-title {
    font-size: 1rem; font-weight: 700;
    margin-bottom: 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.cart-item-meta span {
    font-size: 0.80rem;
    background: var(--bg-alt);
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    color: var(--text-light);
}

.cart-item-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    flex-shrink: 0;
}
.price-tag  { font-size: 1.18rem; font-weight: 700; color: var(--btn-primary-hover); }
.unit-price { font-size: 0.74rem; color: var(--text-xlight); }

.qty-row {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--bg);
    border-radius: var(--radius-pill);
    padding: 3px 9px;
    border: 1.5px solid var(--border);
}
.qty-btn {
    width: 22px; height: 22px;
    background: none; border: none;
    font-size: 1.1rem; line-height: 1;
    color: var(--text);
    cursor: pointer;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.qty-btn:hover { background: var(--pink-light); }
.qty-val { font-size: 0.91rem; font-weight: 600; min-width: 18px; text-align: center; }

.remove-btn {
    background: none; border: none;
    font-size: 0.78rem;
    color: var(--text-xlight);
    cursor: pointer;
    padding: 3px 7px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.remove-btn:hover { color: #c0392b; background: #ffe5e5; }

/* Cart Summary Sidebar */
.cart-summary {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: calc(var(--header-h) + 18px);
}
.cart-summary h3 {
    font-size: 1.08rem; font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    margin-bottom: 9px;
    color: var(--text-light);
}
.summary-row.total {
    font-size: 1.08rem; font-weight: 700;
    color: var(--text);
    border-top: 1.5px solid var(--border);
    padding-top: 12px;
    margin-top: 6px;
}

.cart-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.cart-actions .btn-primary,
.cart-actions .btn-outline  { width: 100%; padding: 13px; }

.cart-footer-note {
    font-size: 0.76rem;
    color: var(--text-xlight);
    text-align: center;
    margin-top: 14px;
    line-height: 1.55;
}

/* Empty cart */
#cart-empty { text-align: center; padding: 64px 20px; }
.empty-icon  { font-size: 4rem; margin-bottom: 16px; }
#cart-empty h2 { font-size: 1.5rem; margin-bottom: 10px; }
#cart-empty p  { color: var(--text-light); margin-bottom: 28px; }

/* Order confirmation modal */
#order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(74, 53, 88, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
    padding: 20px;
}
.order-modal {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 50px 42px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-hover);
    animation: modalIn 0.28s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.order-modal-icon { font-size: 3.4rem; margin-bottom: 16px; }
.order-modal h2   { font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; }
.order-modal p    { font-size: 0.95rem; color: var(--text-light); margin-bottom: 12px; line-height: 1.75; }
.order-modal a    { color: var(--btn-primary-hover); font-weight: 600; }
.order-modal-note { font-size: 0.82rem !important; color: var(--text-xlight) !important; margin-bottom: 20px !important; }
.order-modal .btn-primary { margin-top: 10px; }

/* Square Payment Form */
#card-container {
    min-height: 89px;
    margin: 16px 0;
    text-align: left;
}

.sq-fields        { margin-bottom: 4px; }
.sq-field-row     { display: flex; gap: 10px; }
.sq-field-group   { display: flex; flex-direction: column; margin-bottom: 10px; flex: 1; }
.sq-field-label   { font-size: 0.78rem; font-weight: 600; color: var(--text-light); margin-bottom: 4px; }
.sq-text-input {
    background: var(--surface-2, rgba(255,255,255,0.07));
    border: 1.5px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.88rem;
    padding: 7px 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.15s;
}
.sq-text-input:focus {
    outline: none;
    border-color: var(--accent);
}

.sq-payment-status {
    font-size: 0.88rem;
    min-height: 20px;
    margin-bottom: 6px;
    text-align: left;
}

.sq-status-error { color: #e53e3e; }
.sq-status-warn  { color: #d97706; font-style: italic; }

.sq-pay-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
#toast-container {
    position: fixed;
    bottom: 26px; right: 26px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.toast {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 13px 18px;
    font-size: 0.88rem;
    color: var(--text);
    box-shadow: var(--shadow-hover);
    max-width: 320px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s, transform 0.28s;
    pointer-events: auto;
}
.toast.show    { opacity: 1; transform: translateY(0); }
.toast-link    { color: var(--btn-primary-hover); font-weight: 600; margin-left: 6px; }
.toast-error   { color: #b92d2d; font-weight: 600; }

/* ============================================================
   RESPONSIVE — Tablet (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    .customizer-layout {
        grid-template-columns: 1fr;
    }
    .preview-panel {
        position: static;
        order: -1;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
    .about-story {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 680px)
   ============================================================ */
@media (max-width: 680px) {
    .hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 18px 22px;
        border-bottom: 1.5px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.07);
        gap: 2px;
        z-index: 99;
    }
    .nav-menu.open { display: flex; }
    .nav-link { width: 100%; padding: 11px 14px; }

    .hero   { padding: 52px 0 64px; }
    .page-section { padding: 50px 0; }
    .card-grid   { grid-template-columns: 1fr 1fr; }
    .steps-grid  { grid-template-columns: 1fr 1fr; }
    .mold-grid   { grid-template-columns: repeat(3, 1fr); }

    .cart-item { flex-wrap: wrap; }
    .cart-item-price {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

    .contact-form-card { padding: 26px 18px; }
    .preview-freshie-wrap { width: 130px; height: 130px; }
    .about-story-visual   { height: 220px; font-size: 4rem; }
}

@media (max-width: 440px) {
    .card-grid  { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .mold-grid  { grid-template-columns: repeat(2, 1fr); }
    .hero-cta   { flex-direction: column; align-items: center; }
    .size-row   { flex-direction: column; }
    .toggle-row { flex-direction: column; }
}

/* ============================================================
   CARDSTOCK INQUIRY SECTION
   ============================================================ */

/* Step-label variant that sits button beside heading */
.step-label--has-action {
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-cardstock-peek {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    background: var(--mint-light);
    border: 1.5px solid var(--mint-dark);
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    margin-left: auto;
}

.btn-cardstock-peek:hover {
    background: var(--mint);
    border-color: #5abf96;
    transform: translateY(-1px);
}

.cardstock-inquiry-section {
    padding: 60px 0 80px;
    background: var(--bg-alt);
    border-top: 2px dashed var(--border);
}

/* Gallery label */
.cs-gallery-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 14px;
}

/* Display-only grid */
.cs-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 48px;
}

.cs-display-card {
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-soft);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.cs-display-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.cs-display-card .mold-img-wrap {
    width: 80px;
    height: 80px;
}

.cs-display-card .mold-name {
    font-size: 0.7rem;
    text-align: center;
    color: var(--text-light);
}

/* Lightbox */
.cs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.cs-lightbox-img-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
}

#cs-lb-img {
    max-width: 88vw;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.cs-lb-caption {
    color: #fff;
    font-size: 0.95rem;
    margin-top: 12px;
    text-align: center;
}

.cs-lb-counter {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin-top: 4px;
    text-align: center;
}

.cs-lightbox-close {
    position: fixed;
    top: 16px;
    right: 22px;
    z-index: 9001;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    padding: 4px 8px;
    transition: opacity 0.15s;
}

.cs-lightbox-close:hover { opacity: 1; }

.cs-lightbox-nav {
    position: relative;
    z-index: 9001;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 50%;
    margin: 0 14px;
    user-select: none;
    transition: background 0.15s;
    flex-shrink: 0;
}

.cs-lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }

.cs-lightbox-nav:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

/* Inquiry / order form card */
.cs-inquiry-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: 36px 32px;
    max-width: 760px;
}

.cs-inquiry-heading {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.cs-inquiry-intro {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Form groups */
.cs-form-group {
    margin-bottom: 24px;
}

.cs-form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text);
}

.cs-sub-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-xlight);
    margin-bottom: 8px;
}

/* Text input */
.cs-text-input {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.cs-text-input:focus {
    border-color: var(--pink-dark);
    box-shadow: 0 0 0 3px rgba(255, 130, 169, 0.18);
}

.cs-text-input::placeholder { color: var(--text-xlight); }

/* Scent select dropdown */
.cs-scent-select {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.93rem;
    color: var(--text);
    background: var(--bg);
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a882f5' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    transition: border-color var(--transition);
}

.cs-scent-select:focus { border-color: var(--pink-dark); }

/* Responsive */
@media (max-width: 600px) {
    .cs-inquiry-card     { padding: 24px 18px; }
    .cs-display-grid     { grid-template-columns: repeat(3, 1fr); }
}
