:root {
    --primary-color: #006a4e;
    /* Bangladesh Green */
    --secondary-color: #f42a41;
    /* Bangladesh Red */
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --white: #ffffff;
    --gray: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --primary-font: 'Poppins', 'SolaimanLipi', sans-serif;
    --heading-font: 'Poppins', 'SolaimanLipi', sans-serif;
    --bengali-font: 'SolaimanLipi', 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--primary-font);
    background-color: #f9fafb;
    color: var(--dark-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    /* Reduced padding slightly as logo is bigger */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    /* Consistent height */
    width: auto;
}

.logo-text {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.main-navigation {
    position: relative;
}

.has-dropdown {
    position: relative;
}

.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.has-dropdown>a i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.has-dropdown:hover>a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-inner {
    padding: 0.75rem 0;
    display: flex;
    flex-direction: column;
}

.dropdown-item {
    padding: 0.65rem 1.25rem;
    color: var(--dark-color);
    font-size: 0.95rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f9fafb;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.5rem;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cart-icon {
    position: relative;
    font-size: 1.25rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: fixed;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        min-width: 90%;
        max-width: 300px;
    }

    .has-dropdown:hover .dropdown-menu {
        transform: translateX(-50%) translateY(0);
    }

    .dropdown-item {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../media/hero-bg.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    border-radius: 0 0 2rem 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #005a42;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Products Mesh Grid */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.produc.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Product Card Styles */
.product-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 300px;
    width: 100%;
    object-fit: cover;
    background-color: #f3f4f6;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1rem;
}

.product-details {
    /* Container for text elements to push button down */
    margin-bottom: 1rem;
}

.product-category {
    color: var(--gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.2em;
    /* Ensure 2 lines height constant */
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    /* Push to bottom of details section if needed, though structure handles it */
}

.current-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.875rem;
}

.product-card .btn {
    width: 100%;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 3rem;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    padding: 1rem 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 1rem;
}

.slider-nav.next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Service Features Section */
.service-features {
    padding: 3rem 0;
    background: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 106, 78, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    border-radius: 50%;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

/* Categories Section */
.categories-section {
    padding: 3rem 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #e5e7eb;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-info {
    padding: 1.5rem;
    text-align: center;
    background: var(--white);
}

.category-info h3 {
    font-size: 1.125rem;
    color: var(--dark-color);
    margin: 0;
    text-transform: capitalize;
}

/* New Arrival Section */
.new-arrival-section {
    padding: 3rem 0;
    background: #f9fafb;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.view-all-btn {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Enhanced Product Card */
.product-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.wishlist-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.wishlist-toggle:hover {
    transform: scale(1.1);
}

.wishlist-toggle i {
    font-size: 1.125rem;
}

.product-image-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.btn-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.btn-order {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-order:hover {
    background: #005a42;
}

.add-cart-form {
    width: 100%;
}

.btn-cart {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-cart:hover {
    background: #005a42;
}

.btn-confirm {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 2rem;
    /* Larger padding */
    border: none;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    /* Larger text */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 106, 78, 0.2);
    text-decoration: none;
    /* Ensure links look like buttons */
}

.btn-confirm:hover {
    background: #005a42;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 106, 78, 0.3);
    color: var(--white);
}

/* Floating Social Contact Buttons */
.social-float-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.social-float-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.social-float-toggle:hover {
    background: #005a42;
    transform: scale(1.1);
}

.social-float-links {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.social-float-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.messenger {
    background: #0084FF;
}

.social-link.phone {
    background: #ff6b6b;
}

.social-link:hover {
    transform: scale(1.1);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), #005a42);
    color: var(--white);
    padding: 4rem 0;
    margin-top: 4rem;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border-radius: 0.5rem;
    border: none;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 4rem 1rem 1rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    color: var(--light-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Specific Pages */
.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 1.25rem 1rem;
    background-color: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
}

.cart-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        display: block;
        padding: 1rem;
        border-bottom: 8px solid #f3f4f6;
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid #f1f5f9;
        text-align: right;
    }

    .cart-table td:first-child {
        display: block;
        text-align: left;
        border-bottom: 2px solid #f1f5f9;
        margin-bottom: 0.5rem;
        padding-bottom: 1rem;
    }

    .cart-table td:last-child {
        border-bottom: none;
    }

    .cart-table td::before {
        content: attr(data-label);
        font-weight: 700;
        text-align: left;
        color: var(--dark-color);
        font-size: 0.85rem;
        text-transform: uppercase;
    }

    .cart-table td:first-child::before {
        display: none;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 106, 78, 0.1);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.payment-method:hover,
.payment-method.active {
    border-color: var(--primary-color);
    background-color: rgba(0, 106, 78, 0.05);
}

.payment-logo {
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Bottom Navigation (Mobile) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.5rem 0;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.bottom-nav .nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.75rem;
    gap: 4px;
    padding: 0.5rem;
}

.bottom-nav .nav-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.bottom-nav .nav-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.bottom-nav .nav-cart-count {
    top: -5px;
    right: -8px;
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
        /* Space for bottom nav */
    }

    .bottom-nav {
        display: flex;
    }

    .navbar .nav-links,
    .navbar .nav-icons {
        display: none;
        /* Hide Desktop Nav items on mobile if using bottom nav */
    }

    .navbar {
        justify-content: center;
        /* Center Logo */
        padding: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        /* Full width cards */
        gap: 1.5rem;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 40vh;
        /* Smaller hero for mobile */
        border-radius: 0 0 1.5rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Thumb-friendly buttons */
    .btn {
        padding: 1rem;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .payment-methods {
        flex-direction: column;
    }

    .payment-method {
        padding: 0.75rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .payment-method img {
        height: 40px !important;
        margin-bottom: 0 !important;
    }

    .container {
        padding: 1rem !important;
    }

    /* Hero Slider Mobile */
    .slider-container {
        height: 50vh;
        min-height: 350px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-nav {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .slider-nav.prev {
        left: 0.5rem;
    }

    .slider-nav.next {
        right: 0.5rem;
    }

    /* Service Grid Mobile */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem 0.75rem;
    }

    .service-card h6 {
        font-size: 0.875rem;
    }

    /* Category Grid Mobile */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-image {
        height: 180px;
    }

    .category-info {
        padding: 1rem;
    }

    .category-info h3 {
        font-size: 0.95rem;
    }

    /* Product Grid Mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-title h4 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .current-price {
        font-size: 1rem;
    }

    .btn-wrapper {
        grid-template-columns: 1fr;
    }

    .btn-order,
    .btn-cart {
        padding: 0.65rem;
        font-size: 0.875rem;
    }

    /* Newsletter Mobile */
    .newsletter-content h2 {
        font-size: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        padding: 0.875rem;
    }

    /* Social Float Mobile */
    .social-float-container {
        bottom: 5rem;
        right: 1rem;
    }

    .social-float-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
}

/* Small Mobile (Extra Responsive) */
/* Small Mobile (Extra Responsive) */
@media (max-width: 600px) {

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Also 2 cols for categories usually looks better */
        gap: 10px;
    }

    /* User requested 2 columns for products on phone view */
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 4px;
        /* Ensure tracking/edge alignment */
    }

    /* Adjust cards for 2-column layout */
    .product-card {
        min-width: 0 !important;
        width: 100% !important;
    }

    .product-card .product-image {
        height: 150px;
    }

    .product-info {
        padding: 0.5rem;
    }

    .product-title {
        font-size: 0.85rem;
        height: 2.6em;
        overflow: hidden;
        margin-bottom: 0.25rem;
    }

    .btn-wrapper {
        grid-template-columns: 1fr !important;
        /* Stack buttons to fit */
        gap: 0.4rem !important;
    }

    .btn-order,
    .btn-cart {
        padding: 0.4rem;
        font-size: 0.75rem;
        width: 100%;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    /* Fix container padding on small screens */
    .container {
        padding: 0 0.5rem;
    }
}