/* =========================================================
   RABBIS GLOW — Skincare Store Design System
   Palette: blush white #FFF6F9 · pink primary #E23E7F · pink light #F472A8
            pink pale #FCE0EB · rose deep #C21C63 · ink #1E1B1D
   Type: 'Playfair Display' (display/logo) + 'Poppins' (body) + 'JetBrains Mono' (data/labels)
   NOTE: variable names kept for backward-compat with existing markup;
   --sage/--sage-deep/--gold now carry the pink brand colors.
   ========================================================= */

:root {
    --cream: #FFF6F9;
    --cream-deep: #FCE0EB;
    --sage: #F472A8;
    --sage-deep: #E23E7F;
    --blush: #FBCFE0;
    --gold: #C21C63;
    --charcoal: #1E1B1D;
    --white: #FFFFFF;

    --radius: 6px;
    --shadow-soft: 0 10px 30px rgba(226, 62, 127, 0.10);
    --shadow-lift: 0 18px 40px rgba(226, 62, 127, 0.18);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
}

h1, h2, h3, h4, .display-font {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--sage-deep);
}

.label-font {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

a { text-decoration: none; }

.btn {
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.65rem 1.5rem;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-sage {
    background: var(--sage-deep);
    color: var(--cream);
    border: 1px solid var(--sage-deep);
}
.btn-sage:hover {
    background: var(--sage);
    color: var(--white);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.btn-outline-sage {
    background: transparent;
    color: var(--sage-deep);
    border: 1px solid var(--sage-deep);
}
.btn-outline-sage:hover {
    background: var(--sage-deep);
    color: var(--cream);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    border: 1px solid var(--gold);
}
.btn-gold:hover { background: #a37f49; color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ---------- Top announcement bar ---------- */
.topbar-announce {
    background: linear-gradient(90deg, var(--sage-deep), var(--sage));
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.8rem;
}
.topbar-announce .announce-text {
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 auto;
}
.topbar-socials { display: flex; gap: 0.9rem; }
.topbar-socials a { color: #fff; opacity: 0.9; font-size: 0.9rem; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.topbar-socials a:hover { opacity: 1; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.navbar-botaniq {
    background: var(--white);
    border-bottom: 1px solid rgba(30, 27, 29, 0.08);
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.navbar-brand-botaniq {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    font-style: italic;
    color: var(--charcoal) !important;
    letter-spacing: -0.01em;
}
.navbar-brand-botaniq span { color: var(--sage-deep); font-style: normal; }
.nav-link-botaniq {
    color: var(--charcoal) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.6rem;
    position: relative;
}
.nav-link-botaniq::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 2px;
    background: var(--sage-deep);
    transition: width 0.25s var(--ease);
}
.nav-link-botaniq:hover::after { width: 100%; }

.search-box {
    background: var(--cream);
    border-radius: 30px;
    overflow: hidden;
    align-items: center;
}
.search-box input {
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    width: 190px;
    box-shadow: none !important;
}
.search-box button {
    background: var(--sage-deep);
    color: #fff;
    border: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 3px;
    flex-shrink: 0;
    transition: background 0.2s var(--ease);
}
.search-box button:hover { background: var(--gold); }

.utility-icon {
    position: relative;
    color: var(--charcoal) !important;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.utility-icon:hover { color: var(--sage-deep) !important; transform: translateY(-2px); }
.cart-fab { color: var(--charcoal) !important; }
.cart-badge {
    position: absolute;
    top: -8px; right: -10px;
    background: var(--sage-deep);
    color: white;
    font-size: 0.62rem;
    font-family: 'JetBrains Mono', monospace;
    min-width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: pop 0.3s var(--ease);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
    overflow: hidden;
    padding: 5.5rem 0 4.5rem;
}
.hero::before {
    content: '';
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110,135,104,0.16), transparent 70%);
    top: -180px; right: -140px;
    animation: float 9s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227,184,174,0.28), transparent 70%);
    bottom: -140px; left: -100px;
    animation: float 11s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-25px) translateX(15px); }
}
.hero-eyebrow {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    letter-spacing: 0.02em;
    font-size: 1.05rem;
    color: var(--sage-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
    line-height: 1.08;
    color: var(--charcoal);
    margin: 0.6rem 0 1.2rem;
    animation: riseIn 0.8s var(--ease) both;
}

.btn-pill {
    background: var(--sage-deep);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-pill:hover { background: var(--gold); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* ---------- Feature icon cards (Free Delivery / Discount / Quality / Support) ---------- */
.feature-strip { margin-top: -3.2rem; position: relative; z-index: 5; }
.feature-icon-card {
    background: var(--white);
    border-radius: 14px;
    padding: 2rem 1.4rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    height: 100%;
}
.feature-icon-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.feature-icon-card .icon-circle {
    width: 60px; height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--cream-deep);
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-deep);
    font-size: 1.5rem;
}
.feature-icon-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
}
.feature-icon-card p { font-size: 0.85rem; color: #7a7478; margin: 0; }
.hero p.lead-text { animation: riseIn 0.8s var(--ease) 0.15s both; max-width: 480px; }
.hero .hero-cta { animation: riseIn 0.8s var(--ease) 0.3s both; }
.hero-visual { animation: riseIn 1s var(--ease) 0.2s both; position: relative; z-index: 2; }

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

.stat-chip {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    flex-direction: column;
}
.stat-chip .num { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--sage-deep); }
.stat-chip .cap { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--charcoal); opacity: 0.65; }

