/* ==========================================================================
   Khatu Shyam Trading Co. — Complete Vanilla UI Stylesheet
   Color Scheme: Emerald & Sand
   - Primary Emerald: #0F8A63
   - Primary Button Hover: #0B7453
   - Dark: #18231F
   - Sand Background: #FAF8F2
   - White / Surface: #FFFFFF
   - Light Emerald: #DCF5E9
   - Border: #E5EEE8
   - Primary Text: #1F2937
   - Secondary Text: #64748B
   Typography: Arial Black (Headings) & Arial (Body)
   Layout Width: 1170px
   ========================================================================== */

:root {
    --primary-emerald: #0F8A63;
    --hover-emerald: #0B7453;
    --dark: #18231F;
    --sand-bg: #FAF8F2;
    --white: #FFFFFF;
    --light-emerald: #DCF5E9;
    --border-color: #E5EEE8;
    --primary-text: #1F2937;
    --secondary-text: #64748B;

    --font-heading: "Arial Black", Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --site-max-width: 1170px;
}

/* --- Global Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    background-color: var(--sand-bg);
    color: var(--primary-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

main {
    flex-grow: 1;
}

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

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

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

/* --- Container Width: Strictly 1260px --- */
.site-container {
    width: 100%;
    max-width: var(--site-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* --- Sticky Glass Header --- */
.glass-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(24, 35, 31, 0.04);
    width: 100%;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
}

.brand-logo-img {
    height: 2.85rem;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.brand-wrapper:hover .brand-logo-img {
    transform: scale(1.04);
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: nowrap;
}

.brand-subtitle {
    font-size: 0.685rem;
    font-weight: 700;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

/* Header Navigation Links */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    color: var(--dark);
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
    background: transparent;
    border: none;
}

.nav-link i {
    font-size: 0.75rem;
    opacity: 0.8;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-emerald);
    background: transparent;
}

.nav-cta-store {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--primary-emerald);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.825rem;
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(15, 138, 99, 0.25);
    transition: all 0.2s ease;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.nav-cta-store:hover {
    background: var(--hover-emerald);
    box-shadow: 0 4px 14px rgba(15, 138, 99, 0.35);
    transform: translateY(-1px);
}

.beta-tag {
    position: absolute;
    top: -9px;
    right: 4px;
    font-size: 0.525rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--sand-bg);
    color: var(--primary-emerald);
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(24, 35, 31, 0.12);
    border: 1px solid var(--primary-emerald);
    pointer-events: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: var(--dark);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mobile-toggle:hover {
    background: var(--light-emerald);
    color: var(--primary-emerald);
}

.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: 0 10px 25px rgba(24, 35, 31, 0.08);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.mobile-menu-cta {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.mobile-menu-cta .nav-cta-store {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 0.75rem 1rem;
}

/* --- Section Typography & Eyebrows (NO ROUNDED BUTTONS) --- */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-eyebrow {
    display: inline-block;
    color: var(--primary-emerald);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--secondary-text);
    font-size: 0.925rem;
    max-width: 38rem;
    margin: 0.65rem auto 0;
    line-height: 1.6;
}

/* --- Recreated Hero Section with Aesthetic Bathroom Image & Transparent Text --- */
.hero-section {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.hero-banner {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(24, 35, 31, 0.08);
    height: 480px;
    display: flex;
    align-items: center;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(24, 35, 31, 0.88) 0%, rgba(24, 35, 31, 0.65) 55%, rgba(24, 35, 31, 0.3) 100%);
    display: flex;
    align-items: center;
    padding: 3rem 4rem;
}

.hero-content {
    max-width: 38rem;
}

.hero-eyebrow {
    display: inline-block;
    color: var(--light-emerald);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
}

/* Modern Transparent Typography with shimmering gradient */
.hero-title-transparent {
    font-family: var(--font-heading);
    font-size: clamp(2.35rem, 5.5vw, 3.85rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #DCF5E9 40%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 34rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- Common Button Variants --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary-emerald);
    color: var(--white) !important;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.8rem 1.65rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(15, 138, 99, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: var(--hover-emerald);
    box-shadow: 0 6px 20px rgba(15, 138, 99, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary-text) !important;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.8rem 1.65rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-secondary:hover {
    background: var(--light-emerald);
    color: var(--primary-emerald) !important;
    border-color: var(--border-color);
}

/* --- Brands Section --- */
.brands-section {
    padding-top: 3rem;
    padding-bottom: 3.5rem;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
}

.brand-logo-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.75rem 2.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(24, 35, 31, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    width: 280px;
    height: 120px;
}

.brand-logo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-emerald);
    box-shadow: 0 14px 28px rgba(15, 138, 99, 0.12);
}

.brand-logo-card img {
    max-height: 4.25rem;
    max-width: 100%;
    object-fit: contain;
}

/* --- About Us Section --- */
.about-section {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 1.75rem;
    border: 1px solid var(--border-color);
    padding: 3rem 3.5rem;
    box-shadow: 0 8px 30px rgba(24, 35, 31, 0.04);
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.about-content {
    flex: 1;
}

.about-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.35rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: 0.35rem;
    margin-bottom: 1.25rem;
}

.about-title span {
    color: var(--primary-emerald);
}

.about-lead {
    font-size: 1.05rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-lead strong {
    color: var(--dark);
}

.about-body {
    font-size: 0.925rem;
    color: var(--secondary-text);
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.about-logo-frame {
    width: 260px;
    height: 260px;
    background: var(--white);
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 20px rgba(24, 35, 31, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    flex-shrink: 0;
}

.about-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- Products Section: Strictly 3 Cards In a Row --- */
.products-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.product-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(24, 35, 31, 0.05);
    border: 1px solid var(--border-color);
    background-color: var(--white);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    height: 18rem;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-emerald);
    box-shadow: 0 16px 32px rgba(15, 138, 99, 0.12);
}

/* Top scrim gradient ensures light hashtag is readable on any image */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(24, 35, 31, 0.6) 0%, rgba(24, 35, 31, 0) 100%);
    z-index: 3;
    pointer-events: none;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

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

/* Hash label: light contrast on image, no button pill */
.product-card-hash {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 5;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--sand-bg);
    text-shadow: 0 1px 4px rgba(24, 35, 31, 0.95);
    letter-spacing: 0.04em;
    pointer-events: none;
    user-select: none;
}

.product-card-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(24, 35, 31, 0.92) 0%, rgba(24, 35, 31, 0.45) 50%, rgba(24, 35, 31, 0) 100%);
    color: var(--white);
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
}

