:root {
    /* Refined Palette for a Premium, Trustworthy Feel */
    --primary: #f1c40f;
    /* Vibrant Gold */
    --primary-dark: #d35400;
    /* Burnt Orange accent for interactions */
    --secondary: #2c3e50;
    /* Deep Navy for headings/text */
    --text-body: #596275;
    /* Softer gray for body text */
    --white: #ffffff;
    --off-white: #f8f9fa;
    /* Clean, cool white */
    --radius: 16px;
    /* Modern, rounder corners */
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Deep, soft shadow */
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    /* Offset for fixed header */
}

body {
    background-color: var(--off-white);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary);
    font-weight: 800;
}

/* --- Header & Nav --- */
header {
    background: rgba(255, 255, 255, 0.9);
    /* Glassmorphism */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 5%;
    /* Smaller header padding */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -0.5px;
    /* Alignment Fixes */
    display: flex;
    align-items: center;
    line-height: 1;
    margin-top: 3px;
    /* Optical center adjustment */
}

.brand-suffix {
    margin-left: 5px;
}

@media (max-width: 600px) {
    .brand-suffix {
        display: none;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover,
nav a.active {
    color: var(--primary-dark);
}

.btn-block {
    display: block;
    width: 100%;
    padding: 18px;
    /* Larger touch target */
    font-size: 1.1rem;
    /* Readable text */
    text-align: center;
}

.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.cart-btn {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--secondary);
    transition: var(--transition);
}

.cart-btn:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-dark);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--secondary);
}

/* --- Hero Section --- */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.7)), url('https://images.unsplash.com/photo-1450778869180-41d0601e046e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 600;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #f39c12);
    color: var(--secondary);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(241, 196, 15, 0.4);
    background: var(--white);
}

/* --- Categories --- */
.section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 10px;
}

.section-title span {
    color: var(--primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.cat-card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
    animation: fadeInUp 0.8s ease-out backwards;
}

.cat-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
    box-shadow: var(--shadow-hover);
}

.cat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.cat-card:nth-child(3) {
    animation-delay: 0.2s;
}

.cat-card:nth-child(4) {
    animation-delay: 0.3s;
}

.cat-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.cat-card:hover i {
    color: var(--secondary);
    transform: scale(1.1);
}

.cat-card h3 {
    transition: var(--transition);
}

.cat-card:hover h3 {
    color: var(--white);
}

/* --- Shop Section --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
        gap: 15px;
    }

    .product-img {
        height: 150px;
        /* Smaller image height */
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 0.9rem;
        height: auto;
        -webkit-line-clamp: 2;
    }

    .price {
        font-size: 1rem;
    }

    .add-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-dark);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(211, 84, 0, 0.3);
}

.product-img {
    height: 250px;
    background-color: #f4f4f4;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Placeholder for product images */
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.15);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.75rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 5px;
}

.product-title {
    font-size: 1.25rem;
    margin: 5px 0 15px;
    font-weight: 800;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3.25rem;
    /* Fixed height for consistency */
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--secondary);
}

.add-btn {
    background: var(--secondary);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

.add-btn:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: rotate(90deg);
}

