@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Outfit:wght@100..900&display=swap');

/*
 * americanpharmaceu.com - Main Stylesheet
 * Premium Light Theme with Dark Green Hero & Beige Footer/Testimonials
 * Designed to look exactly like the reference site allinsupp1.com
 */

:root {
    /* Dynamic Theme Colors - Customisable via Admin Panel */
    --primary-color: #7bce1b; /* Lime green like reference button */
    --primary-rgb: 123, 206, 27;
    --secondary-color: #1a1a1a;
    --bg-dark: #ffffff; /* White background for light mode */
    --bg-card: #ffffff;
    --text-main: #222222; /* Dark text */
    --text-muted: #555555; /* Muted gray text */
    --accent-red: #ff3333;
    
    /* Layout Variables */
    --max-width: 1200px;
    --header-height: 80px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-glass: 1px solid rgba(0, 0, 0, 0.06);
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #fafafa; /* Light gray background */
    color: var(--text-main);
    font-family: 'Outfit', 'Inter', sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

input, button, select, textarea {
    font-family: inherit;
}

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
    background: linear-gradient(135deg, #103b1b 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #62a514 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    gap: 10px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-main);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Glassmorphism Panel (Light Version) */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
}

/* TOP ANNOUNCEMENT BAR */
.top-bar {
    background: #000000;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
}

.top-bar a {
    color: var(--primary-color);
    margin-left: 10px;
    text-decoration: underline;
    font-weight: 600;
}

/* HEADER */
header {
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border-glass);
    display: flex;
    align-items: center;
    transition: background var(--transition-normal);
}

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

.logo-container a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
    padding: 8px 0;
    position: relative;
    color: #333333;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #222;
    font-size: 24px;
    cursor: pointer;
}

/* HERO SECTION (DARK FOREST GREEN BACKDROP) */
.hero {
    min-height: calc(100vh - var(--header-height) - 40px);
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #0b2210 0%, #153c1e 100%);
    color: #ffffff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.hero-content p {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.25) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    filter: blur(30px);
}

.hero-img-stack {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.hero-img-stack img {
    height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
    transition: transform var(--transition-normal);
}

.hero-img-stack img:hover {
    transform: translateY(-10px) scale(1.03);
}

.hero-img-stack img:nth-child(2) {
    height: 440px;
    transform: translateY(-20px);
}

.hero-img-stack img:nth-child(2):hover {
    transform: translateY(-30px) scale(1.03);
}

/* SECTIONS COMMON */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #111111;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* CATEGORY TABS */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--text-muted);
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* PRODUCT CARD */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid #eaeaea;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    border-radius: var(--radius-md);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--primary-rgb), 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.product-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-bottom: 1px solid #f3f3f3;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Edge to edge fit */
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image-container img {
    transform: scale(1.04);
}

.badge-discount {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-red);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: #111111;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.stars {
    color: #ffb700;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-original {
    font-size: 13px;
    text-decoration: line-through;
    color: #888888;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: #111111;
}

