/* ══════════════════════════════════════════════════════════════
   All in One Care – Client Stylesheet
   Nature-inspired herbal beauty brand theme
   ══════════════════════════════════════════════════════════════ */

:root {
    --primary: #2d6a4f;
    --primary-light: #40916c;
    --primary-dark: #1b4332;
    --primary-bg: #d8f3dc;
    --accent: #d4a373;
    --accent-dark: #b08050;
    --bg: #fefae0;
    --bg-alt: #f7f7f2;
    --white: #ffffff;
    --black: #1b1b1b;
    --text: #2d2d2d;
    --text-muted: #6c757d;
    --border: #e5e5e5;
    --border-light: #f0f0f0;
    --success: #198754;
    --error: #dc3545;
    --warning: #fd7e14;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
}

/* ─── 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(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Topbar ──────────────────────────────────────────────── */

.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 6px 0;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: #fff; }

/* ─── Header ──────────────────────────────────────────────── */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

.nav-menu {
    display: flex;
    gap: 4px;
}
.nav-menu a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary-bg);
    color: var(--primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.cart-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}
.cart-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    color: var(--text);
}

/* ─── Hero / Banner Slider ────────────────────────────────── */

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--bg) 100%);
    overflow: hidden;
    padding: 0;
}
.hero-slide {
    display: none;
    padding: 80px 0;
    min-height: 420px;
    align-items: center;
}
.hero-slide.active { display: flex; }
.hero-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 420px;
    width: 100%;
    text-decoration: none;
    position: relative;
    padding: 0;
}
.hero-banner .hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}
.hero-banner .hero-overlay h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    max-width: 560px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-banner .hero-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin: 0 0 20px;
    max-width: 560px;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-banner .hero-overlay .btn {
    display: inline-block;
}
.hero-fallback {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--bg) 100%);
    padding: 80px 0;
}
.hero-fallback .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.hero-content {
    max-width: 560px;
    text-align: left;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.hero-dots button {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots button.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ─── Buttons ─────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45,106,79,0.3);
}
.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-accent:hover {
    background: var(--accent-dark);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}
.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}
.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ─── Section Titles ──────────────────────────────────────── */

.section {
    padding: 64px 0;
}
.section-alt { background: var(--bg-alt); }

.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}
.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ─── Homepage Section Heads & Scroll ─────────────────────── */

.hp-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}
.hp-section-head h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
}
.hp-view-all {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 20px;
    transition: var(--transition);
}
.hp-view-all:hover {
    background: var(--primary);
    color: var(--white);
}

.hp-sub-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.hp-sub-tab {
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
}
.hp-sub-tab:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-light);
}

