:root {
    --primary: #F4B400;
    /* Mustard Yellow */
    --primary-light: #f7ca40;
    --primary-dark: #d89f00;

    --cta: #C1121F;
    /* Deep Red */
    --cta-hover: #9A0E18;

    --accent: #1B4332;
    /* Dark Green */
    --accent-light: #2d6a4f;

    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --text-dark: #2A2A2A;
    --text-muted: #666666;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Page sections below fixed navbar */
body > section:first-of-type,
body > header:first-of-type {
    scroll-margin-top: 70px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 40px;
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--accent);
    text-align: center;
    padding: 140px 20px 80px; /* top padding accounts for fixed navbar */
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: none;
}

.page-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-header-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--primary-dark) !important;
    font-weight: 600;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease-in-out;
    overflow: visible; /* allow dropdown to show */
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-img {
    width: 42px;
    height: auto;
    margin-right: 10px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-text {
    color: var(--cta);
    margin-right: 5px;
    font-weight: 800;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 26px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-btn {
    background-color: var(--accent);
    color: white !important;
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.nav-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    background-color: var(--primary);
}

.hero-global-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 20%);
    z-index: 0;
    opacity: 0.5;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    height: 100%;
}

.hero-text-content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 3;
    padding-left: 5%;
}

.hero-text-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.hero-text-content p {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 16px 28px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-button:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button svg {
    flex-shrink: 0;
}

.hero-image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    height: 80%;
}

.slider-product-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: cover;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
    border-radius: 40px; /* Increased corner curve */
    overflow: hidden;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 5;
    transform: translateY(-50%);
}

.slide-btn {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--accent);
    padding: 10px 15px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.slide-btn:hover {
    background: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 500;
}

.cta-button {
    background-color: var(--cta);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(193, 18, 31, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    background-color: var(--cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(193, 18, 31, 0.5);
}

/* Offer Banner */
.offer-banner {
    background-color: var(--accent);
    color: white;
    padding: 15px 0;
    overflow: hidden;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 500;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover,
.category-card.selected {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    background-color: #fffbeb;
}

.cat-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.placeholder-masala::after {
    content: '🧄';
}

.placeholder-pickle::after {
    content: '🥭';
}

.placeholder-snacks::after {
    content: '🥨';
}

.placeholder-combo::after {
    content: '🎁';
}

.category-card h3 {
    color: var(--accent);
    font-size: 1.2rem;
}

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

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card.hidden-card {
    display: none;
}

.product-image-container {
    width: 100%;
    height: 300px;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

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

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

.product-info h3 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cta);
    margin-bottom: 20px;
}

.shipping-charge {
    color: var(--cta);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: -15px;
    margin-bottom: 15px;
}

.free-shipping {
    color: #1DA851; /* Green color for free shipping */
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    margin-left: 8px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
}

.quantity-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 5px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--accent);
    background-color: white;
    color: var(--accent);
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}

.qty-btn:hover {
    background-color: var(--accent);
    color: white;
}

.qty-display {
    width: 45px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
}

.buy-btn {
    margin-top: auto;
    width: 100%;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.buy-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

/* Product Buttons */
.product-buttons {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--text-dark);
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Cart Icon */
.cart-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon-btn:hover {
    color: var(--primary-dark);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--cta);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Cart Modal */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-modal {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
}

.cart-modal.active {
    right: 0;
}

.cart-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: var(--accent);
    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.close-cart-btn:hover {
    color: var(--cta);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--cta);
    font-weight: 600;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-qty button {
    width: 24px;
    height: 24px;
    border: 1px solid var(--accent);
    background: white;
    color: var(--accent);
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.cart-item-qty button:hover {
    background-color: var(--accent);
    color: white;
}

.cart-item-remove {
    background-color: #f5f5f5;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    color: var(--cta);
    font-weight: 600;
    transition: var(--transition);
}

.cart-item-remove:hover {
    background-color: var(--cta);
    color: white;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.cart-empty p {
    color: var(--text-muted);
    margin: 10px 0;
}

.cart-empty-sub {
    font-size: 0.9rem;
}

.cart-summary {
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.founder-img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    background-color: var(--primary-light);
    display: block;
}

.about-image.placeholder-about::after {
    content: 'Our Kitchen';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    opacity: 0.8;
}

/* Videos Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-frame {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.video-frame video {
    width: 100%;
    height: auto;
    display: block;
}

.video-frame.reel-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 9 / 16;
    max-width: 400px;
    margin: 0 auto;
}

.video-frame.reel-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-card h3 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.video-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Reviews Section */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.review-card h4 {
    color: var(--accent);
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--accent);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    width: 48px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    padding: 4px;
}

.footer-brand h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.footer-contact h3,
.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary);
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-social h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    opacity: 0.9;
    transition: var(--transition);
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Sticky WhatsApp */
.wa-sticky-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: wa-pulse 2s ease-in-out infinite;
    text-decoration: none;
}