/* ---------- Section titles ---------- */
.section-heading { margin-bottom: 2.5rem; }
.section-heading .label-font { color: var(--gold); }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 0.4rem; }

/* ---------- Category pill ---------- */
.category-pill {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.4rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    border: 1px solid transparent;
}
.category-pill:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: var(--sage);
}
.category-pill .cat-icon {
    width: 46px; height: 46px;
    margin: 0 auto 0.7rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream-deep);
    border-radius: 50%;
    color: var(--sage-deep);
    font-size: 1.3rem;
}
.category-pill span { color: var(--charcoal); font-weight: 600; font-size: 0.92rem; }

/* ---------- Product Card (signature: ingredient-label ticket) ---------- */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.product-thumb {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--cream-deep);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.product-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-thumb .placeholder-icon { font-size: 2.6rem; color: var(--sage); opacity: 0.4; }

.badge-sale {
    position: absolute; top: 10px; left: 10px;
    background: var(--gold); color: white;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem; letter-spacing: 0.05em;
    padding: 0.25rem 0.55rem; border-radius: var(--radius);
    text-transform: uppercase;
}
.badge-stock-low {
    position: absolute; top: 10px; right: 10px;
    background: var(--charcoal); color: white;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    padding: 0.25rem 0.5rem; border-radius: var(--radius);
}

.product-body {
    padding: 1.1rem 1.2rem 1.3rem;
    border-top: 1px dashed rgba(55,71,58,0.25);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-category-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage);
    margin-bottom: 0.3rem;
}
.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    color: var(--sage-deep);
    margin-bottom: 0.3rem;
}
.product-ingredients {
    font-size: 0.78rem;
    color: var(--charcoal);
    opacity: 0.65;
    margin-bottom: 0.8rem;
    flex: 1;
}
.product-price-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.9rem;
}
.price-now { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--sage-deep); font-size: 1.05rem; }
.price-old { font-family: 'JetBrains Mono', monospace; text-decoration: line-through; color: var(--charcoal); opacity: 0.45; font-size: 0.82rem; margin-right: 0.4rem;}

.btn-add-cart {
    width: 100%;
    background: var(--sage-deep);
    color: var(--cream);
    border: none;
    border-radius: var(--radius);
    padding: 0.6rem;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    transition: background-color 0.25s var(--ease), transform 0.2s var(--ease);
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.btn-add-cart:hover { background: var(--gold); transform: translateY(-2px); }
.btn-add-cart:disabled { background: #ccc; cursor: not-allowed; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Inner page banner (About / Contact / Policies) ---------- */
.page-banner {
    background: linear-gradient(120deg, var(--cream-deep), var(--cream));
    padding: 3.2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 0.4rem; }
.page-banner .crumb { font-size: 0.85rem; color: var(--sage-deep); font-weight: 500; }
.page-banner .crumb a { color: var(--charcoal); }

.value-card {
    background: var(--white);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-6px); }
.value-card .icon-circle {
    width: 58px; height: 58px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--cream-deep);
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-deep);
    font-size: 1.4rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-info-card .icon-circle {
    width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--cream-deep);
    display: flex; align-items: center; justify-content: center;
    color: var(--sage-deep);
    font-size: 1.1rem;
}