.product-card .btn-whatsapp {
    background: #1cb550;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: transform var(--transition-fast), background var(--transition-fast);
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.product-card .btn-whatsapp:hover {
    background: #15933f;
    transform: translateY(-2px);
}

.product-card .btn-details {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.product-card .btn-details:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* BLUE LIGHTNING BANNER SECTION */
.banner-promo {
    background: linear-gradient(135deg, #0c5999 0%, #06234b 100%);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    color: #ffffff;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.banner-content h3 {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
}

.banner-content p {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 500px;
}

.banner-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.banner-image img {
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* FEATURES SECTION */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    background: #fbf9f6;
    border: 1px solid #eeeeee;
    border-radius: var(--radius-md);
    transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.feature-icon {
    font-size: 45px;
    margin-bottom: 25px;
    color: var(--primary-color);
    display: inline-block;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* TESTIMONIALS SLIDER - WARM BEIGE/CREAM THEME */
.testimonials-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    background: #ebdccb;
    border: 1px solid #d4c3b2;
    border-radius: var(--radius-md);
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-rating {
    color: #ffb700;
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-quote {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #222222;
    font-style: italic;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 700;
    color: #153c1e; /* Dark green name */
}

.testimonial-product {
    font-size: 12px;
    color: #555555;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.control-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #222;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.control-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* NEWSLETTER */
.newsletter-card {
    background: #fbf9f6;
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    border: 1px solid #eeeeee;
}

.newsletter-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #111111;
}

.newsletter-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 30px;
    padding: 14px 25px;
    color: #222;
    font-size: 15px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    border-radius: 30px;
    padding: 0 35px;
}

.form-response-msg {
    margin-top: 15px;
    font-size: 14px;
    display: none;
}

.form-response-msg.success {
    color: var(--primary-color);
    display: block;
}

/* PRODUCT DETAIL PAGE */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-main {
    background: #f7f7f7;
    border-radius: var(--radius-md);
    border: var(--border-glass);
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.gallery-main img {
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
}

.thumb-img {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

.thumb-img:hover, .thumb-img.active {
    border-color: var(--primary-color);
}

.thumb-img img {
    max-height: 100%;
    object-fit: contain;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-detail-info .product-category {
    margin-bottom: 12px;
}

.product-detail-info h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #111;
}

.product-detail-info .product-rating {
    margin-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 20px;
}

.product-description-short {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* COUNTDOWN TIMER */
.urgency-timer {
    background: rgba(255, 51, 51, 0.05);
    border: 1px dashed rgba(255, 51, 51, 0.3);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 15px;
}

.timer-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff3333;
    font-weight: 600;
}

.timer-clock {
    font-family: monospace;
    font-weight: 700;
    font-size: 18px;
    color: #ff3333;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
}

/* PACKAGE OPTIONS */
.package-options-wrapper {
    margin-bottom: 30px;
}

.package-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #111111;
}

.package-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-card {
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.package-card:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.02);
}

.package-card.active {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.package-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.package-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.package-card.active .package-radio {
    border-color: var(--primary-color);
}

.package-card.active .package-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
}

.package-name {
    font-weight: 600;
    font-size: 15px;
    color: #222222;
}

.package-badge {
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

.package-right {
    text-align: right;
}

.package-price {
    font-weight: 700;
    font-size: 16px;
    color: #111111;
}

/* ACTIONS */
.detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-detail-whatsapp {
    flex-grow: 1;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-detail-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

/* TABS */
.detail-tabs-nav {
    display: flex;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 25px;
    gap: 30px;
}

.detail-tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 0;
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.detail-tab-btn:hover, .detail-tab-btn.active {
    color: #111111;
}

.detail-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.detail-tab-btn.active::after {
    width: 100%;
}

.tab-pane {
    display: none;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.tab-pane.active {
    display: block;
}

.tab-pane ul {
    padding-left: 20px;
    margin-top: 10px;
}

.tab-pane li {
    margin-bottom: 8px;
}

/* REVIEWS TAB DESIGN */
.reviews-tab-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.reviews-summary-box {
    background: #fbfbfb;
    border: 1px solid #eeeeee;
    border-radius: var(--radius-md);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;
    gap: 30px;
}

.summary-rating-avg {
    text-align: center;
}

.rating-avg-num {
    font-size: 48px;
    font-weight: 800;
    color: #111111;
    line-height: 1;
}

.summary-rating-avg .stars {
    margin: 10px 0;
    font-size: 16px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.rating-bar-label {
    width: 50px;
    color: #555;
}

.rating-bar-wrapper {
    flex-grow: 1;
    height: 6px;
    background: #eeeeee;
    border-radius: 3px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.rating-bar-count {
    width: 30px;
    text-align: right;
    color: var(--text-muted);
}

.write-review-btn-container {
    text-align: center;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 20px;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 700;
    color: #111111;
}

.review-verified-badge {
    background: rgba(var(--primary-rgb), 0.1);
    color: #528c14;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
}

.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

.review-item h4 {
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
    font-size: 15px;
}

.review-item p {
    font-size: 14px;
    line-height: 1.6;
}

/* WRITE REVIEW MODAL */
.review-form-toggle {
    display: none;
    background: #fbfbfb;
    border: 1px solid #eeeeee;
    border-radius: var(--radius-md);
    padding: 30px;
    margin-top: 20px;
}

.review-form-toggle.active {
    display: block;
}

.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.form-group input, .form-group textarea, .form-group select {
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
    padding: 12px 15px;
    color: #222;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary-color);
}

/* FOOTER (SAND / BEIGE THEME) */
footer {
    background: #ebdccb;
    border-top: 1px solid #d4c3b2;
    color: #222222;
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info .logo-container {
    margin-bottom: 20px;
}

.footer-info .logo-text {
    color: #222222;
}

.footer-info p {
    color: #555555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3, .footer-newsletter h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #222222;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h3::after, .footer-newsletter h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #153c1e; /* Dark green accent line */
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: #444444;
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links-list a:hover {
    color: #0b2210;
    padding-left: 5px;
}

.footer-newsletter p {
    color: #555555;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
}

.footer-newsletter-form input {
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 30px;
    padding: 12px 20px;
    color: #222;
    font-size: 14px;
    flex-grow: 1;
    outline: none;
}

.footer-newsletter-form input:focus {
    border-color: var(--primary-color);
}

.footer-newsletter-form button {
    border-radius: 30px;
    padding: 0 25px;
    background: #153c1e; /* Dark green button in footer */
    color: #fff;
}

.footer-newsletter-form button:hover {
    background: #0b2210;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #555555;
}

.copyright {
    font-size: 13px;
}

.payment-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-icons img {
    height: 22px;
    opacity: 0.6;
    filter: grayscale(1);
    transition: opacity var(--transition-fast);
}

.payment-icons img:hover {
    opacity: 1;
    filter: none;
}

/* SOCIAL PROOF POPUP - LIGHT THEME */
.social-proof-popup {
    position: fixed;
    bottom: 30px;
    left: -400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    max-width: 350px;
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-proof-popup.active {
    left: 30px;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: #888888;
    cursor: pointer;
    font-size: 14px;
}

.popup-img-wrapper {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0;
}

.popup-img-wrapper img {
    max-height: 100%;
    object-fit: contain;
}

.popup-content {
    flex-grow: 1;
}

.popup-text {
    font-size: 13px;
    color: #333333;
    line-height: 1.4;
}

.popup-text strong {
    color: #153c1e;
}

.popup-time {
    font-size: 11px;
    color: #777777;
    margin-top: 4px;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9998;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 44px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img-stack img {
        height: 300px;
    }
    
    .hero-img-stack img:nth-child(2) {
        height: 350px;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .banner-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    html, body {
        width: 100%;
        overflow-x: hidden;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        left: auto;
        width: 300px;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 100px 30px 40px 30px;
        gap: 20px;
        transition: right var(--transition-normal);
        border-left: var(--border-glass);
        border-top: none;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        z-index: 1002;
    }
    
    .nav-links.active {
        right: 0;
        left: auto;
    }
    
    .nav-links a {
        color: #ffffff; /* White links inside dark mobile drawer */
    }
    
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1003;
    }
    
    .header-actions .btn-primary {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    @media (max-width: 480px) {
        .header-actions .btn-primary {
            display: none;
        }
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-summary-box {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .rating-avg-num {
        font-size: 40px;
    }
    
    .review-form-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-newsletter {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .social-proof-popup {
        bottom: 20px;
        left: -400px;
        max-width: calc(100% - 40px);
    }
    
    .social-proof-popup.active {
        left: 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* ==========================================================================
   REFERENCE SITE STYLE OVERRIDES (allinsupp1.com inspired)
   ========================================================================== */

/* 1. Typography Overrides */
h1, h2, h3, h4, h5, h6, 
.section-header h2, 
.product-title,
.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

/* 2. Centered Logo Header Layout */
@media (min-width: 992px) {
    .header-grid-layout {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .nav-links-left {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 30px !important;
        list-style: none !important;
    }
    
    .logo-center {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .nav-links-right {
        display: flex !important;
        justify-content: flex-end !important;
        gap: 30px !important;
        list-style: none !important;
    }
    
    .header-actions {
        display: none !important; /* Hide hamburger trigger on desktop */
    }
}

@media (max-width: 991px) {
    .header-grid-layout {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .nav-links-left, .nav-links-right {
        display: none !important; /* Hide desktop nav, mobile uses side drawer */
    }
    
    .logo-center {
        margin-right: auto !important;
    }
    
    .header-actions {
        display: block !important;
    }

    .mobile-menu-btn {
        display: block !important;
        background: none !important;
        border: none !important;
        color: #222222 !important;
        font-size: 26px !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 1003 !important;
    }
}

/* 3. Cardless Flat Product Layout */
.product-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 10px !important;
}

.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: none !important;
}

.product-image-container {
    background: transparent !important;
    border-bottom: none !important;
    height: 280px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0px !important;
}

.product-image-container img {
    max-height: 100% !important;
    width: auto !important;
    object-fit: contain !important; /* Ensure bottle is not distorted */
}

.product-info {
    padding: 20px 0 0 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.product-rating {
    justify-content: center !important;
    color: #03a84e !important; /* Green stars color matching reference */
    margin-bottom: 12px !important;
}

.stars {
    color: #03a84e !important; /* Green stars matching reference */
}

.product-title {
    font-size: 15px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    height: 40px; /* Limit height to align stars/buttons */
    overflow: hidden;
}

/* 4. Sand Beige Footer & Neutral Theme Styling */
footer {
    background-color: #ebdccb !important; /* Sand beige color */
    color: #222222 !important;
    border-top: 1px solid #d8c4af !important;
    padding: 80px 0 40px 0 !important;
}

footer h3 {
    color: #111111 !important;
    font-size: 16px !important;
    margin-bottom: 25px !important;
}

footer .logo-text {
    color: #111111 !important;
}

footer a {
    color: #444444 !important;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr 1fr !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
}

.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    line-height: 2 !important;
}

.footer-bottom {
    margin-top: 40px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.payment-icons {
    display: flex !important;
    gap: 8px !important;
}

/* 5. Playfair Testimonials Background */
.testimonials-section {
    background-color: #ffffff !important;
}

.testimonials-carousel {
    background-color: #ffffff !important;
}

.testimonial-card {
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
}

.testimonial-card .stars {
    color: #03a84e !important;
}

/* ==========================================================================
   DEDICATED MOBILE DRAWER & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* 1. Mobile Drawer Styles */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: none;
}

.mobile-drawer.active {
    display: block !important;
}

.drawer-close-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 30px;
    z-index: 10000;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #222;
    cursor: pointer;
}

.drawer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-links a {
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    display: block;
    padding: 5px 0;
}

.drawer-links a:hover,
.drawer-links a.active {
    color: var(--primary-color);
}

/* 2. Responsive 2-Column Product Grid for Mobile */
@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .product-card {
        padding: 5px !important;
    }
    
    .product-image-container {
        height: 180px !important;
    }
    
    .product-title {
        font-size: 13px !important;
        height: 36px !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
    }
    
    .product-rating {
        font-size: 10px !important;
        gap: 3px !important;
        margin-bottom: 10px !important;
    }
    
    .product-card .btn-whatsapp, 
    .product-card .btn-details {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .badge-discount {
        top: 10px !important;
        left: 10px !important;
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
    
    .badge-featured {
        top: 10px !important;
        right: 10px !important;
        font-size: 9px !important;
        padding: 3px 6px !important;
    }
    
    /* Stack badges if both are present to prevent overlap */
    .badge-discount + .badge-featured {
        top: 32px !important;
        right: auto !important;
        left: 10px !important;
    }

    /* Small & naive mobile social proof popup */
    .social-proof-popup {
        bottom: 15px !important;
        left: -400px !important;
        max-width: 260px !important;
        padding: 8px 12px !important;
        gap: 10px !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    }
    
    .social-proof-popup.active {
        left: 15px !important;
    }
    
    .popup-img-wrapper {
        width: 32px !important;
        height: 32px !important;
        border-radius: 4px !important;
        padding: 2px !important;
    }
    
    .popup-text {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }
    
    .popup-time {
        font-size: 9px !important;
        margin-top: 2px !important;
    }
    
    .popup-close {
        top: 4px !important;
        right: 6px !important;
        font-size: 11px !important;
    }
}

/* 3. Mobile Responsiveness overrides for Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .footer-info p {
        text-align: center !important;
    }
    
    .footer-info .social-links {
        justify-content: center !important;
        display: flex !important;
        gap: 10px !important;
    }
    
    .footer-links-list {
        text-align: center !important;
    }
    
    .footer-bottom {
        flex-direction: column-reverse !important;
        gap: 15px !important;
        text-align: center !important;
        align-items: center !important;
        padding-top: 15px !important;
        margin-top: 30px !important;
    }
    
    .payment-icons {
        justify-content: center !important;
    }
}
