/* --- FRONT PAGE & HERO SECTION --- */
.front-page-main { padding: 0 !important; margin: 0 !important; }
.reis-hero {
    position: relative;
    background: url("../images/hero-bg.jpg") center 30% / cover no-repeat;
    min-height: 360px;
    height: var(--reis-hero-h, 58vh);
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
}
.reis-hero::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(0,0,0,0.18); z-index: 1;
}
.reis-hero-inner {
    position: relative; z-index: 2;
    max-width: 960px; padding: 0 var(--page-gutter);
    display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.hero-eyebrow {
    font-size: 16px; font-weight: 500; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(255,255,255,0.8);
    margin: 0; padding: 0; border: none;
}
.hero-title {
    font-size: 3.6rem; font-weight: 500; line-height: 1.15;
    color: #fff; margin: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.12);
}
.hero-sub { display: none; }
.hero-btn {
    background: var(--reis-pink); color: #fff;
    border: none;
    padding: 14px 36px; border-radius: var(--btn-radius);
    font-size: 15px; font-weight: 700;
    text-decoration: none; transition: all 0.25s;
    display: inline-block;
    margin-top: 4px;
}
.hero-btn:hover { background: var(--reis-pink-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,110,128,0.4); }

/* --- FLOATING PILL --- */
html { scroll-behavior: smooth; }
#latest-products,
#popular-products { scroll-margin-top: 130px; }
.floating-pill { position: fixed; right: 0; top: 50%; transform: translateY(-10%) rotate(180deg); writing-mode: vertical-rl; text-orientation: mixed; background: var(--reis-pink); color: #fff; padding: 25px 12px; font-size: 14px; font-weight: 500; border-radius: 0 12px 12px 0; text-decoration: none; z-index: 999; transition: all 0.3s ease; white-space: nowrap; }
@media (max-width: 768px) { .floating-pill { padding: 15px 8px; font-size: 12px; } }
.floating-pill:hover { background: var(--reis-pink-hover); color: #fff; }
body.mega-open .floating-pill { opacity: 0; pointer-events: none; }

/* --- FEATURES BAR --- */
.reis-features { background: #3a8fc4; display: flex; justify-content: center; align-items: center; padding: 18px var(--page-gutter); gap: 60px; }
.reis-feature { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #dff1fb; letter-spacing: 0; text-transform: none; }
.reis-feature img { height: 24px; width: auto; object-fit: contain; filter: brightness(0) invert(1) sepia(1) saturate(0.3) hue-rotate(180deg); opacity: 0.85; }
.reis-feature img.card-icon { height: 28px; }
.reis-divider { width: 1px; height: 28px; background-color: rgba(255,255,255,0.35); }

/* --- TRENDING PRODUCTS --- */
.reis-trending-products { padding: 80px var(--page-gutter); text-align: center; max-width: 1400px; margin: 0 auto; }

.reis-product-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; text-align: left; }

.reis-product-card { position: relative; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #f0f0f0; transition: box-shadow 0.25s; }
.reis-product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }

/* Wishlist button */
.reis-wl-btn { position: absolute; top: 10px; right: 10px; z-index: 2; background: #fff; border: none !important; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,0.15); transition: transform 0.2s, background 0.2s; padding: 0; }
.reis-wl-btn:hover { transform: scale(1.12); background: #fff5f6; }
.reis-wl-btn.is-saved { background: #fff0f2; }
.reis-wl-btn.is-saved svg { fill: var(--reis-pink) !important; }

/* Image */
.reis-product-card-img-wrap { display: block; background: #f7f7f7; padding: 28px; aspect-ratio: 1; }
.reis-product-card-img-wrap.is-placeholder { background: #f3f6f9; display: flex; align-items: center; justify-content: center; }
.reis-product-card-no-img { font-size: 12px; color: #aab; font-weight: 400; }
.reis-product-card-img-wrap img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; }
.reis-product-card:hover .reis-product-card-img-wrap img { transform: translateY(-4px); }

/* Body */
.reis-product-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.reis-product-card-cat { font-size: 11px; color: var(--text-muted); }
.reis-product-card-name { font-size: 14px; font-weight: 600; color: var(--text-dark); text-decoration: none; line-height: 1.4; }
.reis-product-card-name:hover { color: var(--text-dark); }
.reis-product-card-price { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-top: 4px; }
.reis-product-card-price .woocommerce-Price-amount { color: var(--text-dark); }

@media (max-width: 1024px) { .reis-product-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .reis-product-row { grid-template-columns: 1fr !important; gap: 16px; } .reis-trending-products, .reis-popular-products { padding: 60px var(--page-gutter-mobile); } }

/* --- SPLIT PROMO SECTION --- */
.reis-split-promo { display: flex; min-height: 560px; max-width: 1400px; margin: 0 auto; width: 100%; }
.split-left { flex: 1; background: #fff; padding: 80px var(--page-gutter); display: flex; flex-direction: column; justify-content: center; gap: 0; }
.promo-eyebrow { font-size: 12px; font-weight: 500; color: #3a8fc4; margin: 0 0 16px; }
.promo-title { font-size: 2.6rem; font-weight: 600; line-height: 1.25; margin: 0 0 40px; border: none; padding: 0; }
.promo-title-active { color: var(--text-dark); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--text-dark); }
.promo-title-muted { color: #b0bec5; }
.promo-steps { display: flex; gap: 32px; margin-bottom: 40px; }
.promo-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; flex: 1; }
.promo-step-num { width: 42px; height: 42px; border-radius: 50%; border: 2px solid #398ec361; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 500; color: #398fc3; flex-shrink: 0; }
.promo-step p { font-size: 13px; color: #666; line-height: 1.5; margin: 0; }
.promo-learn-btn { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 999px; padding: 11px 28px; font-size: 14px; font-weight: 500; color: #fff; background: #398fc3; text-decoration: none; width: fit-content; transition: all 0.2s; }
.promo-learn-btn:hover { background: #2d7aad; color: #fff; }
.promo-stats { display: flex; align-items: center; gap: 0; margin-top: 36px; padding-top: 28px; border-top: 1px solid #f0f0f0; }
.promo-stat { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.promo-stat strong { font-size: 1.6rem; font-weight: 500; color: var(--text-dark); }
.promo-stat span { font-size: 12px; color: var(--text-muted); }
.promo-stat-divider { width: 1px; height: 36px; background: #e5e5e5; flex-shrink: 0; margin: 0 24px; }
.split-right { flex: 1; background: #fff; display: flex; justify-content: center; align-items: center; padding: var(--page-gutter); }
.promo-right-inner { background: #e8f3fb; border-radius: 24px; width: 100%; max-width: 520px; display: flex; justify-content: center; align-items: center; padding: 40px; aspect-ratio: 1; }
.promo-machines-img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 1024px) {
    .reis-split-promo { flex-direction: column; }
    .split-left { padding: 60px var(--page-gutter); align-items: center; text-align: center; }
    .promo-eyebrow { text-align: center; }
    .promo-steps { flex-direction: column; gap: 20px; width: 100%; max-width: 420px; }
    .promo-step { flex-direction: row; text-align: left; }
    .promo-learn-btn { align-self: center; }
    .promo-stats { width: 100%; }
    .promo-stat { align-items: center; }
}

/* --- POPULAR PRODUCTS --- */
.reis-popular-products { padding: 80px var(--page-gutter); text-align: center; max-width: 1400px; margin: 0 auto; }

/* --- TESTIMONIALS --- */
.reis-testimonials { background-color: var(--reis-blue-bg); position: relative; padding: 0 var(--page-gutter); overflow: hidden; display: flex; align-items: center; }
.reis-testimonials::before { content: ""; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%; transform: translate(-50%, -50%); background: repeating-conic-gradient(var(--reis-blue-bg) 0 10deg, #dcf0ff 10deg 20deg); opacity: 0.4; pointer-events: none; z-index: 1; }
.testimonials-inner { max-width: 1400px; margin: 0 auto; display: flex; gap: 40px; position: relative; z-index: 2; align-items: center; width: 100%; }
.testimonials-content { flex: 1; text-align: left; max-width: 450px; }
.testimonials-content .section-title { font-size: 3.2rem; color: #1e3a5a; line-height: 1.1; margin-bottom: 20px; }
.testimonials-cards { flex: 1.5; height: 500px; display: flex; justify-content: flex-end; align-items: center; position: relative; overflow: hidden; border-radius: 20px; padding-right: 40px; }
.cards-wrapper { display: flex; flex-direction: column; gap: 25px; align-items: flex-end; width: 100%; position: absolute; top: 50%; transform: translateY(-50%); right: 40px; }
.testimonial-card { background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); width: 100%; max-width: 480px; padding: 40px; position: relative; transition: all 0.3s ease; flex-shrink: 0; }
.quote-svg { width: 24px; height: auto; margin-bottom: 20px; opacity: 0.8; filter: invert(56%) sepia(87%) saturate(542%) hue-rotate(309deg) brightness(101%) contrast(101%); }
.testimonial-card p { font-size: 15px; color: var(--text-dark); line-height: 1.6; margin-bottom: 25px; font-weight: 500; font-style: normal; }
.testimonial-user { display: flex; align-items: center; gap: 15px; }
.testimonial-user img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; }
.testimonial-user span { font-weight: 600; font-size: 14px; color: var(--text-dark); }

/* --- CTA BANNER --- */
.reis-cta-banner { position: relative; padding: 72px var(--page-gutter); background: url("../images/cta-bg.jpg") center/cover no-repeat; text-align: center; color: white; display: flex; justify-content: center; align-items: center; }
.cta-overlay { position: absolute; top:0; left:0; right:0; bottom:0; background: rgba(30, 84, 126, 0.4); z-index: 1; }
.cta-content { position: relative; z-index: 2; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-content .hero-eyebrow { margin: 0; }
.cta-content h2 { font-size: 2.8rem; font-weight: 500; margin: 0; color: #fff; border: none; line-height: 1.2; }
.cta-content p { font-size: 16px; line-height: 1.7; margin: 0; opacity: 0.85; font-weight: 400; }
.cta-pink-btn { background: var(--reis-pink); padding: 14px 36px; margin-top: 8px; }

@media (max-width: 1024px) {
    .reis-split-promo, .testimonials-inner { flex-direction: column; text-align: center; }
    .testimonials-content { max-width: 100%; text-align: center; margin-bottom: 40px; }
    .testimonials-content .section-title { font-size: 2.5rem; }
    
    .testimonials-cards { height: auto; padding-right: 0; width: 100%; }
    .cards-wrapper { position: relative; top: 0; right: 0; transform: none; flex-direction: column; align-items: center; gap: 0; padding: 0; }
    .testimonial-card { width: 100%; max-width: 480px; text-align: left; }
    .testimonial-card:not(:first-child) { display: none; }
}

@media (max-width: 768px) {
    .reis-hero {
        --reis-hero-h: 75vh;
        min-height: 480px;
    }
    .hero-title { font-size: 2.2rem; }
    .cta-content h2 { font-size: 2rem; }
    .hero-sub { font-size: 16px; }
    .reis-features { flex-direction: column; gap: 20px; }
    .reis-divider { display: none; }
    .reis-testimonials { padding: 60px var(--page-gutter-mobile); }
    .testimonial-card { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .reis-hero {
        --reis-hero-h: 80vh;
        min-height: 520px;
    }
    .hero-title { font-size: 1.9rem; }
}
