:root {
    /* Brand Colors */
    --clr-light-blue: #C2B280; /* Dark Beige */
    --clr-light-blue-dark: #A99661; /* Darker Beige */
    --clr-olive-green: #6B8E23;
    --clr-olive-green-dark: #556B2F;
    --clr-olive-green-light: #9ACD32;
    --clr-maroon: #800000; /* Deep Maroon */

    /* Neutrals & Typography */
    --clr-bg-light: #F8F9FA;
    --clr-surface: #FFFFFF;
    --clr-text-main: #800000; /* Deep Maroon */
    --clr-text-muted: #A52A2A; /* Lighter Brown/Maroon */
    --clr-border: #E2E8F0;

    /* Semantic */
    --clr-success: #48BB78;
    --clr-danger: #F56565;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.05);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-light);
    color: var(--clr-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--clr-text-main);
    line-height: 1.2;
}

/* Navbar */
.navbar {
    background-color: #3b0000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('pure_gold_embroidery.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat-x;
    border-bottom: 1px solid var(--clr-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.75rem;
    font-weight: 700;
    color: #FFFFFF;
}

.nav-links {
    display: flex;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

.nav-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    color: #FFFFFF;
}

.nav-btn.active {
    background: #FFFFFF;
    color: #8B0000;
    box-shadow: var(--shadow-sm);
}

.cart-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

#cart-count {
    background: var(--clr-maroon);
    color: white;
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: #3b0000;
    padding: 1rem 2rem;
    gap: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

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

.mob-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

/* Views */
.view {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.view.active-view {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--clr-light-blue) 0%, rgba(255,255,255,0) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--clr-border);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(107, 142, 35, 0.15);
    color: var(--clr-olive-green-dark);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h2 {
    font-family: Copperplate, Papyrus, fantasy;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #A52A2A; 
    font-weight: 600;
}

.hero p {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.cta-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-btn.primary {
    background-color: #D4AF37; /* Gold */
    color: #3b0000;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.cta-btn.primary:hover {
    background-color: #C5A017;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.cta-btn.secondary {
    background-color: var(--clr-light-blue);
    color: var(--clr-text-main);
}

.cta-btn.secondary:hover {
    background-color: var(--clr-light-blue-dark);
    color: white;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    font-weight: 600;
}

.whatsapp-btn:hover {
    background-color: #1EBE5D;
    transform: translateY(-2px);
}

/* Products Section */
.products-section, .dashboard-section, .about-section, .contact-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.filter-dropdown {
    padding: 0.5rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    color: var(--clr-text-main);
    background: var(--clr-surface);
    outline: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-light-blue);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #e2e8f0;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.artisan-tag {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.product-title {
    font-size: 1.15rem;
    margin: 0.5rem 0;
    flex: 1;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-maroon);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.buy-btn {
    background: rgba(194, 178, 128, 0.3);
    color: var(--clr-text-main);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.buy-btn:hover {
    background: var(--clr-light-blue-dark);
    color: white;
}

/* Trust Bar */
.trust-bar {
    background: #FFFFFF;
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 4rem;
}

.trust-item {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--clr-text-main);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

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

.modal-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-maroon);
    margin: 0.5rem 0 1rem;
}

.modal-details {
    background: var(--clr-bg-light);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.875rem;
    border-bottom: 1px dashed var(--clr-border);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--clr-text-muted);
    font-weight: 600;
}

.artisan-qr {
    font-family: monospace;
    font-weight: 700;
    color: var(--clr-text-main);
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

/* Weaver Dashboard */
#view-weaver {
    background-color: var(--clr-light-blue);
    min-height: calc(100vh - 70px);
    padding-bottom: 3rem;
}

.dashboard-header {
    background: var(--clr-surface);
    padding: 2rem;
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.weaver-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #D4AF37, #800000);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--clr-success);
    font-weight: 600;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--clr-success);
    border-radius: 50%;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.kpi-card {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-md);
}

.kpi-card.highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(255, 255, 255, 0.9));
}

.kpi-card h4 {
    color: var(--clr-text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.kpi-value .unit {
    font-size: 1rem;
    color: var(--clr-text-muted);
    font-weight: 400;
}

.trend {
    font-size: 0.875rem;
    font-weight: 600;
}

.trend.positive { color: var(--clr-success); }
.trend.negative { color: var(--clr-maroon); }
.trend.neutral { color: var(--clr-text-muted); }

.inventory-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inventory-item {
    background: var(--clr-surface);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
}

.inv-info h4 {
    margin-bottom: 0.25rem;
}

.inv-info p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

.inv-price {
    font-weight: 700;
    color: var(--clr-maroon);
    font-size: 1.1rem;
}

.phase2-banner {
    background: #FFFFFF;
    border-left: 4px solid #D4AF37;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.phase2-banner h4 {
    color: var(--clr-maroon);
    margin-bottom: 0.5rem;
}

.phase2-banner p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* Confirmation Page */
.confirm-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1.5rem;
}

.confirm-box {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--clr-border);
}

