/*

TemplateMo 559 Zay Shop

https://templatemo.com/tm-559-zay-shop

---------------------------------------------
Table of contents
------------------------------------------------
1. Typography
2. General
3. Nav
4. Hero Carousel
5. Accordion
6. Shop
7. Product
8. Carousel Hero
9. Carousel Brand
10. Services
11. Contact map
12. Footer
13. Small devices (landscape phones, 576px and up)
14. Medium devices (tablets, 768px and up)
15. Large devices (desktops, 992px and up)
16. Extra large devices (large desktops, 1200px and up)
--------------------------------------------- */




/* Typography */
body, ul, li, p, a, label, input, div {
  font-family: 'Roboto', sans-serif;
  font-size: 18px !important;
  font-weight: 300 !important;
}
.h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 48px !important;
  font-weight: 200 !important;
}
.h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 30px !important;
  font-weight: 300;
}
.h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 22px !important;
}
/* General */
.logo { font-weight: 500 !important;}
.text-warning {  color: #ede861 !important;}
.text-muted { color: #bcbcbc !important;}
.text-success { color: #1964b0 !important;} /*#FC0D26*/
.text-light { color: #cfd6e1 !important;}
.bg-dark { background-color: #1964b0 !important;}
.bg-light { background-color: #e9eef5 !important;}
.bg-black { background-color: #1d242d !important;}
.bg-success { background-color: #1964b0 !important;}
.btn-success {
  background-color: #1964b0 !important;
  border-color: #56ae6c !important;
}
.pagination .page-link:hover {color: #000;}
.pagination .page-link:hover, .pagination .page-link.active {
  background-color: #69bb7e;
  color: #fff;
}
/* Nav */
#templatemo_nav_top { min-height: 40px;}
#templatemo_nav_top * { font-size: .9em !important;}
#templatemo_main_nav a { color: #1964b0;}
#templatemo_main_nav a:hover { color: #69bb7e;}
#templatemo_main_nav .navbar .nav-icon { margin-right: 20px;}

/* Hero Carousel */
#template-mo-zay-hero-carousel { background: #efefef !important;}
/* Accordion */
.templatemo-accordion a { color: #000;}
.templatemo-accordion a:hover { color: #333d4a;}
/* Shop */
.shop-top-menu a:hover { color: #69bb7e !important;}
/* Product */
.product-wap { box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.10);}
.product-wap .product-color-dot.color-dot-red { background:#f71515;}
.product-wap .product-color-dot.color-dot-blue { background:#6db4fe;}
.product-wap .product-color-dot.color-dot-black { background:#000000;}
.product-wap .product-color-dot.color-dot-light { background:#e0e0e0;}
.product-wap .product-color-dot.color-dot-green { background:#0bff7e;}
.card.product-wap .card .product-overlay {
  background: rgba(0,0,0,.2);
  visibility: hidden;
  opacity: 0;
  transition: .3s;
}
.card.product-wap:hover .card .product-overlay {
  visibility: visible;
  opacity: 1;
}
.card.product-wap a { color: #000;}
#carousel-related-product .slick-slide:focus { outline: none !important;}
#carousel-related-product .slick-dots li button:before {
  font-size: 15px;
  margin-top: 20px;
}
/* Brand */
.brand-img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: .5s;
}
.brand-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
/* Carousel Hero */
#template-mo-zay-hero-carousel .carousel-indicators li {
  margin-top: -50px;
  background-color: #1964b0;
}
#template-mo-zay-hero-carousel .carousel-control-next i,
#template-mo-zay-hero-carousel .carousel-control-prev i {
  color: #1964b0 !important;
  font-size: 2.8em !important;
}
/* Carousel Brand */
.tempaltemo-carousel .h1 {
  font-size: .5em !important;
  color: #000 !important;
}
/* Services */
.services-icon-wap {transition: .3s;}
.services-icon-wap:hover, .services-icon-wap:hover i {color: #fff;}
.services-icon-wap:hover {background: #69bb7e;}
/* Contact map */
.leaflet-control a, .leaflet-control { font-size: 10px !important;}
.form-control { border: 1px solid #e8e8e8;}
/* Footer */
#tempaltemo_footer a { color: #dcdde1;}
#tempaltemo_footer a:hover { color: #68bb7d;}
#tempaltemo_footer ul.footer-link-list li { padding-top: 10px;}
#tempaltemo_footer ul.footer-icons li {
  width: 2.6em;
  height: 2.6em;
  line-height: 2.6em;
}
#tempaltemo_footer ul.footer-icons li:hover {
  background-color: #cfd6e1;
  transition: .5s;
}
#tempaltemo_footer ul.footer-icons li:hover i {
  color: #1964b0;
  transition: .5s;
}
#tempaltemo_footer .border-light { border-color: #2d343f !important;}
/*
// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap
*/
/* Small devices (landscape phones, 576px and up)*/
.product-wap .h3, .product-wap li, .product-wap i, .product-wap p {
  font-size: 12px !important;
}
.product-wap .product-color-dot {
  width: 6px;
  height: 6px;
}

@media (min-width: 576px) {
  .tempaltemo-carousel .h1 { font-size: 1em !important;}
}

/*// Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
  #templatemo_main_nav .navbar-nav {max-width: 450px;}
 }

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
  #templatemo_main_nav .navbar-nav {max-width: 550px;}
  #template-mo-zay-hero-carousel .carousel-item {min-height: 30rem !important;}
  .product-wap .h3, .product-wap li, .product-wap i, .product-wap p {font-size: 18px !important;}
  .product-wap .product-color-dot {
    width: 12px;
    height: 12px;
  }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {}




/*navigation categories on main page*/
/* navigation categories on main page */
.category-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin: 20px 0;
}

@media (min-width: 992px) {
    .category-slider-wrapper {
        padding-left: 50px;
    }
}

.category-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-item {
    text-align: center;
    min-width: 100px;
    transition: transform 0.3s ease;
}

/* Circular image container */
.category-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;

    /* Shadow around the circle */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

/* Image inside the circle */
.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category title */
.category-item p {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 14px;
    color: #333;
}

.category-item a {
    text-decoration: none;
}

.category-item a:hover {
    text-decoration: none;
}

.category-item:hover {
    transform: scale(1.1);
}

/* Arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: transparent;
    color: #1c5ba7;
    border: none;
    outline: none;

    font-size: 34px;
    font-weight: 900;
    cursor: pointer;

    padding: 5px 8px;
    z-index: 2;

    transition: transform 0.15s ease, color 0.2s ease;
}

/* Click */
.slider-btn:active {
    transform: translateY(-50%) scale(0.85);
}

/* Positions */
.left-btn {
    left: 10px;
}

.right-btn {
    right: 10px;
}

/* Hover */
.slider-btn:hover {
    transform: translateY(-50%) scale(1.2);
    color: #144a8f;
}
/* Click */
.slider-btn:active {
    transform: translateY(-50%) scale(0.85);
}

/* Positions */
.left-btn { left: 10px; }
.right-btn { right: 10px; }

/* Hover */
.slider-btn:hover {
    transform: translateY(-50%) scale(1.2);
    color: #144a8f;
}


/* custom 8 per row */
@media (min-width: 1200px) {
    .col-lg-custom {
        width: 12.5%;
    }
}
@media (max-width: 991px) {
    .slider-btn {
        display: none;
    }
}
/* Card */
.product-card {
    text-align: center;
}

/* Image */
.product-img {
    width: 100%;
    border: 3px solid #1c5ba7;
    border-radius: 15px;
    object-fit: cover;
}
/*added to align item card*/
.card-img-top {
    width: 100%;
    height: 220px;        /* fixed height */
    object-fit: cover;    /* crop nicely */
}

/* Description 1 */
.desc1 {
    font-weight: bold;
    color: #000;
    margin-top: 10px;
}
/*added to align card*/
.card-body a.h5 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.2em;
    height: 2.4em;
}

/* Description 2 */
.desc2 {
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}
/*added to align item card*/
.card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    white-space: normal;

    line-height: 1.2em;
    height: 2.4em;   /* 1.2 * 2 lines */
}

/* Prices */
.price {
    margin-top: 5px;
}

/*added to align item card*/
.card-body .row {
    margin-top: auto;   /* pushes price to bottom */
}
/*added to align item card*/
.card-body .text-center {
    margin-top: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.new-price {
    font-weight: bold;
    color: #000;
}

.normal-price {
    font-weight: bold;
    color: #000;
}
/* Mobile default (2 per row) */
.col-lg-custom {
    width: 50%;
}

/* Tablet (4 per row) */
@media (min-width: 768px) {
    .col-lg-custom {
        width: 25%;
    }
}

/* Desktop (6 per row) */
@media (min-width: 992px) {
    .col-lg-custom {
        width: 16.66%;
    }
}

/* Large screens (8 per row) */
@media (min-width: 1200px) {
    .col-lg-custom {
        width: 12.5%;
    }
}

/*add to card button*/
.product-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
}

/* IMAGE WRAPPER */
.product-image-wrapper{
    position:relative;
    border:2px solid #1c5ba7;
    border-radius:12px;
    overflow:hidden;
}

/* IMAGE */
.product-img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
}

/* VIEW BUTTON (LEFT BOTTOM) */
.btn-view{
    position:absolute;
    bottom:10px;
    left:10px;
    background:#000;
    color:#fff;
    padding:6px 12px;
    font-size:13px;
    border-radius:6px;
    text-decoration:none;
}

/* ADD TO CART (RIGHT BOTTOM) */
.btn-cart{
    position:absolute;
    bottom:10px;
    right:10px;
    background:#1c5ba7;
    color:#fff;
    border:none;
    width:38px;
    height:38px;
    border-radius:50%;
    font-size:20px;
    line-height:38px;
    cursor:pointer;
}

/* TEXT */
.product-info{
    padding:10px;
}

.title1{
    font-weight:bold;
    color:#000;
}

.title2{
    font-size:12px !important;
    color:#888;
}

.price{
    margin-top:5px;
}

.old{
    text-decoration:line-through;
    color:#999;
    margin-right:8px;
}

.new{
    font-weight:bold;
    color:#000;
}
.btn-view{
    position:absolute;
    bottom:10px;
    left:10px;
    background:#1c5ba7; /* same blue */
    color:#fff;
    width:38px;
    height:38px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    text-decoration:none;
    transition:0.3s;
}

.btn-view:hover{
    background:#144684; /* same hover as cart */
}
/*styling for random item header in index*/
.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #1c5ba7;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 40%;
  height: 3px;
  background: #1c5ba7;
  margin-top: 5px;
  border-radius: 2px;
}

/*STEAVE SLIDER*/
.ad-banner {
  width: 100%;
  margin-bottom: 15px;
}

/* Full width on small screens */
.ad-slider {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 12px;
  margin-left: 0;
  margin-right: 0;
}

/* Decrease width on larger screens */
@media (min-width: 768px) {
  .ad-slider {
    width: 80%;       /* Decrease to 80% of screen width */
    margin-left: 10%;  /* Add margin on the left */
    margin-right: 10%; /* Add margin on the right */
  }
}

/* Add more responsive breakpoints if needed */
@media (min-width: 1200px) {
  .ad-slider {
    width: 70%;       /* Decrease more on larger screens */
    margin-left: 15%;  /* Adjust left margin */
    margin-right: 15%; /* Adjust right margin */
  }
}

.ad-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s ease-in-out;
}

.ad-slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arrows */
.ad-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  background: transparent;   /* no background */
  color: #1c5ba7;            /* main blue */
  border: none;
  outline: none;             /* remove focus outline */
  
  font-size: 34px;           /* bigger arrow */
  font-weight: 900;          /* bold look */
  cursor: pointer;
  
  padding: 5px 8px;
  z-index: 2;

  transition: transform 0.15s ease, color 0.2s ease;
}

/* Hover effect */
.ad-btn:hover {
  transform: translateY(-50%) scale(1.2);
  color: #144a8f; /* darker blue */
}

/* Click animation (press effect) */
.ad-btn:active {
  transform: translateY(-50%) scale(0.85);
}

/* positions */
.prev { left: 10px; }
.next { right: 10px; }

/* Responsive design */
@media (max-width: 768px) {
  .ad-slider {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .ad-slider {
    height: 130px;
  }
}


/*added to align items in index page------------START*/
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.title1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.2em;
    height: 2.4em;

    font-weight: bold;
}
.title2 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.2em;
    height: 1.2em;

    font-size: 12px;
    color: #888;
}
.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.price {
    margin-top: auto;
}
.product-info {
    padding: 10px;
}
/*added to align items in index page------------FINISH*/

/*SEARCH ENGIN DESIGN - START*/
/* SEARCH DROPDOWN */
.search-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    width: 100%;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    max-height: 250px;
    overflow-y: auto;
}

/* ITEMS */
.search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.2s;
}

.search-item:hover {
    background: #f5f5f5;
}

.search-item img {
    border-radius: 5px;
}


/*SEARCH ENGIN DESIGN - END*/

/*WHATSAPP - START*/
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;              /* 🔥 bigger icon */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none !important;  /* 🔥 remove underline */
}

.whatsapp-float i {
    line-height: 1;
}

/* hover */
.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.1);
    color: #fff;
    text-decoration: none !important;  /* 🔥 ensure no underline on hover */
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 28px; /* slightly smaller but still bigger than before */
        bottom: 15px;
        right: 15px;
    }
}
/*WHATSAPP - END*/


