:root {
    --primary: #334155;
    --primary-hover: #1e293b;
    --secondary: #64748b;
    --accent: #f59e0b;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.logo-text {
    font-size: 24px;
    font-weight: 500;
    /* Lighter weight as requested */
    color: var(--text);
    letter-spacing: -0.5px;
}

.logo-text .accent {
    color: var(--primary);
    font-weight: 700;
    position: relative;
    padding: 0 2px;
}

/* Subtle ink drop decoration for the dot in 'i' */
.logo-text .accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    transition: 0.3s;
}

.logo:hover .logo-text .accent::after {
    opacity: 1;
    bottom: -2px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-text .accent {
    color: #94a3b8;
    /* Lighter gray for dark background */
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    font-size: 20px;
    cursor: pointer;
    position: relative;
}

/* Mega Menu */
.mega-menu-trigger {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e2e8f0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.mega-menu-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 40px 20px;
}

.mega-col h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.mega-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.mega-col a {
    display: block;
    padding: 8px 0;
    color: #475569;
    font-size: 15px;
    transition: 0.2s;
    font-weight: 400 !important;
}

.mega-col a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}





.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    padding: 40px 0;
    background: white;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--primary);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    max-width: 420px;
}

.hero-slider {
    width: 100%;
    border-radius: 20px;
    background: #f8fafc;
    padding: 30px;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    object-fit: contain;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Category Grid */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
}

/* Category/Best Seller Slider Common */
.category-slider,
.best-seller-slider {
    padding: 20px 0 50px;
    /* margin-bottom: 30px; */
}

.category-slider .swiper-slide,
.best-seller-slider .swiper-slide {
    height: auto;
    /* Required for Swiper auto-height stretch */
    display: flex;
    align-items: stretch;
}

.category-slider .category-card,
.best-seller-slider .product-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    margin: 5px 0 10px;
    min-height: 48px;
    /* Force 2-line height for alignment */
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    margin-top: auto;
    margin-bottom: 20px;
}

.product-info .btn {
    width: 100%;
}

.category-slider .swiper-button-next,
.category-slider .swiper-button-prev,
.best-seller-slider .swiper-button-next,
.best-seller-slider .swiper-button-prev {
    color: var(--primary);
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: var(--shadow);
    z-index: 10;
}

.best-seller-slider .swiper-button-next {
    right: -22px;
}

.best-seller-slider .swiper-button-prev {
    left: -22px;
}

.category-slider .swiper-button-next:after,
.category-slider .swiper-button-prev:after,
.best-seller-slider .swiper-button-next:after,
.best-seller-slider .swiper-button-prev:after {
    font-size: 18px;
    font-weight: 800;
}

/* Category Grid (Fall-back) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.category-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.category-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    background: #f1f5f9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-card h3 {
    font-size: 16px;
    font-weight: 700;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 220px;
    background: white;
    position: relative;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 12px;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    margin: 8px 0 12px;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    color: var(--text);
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.product-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    color: white;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: white;
}

/* About Section Styles */
.about-section {
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.about-content .sub-title {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 5px;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #1e293b;
}

.about-content p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.get-in-touch p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.btn-teal {
    background: #005f5f;
    color: white;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 700;
}

.btn-teal:hover {
    background: #004d4d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 95, 95, 0.3);
}

.business-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 65px;
    height: 65px;
    background: #f0fdfa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005f5f;
    font-size: 26px;
    flex-shrink: 0;
}

.info-icon img {
    width: 100%;
    padding: 10px;
}

.info-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.info-text p {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Ratings & Testimonials Section */
.ratings-section {
    background-color: #f8fafc;
    border-top: 1px solid var(--border);
}

.ratings-summary-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 60px;
}

.rating-score {
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.rating-score h2 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.rating-score h2 span {
    font-size: 20px;
    color: var(--text-muted);
}

.stars-row {
    color: #f59e0b;
    font-size: 22px;
    margin-bottom: 5px;
}

.stars-row i.far {
    color: #cbd5e1;
}

.reviews-count {
    font-weight: 600;
    color: var(--text-muted);
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dist-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #475569;
}

.dist-label {
    width: 50px;
    flex-shrink: 0;
}

.dist-bar-bg {
    flex-grow: 1;
    height: 10px;
    background: #f1f5f9;
    border-radius: 5px;
    overflow: hidden;
}

.dist-bar-fill {
    height: 100%;
    background: #84cc16;
    border-radius: 5px;
}

.dist-percent {
    width: 40px;
    text-align: right;
    color: var(--text-muted);
}

.user-satisfaction {
    text-align: center;
    border-left: 1px solid #e2e8f0;
}

.user-satisfaction h4 {
    margin-bottom: 25px;
    font-size: 20px;
}

.satisfaction-circles {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.circle-chart {
    position: relative;
    width: 65px;
    height: 65px;
}

.circle-chart svg {
    width: 100%;
    height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 4;
}

.circle-fill {
    fill: none;
    stroke: #84cc16;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s;
}

.circle-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: 700;
}

.circle-label {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* Individual Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
}

.user-initial {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #1e293b;
    flex-shrink: 0;
}

.review-details h5 {
    font-size: 16px;
    margin-bottom: 2px;
    font-weight: 700;
}

.user-loc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.review-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 15px;
}

.purchased-prod {
    font-size: 13px;
    margin-top: 15px;
}

.purchased-prod strong {
    color: #1e293b;
}

.purchased-prod span {
    color: var(--text-muted);
}

.view-more-container {
    text-align: center;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* Utils */
.mb-80 {
    margin-bottom: 80px;
}

.text-center {
    text-align: center;
}

.py-80 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.py-60 {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Small Desktop / Large Tablet */
@media (max-width: 1100px) {}

/* Tablet & Small Desktop (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ratings-summary-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .user-satisfaction {
        grid-column: span 2;
        border-left: none;
        border-top: 1px solid #e2e8f0;
        padding-top: 30px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 40px;
        max-width: 100%;
    }

    .hero-image {
        margin: 0 auto;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .hero-btns .btn {
        margin-left: 0 !important;
        width: 100%;
    }



    .ratings-summary-wrapper {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .rating-score {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 25px;
    }

    .user-satisfaction {
        grid-column: span 1;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .py-80 {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 28px !important;
    }

    /* Page Layouts Responsiveness */
    .shop-layout,
    .cart-layout,
    .checkout-layout,
    .contact-layout,
    .about-layout,
    .bulk-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .filters {
        position: static !important;
    }

    .about-values {
        grid-template-columns: 1fr !important;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-wrapper {
        order: 1;
    }

    .shop-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }

    .shop-header .search-bar {
        max-width: 100% !important;
    }

    .product-detail-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .responsive-grid-2,
    .responsive-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .responsive-flex {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .cart-item-card {
        flex-direction: column;
        text-align: center;
        padding: 20px !important;
    }

    .cart-item-card img {
        margin: 0 auto;
    }

    .cart-item-card div {
        text-align: center !important;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .business-info-grid {
        grid-template-columns: 1fr;
    }

    .info-item[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }

    .satisfaction-circles {
        flex-direction: column;
        gap: 20px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .logo-text {
        font-size: 20px;
    }
}