/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #111827;
}

/* ================= LINKS ================= */
a {
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: #000;
}

/* ================= CONTAINER ================= */
.container {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= HEADER ================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 16px 40px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 28px;
    font-weight: 800;
}

.nav a {
    margin-left: 25px;
    color: #475569;
    font-weight: 500;
}

.nav a:hover {
    color: #0f172a;
}

/* ================= HERO SLIDER ================= */
.slider {
    position: relative;
    height: 340px; /* slightly smaller for balance */
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.55), rgba(0,0,0,0.2));
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 50px;
    max-width: 600px;
}

.slide-content h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
}

.slide-content p {
    margin-top: 12px;
    font-size: 16px;
    color: #e2e8f0;
}

.slide-content .btn {
    display: inline-block;
    margin-top: 20px;
    background: #0f172a;
    padding: 12px 20px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    transition: 0.2s;
}

.slide-content .btn:hover {
    background: black;
}

/* ================= CATEGORY SECTIONS ================= */
.category-section {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.view-all {
    color: #475569;
    font-weight: 500;
}

/* ================= PRODUCTS GRID ================= */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.product {
    background: white;
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.product h3 {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.product .price {
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
}

.product .btn {
    display: block;
    text-align: center;
    margin-top: 12px;
}

/* Product hover overlay */
.product::after {
    content: "View";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    border-radius: 18px;
    pointer-events: none; /* ALLOWS BUTTON CLICKS */
}

.product:hover::after {
    opacity: 1;
}

/* ================= BUTTONS ================= */
.btn {
    background: #0f172a;
    color: white;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    background: #1e293b; /* slightly lighter than black */
    color: white;        /* ensure text stays visible */

    
}

/* ================= FOOTER ================= */
.footer {
    background: #0f172a;
    color: white;
    padding: 30px;
    text-align: center;
    margin-top: 60px;
}

/* ================= FORMS ================= */
input, select, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
    font-size: 15px;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #0f172a;
}

/* ================= TABLES ================= */
table {
    width: 100%;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border-collapse: collapse;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
}

th {
    background: #f8fafc;
    text-align: left;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    .container {
        padding: 20px;
    }

    .header {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }

    .slide-content h1 {
        font-size: 28px;
    }
}

/* ================= CATEGORY FILTER BAR ================= */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.category-filter a {
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 12px;
    color: #475569;
    font-weight: 500;
    transition: 0.2s;
}

.category-filter a:hover {
    background: #0f172a;
    color: white;
}

.category-filter a.active {
    background: #0f172a;
    color: white;
}

/* ================= PRODUCT PAGE ================= */
.product-page .back-btn {
    display: inline-block;
    margin-bottom: 20px;
    background: #f1f5f9;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 500;
    transition: 0.2s;
}

.product-page .back-btn:hover {
    background: #0f172a;
    color: white;
}

.product-details {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.product-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.product-info {
    flex: 1;
    max-width: 600px;
}

.product-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-info .price {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 15px;
}

.product-info .description {
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.add-to-cart-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.add-to-cart-form select {
    margin-bottom: 15px;
}

.add-cart-btn {
    background: #0f172a;
    color: white;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.add-cart-btn:hover {
    background: black;
}

/* Responsive */
@media(max-width:768px) {
    .product-details {
        flex-direction: column;
        gap: 20px;
    }

    .product-image img {
        max-width: 100%;
    }
}

table {
    width: 100%;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 14px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}

th {
    background: #f8fafc;
}

.btn-small {
    padding: 6px 12px;
    background: #0f172a;
    color: white;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    margin-left: 5px;
    transition: 0.2s;
}

.btn-small:hover {
    background: black;
}

.remove-btn {
    background: #ef4444;
}

.remove-btn:hover {
    background: #b91c1c;
}

/* ================= CART SUMMARY ================= */
.cart-summary {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    flex-wrap: wrap;
    gap: 15px;
}

.cart-summary h3 {
    font-size: 22px;
    font-weight: 700;
}

.cart-summary span {
    color: #0f172a;
}

.checkout-btn {
    padding: 14px 26px;
    font-size: 16px;
}

/* ================= CHECKOUT ================= */
.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.checkout-form,
.checkout-summary {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.checkout-form h2,
.checkout-summary h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.checkout-form label {
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
}

.checkout-summary .summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
}

.checkout-summary hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 15px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}

/* Mobile */
@media(max-width:768px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }
}

.input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    font-size: 16px;
    outline: none;
}

.input:focus {
    border-color: #0f172a;
}

/* ================= ADMIN UI ================= */

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: #0f172a;
    color: white;
    padding: 30px 20px;
}

.admin-sidebar h2 {
    font-size: 22px;
    margin-bottom: 30px;
}

.admin-sidebar a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    padding: 12px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: 0.2s;
}