.confirm-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.confirm-box h2 {
    color: var(--clr-maroon);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.confirm-details {
    background: var(--clr-bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
    text-align: left;
}

.confirm-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--clr-border);
    font-size: 0.9rem;
}

.confirm-row:last-child {
    border-bottom: none;
}

.confirm-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

/* About / Story Page */
.about-hero, .contact-hero {
    background: linear-gradient(135deg, #3b0000 0%, #800000 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.about-hero h2, .contact-hero h2 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.about-hero p, .contact-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ====== STUDENT INITIATIVE TEAM SHOWCASE ====== */
.team-showcase-section {
    max-width: 1100px;
    margin: 0 auto 3.5rem auto;
    text-align: center;
}

.team-header-box {
    margin-bottom: 2rem;
}

.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 1.25rem;
    justify-content: center;
}

.team-member-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    border: 1px solid var(--clr-border);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(128, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.6);
}

.team-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #800000 0%, #B8860B 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-maroon);
    margin: 0 0 0.25rem 0;
}

.team-full-name {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
    min-height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-role {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: #8C6D23;
    background: #FFF9EE;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

/* ====== OUR STORY EDITORIAL CONTAINER ====== */
.about-story-container {
    max-width: 880px;
    margin: 0 auto 4rem auto;
    background: #FFFFFF;
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.03);
}

.about-story-header {
    text-align: center;
    margin-bottom: 2rem;
}

.story-mini-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--clr-gold);
    display: block;
    margin-bottom: 0.35rem;
}

.story-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-maroon), var(--clr-gold));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.about-text-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--clr-text-main);
}

.lead-text {
    font-size: 1.18rem;
    line-height: 1.7;
    color: var(--clr-text-main);
}

