@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #8c27a3;
    --primary-hover: #721c86;
    --primary-light: #f5eef7;
    --secondary-color: #00875a; /* Green minus button / check */
    --secondary-hover: #006644;
    --accent-color: #ff5630; /* Orange plus button */
    --accent-hover: #de350b;
    --text-dark: #1f1224;
    --text-muted: #645768;
    --bg-light: #faf7fc;
    --bg-dark: #200f26;
    --white: #ffffff;
    --border-color: #e5dbe8;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(140, 39, 163, 0.05), 0 2px 4px -1px rgba(140, 39, 163, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(140, 39, 163, 0.08), 0 4px 6px -2px rgba(140, 39, 163, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(140, 39, 163, 0.1), 0 10px 10px -5px rgba(140, 39, 163, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--text-dark);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
}

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

.nav-links li.active a {
    color: var(--white);
    background-color: var(--primary-color);
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: 2px;
    background-color: #ff5630;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

/* Floating Inbox Button */
.inbox-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 15px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-family: var(--font-heading);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 99;
    border: 2px solid var(--primary-color);
}

.inbox-trigger:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 72px);
    min-height: 650px;
    background: linear-gradient(rgba(32, 15, 38, 0.45), rgba(32, 15, 38, 0.55)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 0 20px;
    overflow: hidden;
    /* Force full-screen width by overriding the general section rules */
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    /* Slowly reveal background on page load */
    opacity: 0;
    animation: fadeInHero 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 10;
    padding-bottom: 60px; /* space for the wave divider */
}

/* Hero Title (Clean, normal typography style) */
.hero-title {
    font-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.hero-title .line-1 {
    display: block;
    color: var(--white);
    font-weight: 800;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
}

.hero-title .line-2 {
    display: block;
    color: #cb7fe3;
    font-weight: 900;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
}

.word-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.animate-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: revealWord 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: var(--delay, 0s);
}

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

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: scale(1.05); /* Soft cinematic reveal zoom */
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 650px;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-lg);
    box-shadow: 0 6px 20px rgba(140, 39, 163, 0.4);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(140, 39, 163, 0.5);
}

/* Wavy SVG Divider */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-wave path {
    fill: var(--white);
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: calc(100vh - 72px);
        padding: 80px 20px 120px 20px;
    }
    .animate-3d-text {
        font-size: 3.2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero-wave svg {
        height: 60px;
    }
}

/* Section Common styling */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
}

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

.category-img-container {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--bg-light);
    position: relative;
}

.category-img-container img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 50%;
    transition: var(--transition);
}

.category-card:hover .category-img-container img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 15, 38, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.know-more-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.know-more-btn:hover {
    background-color: var(--primary-hover);
}

.category-title {
    padding: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    background-color: var(--primary-color);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--bg-light), #fbf7fc);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 20px;
    text-align: center;
}

.stats-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.stat-divider {
    width: 1px;
    background-color: var(--border-color);
    height: 80px;
    margin: 0 auto;
    flex-shrink: 0;
}

/* Make the third divider darker as shown in the second image */
.stat-divider:nth-of-type(3) {
    background-color: var(--text-dark);
    width: 1.5px;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 8px;
}

.stat-label {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.stat-purple {
    color: var(--primary-color);
}

.stat-dark {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        gap: 20px;
    }
    .stat-divider {
        display: none;
    }
    .stat-item {
        padding: 10px;
    }
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.testimonials-section .section-title {
    color: var(--white);
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    flex: 1 1 450px;
    max-width: 480px;
    color: var(--text-dark);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: left;
    position: relative;
    border-top: 5px solid var(--primary-color);
    transition: var(--transition);
}

.testimonial-card.card-pink {
    background-color: var(--primary-light);
}

.testimonial-card.card-white {
    background-color: var(--white);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--primary-light);
    border: 3px solid var(--primary-color);
}

.client-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.client-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-body {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Products Section (Catalog & Filters) */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--primary-color);
    background-color: var(--primary-light);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(140, 39, 163, 0.25);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
    gap: 30px;
}

@media (max-width: 950px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: row; /* Horizontal layout! */
    align-items: center;
    position: relative;
    transition: var(--transition);
    padding: 24px;
    gap: 24px;
    height: 220px; /* Fixed height for alignment */
}

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