.wa-sticky-btn svg {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50%       { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8); }
}

.wa-sticky-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
    animation: none;
}

/* ========================================
   RESPONSIVE DESIGN — MOBILE BREAKPOINTS
   ======================================== */

@media (max-width: 768px) {

    /* --- Navbar --- */
    .hamburger {
        display: flex;
    }

    /* Prevent logo from wrapping to two lines */
    .logo {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100vw - 150px); /* Leave room for cart and hamburger */
    }
    .logo-img {
        width: 30px;
        margin-right: 5px;
    }

    .nav-container {
        padding: 10px 15px; /* Reduce padding to save horizontal space */
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 0 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        gap: 0;
        text-align: center;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
    }

    .nav-links.active {
        max-height: 320px;
        padding: 20px;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1.05rem;
    }

    .nav-btn {
        display: inline-block;
        margin: 5px 0;
        padding: 10px 22px;
    }

    /* --- Hero Slider --- */
    .hero-slider {
        height: auto;
        min-height: 80svh; /* Reduce min-height from 100svh to prevent excessive whitespace */
    }

    .slide {
        position: relative; /* allow natural height stacking in col layout */
    }

    .slide.active {
        position: absolute; /* revert to absolute only when active, inside relative parent */
    }

    /* Actually keep slides absolute but fix the container */
    .slider-container {
        height: 100%;
        min-height: 80svh;
    }

    .slide {
        position: absolute;
    }

    .hero-split {
        flex-direction: column-reverse;
        justify-content: flex-end;
        padding: 80px 15px 30px; /* top = navbar height, bottom breathing room */
        text-align: center;
        gap: 12px;
        height: 100%;
        overflow: hidden;
    }

    .hero-image-content {
        height: auto;
        flex: 0 0 auto;
        max-height: 50vh;
        width: 100%;
    }

    .hero-text-content {
        text-align: center;
        padding: 0;
        flex: 0 0 auto;
    }

    .hero-text-content h1,
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .hero-text-content p,
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .hero-buttons {
        justify-content: center;
        margin-bottom: 0;
    }

    .cta-button {
        padding: 11px 22px;
        font-size: 0.95rem;
    }

    .slider-product-img {
        height: auto;
        max-height: 48vh;
        width: auto; /* Changed from 100% so the border-radius curves the image, not the box */
        max-width: 400px;
        object-fit: cover;
    }

    .slider-controls {
        display: none;
    }

    /* --- Offer Banner --- */
    .offer-banner {
        padding: 8px 0;
        overflow: hidden;
    }

    .banner-content {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 15px;
        padding: 0;
        width: max-content;
        font-size: 0.88rem;
        animation: marquee 12s linear infinite;
    }

    @keyframes marquee {
        0%   { transform: translateX(100vw); }
        100% { transform: translateX(-100%); }
    }

    .banner-content p {
        white-space: nowrap;
    }

    .separator {
        display: inline-block;
        opacity: 0.5;
    }

    /* --- Sections --- */
    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    /* --- Page Header (products.html) --- */
    .page-header {
        padding: 100px 20px 50px; /* top offset for fixed navbar (~70px) + breathing room */
    }

    .page-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    /* --- About Section --- */
    .about-content {
        flex-direction: column;
        gap: 24px;
    }

    .about-image {
        width: 100%;
        margin-top: 0;
        height: auto;
    }

    .founder-img {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: contain;
        background-color: transparent;
    }

    .about-text h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 0.98rem;
    }

    .category-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 15px;
        padding-top: 10px;
        padding-bottom: 20px; /* More padding for scrollbar */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .category-grid::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        flex: 0 0 auto;
        padding: 15px;
        min-width: 120px; /* Increased from 90px so they don't squeeze */
        scroll-snap-align: start;
    }

    .category-card:hover,
    .category-card.selected {
        transform: none;
    }

    .cat-image {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 10px;
    }

    .category-card h3 {
        font-size: 0.95rem;
    }

    /* --- Product Grid --- */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-image-container {
        height: 130px;
    }

    .product-info {
        padding: 10px 8px;
    }

    .product-info h3 {
        font-size: 0.88rem;
        margin-bottom: 4px;
        line-height: 1.3;
    }

    .price {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .shipping-charge {
        font-size: 0.75rem;
        margin-top: -4px;
        margin-bottom: 8px;
    }

    .quantity-selector {
        margin-bottom: 8px;
        gap: 5px;
    }

    .qty-btn {
        width: 24px;
        height: 24px;
        font-size: 0.95rem;
    }

    .qty-display {
        width: 24px;
        font-size: 0.9rem;
    }

    .quantity-label {
        font-size: 0.85rem;
    }

    .product-buttons {
        gap: 6px;
    }

    .buy-btn,
    .add-to-cart-btn {
        padding: 8px 6px;
        font-size: 0.8rem;
    }

    /* --- Footer --- */
    .footer {
        padding: 50px 0 80px; /* Add more bottom padding for sticky WA button */
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-brand h2 {
        font-size: 1.4rem;
    }

    .footer-contact h3,
    .footer-links h3,
    .footer-social h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    /* --- Sticky WA Button --- */
    .wa-sticky-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .wa-sticky-btn svg {
        width: 26px;
        height: 26px;
    }

    /* --- Reel Section --- */
    .reel-wrapper {
        overflow: hidden; /* prevent control buttons from causing horizontal scroll */
    }

    .reel-btn.prev {
        margin-left: 0;
    }

    .reel-btn.next {
        margin-right: 0;
    }

    .video-reel-card {
        flex: 0 0 220px;
    }

    /* --- Cart Modal --- */
    .cart-modal {
        width: 95%;
        max-height: 92vh;
    }

    .cart-modal-content {
        padding: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ========================================
   EXTRA SMALL PHONES (< 420px)
   ======================================== */
@media (max-width: 420px) {
    .logo {
        font-size: 1rem;
        max-width: calc(100vw - 110px);
    }

    .logo-img {
        width: 30px;
        margin-right: 5px;
    }

    .nav-container {
        padding: 12px 15px;
    }

    .hero-split {
        padding: 75px 12px 20px;
    }

    .hero-text-content h1,
    .hero h1 {
        font-size: 1.3rem;
    }

    .hero-image-content {
        max-height: 45vh;
    }

    .slider-product-img {
        max-height: 42vh;
        max-width: 350px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .product-image-container {
        height: 110px;
    }

    .buy-btn,
    .add-to-cart-btn {
        padding: 7px 4px;
        font-size: 0.75rem;
    }

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

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .page-header {
        padding: 90px 15px 40px;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .whatsapp-button {
        font-size: 0.9rem;
        padding: 13px 20px;
    }

    .video-reel-card {
        flex: 0 0 180px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Quick View Modal Styles */
.quickview-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    background: white;
    z-index: 2000;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: 90vh;
    overflow-y: auto;
}

.quickview-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.quickview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.quickview-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quickview-content {
    position: relative;
    padding: 30px;
}

.close-quickview {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    z-index: 10;
}

.quickview-split {
    display: flex;
    gap: 40px;
}

.quickview-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.quickview-image-container img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.quickview-details {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.quickview-details h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    padding-right: 30px; /* Space for close btn */
}

.qv-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.5;
}

.qv-price {
    font-size: 1.5rem;
    color: var(--cta);
    font-weight: 700;
    margin-bottom: 5px;
}

.qv-shipping {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.qv-specs {
    margin-bottom: 25px;
}

.qv-specs h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.qv-specs ul {
    list-style: none;
    padding: 0;
}

.qv-specs li {
    display: flex;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.qv-specs .spec-label {
    font-weight: 600;
    width: 120px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.qv-specs .spec-value {
    color: var(--text-dark);
}

.qv-qty-selector {
    margin-bottom: 25px;
}

.qv-buttons {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.qv-buttons button {
    flex: 1;
    padding: 14px;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .quickview-split {
        flex-direction: column;
        gap: 20px;
    }
    
    .quickview-image-container img {
        max-height: 250px;
    }

    .quickview-details h2 {
        font-size: 1.4rem;
    }

    .qv-buttons {
        flex-direction: column;
    }
}

/* Cart Modal Styles */
.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px; /* Increased from 500px to give more room for image */
    background: white;
    z-index: 2000;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: 90vh; /* Increased from 80vh to show more items */
    display: flex;
    flex-direction: column;
}

.cart-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-header h2 {
    color: var(--accent);
    font-size: 1.5rem;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-items {
    margin-bottom: 25px;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-right: 15px;
    background: var(--bg-light);
    flex-shrink: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 20px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-item-qty button:hover {
    background: var(--bg-light);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ff4d4d;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-summary {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: auto;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.summary-row.total-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent);
}

.shipping-info-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 10px 0 20px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.cart-empty {
    text-align: center;
    padding: 40px 0;
    flex-direction: column;
    gap: 10px;
}

.cart-empty-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.free-shipping {
    color: #2d6a4f;
    font-weight: 600;
}

/* Cart Badge */
#cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--cta);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Checkout Form Styles */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section {
    margin-bottom: 10px;
}

.form-section h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 180, 0, 0.1);
}

.form-group textarea {
    height: 80px;
    resize: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.order-summary-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 12px;
    margin: 10px 0;
}

.order-summary-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.place-order-btn {
    width: 100%;
    padding: 16px;
    background-color: #fbbc05; /* Matches the image yellow */
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.place-order-btn:hover {
    background-color: #f7ca40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Cart modal mobile handled in main responsive block above */

/* Reel Review Section */
.video-reel-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}



.reel-wrapper {
    position: relative;
}

.reel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 10;
}

.reel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--cta);
    transition: all 0.3s ease;
}

.reel-btn:hover {
    background: var(--cta);
    color: white;
    transform: scale(1.1);
}

.video-reel-slider {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: scroll-left 40s linear infinite;
    padding: 20px 0 40px;
}

.video-reel-slider:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12.5px));
    }
}

.video-reel-card {
    flex: 0 0 280px;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/16;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.video-reel-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-reel-card iframe,
.video-reel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    cursor: pointer;
}

.video-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.video-overlay-info h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary); /* Bright Yellow */
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.video-overlay-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: white;
    font-weight: 500;
    opacity: 0.9;
}