.product-scroll-wrap {
    position: relative;
}
.product-scroll-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.product-scroll-row::-webkit-scrollbar { display: none; }
.product-scroll-row .product-card {
    min-width: 240px;
    max-width: 260px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.scroll-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.scroll-arrow.scroll-left { left: -14px; }
.scroll-arrow.scroll-right { right: -14px; }

@media (max-width: 768px) {
    .scroll-arrow { display: none; }
    .product-scroll-row .product-card { min-width: 200px; }
    .hp-section-head h2 { font-size: 1.2rem; }
}

/* ─── Product Cards ───────────────────────────────────────── */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-bg);
}
.product-card-img {
    aspect-ratio: 1;
    background: #fdf6e3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card-img .placeholder-icon {
    font-size: 3rem;
    color: var(--border);
}
.badge-save {
    position: absolute;
    top: 0; left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 12px 0;
    font-size: 0.82rem;
    font-weight: 700;
    z-index: 2;
    line-height: 1.2;
}
.badge-sale {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--error);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-featured {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.product-card-body {
    padding: 18px 20px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-body .category {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 4px;
}
.product-card-body h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-body h3 a {
    color: inherit;
}
.product-card-body h3 a:hover {
    color: var(--primary);
}
.product-short-desc {
    font-size: 0.82rem;
    color: var(--primary-light);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.product-rating .star {
    color: #f5a623;
    font-size: 0.9rem;
}
.product-rating .rating-num {
    font-weight: 700;
    color: var(--text);
}
.product-rating .verified {
    color: #1da1f2;
    font-size: 0.85rem;
}
.product-rating .review-count {
    color: var(--text-muted);
}
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: wrap;
}
.product-price .original {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-price .current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}
.product-price .pct-off {
    font-size: 0.75rem;
    background: #d4edda;
    color: #155724;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}
.product-price .discount {
    font-size: 0.78rem;
    background: #fce4ec;
    color: var(--error);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}
.product-card-cta {
    margin-top: auto;
    padding: 14px 20px 18px;
}
.product-card-cta .btn-cart-yellow {
    display: block;
    width: 100%;
    background: #ffd60a;
    color: var(--text);
    border: none;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.product-card-cta .btn-cart-yellow:hover {
    background: #f5c800;
    transform: scale(1.02);
}

/* ─── Product Detail ──────────────────────────────────────── */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px 0;
}
.product-gallery-wrap {
    position: sticky;
    top: 24px;
}
.product-detail-img {
    background: var(--bg-alt);
    border-radius: var(--radius);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
}
.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.3s ease;
}
.product-detail-img:hover img {
    transform: scale(1.03);
}
.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.thumb-item {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.25s ease;
}
.thumb-item.active,
.thumb-item:hover {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(42, 100, 62, 0.15);
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-overlay.show {
    display: flex;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.lightbox-close:hover {
    opacity: 1;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 1.6rem;
    padding: 14px 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.2s;
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.product-detail-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.product-detail-info .short-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}
.product-detail-info .description {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    line-height: 1.8;
}
.pdp-tab-btn {
    padding: 8px 20px;
    border: 1.5px solid var(--border);
    background: none;
    border-radius: 24px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
}
.pdp-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pdp-tab-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg);
}
.pdp-tab-content {
    display: none;
    line-height: 1.8;
    font-size: 0.95rem;
    color: var(--text);
}
.pdp-tab-content.active {
    display: block;
}

/* ─── Variant Pills ──────────────────────────────────────── */

.variant-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.variant-pill:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
}
.variant-pill.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary-dark);
    box-shadow: 0 0 0 1px var(--primary);
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 20px 0;
}
.qty-selector button {
    width: 40px; height: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}
.qty-selector button:hover { background: var(--border); }
.qty-selector input {
    width: 56px; height: 40px;
    text-align: center;
    border: 1px solid var(--border);
    border-left: none; border-right: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
}

/* ─── Blog Cards ──────────────────────────────────────────── */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.blog-card-img {
    aspect-ratio: 16/9;
    background: var(--bg-alt);
    overflow: hidden;
}
.blog-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.blog-card-body {
    padding: 24px;
}
.blog-card-body .meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.blog-card-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-body .excerpt {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

/* ─── Blog Detail ─────────────────────────────────────────── */

.blog-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 0;
}
.blog-detail h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}
.blog-detail .meta {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.9rem;
}
.blog-detail .featured-img {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
}
.blog-detail .blog-content {
    font-size: 1.05rem;
    line-height: 1.9;
}
.blog-detail .blog-content p { margin-bottom: 16px; }
.blog-detail .blog-content h2, .blog-detail .blog-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

/* ─── Cart & Checkout ─────────────────────────────────────── */

.cart-table {
    width: 100%;
    border-collapse: collapse;
}
.cart-table th {
    background: var(--bg-alt);
    padding: 14px 16px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    text-align: left;
    border-bottom: 2px solid var(--border);
}
.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.cart-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cart-item-thumb {
    width: 64px; height: 64px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}
.cart-remove {
    color: var(--error);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}
.cart-remove:hover { text-decoration: underline; }