/* --- Articles / Blog --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.blog-img {
    height: 220px;
    background: #ddd;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    font-size: 1.4rem;
    margin: 12px 0 15px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--secondary);
}

.read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary);
    gap: 10px;
}

/* --- Location & Contact --- */
.contact-section {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    box-shadow: var(--shadow);
    margin: 50px 5%;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-container {
    height: 500px;
    background: #eee;
}

.contact-info {
    padding: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-desc {
    margin-bottom: 30px;
    color: var(--text-body);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.icon-box {
    background: rgba(241, 196, 15, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-dark);
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* --- Footer --- */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 5% 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 25px;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary);
}

.social-icons {
    margin-top: 30px;
    margin-bottom: 30px;
}

.social-icons a {
    text-decoration: none;
    color: var(--white);
    display: inline-block;
}

.social-icons i {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
    /* Explicitly white */
}

.social-icons a:hover i {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 5%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        /* Significantly reduced */
    }

    .page-header h1 {
        font-size: 2.5rem;
        /* Reduced for subpages */
    }

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        display: none;
        border-top: 3px solid var(--primary);
    }

    nav.active {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav a {
        font-size: 1.2rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
        margin: 0;
        border-radius: 0;
    }

    .map-container {
        height: 300px;
    }

    /* Contact Page Specific */
    .contact-info {
        padding: 30px 20px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    /* Cart Responsive */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Stack form on mobile */
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Page Header for subpages */
.page-header {
    margin-top: 80px;
    background: var(--secondary);
    color: var(--white);
    padding: 80px 5%;
    text-align: center;
    position: relative;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    /* Subtle texture */
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Features / Why Choose Us --- */
.features-section {
    background: linear-gradient(to bottom, var(--white), var(--off-white));
    padding: 100px 5%;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-box {
    padding: 30px;
}

.feature-box i {
    font-size: 3.5rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    background: rgba(241, 196, 15, 0.1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    transition: var(--transition);
}

.feature-box:hover i {
    transform: rotateY(180deg);
    background: var(--primary);
    color: var(--secondary);
}

.feature-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-box p {
    color: var(--text-body);
}

/* --- Extracted & Refined Styles --- */

/* Services Page Styles */
/* Services Page Styles */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    border: 1px solid transparent;
}

.service-item:hover {
    /* Removed hover animation as requested */
    box-shadow: var(--shadow);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-item p {
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Restyled Service Buttons (Theme Style) */
.btn-service {
    background: var(--secondary);
    color: white !important;
    /* Force white text */
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: auto;
    margin-top: auto;
    /* Push to bottom */
    font-size: 1rem;
    display: inline-block;
    /* Better for buttons */
    text-decoration: none !important;
    text-align: center;
}

.btn-service:hover {
    background: var(--primary);
    transform: translateY(-2px);
    /* Subtle lift */
    color: white !important;
}

/* --- Ready to Book CTA --- */
.cta-box {
    background: var(--primary);
    color: var(--secondary);
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 60px;
    box-shadow: var(--shadow);
}

.cta-box h2 {
    color: var(--secondary);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: white;
    /* White text for better contrast on primary bg */
    font-size: 1.2rem;
    margin-bottom: 30px;
}


/* --- Service Details Page --- */
.service-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.sd-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.sd-content {
    font-size: 1.1rem;
    color: var(--text-body);
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.action-btn-call {
    background: #2ecc71;
    /* Green for call */
}

.action-btn-book {
    background: var(--secondary);
    color: white;
}

/* Appointment Form */
.appointment-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group-row .form-group {
    flex: 1;
}

.disclaimer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Responsive Details */
@media (max-width: 768px) {
    .service-detail-container {
        grid-template-columns: 1fr;
    }

    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
}

.cta-box {
    background: var(--primary);
    color: var(--text-body);
    padding: 50px;
    text-align: center;
    border-radius: var(--radius);
    margin-top: 60px;
    box-shadow: var(--shadow);
}

.cta-box h2 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.cta-box p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Product Details Styles */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.pd-image {
    background: #f4f4f4;
    border-radius: var(--radius);
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pd-image img {
    /* Remove restrictive aspect ratio/fit */
    width: 100%;
    /* height: 100%; <-- Removed to allow natural height */
    /* object-fit: cover; <-- Removed to show full image */
    transition: var(--transition);
    border: 10px solid var(--white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.pd-image:hover img {
    transform: scale(1.05);
}

.pd-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pd-info h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.pd-cat-label {
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    display: block;
}

.pd-price {
    font-size: 1.8rem;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 20px;
}

.pd-description {
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.buy-now-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    justify-content: center;
    border-radius: 50px;
}

/* Article / Blog Details Styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-hero-img {
    width: 100%;
    /* Maintain aspect ratio similar to cards (Square) */
    aspect-ratio: 1 / 1;
    object-fit: contain;
    /* Ensure full image is visible */
    background: #fff;
    /* White background for transparent PNGs */
    border-radius: var(--radius);
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-meta {
    color: var(--primary-dark);
    font-size: 0.95rem;
    margin-bottom: 25px;
    display: flex;
    gap: 25px;
    font-weight: 700;
}

.article-content h1 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-body);
    font-size: 1.1rem;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--secondary);
}

.article-content strong {
    color: var(--secondary);
}

/* --- Global Responsive Adjustments --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Header & Nav */
    header {
        padding: 15px 5%;
    }

    .logo-container img {
        height: 45px;
        width: 45px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
        color: var(--primary-dark);
    }

    nav {
        position: fixed;
        /* Changed from absolute for better mobile experience */
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        display: none;
        border-top: 3px solid var(--primary);
        z-index: 999;
        height: auto;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Product Details Mobile */
    .product-detail-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .pd-image {
        height: 300px;
    }

    .pd-info h1 {
        font-size: 1.8rem;
    }

    /* Article Mobile */
    .article-container {
        padding: 30px 20px;
    }

    .article-hero-img {
        height: 250px;
    }

    .article-content h1 {
        font-size: 1.8rem;
    }

    /* General Section Padding */
    .section {
        padding: 60px 5%;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }

    .contact-info {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .products-grid,
    .blog-grid,
    .service-list {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        font-size: 1.5rem;
    }
}

/* --- Shop Revamp Layout --- */
/* --- Shop Revamp Layout --- */
.shop-container {
    display: flex;
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 5%;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar Styles */
.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
    /* Below the fixed header */
    max-height: calc(100vh - 120px);
    /* Height of viewport minus header spacer */
    overflow-y: auto;
    /* Scrollable inside sidebar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #eee;
}

.shop-sidebar::-webkit-scrollbar {
    width: 6px;
}

.shop-sidebar::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.shop-sidebar::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 20px;
}

.shop-sidebar:hover::-webkit-scrollbar-thumb {
    background-color: var(--primary);
}

.sidebar-search {
    position: relative;
    margin-bottom: 30px;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.sidebar-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
}

.sidebar-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.category-group {
    margin-bottom: 25px;
}

.category-group h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--off-white);
    color: var(--secondary);
}

.cat-list {
    list-style: none;
}

.cat-list li {
    padding: 8px 12px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-body);
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cat-list li:hover,
.cat-list li.active {
    background: rgba(241, 196, 15, 0.15);
    color: var(--primary-dark);
}

.cat-list li.active {
    font-weight: 800;
    border-left: 4px solid var(--primary);
}

/* Main Content Styles */
.shop-content {
    flex-grow: 1;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.products-header h2 {
    font-size: 2rem;
}

.products-header span {
    color: #999;
    font-weight: 600;
}

/* --- Cart Modal Styles --- */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    /* Slide in from right */
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    width: 400px;
    max-width: 90%;
    background: var(--white);
    height: 100%;
    padding: 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.cart-modal-overlay.active .cart-modal {
    transform: translateX(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f9f9f9;
}

.cart-item img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
}

.item-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.item-details .item-price {
    font-weight: 800;
    color: var(--primary-dark);
}

.remove-item {
    color: #e74c3c;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 5px;
    display: inline-block;
}

.cart-summary {
    margin-top: 30px;
    background: var(--off-white);
    padding: 20px;
    border-radius: 10px;
}

.total-row {
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    justify-content: space-between;
    color: var(--secondary);
}

.checkout-form {
    margin-top: 30px;
}

.checkout-form h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.empty-msg {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 1.1rem;
}

.empty-msg::before {
    content: '\f07a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    font-size: 3rem;
    margin-bottom: 20px;
    color: #eee;
}

/* Responsive adjustments for Shop */
@media(max-width: 900px) {
    .shop-container {
        flex-direction: column;
        margin-top: 20px;
    }

    .shop-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
        padding: 0;
        max-height: none;
        overflow-y: visible;
        background: transparent;
        box-shadow: none;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .shop-sidebar::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .sidebar-search {
        display: none;
        /* Simplified mobile view */
    }

    /* Inline Groups */
    .category-group {
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 0;
        vertical-align: top;
    }

    .category-group h3 {
        display: none;
        /* Hide category headers for cleaner look */
    }

    .cat-list {
        display: flex;
        gap: 10px;
    }

    .cat-list li {
        background: var(--white);
        padding: 10px 20px;
        border-radius: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        /* Soft shadow */
        border: 1px solid transparent;
        font-size: 0.95rem;
        flex-shrink: 0;
        margin-bottom: 0;
        display: inline-block;
    }

    .cat-list li:hover {
        background: var(--white);
        /* No hover effect on touch usually */
    }

    .cat-list li.active {
        background: var(--primary);
        color: var(--secondary);
        border: 1px solid var(--primary) !important;
        box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
        font-weight: 800;
    }
}

/* --- UI Enhancements --- */
.out-stock-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
}

.toast-notification {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-notification.show {
    opacity: 1;
    visibility: visible;
}

/* --- MOBILE RESPONSIVE OVERRIDES --- */
@media (max-width: 768px) {

    /* Fix Typography Scale */
    html {
        font-size: 14px;
        /* Slightly smaller base */
    }

    .hero-content h1 {
        font-size: 2rem !important;
        padding: 0 10px;
    }

    .page-header h1 {
        font-size: 2.2rem !important;
    }

    .section-title h2 {
        font-size: 2rem !important;
    }

    /* Fix Product Grid - 2 Cols on Mobile */
    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        /* Force 2 columns */
        gap: 15px !important;
    }

    .product-img {
        height: 140px !important;
    }

    .product-info {
        padding: 10px !important;
    }

    .product-title {
        font-size: 0.9rem !important;
        margin-bottom: 5px !important;
    }

    .price {
        font-size: 1rem !important;
    }

    .add-btn {
        width: 35px !important;
        height: 35px !important;
    }

    /* Fix Cart Table Scroll */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Fix Contact Page Stack */
    .contact-section {
        grid-template-columns: 1fr !important;
        margin: 20px 0 !important;
    }

    .contact-info {
        padding: 30px 15px !important;
    }

    .map-container {
        height: 250px !important;
    }

    /* Fix Header Padding */
    header {
        padding: 0.8rem 5% !important;
    }
}

@media (min-width: 769px) {
    .toast-notification {
        bottom: 30px;
        top: auto;
    }

    .toast-notification.show {
        bottom: 50px;
    }
}

@media (max-width: 768px) {
    .toast-notification {
        top: 20px;
        bottom: auto;
        width: 90%;
        justify-content: center;
    }

    .toast-notification.show {
        top: 40px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card {
        border-radius: 10px;
    }

    .product-img {
        height: 180px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 1rem;
        height: 2.6rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .add-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-img {
        height: 220px;
    }
}

/* --- Cart Drawer (Sidebar) --- */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.cart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.cart-modal.active {
    transform: translateX(0);
}

/* RESET OLD STYLES */
.cart-modal {
    animation: none;
    max-height: 100vh;
    overflow: visible;
}

/* Mobile Keyboard Fix */
.cart-modal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    z-index: 200000 !important;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    overflow-y: auto !important;
}

.cart-modal.active {
    transform: translateX(0);
}

/* Cart Footer Updates */
.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}