/* ===========================
   Hero Slider
=========================== */

.hero-slider{
    position:relative;
    z-index:1;
}

.hero-slider{
    width:100%;
    overflow:hidden;
}

.slider-img{
    width:100%;
    height:300px;
    object-fit:cover;
}

@media(max-width:768px){

.slider-img{
    height:220px;
}

}

.carousel-caption{

    bottom:18%;

}

.carousel-caption{
    bottom:50%;
    transform:translateY(35%);
}

@media(max-width:768px){

.carousel-caption h1{

font-size:28px;

}

.carousel-caption p{

font-size:15px;

}

}

.carousel-item{
    height:650px;
}

.carousel-item img{
    height:650px;
}

.carousel-caption{
    bottom:18%;
    z-index:2;
}

.carousel-item::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.carousel-caption{
    bottom:18%;
    z-index:2;
}

.carousel-caption h1{
    font-size:52px;
    font-weight:700;
}

.carousel-caption p{
    font-size:20px;
    margin:20px 0;
}

.carousel-caption .btn{
    padding:12px 35px;
    border-radius:30px;
}

/* ===========================
   Category Cards
=========================== */
.category-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    transition:.35s;
    height:100%;
    border:1px solid #e5e5e5;
}

.category-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.category-image{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.35s;
}

.category-card:hover .category-image{
    transform:scale(1.05);
}

.category-content{
    padding:20px;
    text-align:center;
}

.category-content h5{
    font-weight:700;
    margin-bottom:10px;
}

.category-content .btn{
    border-radius:30px;
    padding:8px 20px;
}

.product-card{

    border:none;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

.product-image{

    height:240px;

    object-fit:cover;

    transition:.3s;

}

.product-card:hover .product-image{

    transform:scale(1.05);

}

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    background:#25D366;
    color:#fff;
    padding:14px 22px;
    border-radius:50px;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    box-shadow:0 8px 20px rgba(0,0,0,.25);
    z-index:9999;
    transition:.3s;
}

.whatsapp-float:hover{
    background:#1ebe5d;
    color:#fff;
    transform:translateY(-3px);
}

.whatsapp-float i{
    font-size:28px;
}

@media(max-width:768px){

.whatsapp-float span{
    display:none;
}

.whatsapp-float{
    padding:15px;
    border-radius:50%;
}

}
/* WhatsApp Widget */

/* ඔබගේ අන්තිම CSS */

/* ========================= */
/* Customer Dropdown Menu */
/* ========================= */

.dropdown-menu{
    background:#212529;
    border:none;
    border-radius:12px;
    overflow:hidden;
    margin-top:10px !important;
    box-shadow:0 10px 30px rgba(0,0,0,.30);
    animation:popup .25s ease;
}

.dropdown-item{
    color:#fff;
    padding:12px 18px;
    transition:.3s;
}

.dropdown-item:hover{
    background:#0d6efd;
    color:#fff;
}

.dropdown-divider{
    border-color:#444;
}

@keyframes popup{

    from{
        opacity:0;
        transform:translateY(-10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}
/* Customer Dropdown */

.dropdown-menu{
    margin-top:12px !important;
    background:#1f2937;
    border:none;
    border-radius:15px;
    min-width:220px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.35);
    z-index:99999;
}

.dropdown-item{
    color:#fff;
    padding:12px 18px;
    font-size:15px;
    transition:.25s;
}

.dropdown-item i{
    width:22px;
}

.dropdown-item:hover{
    background:#0d6efd;
    color:#fff;
}

.dropdown-divider{
    border-color:#444;
}

.dropdown-menu{
    animation:dropdownFade .25s ease;
}

@keyframes dropdownFade{

from{
opacity:0;
transform:translateY(-10px);
}

to{
opacity:1;
transform:translateY(0);
}

}
/* Navbar Always On Top */

.navbar{
    position:relative;
    z-index:1055;
}

.dropdown-menu{
    z-index:1060 !important;
}
/* Products Filter */

.card.rounded-4{

    border-radius:18px !important;

}

.form-control,
.form-select{

    height:48px;

    border-radius:10px;

    border:1px solid #dcdcdc;

}

.form-control:focus,
.form-select:focus{

    box-shadow:none;

    border-color:#0d6efd;

}

.btn-primary{

    border-radius:10px;

}

/* ===============================
   Product Cards
================================ */

.product-card{
    border-radius:16px;
    overflow:hidden;
    transition:all .3s ease;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.18);
}

.product-image{
    height:240px;
    object-fit:contain;
    background:#fff;
    padding:18px;
}

.product-title{
    font-size:18px;
    font-weight:600;
    min-height:48px;
}