.cart-summary {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 28px;
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}
.cart-summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 14px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 48px 0;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ─── Video Section ───────────────────────────────────────── */

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.video-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--black);
}
.video-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

/* ─── Footer ──────────────────────────────────────────────── */

.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    padding: 56px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}
.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: block;
    padding: 4px 0;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ─── Alerts ──────────────────────────────────────────────── */

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.alert-success { background: #d1e7dd; color: #0a3622; border: 1px solid #a3cfbb; }
.alert-error { background: #f8d7da; color: #58151c; border: 1px solid #f1aeb5; }
.alert-warning { background: #fff3cd; color: #664d03; border: 1px solid #ffe69c; }
.alert-info { background: #cff4fc; color: #055160; border: 1px solid #9eeaf9; }

/* ─── Breadcrumb ──────────────────────────────────────────── */

.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 8px; }

/* ─── Pagination ──────────────────────────────────────────── */

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}
.pagination a, .pagination span {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}
.pagination a {
    background: var(--bg-alt);
    color: var(--text);
}
.pagination a:hover { background: var(--primary-bg); }
.pagination .current {
    background: var(--primary);
    color: #fff;
}

/* ─── Empty State ─────────────────────────────────────────── */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state h3 { font-size: 1.2rem; color: var(--text); margin-bottom: 8px; }

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.2rem; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .product-gallery-wrap { position: static; }
    .product-detail-img { aspect-ratio: 4/3; }
    .checkout-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .mobile-toggle { display: block; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 12px;
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .nav-menu.open { display: flex; }
    .site-header .container { position: relative; }
    .hero-slide { padding: 40px 0; min-height: 300px; }
    .hero-banner { min-height: 300px; }
    .hero-banner .hero-overlay h1 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .section { padding: 40px 0; }
    .section-title h2 { font-size: 1.6rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .blog-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cart-table thead { display: none; }
    .cart-table tr { display: block; border-bottom: 2px solid var(--border); padding: 12px 0; }
    .cart-table td { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border: none; }
    .cart-table td::before { content: attr(data-label); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.5rem; }
    .hero-banner { min-height: 220px; }
    .hero-banner .hero-overlay { padding: 20px 0; }
    .hero-banner .hero-overlay h1 { font-size: 1.5rem; }
    .hero-banner .hero-overlay p { font-size: 0.85rem; }
    .btn { padding: 10px 20px; font-size: 0.88rem; }
    .product-card-body { padding: 12px 14px 0; }
    .product-card-body h3 { font-size: 0.92rem; }
    .product-card-cta { padding: 10px 14px 14px; }
    .product-card-cta .btn-cart-yellow { padding: 11px 12px; font-size: 0.88rem; }
    .thumb-item { width: 56px; height: 56px; }
    .lightbox-nav { padding: 10px 14px; font-size: 1.2rem; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ─── Homepage Search Section ─────────────────────────────── */

.hp-search-section {
    padding: 24px 0 16px;
    background: var(--bg-alt);
}
.hp-search-form {
    max-width: 640px;
    margin: 0 auto;
}
.hp-search-wrap {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 4px 4px 4px 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hp-search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
}
.hp-search-icon {
    font-size: 1.1rem;
    margin-right: 10px;
    color: var(--text-muted);
}
.hp-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    background: transparent;
    padding: 10px 0;
    font-family: inherit;
}
.hp-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.hp-search-btn:hover {
    background: var(--primary-dark);
}
.hp-search-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.hp-search-tags a {
    font-size: 0.78rem;
    color: var(--primary-dark);
    background: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.hp-search-tags a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
@media (max-width: 480px) {
    .hp-search-wrap { padding: 3px 3px 3px 14px; }
    .hp-search-btn { padding: 8px 16px; font-size: 0.82rem; }
    .hp-search-tags a { font-size: 0.72rem; padding: 3px 10px; }
}

/* ─── Trust Badges ────────────────────────────────────────── */

.trust-badges {
    background: linear-gradient(135deg, #f0f7f0 0%, #fefae0 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 18px 0;
}
.trust-badges-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.trust-icon {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

/* ─── User Button (header) ────────────────────────────────── */

.user-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.user-btn:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
}
.header-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border);
    vertical-align: middle;
}

/* ─── WhatsApp Floating Button ────────────────────────────── */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ─── About Page ──────────────────────────────────────────── */

.about-hero {
    text-align: center;
    padding: 40px 0 48px;
}
.about-hero h1 {
    font-size: 2.4rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 12px;
}
.about-hero .lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}
.about-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.about-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.about-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}
.about-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.about-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.about-story {
    max-width: 720px;
    margin: 0 auto 56px;
}
.about-story h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 24px;
}
.about-story-content p {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    background: var(--primary-dark);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
}
.about-stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}
.about-stat .stat-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ─── About Page: Problems Grid ──────────────────────────── */