/* --- Payment Section --- */
.payment-section {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
}

.payment-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 6px 20px rgba(24, 35, 31, 0.04);
    max-width: 58rem;
    margin: 0 auto;
}

.payment-desc {
    text-align: center;
    margin-bottom: 1.75rem;
}

.payment-desc-main {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-text);
}

.payment-desc-sub {
    font-size: 0.875rem;
    color: var(--secondary-text);
    margin-top: 0.35rem;
}

.payment-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.payment-icon-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.payment-icon-img:hover {
    transform: scale(1.08);
}

/* --- Contact Section (Matching Ecom Contact Us Page) --- */
.contact-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

@media (min-width: 992px) {
    .contact-layout {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Map Card */
.map-card {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(24, 35, 31, 0.04);
    min-height: 440px;
    display: flex;
}

.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 440px;
    border: 0;
    display: block;
    flex: 1;
}

/* Contact Sidebar Cards */
.contact-sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

@media (min-width: 992px) {
    .contact-sidebar {
        width: 380px;
        flex-shrink: 0;
    }
}

.contact-card-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    width: 60px;
    margin: 0.9rem 0 0.8rem 0;
}

.store-info-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(24, 35, 31, 0.04);
}

.store-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.store-card-header i {
    color: var(--primary-emerald);
    font-size: 1rem;
}

.store-card-text {
    font-size: 0.875rem;
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.store-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.85rem;
}

.store-contact-item {
    color: var(--primary-text);
}

.store-contact-item strong {
    color: var(--dark);
    margin-right: 0.35rem;
}

.store-contact-item a {
    color: var(--primary-text);
    transition: color 0.2s ease;
}

.store-contact-item a:hover {
    color: var(--primary-emerald);
}

.store-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--primary-text);
}

.store-hours-row span.label {
    color: var(--secondary-text);
    font-weight: 500;
}

.store-hours-row span.time {
    font-weight: 700;
    color: var(--dark);
}

/* Social Buttons */
.social-buttons-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--light-emerald);
    border: 1px solid var(--border-color);
    color: var(--primary-emerald);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--primary-emerald);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Site Footer (Minimal Bar with Homepage Sand Background) --- */
.site-footer {
    background-color: var(--sand-bg);
    color: var(--primary-text);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    padding: 1.75rem 0;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-copyright {
    color: var(--secondary-text);
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-badge-text {
    color: var(--primary-emerald);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-emerald);
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    box-shadow: 0 8px 24px rgba(15, 138, 99, 0.35);
    z-index: 100;
    transition: transform 0.25s ease, background-color 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--hover-emerald);
}

/* --- Notification Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 35, 31, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-overlay.hidden {
    display: none;
}

.modal-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem 2.25rem;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(24, 35, 31, 0.2);
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--sand-bg);
    border: 1px solid var(--border-color);
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    color: var(--primary-emerald);
    border-color: var(--primary-emerald);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .about-card {
        flex-direction: column;
        padding: 2.25rem;
        gap: 2rem;
    }
    .about-logo-frame {
        width: 180px;
        height: 180px;
    }
    .hero-banner {
        height: 420px;
    }
    .hero-overlay {
        padding: 2.5rem;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    .hero-banner {
        height: 400px;
    }
    .hero-overlay {
        padding: 1.75rem;
    }
    .brand-title {
        font-size: 1.05rem;
    }
    .brand-subtitle {
        font-size: 0.6rem;
    }
}