/* ============================================
   MAMAEARTH CLONE - EXACT CSS
   Pixel-perfect replication of mamaearth.in
   ============================================ */

/* CSS Variables - Exact Mamaearth Values */
:root {
    /* Primary Colors */
    --primary-cyan: var(--primary-green);
    /* rgb(0, 175, 239) */
    --primary-green: #71BF44;
    /* rgb(113, 191, 68) */

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-gray: #ECECEC;
    --gray: #5C5C5C;
    --dark-gray: #1D1D1D;
    --black: #000000;

    /* Typography */
    --font-family: 'Open Sans', sans-serif;

    /* Sizes */
    --header-height: 51.2px;
    --search-bar-width: 614.4px;
    --search-bar-height: 34.2px;
    --nav-font-size: 12.16px;
    --product-card-width: 303.36px;
    --border-radius: 6px;

    /* Shadows */
    --card-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Ensure body stays centered on zoom */
html {
    width: 100%;
    margin: 0 auto;
}

body {
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

body {
    min-width: 320px;
}

/* ============================================
   PROMO BAR
   ============================================ */
.promo-bar {
    background: var(--primary-cyan);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   HEADER - Exact Mamaearth
   ============================================ */
.main-header {
    background: var(--white);
    height: var(--header-height);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 15px;
}

.header-row .logo {
    order: 1;
    flex-shrink: 0;
}

.header-row .pincode-selector {
    order: 2;
}

.header-row .search-bar {
    order: 3;
    flex: 1;
}

.header-row .header-icons {
    order: 4;
    flex-shrink: 0;
}

/* Logo */
.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-herb {
    color: var(--primary-green);
}

.logo-on {
    color: var(--primary-cyan);
}

/* Search Bar */
.search-bar {
    display: flex;
    width: var(--search-bar-width);
    height: 38px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    border: none;
    padding: 0 16px;
    font-size: 15px;
    font-family: var(--font-family);
    outline: none;
}

.search-input::placeholder {
    color: #888;
}

.search-btn {
    background: var(--primary-cyan);
    border: none;
    padding: 0 20px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
}

.icon-link svg {
    stroke: var(--gray);
}

.cart-link {
    position: relative !important;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
}

.cart-link svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #333 !important;
    fill: none !important;
}

.cart-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: linear-gradient(135deg, #ff5722, #ff7043) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid white !important;
}

/* ============================================
   NAVIGATION BAR - Modern Premium Design
   ============================================ */
.nav-bar {
    background: linear-gradient(135deg, var(--white) 0%, #f8fffe 100%);
    border-bottom: 1px solid rgba(0, 175, 239, 0.15);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

.nav-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
    padding: 12px 28px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Hover State - Square Background Effect */
.nav-link:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-green) 0%, #00d4aa 100%);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 175, 239, 0.35);
}

/* Active State */
.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-green) 0%, #00d4aa 100%);
    box-shadow: 0 4px 15px rgba(0, 175, 239, 0.4);
}

/* Bottom line indicator for active */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--off-white);
}

.hero-slider {
    width: 100%;
}

.hero-image {
    width: 100%;
    aspect-ratio: 19/6;
    object-fit: cover;
}

/* ============================================
   CATEGORY CIRCLES
   ============================================ */
.category-section {
    padding: 30px 0;
    background: var(--white);
}

.category-grid {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 15px 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    -webkit-overflow-scrolling: touch;
}

.category-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Webkit */
}

.category-item {
    text-align: center;
    min-width: 90px;
}

.category-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.category-item:hover .category-circle {
    border-color: var(--primary-cyan);
}

.category-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-gray);
}

/* ============================================
   PRODUCT SECTIONS
   ============================================ */
.product-section {
    padding: 30px 0;
}

.lightning-sale {
    background: var(--off-white);
}

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

.title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.section-title.center {
    text-align: center;
    width: 100%;
}

