/* ======================================
   XTRAIN SUPPS - MAIN STYLESHEET
   White Theme · Orange Accent #F97316
   ====================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary:       #F97316;
    --primary-dark:  #EA6C0A;
    --primary-light: #FB923C;
    --text-dark:     #0f172a;
    --text-body:     #334155;
    --text-light:    #64748b;
    --bg-white:      #ffffff;
    --bg-light:      #fff7ed;
    --bg-section:    #f8fafc;
    --border:        #e2e8f0;
    --shadow-sm:     0 1px 3px rgba(0,0,0,0.07);
    --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:     0 8px 32px rgba(0,0,0,0.13);
    --shadow-xl:     0 20px 60px rgba(0,0,0,0.16);
    --radius-sm:     8px;
    --radius-md:     12px;
    --radius-lg:     20px;
    --radius-xl:     32px;
    --font-heading:  'Playfair Display', Georgia, serif;
    --font-body:     'Poppins', sans-serif;
    --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--bg-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ────────────────────────────────────── */
.header {
    position: sticky; top: 0; left: 0; width: 100%; z-index: 1000;
    background: var(--primary);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--header-height);
    max-width: 1280px; margin: 0 auto; padding: 0 24px; gap: 20px;
}

/* prevent logo from shrinking */
.header-logo { flex-shrink: 0; }

/* Logo */
.header-logo a { display: flex; align-items: center; }

.logo-img {
    height: 32px;          /* Desktop: compact fit in 80px header */
    width: auto;
    max-width: 180px;      /* Prevent overly wide logos */
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease;
}
.header-logo a:hover .logo-img { opacity: 0.85; }

/* Search */
.header-search { flex: 1; max-width: 480px; min-width: 0; }
.search-wrapper { position: relative; }

.search-input {
    width: 100%; padding: 10px 44px 10px 18px;
    border: none; border-radius: 30px;
    font-family: var(--font-body); font-size: 0.9rem;
    background: rgba(255,255,255,0.95); color: var(--text-dark);
    outline: none; transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.search-input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.35), 0 2px 8px rgba(0,0,0,0.12); }
.search-input::placeholder { color: #94a3b8; }

.search-icon {
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    font-size: 0.9rem; pointer-events: none; opacity: 0.55;
}

.search-dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0;
    background: #fff; border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl); z-index: 2000;
    display: none; border: 1px solid var(--border);
    max-height: 70vh; overflow-y: auto;
}
.search-dropdown.active { display: block; }

.search-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; cursor: pointer; transition: var(--transition);
    border-bottom: 1px solid var(--border);
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--bg-light); }
.search-item img { width: 42px; height: 42px; object-fit: contain; border-radius: 6px; flex-shrink: 0; background: #f8fafc; padding: 3px; }
.search-item-info { flex: 1; min-width: 0; }
.search-item-name { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-item-price { font-size: 0.78rem; color: var(--primary); font-weight: 600; }

/* Nav */
.header-nav { display: flex; align-items: center; gap: 24px; }

.nav-link {
    color: #fff; font-family: var(--font-body); font-weight: 500;
    font-size: 0.95rem; position: relative; padding: 4px 0; white-space: nowrap;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: rgba(255,255,255,0.8);
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link--active::after { width: 100%; }
.nav-link:hover { color: rgba(255,255,255,0.85); }
.nav-link--active { font-weight: 700; }

/* Verify pill */
.nav-link-verify {
    background: #fff; color: var(--primary) !important;
    padding: 7px 18px !important; border-radius: 30px;
    font-weight: 700; font-size: 0.82rem;
}
.nav-link-verify::after { display: none !important; }
.nav-link-verify:hover { background: #fff3e8; color: var(--primary-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none; flex-direction: column;
    background: var(--primary-dark);
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.mobile-menu.active { display: flex; max-height: 320px; padding: 12px 0; }

.mobile-link {
    color: rgba(255,255,255,0.9); padding: 12px 24px;
    font-weight: 500; font-size: 1rem; display: block;
    transition: var(--transition); border-left: 3px solid transparent;
}
.mobile-link:hover { background: rgba(255,255,255,0.1); border-left-color: #fff; color: #fff; }

.mobile-link-verify {
    margin: 8px 24px; padding: 10px 20px !important;
    background: rgba(255,255,255,0.15); color: #fff !important;
    border-radius: 8px; text-align: center; font-weight: 700;
    border-left: none !important;
}
.mobile-link-verify:hover { background: rgba(255,255,255,0.25) !important; border-left: none !important; }

/* ── HERO ──────────────────────────────────────── */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    background: linear-gradient(135deg, #1c0a00 0%, #3d1500 40%, #1c0a00 100%);
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
}

.hero-bg-glow {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(249,115,22,0.18) 0%, transparent 70%);
}

.hero-content {
    position: relative; z-index: 2;
    max-width: 800px; padding: 40px 24px;
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
    color: var(--primary-light); font-size: 0.8rem; letter-spacing: 4px;
    text-transform: uppercase; font-weight: 700; margin-bottom: 20px;
    display: inline-flex; align-items: center; gap: 8px;
}
.hero-tagline::before, .hero-tagline::after {
    content: ''; display: inline-block; width: 32px; height: 1px;
    background: var(--primary-light); opacity: 0.6;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 7vw, 5rem);
    font-weight: 800; color: #fff; line-height: 1.1;
    margin-bottom: 20px; text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero-title span { color: var(--primary-light); }

.hero-sub {
    font-size: 1.05rem; color: rgba(255,255,255,0.72);
    margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ──────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 40px;
    font-family: var(--font-body); font-weight: 700;
    font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase;
    cursor: pointer; border: 2px solid transparent;
    transition: var(--transition); box-shadow: var(--shadow-md);
}

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }

.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); color: #fff; }

/* ── SECTIONS ─────────────────────────────────── */
section { padding: 80px 0; }

.section-label {
    text-align: center; color: var(--primary); font-size: 0.78rem;
    letter-spacing: 2.5px; font-weight: 700; text-transform: uppercase;
    margin-bottom: 12px; display: flex; align-items: center; gap: 16px;
}
.section-label::before, .section-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    opacity: 0.25;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700; color: var(--text-dark);
    text-align: center; margin-bottom: 48px; line-height: 1.3;
}

/* ── WHY SECTION ──────────────────────────────── */
.why-section { background: var(--bg-section); }

.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; max-width: 1000px; margin: 0 auto;
}