.product-img-box {
    width: 130px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    flex-shrink: 0;
}

.product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    height: 100%;
    padding: 0;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.product-qty-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Translucent grey overlay spanning the entire card */
.product-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 15, 38, 0.65); /* Translucent grey overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    gap: 15px;
    padding: 20px;
    z-index: 10;
}

.product-card:hover .product-hover-overlay {
    opacity: 1;
}

.product-qty-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-actions-overlay {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
}

.overlay-btn-buy {
    background-color: #00875a;
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    width: auto;
    min-width: 100px;
    text-align: center;
}

.overlay-btn-buy:hover {
    background-color: var(--secondary-hover);
}

.overlay-btn-cart {
    background-color: #ff5630;
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    width: auto;
    min-width: 110px;
    text-align: center;
}

.overlay-btn-cart:hover {
    background-color: var(--accent-hover);
}

/* Redesigned Shopping Cart layout according to user design image */
.cart-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}

.cart-items-column {
    flex: 1 1 500px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Individual Cart Item Cards styling */
.cart-item-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 25px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.cart-item-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.cart-card-image-box {
    width: 110px;
    height: 110px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cart-card-image-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.cart-card-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
    font-family: var(--font-heading);
}

.cart-card-qty-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.qty-circle-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-circle-btn.minus {
    background-color: #00875a; /* Green minus button */
}

.qty-circle-btn.minus:hover {
    background-color: var(--secondary-hover);
}

.qty-circle-btn.plus {
    background-color: #ff5630; /* Orange plus button */
}

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

.qty-capsule-display {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    height: 24px;
    width: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 8px;
}

.cart-card-price-display {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: var(--font-heading);
}

/* Total Price Card styling */
.cart-summary-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 450px;
    height: fit-content;
}

.summary-title-alt {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.summary-row-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-row-item.grand-total {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.summary-row-item.grand-total span:last-child {
    font-size: 1.3rem;
}

.checkout-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: 25px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 25px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(140, 39, 163, 0.2);
}

.checkout-btn:hover {
    background-color: var(--primary-hover);
}

/* Checkout Page Grid Layout */
.checkout-page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 40px auto;
}

.checkout-details-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    flex: 1 1 650px;
}

.checkout-grid-form {
    display: grid;
    grid-template-columns: 260px 1fr;
    row-gap: 25px;
    column-gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .checkout-grid-form {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }
}

.checkout-grid-form label {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.checkout-grid-form input, .checkout-grid-form select {
    border: none;
    border-bottom: 1.5px solid #645768;
    background-color: transparent;
    padding: 6px 0;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    width: 100%;
    transition: var(--transition);
}

.checkout-grid-form input:focus, .checkout-grid-form select:focus {
    border-bottom-color: var(--primary-color);
}

/* Small sidebar cart cards on the right */
.checkout-cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 5px;
    width: 100%;
}

.checkout-cart-item-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 15px 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.checkout-cart-item-img {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0;
}

.checkout-cart-item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.checkout-cart-item-info {
    flex-grow: 1;
    text-align: right;
}

.checkout-cart-item-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 3px;
    font-family: var(--font-heading);
}

.checkout-cart-item-qty {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.checkout-cart-item-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

/* Forms (Checkout, Contact) */
.form-card {
    max-width: 600px;
    margin: 40px auto;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(140, 39, 163, 0.1);
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(140, 39, 163, 0.3);
}

.submit-btn:hover {
    background-color: var(--primary-hover);
}

/* Order Confirmation & Stepper Tracking */
.tracking-card {
    max-width: 700px;
    margin: 40px auto;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.tracking-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tracking-id {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 30px;
}

.stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 0;
}

.stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 4px;
    background-color: var(--border-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    border: 3px solid var(--white);
    transition: var(--transition);
}

.step.active .step-icon {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 0 6px var(--primary-light);
}

.step.completed .step-icon {
    background-color: var(--secondary-color);
    color: var(--white);
}

.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 700;
}

.step.completed .step-label {
    color: var(--secondary-color);
}

