/*
Theme Name: Alluvi Research
Theme URI: https://alluvistoreuk.com
Description: Alluvi Research theme - custom dark theme matching ukalluvi.com
Version: 3.0
Author: Alluvi
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { color: #fff; line-height: 1.2; }

/* ===== NOTICE / SCROLLING BANNER ===== */
.alluvi-notice-bar {
    background: #FFD700;
    color: #000;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1000;
}
.alluvi-notice-bar .notice-track {
    display: inline-block;
    animation: scrollNotice 35s linear infinite;
    padding-left: 100%;
}
.alluvi-notice-bar .notice-track:hover { animation-play-state: paused; }
@keyframes scrollNotice {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HEADER / PILL NAV ===== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 20px;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Pill Navigation — matches ukalluvi.com reference exactly */
.pill-nav {
    display: inline-flex;
    align-items: center;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 7px 8px 7px 20px;
    gap: 2px;
}

.pill-nav-logo {
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.10em;
    padding-right: 16px;
    margin-right: 6px;
    border-right: 1px solid rgba(255,255,255,0.18);
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.pill-nav-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    padding: 7px 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.pill-nav-link:hover { color: #fff; background: rgba(255,255,255,0.09); }
.pill-nav-logo:hover { opacity: 0.75; }

/* ===== HERO SECTION ===== */
.hero-section {
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    overflow: hidden;
}

.hero-text-wrap {
    text-align: center;
    max-width: 820px;
    padding: 0 24px 40px;
    z-index: 2;
}

.hero-heading {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtext {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 28px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-link {
    color: #FFD700;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s;
}
.hero-link:hover { opacity: 0.8; text-decoration: underline; }

.hero-sep {
    color: rgba(255,255,255,0.4);
    font-size: 1.1rem;
}

/* Hero Phone Image */
.hero-image-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
}

.hero-phone-img {
    width: 100%;
    max-width: 1400px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===== GUIDES SECTION ===== */
.guides-section {
    background: #000;
    padding: 80px 0 60px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.guides-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.guides-heading {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 48px;
}
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.guide-card {
    display: block;
    color: #fff;
    transition: opacity 0.2s;
}
.guide-card:hover { opacity: 0.85; }
.guide-img-wrap {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    aspect-ratio: 3/2;
    background: #111;
}
.guide-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.guide-card:hover .guide-img-wrap img { transform: scale(1.04); }
.guide-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* ===== QUALITY ASSURANCE SECTION ===== */
.qa-section {
    background: #0a0a0a;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.qa-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}
.section-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-bottom: 48px;
    font-style: italic;
}
.qa-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.qa-step {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 24px 18px;
}
.qa-num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ff8c00;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.qa-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.qa-step p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}
.janoshik-panel {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 28px 32px;
}
.janoshik-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.janoshik-logo {
    font-size: 2rem;
    flex-shrink: 0;
}
.janoshik-text { flex: 1; min-width: 200px; }
.janoshik-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.janoshik-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}
.janoshik-btn {
    background: #ff8c00;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.janoshik-btn:hover { background: #e07800; }

/* ===== NO PREP SECTION ===== */
.nprep-section {
    background: #000;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.nprep-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.nprep-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}
.nprep-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 14px;
}
.nprep-image { border-radius: 16px; overflow: hidden; }
.nprep-image img { width: 100%; border-radius: 16px; }

/* ===== TRACK SECTION ===== */
.track-section {
    background: #0a0a0a;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.track-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.track-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}
.track-inner p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 14px;
}
.track-btn {
    display: inline-block;
    background: #ff8c00;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    margin-top: 20px;
    transition: background 0.2s;
}
.track-btn:hover { background: #e07800; }

/* ===== RELIABLE DATA SECTION ===== */
.reliable-section {
    background: #000;
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.reliable-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.reliable-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}
.reliable-inner p {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 14px;
}

/* ===== PLATFORM SECTION ===== */
.platform-section {
    background: #fff;
    padding: 80px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.platform-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.platform-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
}
.platform-inner > p {
    font-size: 1rem;
    color: rgba(0,0,0,0.65);
    line-height: 1.8;
    margin-bottom: 48px;
}
.platform-sub {
    background: #f5f5f5;
    border-radius: 16px;
    padding: 36px 40px;
    text-align: left;
}
.platform-sub h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
}
.platform-sub p {
    font-size: 0.95rem;
    color: rgba(0,0,0,0.65);
    line-height: 1.8;
}

/* ===== DISCLAIMER SECTION ===== */
.disclaimer-section {
    background: #0a0a0a;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.disclaimer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
.disclaimer-inner p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}
.disclaimer-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #fff;
    color: #000;
    padding: 60px 0 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 12px;
    display: block;
}
.footer-brand p {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.55);
    line-height: 1.7;
}
.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.55);
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: #000; }
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(0,0,0,0.45);
}

/* ===== WOOCOMMERCE — WHITE THEME (matches ukalluvi.com reference) ===== */

/* White background override for all WooCommerce pages */
body.woocommerce,
body.woocommerce-page,
body.woocommerce-checkout,
body.woocommerce-cart,
body.woocommerce-account,
body.single-product {
    background: #fff !important;
    color: #1F2937;
}
body.woocommerce h1, body.woocommerce h2, body.woocommerce h3,
body.woocommerce h4, body.woocommerce h5, body.woocommerce h6,
body.woocommerce-page h1, body.woocommerce-page h2, body.woocommerce-page h3,
body.single-product h1, body.single-product h2, body.single-product h3 {
    color: #1F2937;
}

/* Hide page title on shop archive (reference site doesn't show "Shop" h1) */
body.woocommerce-page .page-title,
body.post-type-archive-product h1.page-title { display: none !important; }

/* WooCommerce body — white background covering full viewport */
body.woocommerce,
body.woocommerce-page,
body.single-product {
    background: #fff !important;
}

/* WooCommerce wrapper - centered container with side padding */
.woocommerce-page-wrap {
    background: #fff;
    min-height: 60vh;
    padding: 24px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* page-description wrapper (WC default) — override any width restrictions */
.woocommerce-page-wrap .page-description,
body.woocommerce .page-description,
body.woocommerce-page .page-description {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* WooCommerce content container — fallback if .woocommerce div exists */
.woocommerce-page-wrap .woocommerce,
body.woocommerce .woocommerce,
body.woocommerce-page .woocommerce {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Result count + ordering */
.woocommerce-result-count {
    color: #4b5563;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 20px;
}
.woocommerce-ordering,
.woocommerce-ordering select { display: none !important; }

/* Product grid — 3-column matching reference */
body.woocommerce ul.products,
body.woocommerce-page ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
    background: transparent !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
}
/* Clear WC float pseudo-elements */
body.woocommerce ul.products::before,
body.woocommerce ul.products::after,
body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after {
    display: none !important;
}

body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    transition: none !important;
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

body.woocommerce ul.products li.product:hover,
body.woocommerce-page ul.products li.product:hover {
    transform: none;
    border-color: transparent;
}

/* Product image wrapper */
body.woocommerce ul.products li.product a.woocommerce-loop-product__link img,
body.woocommerce-page ul.products li.product a.woocommerce-loop-product__link img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
}

/* Product link wrapper — no padding (Astra-like) */
body.woocommerce ul.products li.product .woocommerce-loop-product__link,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__link {
    display: block;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

/* Category label — small gray uppercase (Astra: .ast-woo-product-category) */
body.woocommerce ul.products li.product .ast-woo-product-category,
body.woocommerce-page ul.products li.product .ast-woo-product-category,
body.woocommerce ul.products li.product .product-category-label,
body.woocommerce-page ul.products li.product .product-category-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 4px;
    text-decoration: none;
}

/* Product title — blue link */
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.95rem;
    font-weight: 400;
    color: #046bd2;
    margin-bottom: 4px;
    line-height: 1.4;
    text-decoration: none;
    padding: 0;
}

/* Star ratings — gold */
body.woocommerce .star-rating,
body.woocommerce-page .star-rating {
    color: #f5a623;
    font-size: 0.85rem;
    margin: 4px 0;
}
body.woocommerce .star-rating span::before,
body.woocommerce-page .star-rating span::before {
    color: #f5a623;
}

/* Prices */
body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price {
    color: #1F2937;
    font-size: 0.95rem;
    font-weight: 400;
    display: block;
    margin-bottom: 10px;
}
body.woocommerce ul.products li.product .price del,
body.woocommerce-page ul.products li.product .price del {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 400;
    margin-right: 4px;
    text-decoration: line-through;
    opacity: 1;
}
body.woocommerce ul.products li.product .price del .woocommerce-Price-amount,
body.woocommerce-page ul.products li.product .price del .woocommerce-Price-amount {
    color: #9ca3af;
}
body.woocommerce ul.products li.product .price ins,
body.woocommerce-page ul.products li.product .price ins {
    text-decoration: none;
    font-weight: 700;
    color: #1F2937;
}
body.woocommerce ul.products li.product .price ins .woocommerce-Price-amount,
body.woocommerce-page ul.products li.product .price ins .woocommerce-Price-amount {
    color: #1F2937;
}

/* Sale badge */
body.woocommerce span.onsale,
body.woocommerce-page span.onsale {
    background: #fff;
    color: #1F2937;
    border: 1px solid #e5e7eb;
    font-size: 0.7rem;
    font-weight: 400;
    border-radius: 4px;
    padding: 2px 7px;
    top: 8px;
    left: 8px;
    min-height: auto;
    line-height: 1.4;
}

/* Add to basket button — blue */
body.woocommerce ul.products li.product a.button,
body.woocommerce-page ul.products li.product a.button,
body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button {
    background: #046bd2;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 10px 16px;
    width: 100%;
    margin: 0;
    text-align: center;
    display: block;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    box-sizing: border-box;
}
body.woocommerce ul.products li.product a.button:hover,
body.woocommerce-page ul.products li.product a.button:hover {
    background: #0357b0;
    color: #fff;
}
/* Loading state */
body.woocommerce ul.products li.product a.button.loading,
body.woocommerce-page ul.products li.product a.button.loading {
    background: #6da5e0;
}

/* Result count and ordering */
.woocommerce-result-count { color: #4b5563; font-size: 0.9rem; }
.woocommerce-products-header { display: none; }
.woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
    background: #fff;
    color: #1F2937;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { list-style: none; display: flex; gap: 4px; padding: 0; margin: 20px 0; }
.woocommerce nav.woocommerce-pagination ul li { display: inline-block; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: block;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #1F2937;
    font-size: 0.9rem;
    text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #046bd2;
    color: #fff;
    border-color: #046bd2;
}

/* ===== SINGLE PRODUCT PAGE — WHITE ===== */
.woocommerce div.product {
    background: #fff;
    color: #1F2937;
}
.woocommerce div.product div.summary .product_title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1F2937;
}
.woocommerce div.product .price {
    color: #1F2937;
    font-size: 1.1rem;
    font-weight: 400;
}
.woocommerce div.product .price del {
    color: #9ca3af;
    font-weight: 400;
    margin-right: 6px;
    text-decoration: line-through;
}
.woocommerce div.product .price del .woocommerce-Price-amount { color: #9ca3af; }
.woocommerce div.product .price ins {
    text-decoration: none;
    font-weight: 700;
    color: #1F2937;
}
.woocommerce div.product .price ins .woocommerce-Price-amount { color: #1F2937; }
.woocommerce div.product .woocommerce-product-details__short-description p {
    color: #4b5563;
    line-height: 1.7;
}
.single-product .woocommerce-tabs .wc-tab { color: #4b5563; }
.woocommerce-tabs ul.tabs li.active a { color: #1F2937; border-bottom-color: #fff; }
.woocommerce-tabs ul.tabs li a { color: #6b7280; }
.woocommerce div.product form.cart .button.single_add_to_cart_button {
    background: #046bd2;
    color: #fff;
    border: none;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
    background: #0357b0;
}
.woocommerce div.product p.stock { color: #4b5563; }

/* Breadcrumb */
.woocommerce-breadcrumb { color: #6b7280; font-size: 0.85rem; }
.woocommerce-breadcrumb a { color: #046bd2; }

/* Notices */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border-top-color: #046bd2;
    background: #fff;
    color: #1F2937;
}

/* ===== GENERAL PAGE STYLES ===== */
.page-content-wrap {
    background: #fff;
    min-height: 60vh;
    padding: 80px 0;
}
.page-content-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    color: #4b5563;
    line-height: 1.9;
}
.page-content-inner h1, .page-content-inner h2, .page-content-inner h3 {
    color: #1F2937;
    margin-bottom: 16px;
    margin-top: 32px;
}
.page-content-inner p { margin-bottom: 16px; }


/* ===== AUTHENTICITY VERIFICATION BANNER ===== */
.authenticity-section {
    background: #000;
    padding: 40px 20px;
    text-align: center;
}
.authenticity-inner {
    max-width: 1000px;
    margin: 0 auto;
}
.authenticity-link {
    display: block;
    text-decoration: none;
}
.authenticity-banner-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    transition: opacity 0.2s ease;
}
.authenticity-banner-img:hover {
    opacity: 0.9;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-section { padding-top: 40px; }
    .hero-text-wrap { padding: 0 16px 32px; }
    .hero-heading { font-size: clamp(2.6rem, 8vw, 3.5rem); }
    .hero-image-wrap { max-height: none; overflow: visible; }

    .guides-grid { grid-template-columns: 1fr; gap: 20px; }
    .qa-steps { grid-template-columns: 1fr 1fr; gap: 14px; }
    .nprep-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 580px) {
    /* Hero heading — matches reference: each word fills full line, very large text */
    .hero-heading { font-size: clamp(3.8rem, 18.5vw, 5rem); line-height: 1.0; }
    .hero-subtext { font-size: 0.95rem; }

    /* Hero image — matches reference: phone fills ~90% viewport width */
    .hero-image-wrap {
        height: 680px;
        max-height: none;
        overflow: hidden;
        position: relative;
        display: block;
    }
    .hero-phone-img {
        position: absolute;
        width: 420%;
        height: auto;
        max-width: none;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }

    .qa-steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    /* Shop: keep 3-col on mobile like reference, reduce gap and padding */
    body.woocommerce ul.products,
    body.woocommerce-page ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 8px !important;
    }
    .woocommerce-page-wrap { padding: 16px 12px 60px; }

    .janoshik-content { flex-direction: column; text-align: center; }
    .platform-sub { padding: 24px 20px; }
}

/* ===== FLOATING CART BUTTON (matches Modern Cart plugin on reference) ===== */
.alluvi-floating-cart {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background: #1F2937;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9997;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: background 0.2s, transform 0.2s;
    color: #fff;
}
.alluvi-floating-cart:hover {
    background: #374151;
    transform: scale(1.06);
}
.alluvi-floating-cart svg {
    width: 22px;
    height: 22px;
}
.alluvi-floating-cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #ff8c00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    border: 2px solid #fff;
}
.alluvi-floating-cart-count.is-zero { display: none; }

/* ===== CART ICON IN NAV ===== */
.pill-nav-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 6px 10px;
    margin-left: 4px;
    border-radius: 20px;
    transition: background 0.2s;
    position: relative;
}
.pill-nav-cart:hover { background: rgba(255,255,255,0.1); }
.pill-nav-cart svg { width: 20px; height: 20px; }
.cart-count {
    position: absolute;
    top: 0;
    right: 2px;
    background: #ff8c00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}
.cart-count.is-zero { display: none; }

/* ===== CART DRAWER OVERLAY ===== */
.alluvi-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.alluvi-cart-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

/* ===== CART DRAWER PANEL — WHITE (matches Modern Cart plugin on reference) ===== */
.alluvi-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100vw;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 30px rgba(0,0,0,0.12);
}
.alluvi-cart-drawer.is-open {
    transform: translateX(0);
}
body.cart-drawer-open { overflow: hidden; }

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e5e7eb;
}
.cart-drawer-title {
    color: #1F2937;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}
.cart-drawer-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s;
}
.cart-drawer-close:hover { color: #1F2937; }

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.cart-drawer-body::-webkit-scrollbar { width: 4px; }
.cart-drawer-body::-webkit-scrollbar-track { background: #f9fafb; }
.cart-drawer-body::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }

/* WooCommerce Mini Cart inside drawer */
.alluvi-cart-drawer .woocommerce.widget_shopping_cart { flex: 1; display: flex; flex-direction: column; }
.alluvi-cart-drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; }

.alluvi-cart-drawer .woocommerce-mini-cart { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    flex: 1;
    overflow-y: auto;
}

/* Empty cart message — hidden, we use "shop now" button below */
.alluvi-cart-drawer .woocommerce-mini-cart__empty-message {
    color: #6b7280;
    text-align: center;
    padding: 40px 24px 16px;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Cart items */
.alluvi-cart-drawer .woocommerce-mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid #f3f4f6;
}
.alluvi-cart-drawer .woocommerce-mini-cart-item a img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}
.alluvi-cart-drawer .woocommerce-mini-cart-item > a:first-child { flex-shrink: 0; }
.alluvi-cart-drawer .mini_cart_item a,
.alluvi-cart-drawer .woocommerce-mini-cart-item a {
    color: #1F2937;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: block;
    line-height: 1.3;
}
.alluvi-cart-drawer .mini_cart_item a:hover { color: #046bd2; }
.alluvi-cart-drawer .woocommerce-mini-cart-item .quantity {
    color: #6b7280;
    font-size: 0.82rem;
    margin-top: 4px;
    display: block;
}
.alluvi-cart-drawer .woocommerce-Price-amount { color: #1F2937; font-weight: 500; }

/* Remove link */
.alluvi-cart-drawer .mini_cart_item .remove_from_cart_button,
.alluvi-cart-drawer .woocommerce-mini-cart-item .remove_from_cart_button {
    color: #9ca3af;
    font-size: 1rem;
    text-decoration: none;
    float: right;
    line-height: 1;
    margin-left: 8px;
}
.alluvi-cart-drawer .remove_from_cart_button:hover { color: #ef4444; }

/* Cart totals */
.alluvi-cart-drawer .woocommerce-mini-cart__total {
    padding: 14px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1F2937;
    font-weight: 500;
    font-size: 0.95rem;
    background: #fff;
}
.alluvi-cart-drawer .woocommerce-mini-cart__total strong { font-weight: 600; color: #1F2937; }
.alluvi-cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount { color: #1F2937; font-weight: 600; }

/* Cart footer buttons */
.alluvi-cart-drawer .woocommerce-mini-cart__buttons {
    padding: 12px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
}
.alluvi-cart-drawer .woocommerce-mini-cart__buttons .button,
.alluvi-cart-drawer .woocommerce-mini-cart__buttons a.button {
    display: block;
    text-align: center;
    padding: 13px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, background 0.2s;
    cursor: pointer;
    border: none;
    width: 100%;
    box-sizing: border-box;
}
/* "View cart" — light gray */
.alluvi-cart-drawer .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
    background: #f3f4f6;
    color: #1F2937;
    border: 1px solid #e5e7eb;
}
.alluvi-cart-drawer .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout):hover { background: #e5e7eb; }
/* "Checkout" — dark */
.alluvi-cart-drawer .woocommerce-mini-cart__buttons .checkout.wc-forward,
.alluvi-cart-drawer .woocommerce-mini-cart__buttons a.checkout {
    background: #1F2937 !important;
    color: #fff !important;
    border: none;
}
.alluvi-cart-drawer .woocommerce-mini-cart__buttons a.checkout:hover { background: #374151 !important; }

/* Empty state: "Shop now" button (only child = only button = empty cart) */
.alluvi-cart-drawer .woocommerce-mini-cart__buttons a.button:only-child {
    background: #1F2937 !important;
    color: #fff !important;
    border: none;
}
.alluvi-cart-drawer .woocommerce-mini-cart__buttons a.button:only-child:hover { background: #374151 !important; }

@media (max-width: 480px) {
    .alluvi-cart-drawer { width: 100vw; }
    .alluvi-floating-cart { bottom: 16px; right: 16px; }
}

/* ===================================================
   WOOCOMMERCE CHECKOUT PAGE - Float Layout v2
   ================================================= */

body.woocommerce-checkout .checkout-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 60px;
    box-sizing: border-box;
}

/* Clearfix so the form stretches to contain floated children */
body.woocommerce-checkout form.checkout.woocommerce-checkout::after {
    content: "";
    display: table;
    clear: both;
}

/* LEFT COLUMN: billing details - use margin-right, not padding-right */
body.woocommerce-checkout form.checkout .col2-set {
    float: left;
    width: 56%;
    margin-right: 4%;
    clear: left;
}

/* Hide WC hidden tracking element */
body.woocommerce-checkout form.checkout wc-order-attribution-inputs {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
}

/* RIGHT COLUMN: order heading */
body.woocommerce-checkout form.checkout h3#order_review_heading {
    float: right;
    width: 40%;
    clear: right;
    margin-top: 0;
}

/* RIGHT COLUMN: order review box */
body.woocommerce-checkout form.checkout #order_review {
    float: right;
    width: 40%;
    clear: right;
}

/* Order table */
body.woocommerce-checkout .shop_table {
    width: 100%;
    border-collapse: collapse;
}

body.woocommerce-checkout .shop_table th,
body.woocommerce-checkout .shop_table td {
    padding: 10px 6px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form fields */
body.woocommerce-checkout .form-row input,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .form-row textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Payment section */
body.woocommerce-checkout #payment {
    background: transparent;
    padding: 16px 0;
}

body.woocommerce-checkout #payment .payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

body.woocommerce-checkout #payment .payment_methods li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.woocommerce-checkout #payment .place-order {
    padding-top: 16px;
}

/* ===================================================
   MOBILE: single-column checkout (max-width: 767px)
   ================================================= */

@media (max-width: 767px) {
    body.woocommerce-checkout .checkout-page-wrapper {
        padding: 16px 12px 40px;
    }

    body.woocommerce-checkout form.checkout .col2-set {
        float: none;
        width: 100%;
        margin-right: 0;
        clear: both;
    }

    body.woocommerce-checkout form.checkout h3#order_review_heading {
        float: none;
        width: 100%;
        clear: both;
        margin-top: 32px;
    }

    body.woocommerce-checkout form.checkout #order_review {
        float: none;
        width: 100%;
        clear: both;
    }
}