.feature-card {
    background: #fff; border-radius: var(--radius-lg);
    padding: 36px 28px; text-align: center;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(249,115,22,0.3); }

.feature-icon { display: flex; justify-content: center; margin-bottom: 20px; }

.icon-circle {
    width: 68px; height: 68px; border-radius: 50%;
    border: 3px solid var(--primary);
    display: flex; align-items: center; justify-content: center;
    background: rgba(249,115,22,0.06); transition: var(--transition);
    font-size: 1.8rem;
}
.feature-card:hover .icon-circle { background: rgba(249,115,22,0.12); transform: scale(1.1); }

.feature-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.feature-desc  { color: var(--text-body); font-size: 0.9rem; line-height: 1.6; }

/* ── CATEGORIES ───────────────────────────────── */
.categories-section { background: var(--bg-white); }

.categories-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.category-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 4/3; display: block;
    box-shadow: var(--shadow-md); transition: var(--transition);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.category-card:hover img { transform: scale(1.07); }

.category-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(to top, rgba(120,40,0,0.88) 0%, transparent 100%);
    color: #fff; font-size: 1.2rem; font-weight: 700;
    font-family: var(--font-heading);
}

/* ── PRODUCTS GRID ────────────────────────────── */
.products-section { background: var(--bg-section); padding-top: 0; }

.products-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; margin-bottom: 48px;
}

.product-card {
    background: #fff; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: var(--transition); cursor: pointer; position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(249,115,22,0.25); }

.product-img-wrap {
    width: 100%; aspect-ratio: 1/1; overflow: hidden;
    background: #fafafa; position: relative;
}
.product-img-wrap img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 16px; transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--primary); color: #fff;
    font-size: 0.66rem; font-weight: 700; padding: 4px 10px;
    border-radius: 20px; letter-spacing: 0.5px; text-transform: uppercase; z-index: 1;
}

/* Discount badge — top right */
.product-discount {
    position: absolute; top: 12px; right: 12px;
    background: #16a34a; color: #fff;
    font-size: 0.64rem; font-weight: 800; padding: 4px 8px;
    border-radius: 20px; letter-spacing: 0.3px; text-transform: uppercase; z-index: 1;
}

.product-info { padding: 14px 16px 18px; border-top: 1px solid var(--border); }
.product-name { font-size: 0.875rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; line-height: 1.4; text-align: center; }

