body{background:#111;color:white;font-family:Arial;margin:0;padding:20px}
h1,span{color:#e50914}.hero{text-align:center;padding:50px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
button{background:#e50914;color:white;padding:10px;border:0}.card{
background:#1c1c1c;
border:1px solid #333;
border-radius:15px;
overflow:hidden;
transition:0.3s;
position:relative;
}

.card:hover{
    border-color:red;
}


.card img{
width:100%;
height:260px;
object-fit:cover;
}

.card h3{
font-size:20px;
color:white;
}


.scale{
color:#aaa;
}

.stock{
color:#ddd;
}

.whatsapp-btn{
display:block;
background:#25D366;
color:white;
text-align:center;
padding:12px;
border-radius:10px;
font-weight:bold;
text-decoration:none;
margin-top:15px;
transition:0.3s;
}

.whatsapp-btn:hover{
background:#128C7E;
transform:scale(1.05);
}.top-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 40px;
    background:#080808;
    border-bottom:1px solid #333;
}


.logo{
    display:flex;
    align-items:center;
    gap:20px;
}

.logo img{
    height:120px;
    width:auto;
}

.brand-name{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.brand-name h1{
    margin:0;
    font-size:48px;
    font-weight:900;
    line-height:1;
    color:#ff0000;
}

.brand-name h1 span{
    color:#ffffff;
}

.brand-name p{
    margin-top:8px;
    color:#bbbbbb;
    font-size:18px;
    letter-spacing:1px;
}nav{
    display:flex;
    align-items:center;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
}

.dropdown{
    position:relative;
}

.dropbtn{
    background:none;
    border:none;
    color:white;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
}

.dropdown-content{
    display:none;
    position:absolute;
    background:#1a1a1a;
    min-width:220px;
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.4);
    z-index:1000;
}

.dropdown-content a{
    display:block;
    padding:12px 18px;
    color:white;
    text-decoration:none;
}

.dropdown-content a:hover{
    background:transparent;
    color:#ff0000;

}

.dropdown:hover .dropdown-content{
    display:block;
}


.top-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 40px;
}

.logo img:hover{
    transform: scale(1.05);
}

.tagline{
    color:#ddd;
    font-size:18px;
    font-weight:500;
}

.delivery-banner{
    background:#e60000;
    color:white;
    text-align:center;
    padding:12px;
    font-weight:bold;
    font-size:16px;
}.search-box{
    display:flex;
    justify-content:center;
    margin:40px 0;
}

#search{
    width:420px;
    padding:14px 20px;
    font-size:18px;
    border-radius:30px;
    border:none;
    outline:none;
}.hero{
    text-align:center;
    padding:80px 20px;
}

.hero h2{
    font-size:64px;
    color:white;
    margin-bottom:10px;
}

.hero span{
    color:#ff0000;
}

.hero p{
    color:#bbb;
    font-size:22px;
    margin-bottom:35px;
}

.hero button{
    background:#ff0000;
    color:white;
    border:none;
    padding:16px 40px;
    font-size:18px;
    font-weight:bold;
    border-radius:40px;
    cursor:pointer;
    transition:.3s;
}

.hero button:hover{
    background:#b60000;
    transform:translateY(-3px);
}.contact-grid a{
    color:#fff;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.contact-grid a:hover{
    color:#ff0000;
}.floating-whatsapp{
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    box-shadow:0 5px 20px rgba(0,0,0,.35);
    transition:.3s;
    z-index:9999;
}

.floating-whatsapp i{
    font-size:38px;
    color:white;
}

.floating-whatsapp:hover{
    transform:scale(1.1);
    background:#1EBE5D;
}/* Lightbox */

.lightbox{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.9);
    justify-content:center;
    align-items:center;
    z-index:10000;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    object-fit:contain;
}

.close{
    position:absolute;
    top:20px;
    right:35px;
    color:white;
    font-size:50px;
    cursor:pointer;

}#topBtn{
    display:none;
    position:fixed;
    bottom:100px;
    right:30px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:#ff0000;
    color:#fff;
    font-size:24px;
    cursor:pointer;
    z-index:9999;
    transition:.3s;
}

#topBtn:hover{
    background:#b30000;
    transform:scale(1.1);
}.popup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.8);
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.popup-box{
    width:900px;
    max-width:95vw;
    max-height:90vh;
    overflow-y:auto;
    background:#1b1b1b;
    border-radius:20px;
    padding:30px;
    text-align:center;
    position:relative;
}

