/* Basic reset and helpers */
:root{
  --primary: #e21a1a; /* RFL-like red */
  --muted: #6c757d;
  --card-bg: #ffffff;
  --shadow: 0 6px 20px rgba(0,0,0,.05);
}

body{
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* background: #fafafa; */
  color:#222;
}


.bg-primary{
    background: #124773 !important;
}
.text-align-left{
  text-align: left;
}
.table tr td{
  vertical-align: middle !important;
}
.btn-primary{
    background: #124773 !important;
}
.pro_active{
    background: #124773 !important;
    color:white
}
.pro_active:hover{ 
    color:white
}

.cursor-pointer{cursor: pointer;}
/* Topbar */
.topbar{ font-size: 13px; }
.site-header{ 
  background: #fff; padding:10px;
      box-shadow: 0px 2px 3px #e2e2e2;
      margin-bottom: 10px;
}

/* Logo sizing */
.logo{
  max-height: 60px;
}

/* Search bar */
.searchbar .btn-categories{
  background: var(--primary);
  color: white;
  border: none;
  min-width: 160px;
}
 
.searchbar .btn-search{
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 25px;
}
a{
  color:#0c2b45;
}
.account-icons a{
  color:#0c2b45;
}

/* Hero banner */
.hero-banner{
  position: relative;
  border-radius: .5rem;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(90deg,#f2f7fb,#fff);
}
.hero-banner img{
  object-fit: cover;
  height: 280px;
}
.hero-overlay{
  position: absolute;
  top: 40px;
  left: 40px;
  color: #111;
  text-shadow: 0 1px 2px rgba(255,255,255,.8);
}
.hero-overlay h2{ font-weight:700; color: #e21a1a; }
.hero-overlay p{ margin-bottom: 1rem; }

/* section titles */
.section-title{
  font-weight:700;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  display: inline-block;
}

/* Category card */
.category-card{
  border: none;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.category-card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0px auto;
    margin-top: 10px;
}
.category-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.category-card h6{ 
  overflow: hidden;
  height: 46px;
  padding:5px;
}
 

/* responsive tweaks */
@media (max-width: 767px){
  .hero-banner img{ height: 180px; }
  .category-card img{ height: 100px; } 
}



.slick-next, .slick-prev {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: 0;
    background: 0 0;
    z-index: 999;
}

.slick-next {
    right: 0px;
}

.slick-prev {
    left: -7px;
}



/* footer */
.footer a{ color: #ffffff !important; text-decoration: none; }
.footer a:hover{ text-decoration: underline; }

/* small utilities */
.badge{ font-size: .75rem; }

/* Custom button outline for product */
.btn-outline-primary{
  border-color: rgba(0,0,0,.08);
  color: rgba(0,0,0,.8);
}


.categories-slider .category-card {
  margin: 0 8px;
  min-height: 160px;
}
.slick-prev:before, .slick-next:before {
  color: #e21a1a; /* match theme color */
  font-size: 28px;
}



/* Custom col for 5 items per row */
@media (min-width: 992px) {
    .col-lg-custom {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Product Card Styles */
.product-card {
    border-radius: 12px;
    /* transition: transform 0.3s, box-shadow 0.3s; */
    overflow: hidden;
}

/* .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
} */

/* Product Image */
.product-image img {
    height: 250px; 
    border-bottom: 1px solid #eee;
    /* transition: transform 0.4s ease; */
}

/* .product-card:hover .product-image img {
    transform: scale(1.05);
} */

/* Price */
.price {
    font-size: 1rem;
    color: #28a745;
}

/* Badge styling */
.badge {
    font-size: 0.75rem;
    padding: 5px 8px;
    border-radius: 6px;
}
.product-card a{
  text-decoration: none;
}

.productTitleAndPrice{}

.productTitleAndPrice p{}
.product_price_tag span{
  font-family: serif;
    font-size: 14px;
}
.productTitleAndPrice h5{color:#28a745;font-size: 12px;margin: 0;}
.productTitleAndPrice .stockout{color:#e12312;font-size: 12px;margin: 0;}
.productTitleAndPrice p del{color:#e21a1a; margin-left:6px;}


.features .feature-box {
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* .features .feature-box:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-4px);
} */

.features .icon {
    flex-shrink: 0;
}



.recommended .product-card {
    border-radius: 10px;
    /* transition: transform 0.3s, box-shadow 0.3s; */
}

/* .recommended .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
} */

.recommended .product-image img {
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    /* transition: transform 0.3s ease; */
}

/* .recommended .product-card:hover .product-image img {
    transform: scale(1.05);
} */


.toast {
    min-width: 250px;
    margin-bottom: 10px;
    padding: 15px 20px;
    background-color: #28a745; /* green for success */
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s, transform 0.5s;
}
.toast.show {
    opacity: 1;
    transform: translateY(0);
}


  .color-label {
    cursor: pointer;
    position: relative;
    display: inline-block;
  }

  .color-label input[type="radio"] {
    display: none; /* Hide radio */
  }

  .color-circle {
    width: 43px;
    height: 43px;
    border: 3px solid #ccc;
    border-radius: 50%;
    display: inline-block;
    position: relative;
  }

  .color-label input[type="radio"]:checked + .color-circle::after {
    content: "✔";
    color: #0c125c;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

.size-label {
  cursor: pointer;
  position: relative;
  display: inline-block;
}
.size-label input[type="radio"] {
  display: none; /* Hide radio */
}
.size-circle {
    height: 36px;
    border: 3px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    background: #f8f9fa;
    padding: 5px 10px;
}
.size-label input[type="radio"]:checked + .size-circle::after {
  content: "✔";
  color: #e40a4f;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  top: 2px;
  left: 2px;
}

.header-menus-toggles{
  display: none !important;
}

.success-order p{
  margin-bottom: 0;
}




/* Overlay behind popup */
#offerPopup {
    display: none; /* hide by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 5000;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show popup */
#offerPopup.show {
    display: block;
    opacity: 1;
}

/* Popup card */
#offerPopup .modal-dialog {
    max-width: 400px;
    margin: 100px auto;
}

#offerPopup .modal-content {
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    background: #fff;
    animation: popupBounce 0.5s ease;
}

/* Bounce animation */
@keyframes popupBounce {
    0% { transform: scale(0.7); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    80% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Close button */
#offerPopup .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.list-group-item{
  padding:6px 1px !important
}
footer ul li a{
  color: #ffffff !important;
}