.product-price-row {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; flex-wrap: wrap;
}
.product-price {
    font-size: 0.9rem; font-weight: 700; color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    gap: 8px; flex-wrap: wrap;
}
.product-price .price-now { color: var(--primary); font-weight: 800; }
.product-price .price-mrp {
    font-size: 0.78rem; font-weight: 500; color: var(--text-light);
    text-decoration: line-through; opacity: 0.75;
}
.product-mrp {
    font-size: 0.75rem; font-weight: 500; color: var(--text-light);
    text-decoration: line-through;
}

.show-all-wrapper { text-align: center; margin-top: -8px; margin-bottom: 8px; }

/* ── HIGHLIGHTS ───────────────────────────────── */
.highlights-section { background: var(--bg-white); }

.highlights-inner {
    display: grid; grid-template-columns: 1fr auto;
    gap: 64px; align-items: center; max-width: 1000px; margin: 0 auto;
    background: var(--bg-section); padding: 56px;
    border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}
.highlights-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
    color: var(--text-dark); margin-bottom: 28px;
}
.highlights-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.highlights-list li { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.check-icon { color: var(--primary); font-size: 1.2rem; flex-shrink: 0; }
.highlight-img img { max-height: 360px; object-fit: contain; }

/* ── INGREDIENTS ──────────────────────────────── */
.ingredients-section { background: var(--bg-section); }

.ingredients-inner {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto;
}
.ingredient-item {
    font-size: 0.95rem; font-weight: 600; color: var(--text-dark);
    text-align: center; padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07); transition: var(--transition);
}
.ingredient-item:last-child { border-bottom: none; }
.ingredient-item:hover { color: var(--primary); }
.ingredients-center { display: flex; justify-content: center; align-items: center; }
.ingredients-center img {
    width: 270px; height: 270px; object-fit: contain;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}

/* ── VERIFY CTA ───────────────────────────────── */
.verify-cta-section {
    background: linear-gradient(135deg, #0f0500 0%, #2a0e00 50%, #0f0500 100%);
    padding: 80px 0; text-align: center;
}
.verify-cta-section .section-label { color: rgba(255,255,255,0.5); }
.verify-cta-section .section-label::before,
.verify-cta-section .section-label::after { background: linear-gradient(to right, transparent, rgba(249,115,22,0.4), transparent); }

.verify-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800; color: #fff; margin-bottom: 20px;
}
.verify-cta-desc {
    color: rgba(255,255,255,0.65); font-size: 1rem;
    max-width: 520px; margin: 0 auto 40px; line-height: 1.7;
}
.verify-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--primary); color: #fff;
    padding: 16px 40px; border-radius: 40px;
    font-weight: 700; font-size: 0.95rem; letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(249,115,22,0.45);
}
.verify-cta-btn:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(249,115,22,0.55); color: #fff; }

/* ── FOOTER ───────────────────────────────────── */
.footer { background: #0f0a05; color: #fff; padding: 56px 0 0; }

.footer-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px 48px;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}

.footer-brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    /* SVG is white — shows perfectly on dark footer */
    opacity: 0.92;
}

.footer-brand-desc { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.65; margin-bottom: 22px; }

.social-icons { display: flex; gap: 10px; }
.social-icons a {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: var(--transition);
}
.social-icons a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.footer-col h4 {
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-bottom: 18px;
}
.footer-links-list { display: flex; flex-direction: column; gap: 10px; }
.footer-links-list a { color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.footer-links-list a:hover { color: var(--primary); padding-left: 4px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 18px 24px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }

/* ── SCROLL TO TOP ────────────────────────────── */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px; background: var(--primary); color: #fff;
    border: none; border-radius: 50%; font-size: 1.2rem;
    cursor: pointer; display: none; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg); transition: var(--transition); z-index: 999;
}
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-4px); }
.scroll-top.visible { display: flex; }

/* ── BREADCRUMB ───────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: rgba(255,255,255,0.75); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.95); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.6; }

/* ── SHOP PAGE ────────────────────────────────── */
.shop-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 24px; text-align: center; color: #fff;
}
.shop-banner-title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 12px; }
.shop-banner .breadcrumb { justify-content: center; }

.shop-section { background: var(--bg-section); padding: 60px 0 80px; }

.filter-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px; margin-bottom: 40px;
    background: #fff; padding: 18px 24px;
    border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.filter-categories { display: flex; gap: 10px; flex-wrap: wrap; }

.filter-btn {
    padding: 8px 20px; border-radius: 30px;
    border: 2px solid var(--border); background: transparent;
    color: var(--text-body); font-family: var(--font-body);
    font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(249,115,22,0.28); }