.product-price{
    color:#0d6efd;
    font-size:28px;
    font-weight:700;
}

/* Top Bar */

.top-bar{
    background:#0d6efd;
    color:#fff;
}

.top-bar i{
    color:#fff;
}

.top-bar a{
    color:#fff;
    text-decoration:none;
}
.top-bar .btn-primary{
    background:#ffffff;
    color:#0d6efd;
    border:none;
}

.top-bar .btn-primary i{
    color:#0d6efd;
}

.top-bar .btn-primary:hover{
    background:#f8f9fa;
    color:#0a58ca;
}

.top-bar .btn-primary:hover i{
    color:#0a58ca;
}

.top-bar .btn-success{
    background:#ffc107;
    color:#000;
    border:none;
}

.top-bar .btn-success i{
    color:#000;
}

.top-bar .btn-success:hover{
    background:#ffca2c;
    color:#000;
}

.top-bar .btn-success:hover i{
    color:#000;
}

/* ===== Compact Navbar ===== */

.custom-navbar{
    padding:6px 0;
}
.custom-navbar .nav-link{
    font-size:15px;
    padding:8px 12px !important;
}
.custom-navbar .form-control{
    height:36px;
    font-size:14px;
    min-width:180px;
}

.custom-navbar .btn-warning{
    height:36px;
    padding:0 14px;
    font-size:14px;
}
.custom-navbar .btn-success{
    padding:6px 12px;
    font-size:14px;
}

.stock-center{
    position:absolute;
    left:50%;
    bottom:12px;
    transform:translateX(-50%);
    padding:8px 18px;
    border-radius:30px;
    color:#fff;
    font-weight:600;
    z-index:10;
}

/* ===== Force Yellow Add To Cart ===== */

.btn-cart{
    background:#FFD814 !important;
    border:2px solid #FCD200 !important;
    color:#111 !important;
}

.btn-cart i{
    color:#111 !important;
}

.btn-cart:hover{
    background:#F7CA00 !important;
    border-color:#F2C200 !important;
    color:#111 !important;
}

.btn-cart:hover i{
    color:#111 !important;
}

/* Small Feature Strip */

.feature-strip{
    background:#fff;
    border-top:1px solid #e5e5e5;
    border-bottom:1px solid #e5e5e5;
    padding:14px 0;
    margin:20px 0;
}

.feature-strip .row{
    align-items:center;
}

.feature-strip .col-md-3{
    text-align:center;
}

.feature-strip i{
    font-size:22px;
    color:#0d6efd;
    margin-bottom:6px;
}

.feature-strip h5{
    font-size:14px;
    margin:0;
    font-weight:600;
    color:#222;
}

.action-box{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    background:#ffffff;
    border:1px solid #dcdcdc;
    border-radius:8px;

    width:100%;
    height:95px;

    text-decoration:none;
    color:#333;

    transition:.3s;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.action-box:hover{
    color:#0d6efd;
    border-color:#0d6efd;
    transform:translateY(-4px);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.action-box i{
    font-size:28px;
    margin-bottom:10px;
    color:#0d6efd;
}

.action-box h6{
    margin:0;
    font-size:14px;
    font-weight:600;
    color:#333;
}

.action-box small{
    display:none;
}

.slider-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
@media (max-width:768px){

    .slider-img{
        height:220px;
    }

    .carousel-caption h1{
        font-size:24px;
    }

    .carousel-caption p{
        font-size:14px;
    }

}

.hero-slider{
    position:relative;
}

.slider-img{
    width:100%;
    height:550px;
    object-fit:cover;
}

.carousel-item{
    position:relative;
}

.carousel-item::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.carousel-caption{
    bottom:20%;
    z-index:10;
}

.carousel-caption h1{
    font-size:3.3rem;
    font-weight:700;
}

.carousel-caption p{
    font-size:1.2rem;
    margin-bottom:25px;
}

.carousel-caption .btn{
    border-radius:50px;
    padding:12px 35px;
}

@media(max-width:768px){

.slider-img{
height:260px;
}

.carousel-caption{
bottom:12%;
}

.carousel-caption h1{
font-size:28px;
}

.carousel-caption p{
display:none;
}

}

.payment-card{
    border:2px solid #dee2e6;
    border-radius:10px;
    padding:18px;
    margin-bottom:15px;
    cursor:pointer;
    transition:.3s;
    background:#fff;
}

.payment-card:hover{
    border-color:#0d6efd;
    box-shadow:0 5px 15px rgba(13,110,253,.15);
}

.payment-card input[type="radio"]{
    transform:scale(1.3);
}

.payment-icon{
    font-size:30px;
    width:45px;
    text-align:center;
    color:#0d6efd;
}