       * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }
        body {
            background: #f4f7fc;
            color: #1e2a3e;
            overflow-x: hidden;
            padding-bottom: 80px;
        }
        .navbar {
      position: sticky;
      top: 0;
      backdrop-filter: blur(14px);
      background: rgba(255, 255, 255, 0.85);
      z-index: 100;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
       .nav-container {
      max-width: 1300px;
      margin: 0 auto;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }
        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
            color: green;
            font-weight: 700;
            font-size: 1rem;
        }
        .logo img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: white;
            object-fit: cover;
        }
        .nav-links a {
      margin-left: 2rem;
      text-decoration: none;
      font-weight: 600;
      color: #1e293b;
      transition: 0.2s;
    }
    .nav-links a i {
      margin-right: 6px;
    }
    .nav-links a:hover {
      color: #2b7a3e;
    }
        .hero-header {
            background:
                linear-gradient(rgba(0,0,0,0.38), rgba(0,0,0,0.38)),
                url('../images/header.png') center center / cover no-repeat;
            background-attachment: fixed;
            min-height: clamp(145px, 20vw, 250px);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            margin-top: 0;
            padding: 1rem;
        }
        .hero-content h1 {
            font-size: 1.4rem;
            font-weight: 800;
        }
        .hero-content p {
            font-size: 0.7rem;
            margin-top: 0.3rem;
        }
        /* Main container - single product section */
        .shop-container {
            max-width: 1300px;
            margin: 0.8rem auto;
            padding: 0 0.75rem;
        }
        .search-bar {
            margin-bottom: 1rem;
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .search-bar input {
            flex: 1;
            padding: 10px 14px;
            border-radius: 40px;
            border: 1px solid #d0dee9;
            font-size: 0.85rem;
            outline: none;
            background: white;
        }
        .search-bar button {
            background: #0b2b26;
            border: none;
            padding: 10px 16px;
            border-radius: 40px;
            color: white;
            font-weight: 600;
            font-size: 0.8rem;
            cursor: pointer;
        }
        /* Compact product grid - 2 columns mobile, more on desktop */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
        }
        @media (min-width: 550px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 1rem;
            }
        }
        @media (min-width: 900px) {
            .products-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 1.2rem;
            }
        }
        .product-card {
    background: white;
    border-radius: 16px;
    padding: 0.7rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    transition: transform 0.15s;

    display: flex;
    flex-direction: column;
    height: 100%;
    }
        .product-card:active {
            transform: scale(0.98);
        }
        .out-of-stock-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: #c2410c;
            color: white;
            font-weight: bold;
            padding: 3px 8px;
            border-radius: 20px;
            font-size: 0.6rem;
            z-index: 2;
        }
        .product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    }
        .product-title {
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;

    min-height: 38px;      /* keeps all titles aligned */
    line-height: 1.2;

    display: -webkit-box;
    -webkit-line-clamp: 2; /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    }
        .product-price {
    font-weight: 700;
    color: #2c6e5c;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    }
        .btn-add, .btn-details {
            width: 100%;
            padding: 6px 0;
            border-radius: 30px;
            border: none;
            font-weight: 600;
            margin-top: 5px;
            cursor: pointer;
            font-size: 0.7rem;
        }
        .btn-add {
            background: #0b2b26;
            color: white;
        }
        .btn-add:disabled {
            background: #b0b0b0;
            cursor: not-allowed;
        }
        .btn-details {
            background: #eef2f5;
            color: #1e2a3e;
            border: 1px solid #cbdde6;
        }
        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin: 1.5rem 0 1rem;
            flex-wrap: wrap;
        }
        .page-btn {
            background: white;
            border: 1px solid #cbdde6;
            padding: 8px 14px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.8rem;
            transition: 0.2s;
        }
        .page-btn.active {
            background: #0b2b26;
            color: white;
            border-color: #0b2b26;
        }
        .page-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        /* Floating Cart Button */
        .floating-cart {
            position: fixed;
            bottom: 20px;
            right: 16px;
            background: #0b2b26;
            width: 58px;
            height: 58px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 16px rgba(0,0,0,0.25);
            cursor: pointer;
            z-index: 1100;
            border: 2px solid #f4c542;
        }
        .floating-cart:active {
            transform: scale(0.92);
        }
        .floating-cart i {
            font-size: 26px;
            color: white;
        }
        .cart-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #dc2626;
            color: white;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            font-size: 11px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
        }
        /* Cart Drawer (slide from right) */
        .cart-drawer {
            position: fixed;
            top: 0;
            right: -100%;
            width: 85%;
            max-width: 380px;
            height: 100%;
            background: white;
            z-index: 1200;
            box-shadow: -4px 0 20px rgba(0,0,0,0.2);
            transition: right 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .cart-drawer.open {
            right: 0;
        }
        .drawer-header {
            background: #0b2b26;
            color: white;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .drawer-header h3 {
            font-size: 1.2rem;
            display: flex;
            gap: 8px;
        }
        .close-drawer {
            background: none;
            border: none;
            color: white;
            font-size: 26px;
            cursor: pointer;
        }
        .drawer-content {
            flex: 1;
            overflow-y: auto;
            padding: 1rem;
        }
        .cart-items-list {
            list-style: none;
        }
        .cart-item-drawer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e2e8f0;
            padding: 12px 0;
            gap: 8px;
        }
        .cart-item-info {
            flex: 2;
        }
        .cart-item-info strong {
            font-size: 0.85rem;
        }
        .cart-item-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .cart-item-controls button {
            background: #eef2f5;
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 30px;
            font-weight: bold;
            cursor: pointer;
        }
        .drawer-total {
            font-weight: 800;
            font-size: 1.2rem;
            border-top: 2px solid #cbdde6;
            padding: 0.8rem 0;
            margin-top: 0.5rem;
        }
        .drawer-buttons {
            display: flex;
            gap: 8px;
            flex-direction: column;
            margin-top: 0.5rem;
        }
        .drawer-buttons button {
            padding: 12px;
            border-radius: 40px;
            font-weight: bold;
            border: none;
            cursor: pointer;
        }
        .clear-cart-btn-sm {
            background: #dc2626;
            color: white;
        }
        .btn-whatsapp {
            background: #25D366;
            color: white;
        }
        .btn-email {
            background: #1e2a3e;
            color: white;
        }
        .empty-cart-message {
            text-align: center;
            color: #6c7a89;
            padding: 2rem;
        }
        .cart-note-drawer {
            font-size: 0.7rem;
            color: #6b7280;
            text-align: center;
            margin-top: 12px;
        }
        .drawer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1150;
            display: none;
        }
        .drawer-overlay.active {
            display: block;
        }
        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            inset: 0;
            align-items: center;
            justify-content: center;
            background: rgba(0,0,0,0.7);
            padding: clamp(0.5rem, 2vw, 1.5rem);
        }
        .modal-content {
            background: white;
            margin: 0;
            padding: clamp(1rem, 2.5vw, 1.8rem);
            width: min(920px, 100%);
            max-height: calc(100dvh - 1rem);
            overflow-y: auto;
            overscroll-behavior: contain;
            border-radius: 24px;
            position: relative;
        }

        .modal-layout {
            display: grid;
            grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
            gap: clamp(1rem, 3vw, 2rem);
            align-items: start;
        }

        .modal-details {
            padding-top: 1.5rem;
        }

        .modal-details h3 {
            margin-bottom: 0.7rem;
            padding-right: 2rem;
        }

        .modal-details p,
        .modal-details ul {
            margin-bottom: 0.8rem;
            line-height: 1.5;
        }

        .modal-details ul {
            padding-left: 1.2rem;
        }

        .close-modal {
            position: absolute;
            right: 12px;
            top: 10px;
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: rgba(255,255,255,0.92);
            box-shadow: 0 2px 10px rgba(0,0,0,0.15);
            font-size: 26px;
            line-height: 1;
            cursor: pointer;
            font-weight: bold;
            z-index: 3;
        }

        #modalMainImg {
            display: block;
            width: 100%;
            height: clamp(240px, 45vh, 430px);
            object-fit: contain;
            background: #f4f7fc;
            border-radius: 20px;
            transition: opacity 0.2s ease;
        }

        .thumbnails {
            display: flex;
            gap: 8px;
            margin-top: 12px;
            overflow-x: auto;
            padding: 3px 3px 8px;
            justify-content: center;
            scrollbar-width: thin;
        }

        .thumbnails img {
            width: 62px;
            height: 52px;
            flex: 0 0 auto;
            cursor: pointer;
            border: 2px solid transparent;
            border-radius: 10px;
            object-fit: cover;
            opacity: 0.65;
            transition: border-color 0.2s, opacity 0.2s, transform 0.2s;
        }

        .thumbnails img.active {
            border-color: #2c6e5c;
            opacity: 1;
            transform: translateY(-2px);
        }

        @media (max-width: 699px) {
            .modal-layout {
                grid-template-columns: 1fr;
                gap: 0.7rem;
            }

            .modal-details {
                padding-top: 0;
            }

            #modalMainImg {
                height: min(36vh, 280px);
            }

            .modal-content {
                border-radius: 18px;
            }
        }

        .category-filter{
    display:flex;
    gap:8px;
    overflow-x:auto;
    margin-bottom:15px;
    padding-bottom:5px;
    }

    .category-bar{
    margin-bottom:15px;
}