.sort-select {
    padding: 8px 16px; border-radius: 30px;
    border: 2px solid var(--border); background: transparent;
    font-family: var(--font-body); font-size: 0.875rem;
    color: var(--text-body); cursor: pointer; outline: none; transition: var(--transition);
}
.sort-select:focus { border-color: var(--primary); }

.no-results { text-align: center; padding: 60px 20px; color: var(--text-light); grid-column: 1/-1; }

/* ── PRODUCT DETAIL ───────────────────────────── */
.product-detail-section { padding: 60px 0 80px; background: var(--bg-section); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.product-detail-gallery { position: sticky; top: calc(var(--header-height) + 20px); }

.gallery-main {
    background: #fff; border-radius: var(--radius-xl); padding: 32px;
    box-shadow: var(--shadow-md); margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    min-height: 360px; overflow: hidden; position: relative; cursor: zoom-in;
}
.gallery-main img {
    width: 100%; max-width: 380px; max-height: 380px; object-fit: contain;
    margin: 0 auto; transition: opacity 0.3s ease;
    transform-origin: center center; will-change: transform;
}

.gallery-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.thumb {
    width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden;
    cursor: pointer; border: 2px solid var(--border); transition: var(--transition);
    background: #fff; flex-shrink: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.thumb:hover { border-color: var(--primary); }
.thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(249,115,22,0.2); }

.product-detail-info { padding-top: 8px; }

.product-detail-category { color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }

.product-detail-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800;
    color: var(--text-dark); margin-bottom: 16px; line-height: 1.25;
}

.product-detail-price {
    font-size: 1.7rem; font-weight: 800; color: var(--primary);
    margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.product-detail-price .dp-now { color: var(--primary); font-weight: 800; }
.product-detail-price .dp-mrp {
    font-size: 1.05rem; font-weight: 500; color: var(--text-light);
    text-decoration: line-through;
}
.product-detail-price .dp-off {
    font-size: 0.72rem; font-weight: 700; color: #fff;
    background: var(--primary); padding: 4px 10px; border-radius: 20px;
    letter-spacing: 0.5px; align-self: center;
}
.product-detail-weight { color: var(--text-light); font-size: 0.88rem; margin-bottom: 16px; }

.variant-group { margin-bottom: 20px; }
.variant-label { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.selected-flavor-name { color: var(--primary); font-weight: 700; text-transform: none; letter-spacing: 0; }
.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }

.variant-btn {
    padding: 8px 18px; border-radius: 30px;
    border: 2px solid var(--border); background: #fff;
    color: var(--text-body); font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: var(--transition);
}
.variant-btn:hover { border-color: var(--primary); color: var(--primary); }
.variant-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }

.product-detail-desc { color: var(--text-body); font-size: 0.925rem; line-height: 1.75; margin-bottom: 32px; }

.product-detail-inquire {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 36px; background: #25D366; color: #fff;
    border-radius: 40px; font-size: 0.9rem; font-weight: 700;
    transition: var(--transition); box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    border: none; cursor: pointer; text-decoration: none;
}
.product-detail-inquire:hover { background: #1ebe5c; transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); color: #fff; }

.related-section { background: var(--bg-section); padding-top: 0; }

/* ── VERIFY PAGE ──────────────────────────────── */
.verify-page-section {
    min-height: calc(100vh - var(--header-height));
    background: var(--bg-section);
    display: flex; align-items: center; justify-content: center; padding: 60px 24px;
}
.verify-card {
    background: #fff; border-radius: var(--radius-xl);
    padding: 48px 40px; width: 100%; max-width: 460px;
    box-shadow: var(--shadow-xl); border: 1px solid var(--border); text-align: center;
}
.verify-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(249,115,22,0.08); border: 3px solid rgba(249,115,22,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; font-size: 2rem;
}
.verify-card h1 { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.verify-card > p { color: var(--text-light); font-size: 0.93rem; margin-bottom: 32px; }

.verify-input {
    width: 100%; padding: 14px 20px; border: 2px solid var(--border);
    border-radius: var(--radius-md); font-family: var(--font-body);
    font-size: 1.1rem; font-weight: 600; text-align: center;
    letter-spacing: 3px; text-transform: uppercase; outline: none;
    transition: var(--transition); color: var(--text-dark); margin-bottom: 16px;
    display: block;
}
.verify-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,115,22,0.12); }

.verify-btn {
    width: 100%; padding: 14px; background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius-md); font-family: var(--font-body);
    font-size: 1rem; font-weight: 700; cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.verify-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(249,115,22,0.4); }