.cart-button {
    position: relative;
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 6px;
    background-color: #1964b0 !important; /* ✅ your color */
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cart-button:hover {
    background-color: #144684;
}

.cart-button:active {
    transform: scale(0.97);
}

/* ICONS */
.cart-button .fa-shopping-cart {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 10%; /* ✅ inside button */
    font-size: 16px;
    transform: translate(-50%, -50%);
}

.cart-button .fa-box {
    position: absolute;
    z-index: 3;
    top: -20%;
    left: 50%;
    font-size: 10px;
    transform: translate(-50%, -50%);
}

/* TEXT */
.cart-button span {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.cart-button span.added {
    opacity: 0;
}

/* ANIMATION */
.cart-button.clicked .fa-shopping-cart {
    animation: cart 1.5s ease-in-out forwards;
}

.cart-button.clicked .fa-box {
    animation: box 1.5s ease-in-out forwards;
}

.cart-button.clicked .add-to-cart {
    animation: txt1 1.5s forwards;
}

.cart-button.clicked .added {
    animation: txt2 1.5s forwards;
}

/* KEYFRAMES (same as yours) */
@keyframes cart {
    0% {
        left: 10%;
        opacity: 1;
    }
    40%, 60% {
        left: 50%;
        opacity: 1;
    }
    100% {
        left: 120%;   /* ✅ go outside */
        opacity: 0;   /* ✅ fade out */
    }
}

@keyframes box {
    0%, 40% {
        top: -20%;
        opacity: 1;
    }
    60% {
        top: 40%;
        left: 50%;
        opacity: 1;
    }
    100% {
        top: 40%;
        left: 120%;  /* ✅ follow cart */
        opacity: 0;  /* ✅ disappear */
    }
}

@keyframes txt1 {
    0% { opacity: 1; }
    20%, 100% { opacity: 0; }
}

@keyframes txt2 {
    0%, 80% { opacity: 0; }
    100% { opacity: 1; }
}