.category-bar select{
    width:100%;
    padding:12px 15px;
    border-radius:12px;
    border:1px solid #d0dee9;
    background:white;
    font-size:0.9rem;
    font-weight:600;
    outline:none;
}

.cat-btn{
    border:none;
    background:#e5e7eb;
    padding:8px 15px;
    border-radius:30px;
    cursor:pointer;
    white-space:nowrap;
    font-weight:600;
    }

.cat-btn.active{
    background:#0b2b26;
    color:#fff;
    }

    .remove-item-btn{
    width:28px;
    height:28px;
    border:none;
    border-radius:50%;
    background:#dc2626;
    color:white;
    font-weight:bold;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}

.remove-item-btn:hover{
    opacity:0.9;
}
         footer {
      background: #0f172a;
      color: #e2e8f0;
      padding: 2rem;
      text-align: center;
      margin-top: 3rem;
      border-radius: 2rem 2rem 0 0;
    }
    
        /* Desktop inline cart (hidden on mobile) */
        .desktop-cart-section {
            display: none;
        }
        @media (min-width: 900px) {
            .floating-cart, .drawer-overlay, .cart-drawer {
                display: none;
            }
            .shop-container {
                display: flex;
                gap: 1.5rem;
                max-width: 1300px;
                margin: 1rem auto;
            }
            .products-wrapper {
                flex: 2.5;
            }
            .desktop-cart-section {
                display: block;
                flex: 1.2;
                background: white;
                border-radius: 24px;
                padding: 1.2rem;
                position: sticky;
                top: 80px;
                height: fit-content;
            }
            .hero-content h1 {
                font-size: 2rem;
            }
        }
        .products-wrapper {
            width: 100%;
        }