.reel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #C1121F; /* Specific Red */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.reel-btn.prev {
    margin-left: -24px;
}

.reel-btn.next {
    margin-right: -24px;
}

/* Video reel card mobile handled in main responsive block above */

/* ============================================================
   PAYMENT SCANNER MODAL
   ============================================================ */
.payment-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 3100;
    display: none;
    align-items: center;
    justify-content: center;
}

.payment-overlay.active {
    display: flex;
    animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.payment-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 420px;
    width: 90%;
    padding: 24px 28px 24px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    animation: slideUpModal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    overflow: hidden;
}

@keyframes slideUpModal {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.payment-modal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: shimmerBar 2s linear infinite;
}

@keyframes shimmerBar {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.payment-modal-header {
    margin-bottom: 12px;
}

.payment-modal-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.payment-amount-badge {
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    padding: 10px 28px;
    border-radius: 999px;
    margin: 0 auto 14px;
    box-shadow: 0 4px 14px rgba(244, 180, 0, 0.4);
    text-align: center;
    width: fit-content;
}

.qr-wrapper {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #e8e8e8;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin: 0 auto 14px;
    width: 300px;
    height: 300px;
}

.qr-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #25D366, transparent);
    animation: scanLine 2.5s ease-in-out infinite;
    top: 0;
}