.popup-box img{
    width:100%;
    max-height:70vh;
    object-fit:contain;
}

.popup-close{
    position:absolute;
    top:10px;
    right:20px;
    font-size:35px;
    cursor:pointer;
    color:white;
}

.popup h2{
    margin:10px 0;
}

.popup p{
    color:#ddd;
    margin:10px 0;
}.badge{
    position:absolute;
    top:10px;
    right:10px;
    padding:6px 10px;
    border-radius:20px;
    font-size:11px;
    font-weight:bold;
    z-index:2;
}

.badge.available{
    background:#00c853;
    color:white;
}

.badge.low{
    background:#ff9800;
    color:white;
}

.badge.sold{
    background:#e60000;
    color:white;
}.sold-btn{
    display:block;
    width:100%;
    background:#555;
    color:white;
    padding:12px;
    border:none;
    border-radius:10px;
    margin-top:15px;
    font-weight:bold;
    cursor:not-allowed;
}/* ============================= */
/* MOBILE RESPONSIVE DESIGN */
/* ============================= */

@media (max-width: 768px) {

    body {
        padding: 10px;
    }

    /* Header */
    .top-header {
        flex-direction: column;
        padding: 20px 10px;
        gap: 20px;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        height: 90px;
    }

    .brand-name h1 {
        font-size: 32px;
    }

    .brand-name p {
        font-size: 14px;
    }

    .tagline {
        font-size: 15px;
    }

    /* Navigation */
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a,
    .dropbtn {
        font-size: 14px;
    }

    /* Delivery Banner */
    .delivery-banner {
        font-size: 13px;
        padding: 10px 5px;
    }

    /* Hero */
    .hero {
        padding: 50px 15px;
    }

    .hero h2 {
        font-size: 40px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 16px;
        line-height: 1.5;
    }

    .hero button {
        padding: 13px 30px;
        font-size: 16px;
    }

    /* Search */
    .search-box {
        margin: 25px 0;
        padding: 0 10px;
    }

    #search {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 16px;
    }

    /* Product Grid */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Product Card */
    .card {
        padding: 10px;
        border-radius: 10px;
    }

    .card img {
        height: 180px;
    }

    .card h3 {
        font-size: 16px;
        line-height: 1.3;
    }

    .scale {
        font-size: 13px;
    }

    .card h2 {
        font-size: 18px;
    }

    .stock {
        font-size: 13px;
    }

    /* WhatsApp Button */
    .whatsapp-btn,
    .sold-btn {
        padding: 10px 5px;
        font-size: 12px;
        margin-top: 10px;
    }

    /* Badge */
    .badge {
        top: 7px;
        right: 7px;
        font-size: 9px;
        padding: 5px 7px;
    }

    /* Product Popup */
    .popup-box {
        width: 90%;
        padding: 20px;
        border-radius: 15px;
    }

    .popup-box img {
        max-height: 50vh;
    }

    .popup h2 {
        font-size: 22px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Floating Buttons */
    .floating-whatsapp {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 15px;
    }

    .floating-whatsapp i {
        font-size: 30px;
    }

    #topBtn {
        width: 45px;
        height: 45px;
        right: 20px;
        bottom: 85px;
        font-size: 20px;
    }
}


/* ============================= */
/* EXTRA SMALL PHONES */
/* ============================= */

@media (max-width: 480px) {

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .card {
        padding: 8px;
    }

    .card img {
        height: 170px;
    }

    .card h3 {
        font-size: 14px;
    }

    .card h2 {
        font-size: 17px;
    }


    .whatsapp-btn,
    .sold-btn {
        font-size: 14px;
        padding: 12px;
    }

    .hero h2 {
        font-size: 34px;
    }

    .brand-name h1 {
        font-size: 28px;
    }

}/* ============================= */
/* SHOPPING CART */
/* ============================= */

.cart-btn {
    background: #e60000;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.cart-btn:hover {
    background: #b30000;
    transform: scale(1.05);
}

#cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    margin-left: 5px;
    background: white;
    color: #e60000;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}


/* ADD TO CART BUTTON */

.add-cart-btn {
    display: block;
    width: 100%;
    background: #e60000;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.add-cart-btn:hover {
    background: #b30000;
    transform: scale(1.03);
}


/* CART BACKGROUND */

.cart-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    justify-content: center;
    align-items: center;
    z-index: 100000;
}


/* CART BOX */

.cart-box {
    width: 700px;
    max-width: 92vw;
    max-height: 85vh;
    overflow-y: auto;
    background: #1b1b1b;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,.6);
}