.timer-badge {
    background: #9C27B0;
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.view-all {
    color: var(--primary-cyan);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.view-all:hover {
    text-decoration: underline;
}

/* Products Row */
.products-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

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

/* Product Card - Exact Mamaearth Style */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    background: #fafafa;
    padding: 15px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF6B6B;
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.combo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #2D5016, #4a7c23);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-info {
    padding: 12px 15px 15px;
}

.product-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 6px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-usp {
    font-size: 11px;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.rating-star {
    color: #FF9800;
    font-size: 12px;
}

.rating-value {
    font-size: 11px;
    font-weight: 700;
    color: var(--dark-gray);
}

.rating-count {
    font-size: 11px;
    color: var(--gray);
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-gray);
}

.product-price-old {
    font-size: 12px;
    color: var(--gray);
    text-decoration: line-through;
}

/* ADD TO CART Button - Exact Mamaearth */
.add-to-cart-btn {
    width: 100%;
    background: var(--primary-cyan);
    color: var(--white);
    border: none;
    padding: 11px 15.2px;
    border-radius: var(--border-radius);
    font-size: 12.16px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: opacity 0.2s;
    text-transform: uppercase;
}

.add-to-cart-btn:hover {
    opacity: 0.9;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
}

.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 30px;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    width: 120px;
}

.trust-item img {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    object-fit: contain;
}

.trust-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-gray);
    display: block;
    line-height: 1.3;
}

/* ============================================
   FOOTER - Light Theme
   ============================================ */
.main-footer {
    background: #FFFFFF;
    border-top: 1px solid #e8e8e8;
    padding: 50px 0 20px;
}

.light-footer {
    background: #FFFFFF;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

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

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

/* Brand Column */
.footer-brand {
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2D5016 0%, #4a7c23 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #2D5016;
}

.footer-tagline {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #2D5016;
    border-color: #2D5016;
    color: white;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Footer Columns */
.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2D5016;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    font-size: 13px;
    color: var(--gray);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #2D5016;
}

/* Newsletter Column */
.footer-newsletter p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 13px;
    font-family: var(--font-family);
    outline: none;
}

.newsletter-form input:focus {
    border-color: #2D5016;
}

.newsletter-form button {
    background: #2D5016;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0 6px 6px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #1a3a0a;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-info p {
    font-size: 13px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.footer-contact-info span {
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    font-size: 13px;
    color: var(--gray);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed !important;
    bottom: 100px !important;
    right: 20px !important;
    width: 55px !important;
    height: 55px !important;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
    z-index: 9998 !important;
    transition: all 0.3s ease !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6) !important;
}

.whatsapp-float svg {
    width: 28px !important;
    height: 28px !important;
    fill: white !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .search-bar {
        width: 400px;
    }
}

@media (max-width: 768px) {

    /* Prevent horizontal overflow */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding: 0 12px;
        max-width: 100%;
    }

    /* Header Layout */
    .main-header {
        height: auto;
        padding: 8px 0;
    }

    .header-row {
        flex-wrap: wrap;
        height: auto;
        padding: 5px 0;
        gap: 8px;
    }

    .logo-img {
        height: 32px !important;
    }

    .pincode-selector {
        display: none !important;
    }

    .header-icons {
        gap: 8px;
    }

    .header-btn {
        padding: 5px 10px;
        font-size: 9px;
    }

    .cart-link {
        width: 36px !important;
        height: 36px !important;
    }

    .search-bar {
        order: 5;
        width: 100% !important;
        max-width: 100%;
        margin-top: 8px;
        height: 36px;
    }

    .search-input {
        font-size: 13px;
    }

    /* Navigation */
    .nav-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 5px;
        padding: 6px 8px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Category Grid */
    .category-section {
        padding: 15px 0;
    }

    .category-grid {
        justify-content: flex-start;
        padding: 8px 10px;
        gap: 10px;
    }

    .category-item {
        min-width: 65px;
    }

    .category-circle {
        width: 55px !important;
        height: 55px !important;
    }

    .category-icon {
        font-size: 1.3rem !important;
    }

    .category-name {
        font-size: 9px;
    }

    /* Product Sections */
    .product-section {
        padding: 20px 0;
    }

    .section-header {
        flex-wrap: wrap;
        gap: 10px;
    }

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

    .timer-badge {
        font-size: 10px;
        padding: 4px 8px;
    }

    .view-all {
        font-size: 10px;
        padding: 6px 12px;
    }

    .products-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card {
        border-radius: 10px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 11px;
        height: 30px;
        min-height: 30px;
        margin-bottom: 5px;
    }

    .product-usp {
        font-size: 9px;
        margin-bottom: 5px;
    }

    .product-rating {
        margin-bottom: 6px;
    }

    .rating-star,
    .rating-value {
        font-size: 10px;
    }

    .rating-count {
        font-size: 9px;
    }

    .price-row {
        margin-bottom: 8px;
    }

    .product-price {
        font-size: 14px;
    }

    .product-price-old {
        font-size: 10px;
    }

    .add-to-cart-btn {
        padding: 8px 10px;
        font-size: 10px;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .nav-link {
        padding: 6px 10px;
        font-size: 9px;
    }

    .products-row {
        gap: 8px;
    }

    .product-title {
        font-size: 10px;
        height: 28px;
    }

    .product-price {
        font-size: 13px;
    }

    .add-to-cart-btn {
        font-size: 9px;
        padding: 7px 8px;
    }
}