@keyframes scanLine {
    0%   { top: 5%;  opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 95%; opacity: 0; }
}

.upi-id-box {
    background: #f5f7fa;
    border: 1.5px dashed var(--accent);
    border-radius: 10px;
    padding: 8px 16px;
    margin: 0 auto 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}

.upi-id-box:hover {
    background: #eef0f3;
}

.upi-id-box .copy-icon {
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.upi-id-box:hover .copy-icon {
    color: var(--accent);
}

.payment-apps-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}

.payment-app-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f5f7fa;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dark);
}

.screenshot-hint {
    background: linear-gradient(135deg, #fff8e1, #fffde7);
    border: 1.5px solid var(--primary);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.screenshot-hint .hint-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}

.screenshot-hint strong {
    display: block;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--accent);
}

.payment-confirm-btn {
    width: 100%;
    background: linear-gradient(135deg, #25D366, #1DA851);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.payment-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5);
}

.payment-skip-btn {
    width: 100%;
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid #e0e0e0;
    padding: 11px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.payment-skip-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.close-payment-btn {
    position: absolute;
    top: 14px; right: 16px;
    background: #f5f5f5;
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.close-payment-btn:hover {
    background: #e0e0e0;
    color: var(--text-dark);
}

/* Success animation after payment confirmation */
.payment-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.payment-success-state.show {
    display: flex;
    animation: fadeInOverlay 0.4s ease;
}

.success-checkmark {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #25D366, #1DA851);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.success-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.success-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .payment-modal {
        padding: 18px 16px 16px;
        border-radius: 18px;
        width: 95%; 
    }
    .payment-modal-header h2 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    .payment-amount-badge {
        font-size: 1.5rem;
        padding: 6px 18px;
        margin-bottom: 10px;
    }
    .qr-wrapper {
        width: 210px;
        height: 210px;
        margin-bottom: 10px;
    }
    .qr-wrapper img {
        width: 100%;
        height: 100%;
    }
    .screenshot-hint {
        padding: 8px 12px;
        font-size: 0.78rem;
        margin-bottom: 10px;
    }
    .payment-confirm-btn {
        padding: 11px;
        font-size: 0.92rem;
        margin-bottom: 0;
    }
}