.admin-sidebar a:hover {
    background: #1e293b;
    color: white;
}

.admin-content {
    flex: 1;
    padding: 40px;
    background: #f8fafc;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 25px;
}

/* ================= PRODUCT PAGE IMAGE NAVIGATION ================= */
.product-image {
    position: relative;
    max-width: 450px;
}

.image-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.image-nav button {
    background: rgba(15,23,42,0.8);
    color: white;
    border: none;
    font-size: 24px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.image-nav button:hover {
    background: black;
}

/* ================= RELATED PRODUCTS ================= */
.product-page h2 {
    font-size: 26px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #0f172a;
}

.product-page .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
    gap: 20px;
}

.product-page .product img {
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
}

.product-page .product h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

.product-page .product .price {
    font-size: 14px;
    color: #64748b;
}

/* Adjust product hover overlay for related products */
.product-page .product::after {
    content: "";
    opacity: 0; /* Disable overlay here to avoid blocking clicks */
    pointer-events: none;
}

/* Contact Form Button */
.btn_style {
    background-color: #000000; /* primary red accent */
    color: #fff;
    font-weight: 700;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn_style:hover {
    background-color: #ffffff; /* slightly darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn_style:active {
    transform: translateY(0);
    box-shadow: none;
}




/* =====================
   MAP SECTION
===================== */
.map-section {
    padding: 80px 0; /* more space around map */
    background: #f8f9fa;
    text-align: center;
}

.map-section h5 {
    font-size: 20px;
    position: relative;
    opacity: 0.7;
    color: #3e0a11;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}


.map-section h1 {
    font-size: 50px;
    color: #092c3f;
    font-weight: 900;
    margin-top: 10px;
    margin-bottom: 40px;
}

.map-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 1000px; /* keeps it centered and large */
    margin: 0 auto 60px; /* center horizontally */
}

.map-wrapper iframe {
    width: 100%;
    height: 600px; /* make it taller */
    border: 0;
    display: block;
    border-radius: 12px;
}
@media screen and (max-width: 768px) {
    .map-wrapper iframe {
        height: 400px; /* slightly smaller on mobile */
    }
}


.contact-section .row {
    gap: 30px; /* spacing between columns */
}

.contact-info {
    background: #1c1c1c;
    color: #fff;
    padding: 50px 30px; /* increase padding */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    min-height: 450px; /* make the card taller */
}

.contact-info:hover {
    transform: translateY(-5px);
}


.contact-section {
    padding: 60px 0;
}

.contact-info {
    background: #1c1c1c;
    color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    border-bottom: 2px solid #ffffff;
    display: inline-block;
    padding-bottom: 5px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
}

.info-item i {
    color: #ffffff;
    font-size: 18px;
    min-width: 25px;
}

.social-icons a {
    color: #fff;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 767px) {
    .contact-section .row {
        justify-content: center; /* center content */
    }

    .contact-section .col-md-6,
    .contact-section .col-md-4 {
        max-width: 100% !important;
        flex: 0 0 100%;
    }

    .contact-info {
        margin-top: 30px; /* space between form and contact info */
        max-width: 100%;
    }

    .map-wrapper {
        max-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Social Icons Styling for Contact Section */
.contact-section .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;       /* circle container */
    height: 50px;
    background: #1c1c1c; /* match dark background */
    border-radius: 50%;  /* make it circular */
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-section .social-icons a:hover {
    background: #ffffff; /* hover color */
    color: #fff;
    transform: scale(1.1);
}

/* Ensure spacing from heading */
.contact-section .social-icons {
    margin-top: 15px;
    gap: 15px; /* spacing between icons */
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.payment-card {
    border: 1px solid #ddd;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #000;
    border-radius: 8px;
    background: #fff;
    transition: 0.2s ease;
}

.payment-card:hover {
    background: #000;
    color: #fff;
}

.payment-card.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.add-cart-btn {
    background: #0f172a;
    color: white;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

/* More specific selector overrides other .btn:hover rules */
button.add-cart-btn:hover {
    background: #1e293b; /* slightly lighter than black */
    color: white;        /* ensure text stays visible */
}

a.btn {
    background: #0f172a;
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

a.btn:hover {
    background: #1e293b; /* slightly darker than the normal background */
    color: white;        /* ensures text stays visible */
    transform: translateY(-2px); /* subtle lift effect */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.continue-btn {
    margin-top: 15px; /* space between dropdown and button */
    background-color: #0f172a;
    color: white;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}

.continue-btn:hover {
    background-color: #020617; /* slightly darker for hover */
    color: white;
}

/* ================= TRACK PAGE ================= */

.track-card {
    max-width: 420px;
    margin: 30px auto;
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.track-card form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-btn {
    background: #0f172a;
    color: white;
    padding: 12px;
    border-radius: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.track-btn:hover {
    background: #020617;
}

/* Orders */
.orders-wrapper {
    margin-top: 40px;
}

.order-card {
    background: white;
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 16px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
}

.order-card p {
    margin: 6px 0;
}

.date {
    color: #6b7280;
    font-size: 14px;
}

.no-orders {
    text-align: center;
    margin-top: 20px;
    color: #dc2626;
}

/* ORDER CARD */
.orders-wrapper {
    margin-top: 30px;
}

.order-card {
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.order-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-id {
    font-weight: bold;
}

/* STATUS BADGES */
.status-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* Different status colors */
.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.processing {
    background: #cce5ff;
    color: #004085;
}

.status-badge.delivered {
    background: #d4edda;
    color: #155724;
    animation: none;
}

.status-badge.cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Pulse animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* DATE */
.date {
    font-size: 13px;
    color: #888;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    transition: 0.2s ease;
}

.whatsapp-btn:hover {
    background: #1ebe5b;
}

.pay-logo {
    width: 80px;          /* adjust if you want bigger/smaller */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

.back-btn {
    display: inline-block;
    margin-bottom: 15px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f1f5f9;
}

.back-btn:hover {
    background: #e2e8f0;
}

.payment-submit-btn {
    display: inline-block;  /* so it doesn’t stretch */
    width: auto;            /* override any 100% width */
    padding: 10px 20px;     /* custom padding */
    font-size: 16px;        /* reasonable size */
    background-color: #22c55e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.payment-submit-btn:hover {
    background-color: #16a34a;
}

.payment-bank-submit-btn {
    display: inline-block;  /* so it doesn’t stretch */
    width: auto;            /* override any 100% width */
    padding: 10px 20px;     /* custom padding */
    font-size: 16px;        /* reasonable size */
    background-color: #F8B814;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
}

.payment-bank-submit-btn:hover {
    background-color: #bc8b10;
}

.search-form {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

.search-form input {
    padding: 6px 10px;
    border-radius: 20px 0 0 20px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
}

.search-form button {
    padding: 6px 10px;
    border-radius: 0 20px 20px 0;
    border: 1px solid #ccc;
    border-left: none;
    background: #000;
    color: #fff;
    cursor: pointer;
}
.search-form button:hover {
    background: #222;
}
@media (max-width: 600px) {

    body {
        font-size: 16px;
    }

    .logo {
        font-size: 22px;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav a {
        font-size: 14px;
        margin-left: 0;
    }

    .container {
        padding: 15px;
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product img {
        height: 160px;
    }

    .btn {
        padding: 10px 14px;
        font-size: 14px;
    }

    .product-info h1 {
        font-size: 24px;
    }

    .slide-content h1 {
        font-size: 22px;
    }
}

/* ===== HEADER REWORK ===== */

.header {
    background: #fff;
    padding: 12px 20px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

/* Search */
.search-wrapper {
    flex: 1;
    position: relative;
}

#liveSearch {
    width: 100%;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

#searchResults {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    z-index: 9999;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

/* Cart */
.cart-icon {
    font-size: 20px;
    color: #0f172a;
}

/* Hamburger */
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* Nav */
.nav {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        background: #fff;
        padding-top: 10px;
        border-top: 1px solid #f1f5f9;
    }

    .nav.show {
        display: flex;
    }

    .nav a {
        padding: 10px 0;
    }
}

/* ===== MOBILE HAMBURGER FIX ===== */

/* Always show menu on desktop */
#mobileNav {
    display: flex;
    gap: 20px;
}

/* Hamburger hidden on desktop */
.menu-toggle {
    display: none;
}

/* Mobile behavior */
@media (max-width: 768px) {

    /* Show hamburger */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    /* Hide menu by default on mobile */
    #mobileNav {
        display: none !important;
        flex-direction: column;
        background: white;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

    /* Show menu when toggled */
    #mobileNav.show {
        display: flex !important;
    }
}

.header-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-wrapper {
    flex: 1;
}

.cart-icon {
    font-size: 20px;
}

/* FORCE PRODUCT PAGE IMAGE SIZE */
.product-image {
    width: 100%;
    max-width: 500px;
}

.product-image img {
    width: 500px;
    height: 500px;
    object-fit: cover; /* fills nicely without stretching */
    display: block;
    border-radius: 18px;
}

/* Mobile: scale down nicely */
@media (max-width: 768px) {
    .product-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1; /* keeps square */
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s ease;
    
    /* Pulse animation */
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

.logo img {
    height: 50px;   /* adjust if too big/small */
    width: auto;
    display: block;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-link .product {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-link .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}