.about-problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 8px;
}
.about-problem-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}
.about-problem-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
}
.about-problem-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ─── About Page: Promise Section ────────────────────────── */

.about-promise {
    max-width: 800px;
    margin: 0 auto 56px;
}
.about-promise h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 28px;
}
.about-promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-promise-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 22px;
    transition: var(--transition);
}
.about-promise-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.promise-check {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.about-promise-item strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.98rem;
    margin-bottom: 4px;
}
.about-promise-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
}

/* ─── About Page: Vision & Belief ────────────────────────── */

.about-vision {
    text-align: center;
    max-width: 640px;
    margin: 48px auto 40px;
}
.about-vision h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.about-vision p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
}
.about-belief {
    max-width: 680px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0fdf4 100%);
    border-radius: 16px;
    padding: 40px 36px;
    text-align: center;
}
.about-belief h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}
.about-belief p {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 10px;
}
.about-belief p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-promise-grid { grid-template-columns: 1fr; }
    .about-problems-grid { grid-template-columns: 1fr 1fr; }
    .about-belief { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .about-problems-grid { grid-template-columns: 1fr; }
}

/* ─── Contact Page ────────────────────────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}
.contact-info-cards {
    display: grid;
    gap: 16px;
}
.contact-info-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.contact-info-card:hover {
    box-shadow: var(--shadow-sm);
}
.contact-info-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.contact-info-card h4 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}
.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.contact-info-card a {
    color: var(--primary);
}

.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
}
.contact-form-wrap h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

/* ─── Auth Card ───────────────────────────────────────────── */

.auth-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.auth-header {
    text-align: center;
    margin-bottom: 28px;
}
.auth-header h2 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}
.auth-header p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ─── My Account Page ─────────────────────────────────────── */

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}
.account-sidebar {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}
.account-user-card {
    text-align: center;
    padding: 28px 20px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}
.account-avatar {
    margin-bottom: 8px;
}
.account-avatar .avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.4);
}
.account-avatar .avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    border: 3px solid rgba(255,255,255,0.4);
}
.profile-photo-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-alt);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--primary);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}
.account-user-card h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}
.account-user-card p {
    font-size: 0.85rem;
    opacity: 0.8;
}
.account-nav {
    padding: 12px 0;
}
.account-nav a, .account-nav-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px 24px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.account-nav a:hover, .account-nav-btn:hover {
    background: var(--primary-bg);
    color: var(--primary-dark);
}
.account-nav a.active {
    background: var(--primary-bg);
    color: var(--primary-dark);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}
.account-nav-btn {
    color: var(--error);
}

.account-content {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
    min-height: 400px;
}
.account-content h2 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}
.account-tab { display: none; }
.account-tab.active { display: block; }