.about-quote {
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    background: #FFFDF9;
    border-left: 4px solid var(--clr-gold);
    font-style: italic;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: #3b0000;
    font-size: 1.05rem;
    line-height: 1.65;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.about-tagline {
    font-weight: 700;
    color: var(--clr-maroon);
    font-size: 1.15rem;
    margin-top: 1.5rem;
    text-align: center;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .about-story-container {
        padding: 2rem 1.5rem;
    }
    .team-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.craft-story h3, .timeline h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.craft-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.pillar {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.pillar h4 {
    margin-bottom: 0.5rem;
}

.pillar p {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    align-items: center;
}

.timeline-year {
    background: var(--clr-maroon);
    color: white;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.contact-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
}

.whatsapp-link, .gmap-link {
    color: var(--clr-maroon);
    font-weight: 600;
    text-decoration: underline;
}

.social-chip {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.social-chip.instagram {
    background: #E1306C;
    color: white;
    transition: var(--transition);
}

.social-chip.instagram:hover {
    background: #c1275d;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(225, 48, 108, 0.35);
}

.nav-insta-btn:hover {
    background: rgba(225, 48, 108, 0.4) !important;
    color: #FFFFFF !important;
}

.insta-hero-btn {
    transition: var(--transition);
}

.insta-hero-btn:hover {
    background: #c1275d !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(225, 48, 108, 0.4);
}

.social-chip.whatsapp {
    background: #25D366;
    color: white;
}

.map-placeholder {
    background: #e2e8f0;
    height: 100%;
    min-height: 380px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.map-pin-large {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

/* Login Views */
.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--clr-border);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--clr-text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.auth-tab.active {
    color: var(--clr-maroon);
    border-bottom-color: var(--clr-maroon);
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px - 113px);
    padding: 3rem 1.5rem;
    background-image: url('login_pattern.jpg');
    background-size: contain;
    background-position: bottom center;
    background-repeat: repeat;
    background-color: #fdfaf6;
}

.login-container, .login-box {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    background: rgba(245, 245, 220, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 245, 220, 0.5);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
}

.login-box.highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(245, 245, 220, 0.95));
}

.login-choices {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.choice-card {
    background: var(--clr-surface);
    border: 2px solid var(--clr-border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.choice-card:hover {
    border-color: var(--clr-light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-group {
    display: flex;
    margin-bottom: 1.25rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.country-code {
    background: var(--clr-bg-light);
    padding: 0.75rem 1rem;
    border-right: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-weight: 600;
}

.form-input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
}

.w-100 { width: 100%; }

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    background: none;
    border: none;
    color: var(--clr-text-muted);
    font-weight: 600;
    cursor: pointer;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 1000;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100vw;
    height: 100vh;
    background: var(--clr-surface);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open { right: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--clr-border);
}

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

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--clr-border);
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

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

.cart-item-title {
    font-weight: 600;
    color: var(--clr-text-main);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--clr-maroon);
    font-weight: bold;
}

.remove-item {
    background: none;
    border: none;
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    margin-top: 0.4rem;
    text-decoration: underline;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--clr-border);
    background: var(--clr-surface);
}

/* Footer */
.site-footer {
    background: #2b0000;
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
    max-width: 480px;
}

.footer-logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #d1c7be;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.footer-social {
    color: white;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: #D4AF37;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-link, .footer-ext-link {
    background: none;
    border: none;
    color: #d1c7be;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-link:hover, .footer-ext-link:hover {
    color: #FFFFFF;
    text-decoration: none;
    transform: translateX(4px);
}

.footer-bottom {
    max-width: 1050px;
    margin: 2rem auto 0;
    text-align: center;
    color: #a3998f;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .about-grid, .contact-grid, .modal-body { grid-template-columns: 1fr; }
    .modal-img { height: 260px; }
    .footer-container { flex-direction: column; gap: 2.5rem; }
}

@media (max-width: 600px) {
    .hero h2 { font-size: 2rem; }
    .footer-container { flex-direction: column; gap: 2rem; }
}

/* ====== AI CHATBOT WIDGET STYLES ====== */
.chatbot-toggle-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1500;
    background: linear-gradient(135deg, #800000 0%, #3b0000 100%);
    color: white;
    border: 2px solid #D4AF37;
    border-radius: var(--radius-full);
    padding: 0.85rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(59, 0, 0, 0.35);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.chatbot-toggle-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #a52a2a 0%, #4a0000 100%);
}

.bot-icon {
    font-size: 1.25rem;
}

.online-indicator {
    width: 9px;
    height: 9px;
    background: #48BB78;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #48BB78;
}

.chatbot-window {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 380px;
    max-width: calc(100vw - 2.5rem);
    height: 520px;
    max-height: calc(100vh - 7rem);
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--clr-border);
    z-index: 1501;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
}

.chatbot-window.open {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, #3b0000 0%, #800000 100%);
    color: white;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #D4AF37;
}

.bot-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bot-avatar {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bot-header-info h4 {
    color: #FFFFFF;
    font-size: 1rem;
    margin: 0;
}

.bot-status {
    font-size: 0.75rem;
    color: #f0f0f0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dot-online {
    width: 7px;
    height: 7px;
    background: #48BB78;
    border-radius: 50%;
}

.chatbot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: #FAFAF8;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
}

.msg-bubble {
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.chat-msg.bot .msg-bubble {
    background: #FFFFFF;
    color: #2b0000;
    border: 1px solid var(--clr-border);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.chat-msg.user .msg-bubble {
    background: var(--clr-maroon);
    color: #FFFFFF;
    border-bottom-right-radius: 4px;
}

.chat-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.chat-chip {
    background: #FFFFFF;
    border: 1px solid #D4AF37;
    color: var(--clr-maroon);
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.chat-chip:hover {
    background: var(--clr-bg-light);
    border-color: var(--clr-maroon);
    transform: translateX(2px);
}

.chatbot-voice-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    background: #FFFDF9;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    font-size: 0.78rem;
}

.voice-bar-label {
    font-weight: 600;
    color: var(--clr-text-muted);
    margin-right: 0.2rem;
}

.voice-lang-btn {
    background: transparent;
    border: 1px solid var(--clr-border);
    border-radius: 12px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--clr-text-main);
    transition: all 0.2s ease;
}

.voice-lang-btn:hover {
    border-color: var(--clr-maroon);
    color: var(--clr-maroon);
}

.voice-lang-btn.active {
    background: var(--clr-maroon);
    color: #FFFFFF;
    border-color: var(--clr-maroon);
}

.chatbot-input-row {
    display: flex;
    padding: 0.65rem 1rem;
    background: #FFFFFF;
    border-top: 1px solid var(--clr-border);
    gap: 0.5rem;
    align-items: center;
}

.chatbot-mic-btn {
    background: #F4EBE1 !important;
    color: var(--clr-maroon) !important;
    border: 1px solid #D4AF37 !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.chatbot-mic-btn:hover {
    background: #E8D8C3 !important;
    transform: scale(1.08);
}

.chatbot-mic-btn.listening {
    background: #E53E3E !important;
    color: #FFFFFF !important;
    border-color: #C53030 !important;
    animation: mic-pulse 1.3s infinite ease-in-out;
}

@keyframes mic-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 9px rgba(229, 62, 62, 0);
        transform: scale(1.12);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
        transform: scale(1);
    }
}

.chatbot-input-row input {
    flex: 1;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    outline: none;
    font-family: var(--font-body);
}

.chatbot-input-row input:focus {
    border-color: var(--clr-maroon);
}