/* ============================================
   SHOP PAGE
   ============================================ */
.shop-page {
    padding: 30px 0 60px;
}

.breadcrumb {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary-cyan);
}

.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        order: 2;
    }
}

.shop-sidebar {
    background: var(--off-white);
    padding: 20px;
    border-radius: var(--border-radius);
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-gray);
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-link {
    font-size: 13px;
    color: var(--gray);
    display: block;
    padding: 5px 0;
}

.filter-link:hover,
.filter-link.active {
    color: var(--primary-cyan);
}

.filter-list label {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-header h1 {
    font-size: 20px;
    font-weight: 600;
}

.sort-dropdown select {
    padding: 8px 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 13px;
    font-family: var(--font-family);
}

.product-link {
    display: block;
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-page {
    padding: 30px 0 60px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart h2 {
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--gray);
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: var(--off-white);
    border-radius: 4px;
}

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

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

.cart-item-size {
    font-size: 12px;
    color: var(--gray);
}

.cart-item-price {
    font-weight: 700;
    margin-top: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 16px;
    cursor: pointer;
}

.cart-item-quantity span {
    min-width: 20px;
    text-align: center;
}

.cart-item-total {
    font-weight: 700;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray);
    cursor: pointer;
}

.order-summary {
    background: var(--off-white);
    padding: 15px;
    /* Reduced from 25px for mobile */
    border-radius: var(--border-radius);
    position: sticky;
    top: 80px;
}

.order-summary h3 {
    font-size: 16px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.discount span:last-child {
    color: var(--primary-green);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.coupon-box {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.coupon-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 13px;
}

.coupon-box button {
    padding: 10px 15px;
    background: var(--dark-gray);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary-cyan);
    color: var(--white);
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: var(--primary-cyan);
    font-size: 13px;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-page {
    padding: 30px 0 60px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}

.product-gallery {
    background: var(--off-white);
    border-radius: var(--border-radius);
    padding: 30px;
}

.main-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-details h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-benefit {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 15px;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.product-rating-large .rating-star {
    font-size: 16px;
}

.rating-text {
    font-size: 14px;
    color: var(--gray);
    margin-left: 8px;
}

.product-price-large {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
}

.old-price {
    font-size: 16px;
    color: var(--gray);
    text-decoration: line-through;
}

.discount-tag {
    background: var(--primary-green);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-meta {
    margin-bottom: 20px;
}

.meta-item {
    font-size: 14px;
    margin-bottom: 8px;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    margin-bottom: 20px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

.quantity-selector span {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

.add-to-cart-btn.large {
    padding: 15px 30px;
    font-size: 14px;
    margin-right: 10px;
}

.buy-now-btn {
    padding: 15px 30px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.product-promises {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.promise-item {
    font-size: 13px;
    color: var(--gray);
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-page {
    padding: 30px 0 60px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

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

.checkout-form {
    background: var(--white);
}

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

.form-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-family);
}

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

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

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    cursor: pointer;
}

.payment-option input {
    accent-color: var(--primary-cyan);
}

.place-order-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-cyan);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.checkout-summary {
    background: var(--off-white);
    padding: 25px;
    border-radius: var(--border-radius);
    height: fit-content;
    position: sticky;
    top: 80px;
}

.checkout-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.checkout-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: var(--white);
    border-radius: 4px;
}

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

.checkout-item-info .item-name {
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.checkout-item-info .item-qty {
    font-size: 12px;
    color: var(--gray);
}

.checkout-item .item-price {
    font-weight: 600;
}

.summary-totals {
    padding-top: 15px;
}

/* ============================================
   ORDER SUCCESS PAGE
   ============================================ */
.success-page {
    padding: 60px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-box {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: var(--off-white);
    border-radius: var(--border-radius);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px;
}

.success-box h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.order-id {
    color: var(--gray);
    margin-bottom: 20px;
}

.order-details {
    text-align: left;
    background: var(--white);
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.success-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    padding: 12px 25px;
    background: var(--primary-cyan);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.btn-outline {
    padding: 12px 25px;
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* ============================================
   AUTH PAGE
   ============================================ */
.auth-page {
    padding: 60px 0;
    min-height: 70vh;
}

.auth-box {
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.auth-tabs {
    display: flex;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: var(--off-white);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary-cyan);
}

.auth-form {
    padding: 30px;
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-cyan);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--light-gray);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    background: var(--white);
    padding: 0 10px;
    font-size: 12px;
    color: var(--gray);
}

.social-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
}

.social-btn img {
    width: 18px;
    height: 18px;
}

/* ============================================
   ACCOUNT PAGE
   ============================================ */
.account-page,
.orders-page {
    padding: 30px 0 60px;
}

.account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
}

.account-sidebar {
    background: var(--off-white);
    padding: 20px;
    border-radius: var(--border-radius);
    height: fit-content;
}

.user-info {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.user-avatar {
    font-size: 40px;
    margin-bottom: 10px;
}

.user-name {
    font-weight: 600;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.account-nav-link {
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--gray);
}

.account-nav-link:hover,
.account-nav-link.active {
    background: var(--white);
    color: var(--primary-cyan);
}

.account-content h1 {
    font-size: 22px;
    margin-bottom: 25px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: var(--off-white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: box-shadow 0.2s;
}

.dashboard-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.dashboard-card h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.dashboard-card p {
    font-size: 12px;
    color: var(--gray);
}

.recent-orders h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.no-orders {
    color: var(--gray);
}

.order-card {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: var(--off-white);
    border-radius: 4px;
    margin-bottom: 10px;
}

.order-detail-card {
    background: var(--off-white);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.order-date {
    font-size: 12px;
    color: var(--gray);
    margin-left: 10px;
}

.order-status {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-cyan);
}

.order-items {
    padding: 15px;
}

.order-item {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: var(--white);
    border-radius: 4px;
}

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

.order-item .item-name {
    font-size: 13px;
    font-weight: 600;
    display: block;
}

.order-item .item-qty {
    font-size: 12px;
    color: var(--gray);
}

.order-item .item-price {
    font-weight: 600;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: var(--white);
    font-size: 13px;
}

.order-total {
    font-weight: 700;
}

/* ============================================
   ABOUT & CONTACT PAGE
   ============================================ */
.about-page,
.contact-page {
    padding: 40px 0 60px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.page-header p {
    color: var(--gray);
}

.about-section {
    max-width: 800px;
    margin: 0 auto 40px;
}

.about-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.about-section p {
    line-height: 1.7;
    color: var(--gray);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.promise-card {
    background: var(--off-white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
}

.promise-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.promise-card p {
    font-size: 13px;
    color: var(--gray);
}

.values-list {
    list-style: disc;
    padding-left: 20px;
}

.values-list li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.submit-btn {
    padding: 14px;
    background: var(--primary-cyan);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.contact-card {
    background: var(--off-white);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    line-height: 1.6;
}

.contact-card .small {
    font-size: 12px;
    color: var(--gray);
}

.contact-card a {
    color: var(--primary-cyan);
}