/* ─── Order Cards ─────────────────────────────────────────── */

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.order-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-alt);
    flex-wrap: wrap;
    gap: 8px;
}
.order-card-header strong {
    font-size: 0.95rem;
}
.order-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.order-card-body {
    padding: 16px 20px;
}
.order-items-list {
    margin-bottom: 12px;
}
.order-item-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
}
.order-item-row:last-child { border-bottom: none; }
.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

/* ─── Status Badges (public) ──────────────────────────────── */

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.badge-pending { background: #fff3cd; color: #664d03; }
.badge-processing { background: #cff4fc; color: #055160; }
.badge-shipped { background: #cfe2ff; color: #084298; }
.badge-completed { background: #d1e7dd; color: #0a3622; }
.badge-cancelled { background: #f8d7da; color: #58151c; }
.badge-delayed { background: #fff3cd; color: #e65100; border: 1px solid #ffc107; }
.badge-on-hold { background: #e3f2fd; color: #0d47a1; border: 1px solid #90caf9; }

/* ─── Order Tracker ───────────────────────────────────────── */

.order-tracker {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.tracker-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    max-width: 140px;
    text-align: center;
}
.tracker-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 3px solid var(--border);
}
.tracker-step.done .tracker-dot {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.tracker-step.current .tracker-dot {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(45, 106, 79, 0.15);
    animation: trackerPulse 2s infinite;
}
@keyframes trackerPulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(45, 106, 79, 0.15); }
    50% { box-shadow: 0 0 0 10px rgba(45, 106, 79, 0.05); }
}
.tracker-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}
.tracker-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.3;
    opacity: 0.7;
}
.tracker-step.done .tracker-label,
.tracker-step.current .tracker-label {
    color: var(--primary-dark);
    font-weight: 700;
}
.tracker-step.current .tracker-desc {
    color: var(--primary-dark);
    opacity: 1;
}
.tracker-line {
    flex: 1;
    height: 3px;
    background: var(--border);
    margin: 0 -4px;
    margin-top: 20px;
    min-width: 30px;
    border-radius: 2px;
    transition: background 0.3s ease;
}
.tracker-line.done {
    background: var(--primary);
}
@media (max-width: 480px) {
    .tracker-step { min-width: 60px; max-width: 80px; }
    .tracker-dot { width: 36px; height: 36px; font-size: 0.85rem; }
    .tracker-desc { display: none; }
    .tracker-label { font-size: 0.72rem; }
    .tracker-line { min-width: 16px; margin-top: 16px; }
}

/* ─── Homepage Introduction Section ──────────────────────── */

.intro-section {
    max-width: 900px;
    margin: 0 auto;
}
.intro-title {
    font-size: 2rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}
.intro-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 3px;
}
.intro-content {
    text-align: center;
    margin-bottom: 40px;
}
.intro-lead {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 12px;
}
.intro-content > p:last-child {
    color: var(--text-muted);
    line-height: 1.75;
}
.intro-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
.intro-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    transition: var(--transition);
}
.intro-feature:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.intro-feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}
.intro-feature h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.intro-feature p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}
.intro-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}
.intro-checklist li {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 22px;
}
.intro-checklist li::before {
    content: '\2714';
    color: var(--primary);
    font-weight: 700;
    position: absolute;
    left: 0;
}
.intro-cta {
    text-align: center;
    padding: 36px 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0fdf4 100%);
    border-radius: 16px;
}
.intro-cta p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .intro-title { font-size: 1.6rem; }
    .intro-checklist { grid-template-columns: 1fr; }
    .intro-feature { flex-direction: column; gap: 12px; }
    .intro-cta { padding: 24px 16px; }
}

/* ─── Homepage: Tagline ─────────────────────────────────── */

.intro-tagline {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

/* ─── Homepage: Products Grid ───────────────────────────── */

.hp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.hp-product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    transition: var(--transition);
}
.hp-product-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}
.hp-product-icon {
    font-size: 2.4rem;
    margin-bottom: 14px;
}
.hp-product-card h3 {
    font-size: 1.08rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.hp-product-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}