.cart-box h2 {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 25px;
    color: white;
}


/* CLOSE BUTTON */

.cart-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.cart-close:hover {
    color: #ff0000;
}


/* CART ITEM */

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #242424;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}


/* CART IMAGE */

.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #111;
    border-radius: 8px;
}


/* CART PRODUCT INFO */

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: white;
}

.cart-item-info p {
    margin: 5px 0;
    color: #ccc;
}


/* QUANTITY */

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.quantity-controls button {
    width: 32px;
    height: 32px;
    padding: 0;
    background: #e60000;
    color: white;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
}

.quantity-controls button:hover {
    background: #b30000;
}

.quantity-controls span {
    min-width: 25px;
    text-align: center;
    color: white;
    font-weight: bold;
}


/* REMOVE BUTTON */

.remove-cart-btn {
    background: #555;
    color: white;
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

.remove-cart-btn:hover {
    background: #e60000;
}


/* EMPTY CART */

.empty-cart {
    text-align: center;
    color: #aaa;
    padding: 40px 10px;
    font-size: 18px;
}


/* CART TOTAL */

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #444;
    margin-top: 20px;
    padding-top: 20px;
    font-size: 22px;
}

.cart-total strong {
    color: white;
}

#cartTotal {
    color: #ff0000;
    font-weight: bold;
}


/* CHECKOUT */

.checkout-btn {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.checkout-btn:hover {
    background: #128C7E;
    transform: scale(1.02);
}


/* ============================= */
/* CART MOBILE */
/* ============================= */

@media (max-width: 768px) {

    .cart-btn {
        font-size: 13px;
        padding: 9px 12px;
    }

    .cart-box {
        width: 92%;
        padding: 18px;
        border-radius: 15px;
    }

    .cart-item {
        gap: 10px;
        padding: 10px;
    }

    .cart-item img {
        width: 70px;
        height: 70px;
    }

    .cart-item-info h3 {
        font-size: 14px;
    }

    .cart-item-info p {
        font-size: 13px;
    }

    .quantity-controls {
        gap: 7px;
    }

    .quantity-controls button {
        width: 30px;
        height: 30px;
    }

    .remove-cart-btn {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .cart-total {
        font-size: 19px;
    }

    .checkout-btn {
        font-size: 14px;
        padding: 13px;
    }
}


/* EXTRA SMALL PHONES */

@media (max-width: 480px) {

    .cart-box {
        max-height: 90vh;
        padding: 15px;
    }

    .cart-item {
        align-items: flex-start;
    }

    .cart-item img {
        width: 65px;
        height: 65px;
    }

    .cart-item-info h3 {
        font-size: 13px;
    }

    .cart-item-info p {
        font-size: 12px;
    }

    .quantity-controls button {
        width: 28px;
        height: 28px;
        font-size: 18px;
    }

    .cart-total {
        font-size: 17px;
    }

}/* ============================= */
/* CHECKOUT CUSTOMER DETAILS */
/* ============================= */

.checkout-details {
    margin-top: 20px;
    padding: 15px;
    background: #151515;
    border: 1px solid #333;
    border-radius: 12px;
}

.checkout-details h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: white;
}

.checkout-details input,
.checkout-details textarea {
    width: 100%;
    box-sizing: border-box;
    background: #222;
    color: white;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    font-size: 15px;
    outline: none;
}

.checkout-details input:focus,
.checkout-details textarea:focus {
    border-color: #e50914;
}

.checkout-details textarea {
    resize: vertical;
}

/* Mobile checkout details */

@media (max-width: 768px) {

    .checkout-details {
        padding: 12px;
    }

    .checkout-details input,
    .checkout-details textarea {
        font-size: 14px;
        padding: 11px;
    }

}.floating-cart{
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 65px;
    height: 65px;
    border: none;
    border-radius: 50%;
    background: #e60000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,.35);
    z-index: 9999;
    transition: .3s;
}

.floating-cart:hover{
    transform: scale(1.1);
    background:#b30000;
}

.floating-cart i{
    font-size:30px;
}

.floating-cart #cart-count{
    position:absolute;
    top:-5px;
    right:-5px;
    width:24px;
    height:24px;
    border-radius:50%;
    background:white;
    color:#e60000;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:bold;
}

@media (max-width:768px){
    .floating-cart{
        width:55px;
        height:55px;
        left:15px;
        bottom:15px;
    }

    .floating-cart i{
        font-size:26px;
    }
}