.tracking-details {
    text-align: left;
    margin-top: 45px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.tracking-details h3 {
    margin-bottom: 15px;
}

/* Payment Gateway Mockup */
.payment-card {
    max-width: 500px;
    margin: 40px auto;
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.qr-code-box {
    background-color: var(--bg-light);
    border: 2px dashed var(--primary-color);
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 25px auto;
    width: 260px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-code-img {
    width: 200px;
    height: 200px;
}

/* Simulated Email Inbox styling */
.inbox-container {
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    height: 700px;
}

@media (max-width: 800px) {
    .inbox-container {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.inbox-sidebar {
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.inbox-header {
    padding: 20px;
    background-color: var(--bg-dark);
    color: white;
}

.inbox-list {
    overflow-y: auto;
    flex-grow: 1;
}

.email-list-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.email-list-item:hover {
    background-color: var(--primary-light);
}

.email-list-item.active {
    background-color: #faf0fc;
    border-left: 4px solid var(--primary-color);
}

.email-item-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.email-item-subject {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.email-item-to {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.inbox-content {
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.no-email-selected {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
}

.no-email-selected svg {
    margin-bottom: 15px;
    color: var(--border-color);
}

.email-view-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.email-view-subject {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.email-view-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.email-view-body {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 25px;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.email-view-action {
    text-align: center;
}

.email-action-link {
    display: inline-block;
    background-color: #00875a;
    color: var(--white);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
}

.email-action-link:hover {
    background-color: var(--secondary-hover);
}

/* Redesigned Footer Section to match design mockup */
.design-footer {
    background-color: #fdf5fa; /* Soft pinkish-lavender background */
    padding: 50px 20px 20px 20px;
    border-top: 1px solid #f8e5f2;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exactly 2 columns side by side */
    gap: 80px;
}

@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-column h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* Useful Links layout with divider lines and square bullets */
.footer-links-styled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-styled li {
    border-bottom: 1.5px solid #1f1224; /* Solid black lines between list items */
    padding: 10px 0;
}

.footer-links-styled li:last-child {
    /* Retain line for consistent list structure in footer */
}

.footer-links-styled a {
    color: #0266b3; /* Clean link blue */
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links-styled a:hover {
    color: var(--primary-color);
}

/* Custom Square Bullet */
.square-bullet {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2.5px solid #1f1224; /* Thick square border */
    background-color: transparent;
    position: relative;
}

/* Contact Us information list */
.footer-contact-styled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-styled li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-styled .icon-span {
    font-size: 1.2rem;
    line-height: 1;
}

.footer-contact-styled .text-span {
    font-weight: 500;
    color: var(--text-dark);
}

.footer-contact-styled .text-span a {
    color: #0266b3;
    font-weight: 600;
}

.footer-contact-styled .text-span a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Toast message style */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--white);
    border-left: 5px solid var(--primary-color);
    padding: 15px 25px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    font-weight: 500;
    animation: slideIn 0.3s forwards, fadeOut 0.5s 2.5s forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; pointer-events: none; }
}

/* Category Details Page Styles */
.category-hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #cb7fe3;
    font-weight: 800;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
}

.category-details-section {
    background-color: var(--primary-light);
    padding: 60px 20px;
    min-height: 60vh;
}

.category-details-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.category-card-detail {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.category-detail-img {
    float: left;
    width: 280px;
    height: auto;
    margin-right: 35px;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    object-fit: contain;
    background-color: var(--bg-light);
    padding: 15px;
}

.category-detail-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: justify;
}

.category-products-title {
    font-size: 2.2rem;
    margin-top: 20px;
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
    font-family: var(--font-heading);
}

.category-products-title span {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .category-detail-img {
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 30px auto;
        display: block;
    }
    .category-card-detail {
        padding: 30px 20px;
    }
}

/* Contact Us Page Redesign Styles */
.contact-page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
    text-align: center;
}

.contact-layout {
    display: flex;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-text-col {
    flex: 1;
    padding-top: 10px;
}

.contact-text-col p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-muted);
    text-align: justify;
}

.contact-form-col {
    flex: 1;
}

@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
        gap: 30px;
    }
    .contact-text-col p {
        font-size: 1.05rem;
        text-align: left;
    }
}

/* About Us Page Redesign Styles */
.about-section {
    min-height: 60vh;
    padding: 60px 20px;
    background-color: var(--white);
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

.journey-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.journey-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
    text-align: justify;
}

/* ==========================================================================
   Responsive & Hamburger Styles (Mobile & Tablets)
   ========================================================================== */

/* Hamburger Button Styling */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: left center;
}

/* Active Hamburger Cross Animation */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 0px);
}

.hamburger-menu.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 0px);
}