.legal-content h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-content p, .legal-content li { color: #4a4548; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--sage-deep);
    color: var(--cream);
    padding: 3.5rem 0 1.5rem;
}
.site-footer h5 { color: var(--cream); font-family: 'Playfair Display', serif; }
.site-footer a { color: rgba(247,244,236,0.75); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(247,244,236,0.15);
    margin-top: 2rem;
    padding-top: 1.2rem;
    font-size: 0.82rem;
    color: rgba(247,244,236,0.55);
    font-family: 'JetBrains Mono', monospace;
}

/* ---------- Toast ---------- */
.toast-cart {
    position: fixed;
    bottom: 24px; right: 24px;
    background: var(--sage-deep);
    color: var(--cream);
    padding: 0.9rem 1.3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transform: translateY(120%);
    transition: transform 0.4s var(--ease);
    font-weight: 600;
    font-size: 0.9rem;
}
.toast-cart.show { transform: translateY(0); }

/* ---------- Status badges (order tracking) ---------- */
.status-badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.35rem 0.7rem; border-radius: 20px;
}
.status-queue      { background: #F0E6D2; color: #8A6D1E; }
.status-processing { background: #DCEAF7; color: #1F5C8B; }
.status-shipped    { background: #E4E0F7; color: #4B3B9C; }
.status-delivered  { background: #DDEFDD; color: #2B7A3D; }
.status-cancelled  { background: #F7DCDC; color: #A33333; }

/* ---------- Tracker steps ---------- */
.tracker { display: flex; justify-content: space-between; position: relative; margin: 2.5rem 0; }
.tracker::before {
    content: '';
    position: absolute; top: 18px; left: 0; right: 0; height: 2px;
    background: var(--cream-deep);
    z-index: 0;
}
.tracker-step { position: relative; z-index: 1; text-align: center; flex: 1; }
.tracker-dot {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--white); border: 2px solid var(--cream-deep);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.6rem; color: #bbb; transition: all 0.3s var(--ease);
}
.tracker-step.done .tracker-dot { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--cream); }
.tracker-step.active .tracker-dot { background: var(--gold); border-color: var(--gold); color: white; animation: pulse 1.6s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(184,147,90,0.5); }
    70% { box-shadow: 0 0 0 10px rgba(184,147,90,0); }
    100% { box-shadow: 0 0 0 0 rgba(184,147,90,0); }
}
.tracker-step small { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; text-transform: uppercase; color: var(--charcoal); }

/* ---------- Admin ---------- */
.admin-sidebar {
    background: var(--sage-deep);
    min-height: 100vh;
    color: var(--cream);
}
.admin-sidebar .brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; padding: 1.4rem 1.2rem; border-bottom: 1px solid rgba(247,244,236,0.12); }
.admin-sidebar a {
    display: flex; align-items: center; gap: 0.7rem;
    color: rgba(247,244,236,0.8);
    padding: 0.75rem 1.2rem;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.2s var(--ease);
    border-left: 3px solid transparent;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
    background: rgba(247,244,236,0.08);
    color: var(--white);
    border-left-color: var(--gold);
}
.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid rgba(55,71,58,0.1);
    padding: 1rem 1.6rem;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--sage-deep);
}
.stat-card .num { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--sage-deep); }
.stat-card .cap { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; }
.admin-panel {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem;
}
.table-botaniq thead { background: var(--cream-deep); font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.table-botaniq td, .table-botaniq th { vertical-align: middle; }
.thumb-sm { width: 46px; height: 46px; object-fit: cover; border-radius: var(--radius); background: var(--cream-deep); }

.report-tabs .nav-link { color: var(--charcoal); font-weight: 600; border-radius: var(--radius); }
.report-tabs .nav-link.active { background: var(--sage-deep); color: var(--cream); }