.hp-products-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 24px;
    font-style: italic;
}

/* ─── Homepage: Why Choose Us ───────────────────────────── */

.hp-why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.hp-why-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 14px 22px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}
.hp-why-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(45, 106, 79, 0.08);
}
.hp-why-check {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ─── Homepage: Problem Badges ──────────────────────────── */

.hp-problems-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}
.hp-problem-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: 28px;
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary-dark);
    transition: var(--transition);
}
.hp-problem-badge:hover {
    background: var(--primary);
    color: #fff;
}
.hp-problem-badge span {
    font-size: 1.1rem;
}

/* ─── Homepage: Brand Promise ───────────────────────────── */

.hp-promise-block {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}
.hp-promise-block h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}
.hp-promise-lead {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
    margin-bottom: 10px;
}
.hp-promise-block p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ─── Homepage: Emotional Line & CTA ────────────────────── */

.hp-emotional-block {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.hp-emotional-line {
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 36px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0fdf4 100%);
    border-radius: 14px;
    border-left: 4px solid var(--primary);
}
.hp-cta-box {
    padding: 36px 28px;
    background: var(--primary-dark);
    border-radius: 16px;
    color: #fff;
}
.hp-cta-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #fff;
}
.hp-cta-box p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 6px;
}
.hp-cta-tagline {
    font-size: 1.15rem !important;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.3px;
    margin-bottom: 22px !important;
}
.hp-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.hp-cta-box .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}
.hp-cta-box .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

@media (max-width: 768px) {
    .hp-products-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .hp-why-grid { flex-direction: column; }
    .hp-cta-box { padding: 28px 18px; }
    .hp-cta-box h3 { font-size: 1.2rem; }
    .hp-emotional-line { padding: 18px; font-size: 0.98rem; }
    .hp-promise-block { padding: 28px 18px; }
}
@media (max-width: 480px) {
    .hp-products-grid { grid-template-columns: 1fr; }
}

/* ─── Category Filter Pills ───────────────────────────────── */

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.filter-pills .btn {
    border-radius: 24px;
}

/* ─── Category Tabs (scrollable pills) ───────────────────── */

.category-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.category-tabs::-webkit-scrollbar { height: 4px; }
.category-tabs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.cat-tab {
    flex-shrink: 0;
    padding: 12px 22px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.cat-tab:hover {
    color: var(--primary);
    background: var(--primary-bg);
}
.cat-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Per-page buttons */
.pp-btn {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-alt);
    text-decoration: none;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}
.pp-btn:hover { background: var(--primary-bg); color: var(--primary); }
.pp-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── Header Search ──────────────────────────────────────── */