.chatbot-input-row button#chatbot-send-btn {
    background: var(--clr-maroon);
    color: white;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-input-row button#chatbot-send-btn:hover {
    background: #3b0000;
    transform: scale(1.05);
}

.chatbot-voice-status {
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    background: #FFF5F5;
    color: #C53030;
    border-top: 1px solid #FEB2B2;
}

/* ====== LIVE PAYMENT GATEWAY & UPI CHECKOUT MODAL STYLES ====== */
.payment-modal-box {
    max-width: 520px;
    width: 92%;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--clr-border);
}

.payment-modal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--clr-border);
}

.pay-lock-icon {
    font-size: 1.8rem;
    background: #FFF9F0;
    border: 1px solid #D4AF37;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-amount-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFF9F0;
    border: 1px solid #D4AF37;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1rem;
}

.pay-amount-highlight {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--clr-maroon);
}

.upi-recipient-box {
    background: #FAFAF7;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 1.15rem;
}

.pay-methods-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--clr-border);
}

.pay-tab {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.pay-tab.active {
    color: var(--clr-maroon);
    border-bottom-color: var(--clr-maroon);
}

.pay-tab-content {
    display: none;
}

.pay-tab-content.active {
    display: block;
}

.upi-qr-section {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

@media (max-width: 520px) {
    .upi-qr-section {
        flex-direction: column;
        align-items: center;
    }
}

.qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.upi-live-qr {
    width: 155px;
    height: 155px;
    border-radius: 8px;
    border: 1px solid var(--clr-border);
    padding: 6px;
    background: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.qr-scan-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--clr-maroon);
    background: #FFF9F0;
    border: 1px solid #D4AF37;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
}

.upi-direct-apps {
    flex: 1;
    width: 100%;
}

.upi-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.upi-app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.upi-app-btn.generic {
    background: var(--clr-maroon);
    color: #FFFFFF;
}

.upi-app-btn.generic:hover {
    background: #3b0000;
    transform: translateY(-1px);
}

.upi-app-btn.gpay {
    background: #E8F0FE;
    color: #1967D2;
    border-color: #AECBFA;
}

.upi-app-btn.gpay:hover {
    background: #D2E3FC;
}

.upi-app-btn.phonepe {
    background: #F3E8FD;
    color: #5F259F;
    border-color: #D1B3F7;
}

.upi-app-btn.phonepe:hover {
    background: #E4CCFB;
}

.upi-app-btn.paytm {
    background: #E1F5FE;
    color: #0082C6;
    border-color: #81D4FA;
}

.upi-app-btn.paytm:hover {
    background: #B3E5FC;
}

.upi-verify-box {
    background: #FFFDF9;
    border: 1px solid #E2D9CC;
    border-radius: var(--radius-md);
    padding: 1rem;
}

/* ====== SAREE TYPES CATALOGUE GUIDE STYLES ====== */
.catalogue-guide-section {
    padding: 4.5rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
}

.guide-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.guide-header h2 {
    font-size: 2.2rem;
    color: var(--clr-maroon);
    margin: 0.6rem 0 0.4rem;
}

.guide-header p {
    color: var(--clr-text-muted);
    font-size: 1rem;
}

/* Prominent Detail View Panel */
.saree-detail-panel {
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF8EE 100%);
    border: 2px solid #D4AF37;
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    transition: all 0.3s ease;
    scroll-margin-top: 90px;
}

.detail-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.detail-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #800000;
    background: #FFE8E8;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.detail-price-badge {
    font-size: 1.05rem;
    font-weight: 700;
    color: #800000;
    background: #FFF0D6;
    border: 1px solid #D4AF37;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
}

.detail-title {
    font-size: 1.7rem;
    color: var(--clr-maroon);
    margin-bottom: 0.85rem;
}

.detail-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3b2c21;
    margin: 0;
}

/* Grid of 15 Saree Type Information Boxes */
.saree-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.saree-info-card {
    background: #FFFFFF;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.saree-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(128, 0, 0, 0.1);
    border-color: #D4AF37;
}

.saree-info-card.active {
    border: 2px solid var(--clr-maroon);
    background: #FFFDF9;
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.15);
}

.saree-card-top {
    margin-bottom: 1rem;
}

.saree-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-maroon);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.saree-card-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--clr-text-main);
    margin: 0;
}

.saree-card-footer {
    padding-top: 0.9rem;
    margin-top: 0.9rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saree-card-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: #800000;
    background: #FFF9F0;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.saree-card-view-btn {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--clr-maroon);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .catalogue-guide-section {
        padding: 3rem 1.25rem;
    }
    .saree-cards-grid {
        grid-template-columns: 1fr;
    }
    .saree-detail-panel {
        padding: 1.5rem;
    }
    .detail-title {
        font-size: 1.4rem;
    }
    .detail-price-badge {
        font-size: 0.95rem;
    }
}