.verify-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; box-shadow: none; }

.verify-alert {
    margin-top: 24px; padding: 18px; border-radius: var(--radius-md);
    display: none; flex-direction: column; align-items: center; gap: 10px; text-align: center;
}
.verify-alert.active { display: flex; }
.verify-alert.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.verify-alert.error   { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

.shake { animation: shake 0.45s; }
@keyframes shake {
    0%,100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    75%      { transform: translateX(6px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── ANIMATIONS ───────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────── */

/* ─── 1400px+ : Large desktop tweaks ─── */
@media (min-width: 1400px) {
    .container,
    .header-inner,
    .footer-inner { max-width: 1360px; }

    .products-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; }
    .features-grid { gap: 36px; }
    .hero-content  { max-width: 900px; }
}

/* ─── ≤1024px : Laptop / tablet landscape ─── */
@media (max-width: 1024px) {
    /* Products: 4 → 3 columns */
    .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

    /* Features/Why: keep 3 cols */
    .features-grid { grid-template-columns: repeat(3, 1fr); }

    /* Footer: 3 col → 2 col */
    .footer-inner { grid-template-columns: 1.6fr 1fr; gap: 36px; }
    /* Third footer col wraps under first two at 1024px */
    .footer-inner > :nth-child(3) { grid-column: 1 / -1; }

    /* Highlights: tighten gap */
    .highlights-inner { gap: 40px; padding: 40px; }

    /* Product detail stays 2-col but tighter */
    .product-detail { gap: 36px; }
}

/* ─── ≤900px : Tablet ─── */
@media (max-width: 900px) {
    /* Products: 3 → 2 columns */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

    /* Categories: allow 3 cols but smaller gap */
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

    /* Features/Why: 3 → 2 columns */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    /* Ingredients: stack to single column */
    .ingredients-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .ingredients-center img { width: 220px; height: 220px; margin: 0 auto; }

    /* Product detail: 2-col → 1-col, gallery not sticky */
    .product-detail { grid-template-columns: 1fr; gap: 40px; }
    .product-detail-gallery { position: static; }

    /* Highlights: single col, centered text */
    .highlights-inner { grid-template-columns: 1fr; text-align: center; }
    .highlight-img { display: flex; justify-content: center; }
    .highlights-list li { justify-content: center; }
}

/* ─── ≤768px : Tablet portrait / large mobile ─── */
@media (max-width: 768px) {
    /* Header */
    :root { --header-height: 64px; }

    .header-inner { gap: 10px; padding: 0 16px; }

    /* Logo: smaller on mobile */
    .logo-img { height: 26px; max-width: 130px; }

    /* Search: take remaining space, but leave room for hamburger */
    .header-search { flex: 1; max-width: none; min-width: 0; }

    /* Search input: properly sized for mobile */
    .search-input {
        padding: 8px 36px 8px 14px;
        font-size: 0.85rem;
        height: 40px;
    }
    .search-icon { right: 11px; font-size: 0.85rem; }

    /* Hide desktop nav links */
    .header-nav .nav-link { display: none; }

    /* Show hamburger */
    .hamburger { display: flex; flex-shrink: 0; }

    /* Search dropdown: fixed so it doesn't overflow */
    .search-dropdown {
        position: fixed;
        top: var(--header-height);
        left: 0; right: 0;
        width: 100%;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        max-height: 60vh;
        overflow-y: auto;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    }

    /* Section padding: 80px → 60px */
    section { padding: 60px 0; }
    .section-title { margin-bottom: 32px; }

    /* Hero */
    .hero { min-height: 100svh; }
    .hero-content { padding: 32px 16px; }

    /* Features/Why: 2 → 1 col, centered */
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Categories: 3 → 1 col */
    .categories-grid { grid-template-columns: 1fr; gap: 16px; }
    .category-card   { aspect-ratio: 16 / 9; }

    /* Products: keep 2-col */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    /* Filter bar: stack */
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-categories { justify-content: center; }
    .sort-select { width: 100%; padding: 10px 16px; }

    /* Shop banner */
    .shop-banner { padding: 40px 16px; }

    /* Highlights */
    .highlights-inner { padding: 32px 24px; }

    /* Footer: 2-col → 1-col, centered */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .footer-inner > :nth-child(3) { grid-column: auto; }
    .footer-brand-logo { justify-content: center; }
    .social-icons { justify-content: center; }
    .footer-links-list a:hover { padding-left: 0; }

    /* Gallery */
    .gallery-main { min-height: 260px; padding: 20px; }
    .gallery-main img { max-height: 260px; }
    .thumb { width: 64px; height: 64px; }

    /* Verify card */
    .verify-card { padding: 32px 24px; }

    /* Scroll-to-top */
    .scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 1rem; }

    /* Buttons */
    .btn { padding: 12px 24px; font-size: 0.8rem; }
}

/* ─── ≤600px : Mobile landscape ─── */
@media (max-width: 600px) {
    /* Features grid: single col */
    .features-grid { max-width: 100%; }

    /* Categories: allow 2 col on landscape phones if there's room */
    .categories-grid { grid-template-columns: repeat(2, 1fr); }

    /* Products: keep 2-col with tighter gap */
    .products-grid { gap: 12px; }

    /* Container: keep 24px padding */
    .container { padding: 0 24px; }

    /* Shop section */
    .shop-section { padding: 40px 0 60px; }
    .filter-bar { padding: 14px 16px; gap: 14px; }
    .filter-btn  { padding: 7px 16px; font-size: 0.82rem; }
    .sort-select { font-size: 0.82rem; }

    /* Verify card */
    .verify-card { padding: 28px 20px; }
    .verify-input { font-size: 0.95rem; letter-spacing: 2px; }
}

/* ─── ≤480px : Small mobile ─── */
@media (max-width: 480px) {
    /* Header */
    :root { --header-height: 60px; }

    /* Logo even smaller */
    .logo-img { height: 22px; max-width: 110px; }
    .footer-logo-img { height: 28px; }

    /* Section padding: 60px → 48px */
    section { padding: 48px 0; }

    /* Container padding: 24px → 16px */
    .container { padding: 0 16px; }

    /* Hero */
    .hero-content { padding: 24px 16px; }
    .hero-sub     { font-size: 0.93rem; }

    /* Products: stay 2-col, smaller gap */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-info  { padding: 10px 12px 14px; }
    .product-name  { font-size: 0.78rem; }
    .product-price { font-size: 0.8rem; }
    .product-img-wrap img { padding: 10px; }

    /* Filter bar */
    .filter-bar { gap: 12px; }
    .filter-categories { gap: 8px; }

    /* Shop banner */
    .shop-banner { padding: 32px 16px; }

    /* Highlights */
    .highlights-inner { padding: 28px 16px; gap: 24px; }

    /* Gallery */
    .gallery-main { min-height: 220px; padding: 16px; }
    .gallery-main img { max-height: 220px; }
    .gallery-thumbs { gap: 8px; }
    .thumb { width: 56px; height: 56px; }

    /* Verify card */
    .verify-card    { padding: 28px 16px; max-width: 100%; }
    .verify-card h1 { font-size: 1.45rem; }
    .verify-input   { font-size: 0.9rem; padding: 12px 16px; letter-spacing: 1.5px; }
    .verify-btn     { font-size: 0.9rem; }

    /* Footer */
    .footer { padding-top: 40px; }
    .footer-inner { padding: 0 16px 32px; }
    .footer-bottom { padding: 16px; }

    /* Scroll-to-top */
    .scroll-top { width: 40px; height: 40px; font-size: 0.95rem; }
}

/* ─── ≤360px : Very small phones ─── */
@media (max-width: 360px) {
    /* Products: 2 → 1 col */
    .products-grid { grid-template-columns: 1fr; gap: 12px; }

    /* Categories: 1 col */
    .categories-grid { grid-template-columns: 1fr; }

    /* Hero buttons: stack */
    .hero-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .btn { width: 100%; justify-content: center; }

    /* Header: tighten spacing */
    .header-inner { padding: 0 10px; gap: 6px; }
    .logo-img { height: 20px; max-width: 100px; }

    /* Filter: tighten */
    .filter-bar { padding: 12px; }
    .filter-btn  { padding: 6px 12px; font-size: 0.8rem; }

    /* Verify card */
    .verify-card { padding: 24px 12px; }

    /* Container */
    .container { padding: 0 12px; }
}

/* ─── Touch devices: disable stuck hover effects ─── */
@media (hover: none) {
    .product-card:hover,
    .feature-card:hover,
    .category-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
        border-color: var(--border);
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }

    .nav-link-verify:hover {
        transform: none;
    }

    .scroll-top:hover  { transform: none; }
    .social-icons a:hover { transform: none; }
    .verify-cta-btn:hover { transform: none; }
    .footer-links-list a:hover { padding-left: 0; }
}