.search-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text);
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
}
.search-toggle:hover {
    background: var(--primary-bg);
    color: var(--primary);
}
.header-search-bar {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 14px 0;
    animation: slideDown 0.25s ease;
}
.header-search-bar.show {
    display: block;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive additions ────────────────────────────────── */

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .trust-badges-grid {
        gap: 16px;
    }
    .trust-badge {
        font-size: 0.82rem;
    }
    .about-hero h1 { font-size: 1.8rem; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .auth-card { padding: 24px; }
    .combo-detail-grid { grid-template-columns: 1fr !important; }
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ─── Gallery Page ────────────────────────────────────────── */

.gal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}
.gal-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.gal-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 28px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-muted);
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.gal-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.gal-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.gal-tab-icon { font-size: 1rem; }
.gal-tab-count {
    font-size: 0.75rem;
    opacity: 0.7;
}
.gal-tab.active .gal-tab-count { opacity: 0.9; }
.gal-search {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 28px;
    overflow: hidden;
    background: var(--white);
}
.gal-search input[type="text"] {
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    width: 200px;
    background: transparent;
}
.gal-search button {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.95rem;
}
.gal-search-clear {
    padding: 10px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
}
.gal-search-result {
    margin-bottom: 20px;
    padding: 10px 16px;
    background: #f0f7ee;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gal-block {
    margin-bottom: 40px;
}
.gal-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}
.gal-block-head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}
.gal-block-head a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}
.gal-block-head a:hover { text-decoration: underline; }
.gallery-grid {
    display: grid;
    gap: 24px;
}
.gallery-grid-yt {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}
.gallery-grid-ig {
    grid-template-columns: repeat(auto-fill, minmax(280px, 340px));
}
.gallery-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}
.gallery-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.gallery-card-youtube .gallery-video {
    aspect-ratio: 16/9;
    background: #000;
}
.gallery-card-instagram .gallery-video {
    background: #fafafa;
    min-height: 480px;
    overflow: visible;
}
.gallery-card-instagram .gallery-video .instagram-media,
.gallery-card-instagram .gallery-video .instagram-media-rendered {
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}
.gallery-card-instagram .gallery-video iframe {
    max-width: 100% !important;
    width: 100% !important;
    min-height: 480px !important;
}
.gallery-card-instagram {
    overflow: visible;
}
.gallery-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.gallery-grid-photos {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gallery-card-photo .gallery-photo {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--bg-alt);
}
.gallery-card-photo .gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-card-photo:hover .gallery-photo img {
    transform: scale(1.05);
}
.gallery-photo-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-card-photo:hover .gallery-photo-zoom {
    opacity: 1;
}
.gallery-info {
    padding: 12px 16px;
}
.gallery-info h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
}

/* Lightbox */
.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    font-size: 1.8rem;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 2;
}
.lb-nav:hover { background: rgba(255,255,255,0.3); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    font-weight: 700;
    z-index: 2;
}
.lb-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gal-header { flex-direction: column; }
    .gal-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .gal-tab { white-space: nowrap; padding: 8px 14px; font-size: 0.82rem; }
    .gal-tab-label { display: none; }
    .gal-tab-icon { font-size: 1.1rem; }
    .gal-search { width: 100%; }
    .gal-search input[type="text"] { flex: 1; width: auto; }
    .gallery-grid-yt { grid-template-columns: 1fr; }
    .gallery-grid-ig { grid-template-columns: 1fr 1fr; }
    .gallery-grid-photos { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .lb-prev { left: 8px; padding: 8px 14px; }
    .lb-next { right: 8px; padding: 8px 14px; }
}
@media (max-width: 480px) {
    .gallery-grid-ig { grid-template-columns: 1fr; }
    .gallery-grid-photos { grid-template-columns: 1fr 1fr; }
}

/* ─── Announcement Bar ──────────────────────────────── */
.announcement-bar {
    padding: 8px 0;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.announcement-scroll {
    white-space: nowrap;
    display: inline-block;
    animation: announceScroll 18s linear infinite;
}
@keyframes announceScroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ─── Wishlist Heart ─────────────────────────────────── */
.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.92);
    border: none;
    font-size: 1.35rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    transition: all 0.25s ease;
    box-shadow: 0 1px 6px rgba(0,0,0,0.12);
    z-index: 2;
    line-height: 1;
}
.wishlist-btn:hover {
    color: #e53935;
    transform: scale(1.12);
}
.wishlist-btn.active {
    color: #e53935;
}
.product-card-img {
    position: relative;
}

.wishlist-header-btn {
    font-size: 1.4rem;
    color: var(--text);
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s;
    position: relative;
}
.wishlist-header-btn:hover {
    color: #e53935;
}
.wishlist-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #e53935;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

/* ─── Low Stock Pulse ────────────────────────────────── */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ─── Saved Address Cards ────────────────────────────────── */
.saved-addr-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}

/* ─── Social Share Buttons ───────────────────────────────── */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}
.share-btn:hover { transform: scale(1.12); opacity: 0.85; }
button.share-btn { width: auto; border-radius: 16px; padding: 0 14px; height: 34px; }