/* Media Query for Mobile & Tablets */
@media (max-width: 768px) {
    /* Show Hamburger button */
    .hamburger-menu {
        display: flex;
    }

    /* Convert Navigation Links to Dropdown Overlay */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1.5px solid var(--border-color);
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        z-index: 99;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        padding: 20px;
        max-height: 400px; /* High enough to contain all list items */
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        width: 100%;
        box-sizing: border-box;
        border-radius: var(--radius-sm);
    }

    .nav-links li.active a {
        color: var(--white);
        background-color: var(--primary-color);
    }

    .cart-badge {
        top: 6px;
        right: calc(50% - 35px); /* Position it near the word 'Cart' inside dropdown */
    }
    
    /* Hero section font sizing */
    .hero-title {
        font-size: 3rem !important;
        line-height: 1.2 !important;
        text-align: center;
    }
    .hero-content {
        text-align: center;
        padding-top: 40px;
    }
    .hero p {
        margin: 0 auto 30px auto;
        font-size: 1.1rem;
    }

    /* Product Grid and Card */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 20px;
    }

    .product-card {
        flex-direction: column !important;
        height: auto !important; /* Remove fixed height */
        padding: 20px;
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .product-img-box {
        width: 150px;
        height: 150px;
    }

    .product-info {
        align-items: center;
        text-align: center;
    }

    .product-desc {
        -webkit-line-clamp: 3;
        margin-bottom: 10px;
    }

    /* Actions and quantity controls always visible on mobile since hover is unavailable on touch */
    .product-hover-overlay {
        position: relative !important;
        opacity: 1 !important;
        background: transparent !important;
        padding: 0;
        width: 100%;
        gap: 10px;
        z-index: 1;
        margin-top: 10px;
    }
    
    .product-hover-overlay .qty-capsule-display {
        border: 1px solid var(--border-color);
        color: var(--text-dark) !important;
        background-color: var(--bg-light) !important;
    }

    .product-actions-overlay {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    .overlay-btn-buy, .overlay-btn-cart {
        padding: 10px 16px;
        font-size: 0.8rem;
        flex: 1;
        max-width: 130px;
    }

    /* Cart Layout adjustments */
    .cart-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .cart-items-column {
        width: 100%;
        max-width: 100%;
    }

    .cart-summary-card {
        width: 100%;
        max-width: 100%;
    }

    /* Simulated Inbox Grid stack */
    .inbox-container {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }

    .inbox-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        height: 350px;
    }
    
    .inbox-content {
        padding: 20px;
    }

    .checkout-page-container {
        flex-direction: column;
    }

    .checkout-details-card {
        width: 100%;
        max-width: 100%;
        padding: 25px;
    }

    .checkout-page-container > div:last-child {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Small mobile responsiveness (under 480px) */
@media (max-width: 480px) {
    .cart-item-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .cart-card-info {
        width: 100%;
    }

    .checkout-cart-item-card {
        padding: 12px;
        gap: 10px;
    }

    .checkout-cart-item-name {
        font-size: 0.85rem;
    }
}

/* Tracking Page Stepper Responsiveness (Horizontal to Vertical conversion) */
@media (max-width: 600px) {
    .stepper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 30px !important;
        padding-left: 20px !important;
        margin: 30px 0 !important;
    }

    .stepper::before {
        left: 42px !important; /* aligns with center of step-icon */
        top: 20px !important;
        bottom: 20px !important;
        width: 4px !important;
        height: calc(100% - 40px) !important;
        right: auto !important;
    }

    .step {
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        flex: none !important;
        width: 100% !important;
    }

    .step-label {
        margin-top: 0 !important;
        text-align: left !important;
        font-size: 0.9rem !important;
    }

    /* Force tables to be scrollable so they do not break layout on narrow mobile screens */
    .tracking-details table, .form-card table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tracking-details > div {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .tracking-card {
        padding: 30px 15px;
    }
}

