/* ==========================================================================
   Merkatomarket - Homepage & Hero Slider Stylesheet
   Cached by browser to reduce HTML document payload
   ========================================================================== */

#discounted_products {
    text-align: left;
    padding: 10px;
    margin: 5px;
    margin-left: 15px;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
}
.product-card {
    width: calc(20% - 20px);
    margin: 10px;
    background-color: #fff;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
}
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}
.paginatio {
    display: flex;
    justify-content: center;
    margin: 20px;
}
.paginatio a {
    display: inline-block;
    margin: 5px;
    padding: 5px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 500;
}
.paginatio a:hover {
    transform: scale(1.1);
    background-color: #009999;
}
.paginatio a.active {
    background-color: #009999;
    color: white;
}
.paginatio a.disabled {
    pointer-events: none;
    opacity: 0.5;
}
@media screen and (max-width: 767px) {
    .product-card {
       width: calc(50% - 20px);
    }
    #you_may_text {
        font-size: 13px;
    }
    .product-card .shop-now-btn {
        float: none;
    }
    .paginatio {
        flex-direction: row;
        align-items: center;
    }
    .paginatio a {
        margin: 10px 0;
        padding: 10px;
    }
}
#shop_btn:hover {
    border: 1px solid #009999;
}
footer {
    background: radial-gradient(circle, #6600cc, orange, pink);
}
#btn_url:hover {
   border: 1px solid white; 
}
#serv_div {
    margin-top: -200px;
}
@media only screen and (max-width: 547px) {
  #sliding_img {
    width: 100%;
    height: 250px;
  }
  #inner_slide {
      height: 250px;
  }
  #serv_div {
      margin-top: -50px;
  }
}
@media only screen and (min-width: 547px) {
  .side_bar {
   height: 520px; 
  }
}
@media only screen and (max-width: 747px) {
  .side_bar {
   height: 250px; 
   margin-bottom: 5px;
  }
}
.side_bar::-webkit-scrollbar-thumb {
    width: 2px;
}
.photo img:hover {
    transform: scale(1.1);
}
body {
    background-color: #f2f2f2;
}
.carousel-control:focus {
  outline: none;
  border: 1px solid #009999;
}
.left.carousel-control,
.right.carousel-control {
  width: 50px;
  height: 80%;
  display: block !important;
  display: flex;
  align-items: center;
  top: 10%;
}
.left.carousel-control {
  justify-content: flex-start;
}
.right.carousel-control {
  justify-content: flex-end;
}
/* pro pro */
@media (min-width: 992px) {
    #pro_pro {
        height: 170px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    #pro_pro {
        height: 150px;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    #pro_pro {
        height: 140px;
    }
}
@media (max-width: 575px) {
    #pro_pro {
        height: 120px;
    }
}
/* f_img */
@media (min-width: 992px) {
    #f_img {
        height: 180px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    #f_img {
        height: 170px;
    }
}
@media (min-width: 576px) and (max-width: 767px) {
    #f_img {
        height: 160px;
    }
}
@media (max-width: 575px) {
    #f_img {
        height: 155px;
    }
}
/* Critical hero slider CSS to avoid initial unstyled flash */
.hs-slider {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: visible;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    display: block;
    box-sizing: border-box;
    z-index: 1;
}
.hs-track {
    position: relative;
    width: 100%;
    height: 460px;
    overflow: hidden;
}
.hs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.hs-slide.hs-active {
    opacity: 1;
    pointer-events: auto;
}
.hs-slide-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
}
.hs-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.08);
}
.hs-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to top,
            #f5f5f5 0%,
            rgba(245,245,245,0.85) 8%,
            rgba(245,245,245,0.1) 15%,
            transparent 18%
        );
}
.hs-content {
    position: absolute;
    bottom: 200px;
    z-index: 5;
    max-width: 420px;
    padding: 0 90px;
}
.hs-pos-left   { left: 0; text-align: left; }
.hs-pos-right  { right: 0; left: auto; text-align: right; }
.hs-pos-center { left: 50%; transform: translateX(-50%); text-align: center; }
.hs-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.22;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.hs-btns {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hs-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #111 !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    line-height: 1.4;
}
.hs-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.28);
    border: 1.5px solid rgba(255,255,255,0.22);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.hs-prev { left: 18px; }
.hs-next { right: 18px; }
.hs-counter {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 10;
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.28);
    backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.14);
    letter-spacing: 0.1em;
}
@media (max-width: 991px) {
    .hs-slider { height: 380px; }
    .hs-track  { height: 380px; }
    .hs-content { max-width: 380px; padding: 0 50px; bottom: 160px; }
    .hs-title { font-size: 1.55rem; }
}
@media (max-width: 767px) {
    .hs-slider { height: 310px; }
    .hs-track  { height: 310px; }
    .hs-content { left: 50% !important; right: auto !important; bottom: auto !important; top: 26% !important; transform: translate(-50%, -50%) !important; text-align: center !important; max-width: 86%; padding: 0 12px; }
    .hs-title { font-size: 1.25rem; margin-bottom: 16px; }
    .hs-btn-main  { font-size: 12px; padding: 9px 16px; }
    .hs-arrow { width: 34px; height: 34px; top: 38%; }
    .hs-prev  { left: 8px; }
    .hs-next  { right: 8px; }
    .hs-counter { font-size: 10px; padding: 3px 8px; top: 8px; right: 8px; }
}
@media (max-width: 480px) {
    .hs-slider { height: 260px; }
    .hs-track  { height: 260px; }
    .hs-title  { font-size: 1.1rem; }
    .hs-content { top: 22% !important; }
    .hs-btn-main { font-size: 12px; padding: 9px 16px; }
}

/* Home Trust Strip */
.home-trust-strip {
    border-top: 1px solid #dcebea;
    border-bottom: 1px solid #dcebea;
    background: linear-gradient(180deg, #f8fcfc 0%, #eef8f7 100%);
    padding: 30px 24px;
}

.home-trust-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-trust-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    min-height: 74px;
    padding: 14px 18px;
    overflow: hidden;
    color: #1e293b;
    text-decoration: none !important;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(0,128,128,.12);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(15, 76, 76, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-trust-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #00b8aa, #008c8c);
}

.home-trust-item:hover {
    border-color: rgba(0,153,153,.32);
    box-shadow: 0 10px 24px rgba(0, 128, 128, .12);
    transform: translateY(-3px);
}

.home-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, #d9f7f3, #bce8e3);
    color: #007b78;
    font-size: 17px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.home-trust-item strong,
.home-trust-item small {
    display: block;
}

.home-trust-item strong {
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
}

.home-trust-item small {
    color: #64748b;
    font-size: 11.5px;
    line-height: 1.35;
}

@media (max-width: 900px) {
    .home-trust-strip { padding: 24px 18px; }
    .home-trust-inner { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 520px) {
    .home-trust-strip { padding: 18px 12px; }
    .home-trust-inner { gap: 10px; }
    .home-trust-item { align-items: flex-start; gap: 9px; min-height: 70px; padding: 12px 10px; }
    .home-trust-icon { flex-basis: 34px; width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
    .home-trust-item strong { margin-bottom: 3px; font-size: 11.5px; }
    .home-trust-item small { font-size: 10px; }
}

