/*
 * pages/home.css — styles that only apply to the home page (frontend/index.blade.php).
 * Loaded from that view's @section('header'), so it comes after core/* and app.css.
 * Split out of the old template.css; the shared part lives in core/layout.css.
 */

@media screen and (min-width: 768px) {
  .buy-steps-row .step-box:last-child .buy-step-box::after {
  display: none !important;
  }
  
  .more-wnd {
    width: 100%;
  }
  
  .flex-banner {
    align-items: flex-end !important;
  }
  
  .flex-banner a:nth-child(1) {
    flex: 0 0 calc(25% - 10px);
  }
  
  .flex-banner a:nth-child(2) {
    flex: 0 0 calc(25% - 10px);
  }
  
  .flex-banner a:nth-child(3) {
    flex: 0 0 calc(50% - 10px);
  }
  
  .flex-banner-reverse a:nth-child(1) {
    flex: 0 0 calc(50% - 10px);
  }
  
  .flex-banner-reverse a:nth-child(2) {
    flex: 0 0 calc(25% - 10px);
  }
  
  .flex-banner-reverse a:nth-child(3) {
    flex: 0 0 calc(25% - 10px);
  }
  
  .category-section {
    padding-bottom: 4rem;
  }
}

@media screen and (max-width: 767.99px) {
  .p-xs-15{
    padding-left:25px !important;
     padding-right:25px !important;
  }
  
  .col-lef-wnd{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
  }
  
  .buy-steps-row .step-box:nth-child(even) .buy-step-box::after {
  display: none !important;
  }
  
  .d-md-flex.flex-banner.flex-banner-reverse  a:nth-child(1){
   flex: 0 0 100%;
     width: 100%;
  }
  
  .d-md-flex.flex-banner.flex-banner-reverse  a:nth-child(2),
  .d-md-flex.flex-banner.flex-banner-reverse  a:nth-child(3) {
    flex: 0 0 49%;
    width: 49%;
    display: inline-block !important;
  }
  
  .ls-name-pro.mt-5 {
    margin-top: 20px !important;
  }
  
  .category-section .ls-name-pro {
    font-size: 12px;
  }
  
  .p-xs-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .prl-xs-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

.quick-btn {
  position: absolute;
  left: -40px;
  top: 11%;
  z-index: 3;
  border-radius: 3px;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.quick-btn .list-menu {
  width: 35px;
  display: block;
  padding: 0;
  transform: scale(0);
  transition: 0.15s linear;
  margin: 3px 0;
}

.owl-pro .item:hover .quick-btn {
  left: 5px !important;
  z-index: 2;
}

.owl-pro .item:hover .list-menu {
  transform: scale(1) !important;
  transition: 0.15s linear;
}

.icon-add-card {
  background-position: -56px -3px;
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

@media screen and (min-width: 768px) {
  .wnd-section .more-wnd {
    font-size: 15px;
    font-weight: 500;
  }
}

.categori-section {
  background-color: var(--color-white);
  position: relative;
}

.w-img-pro {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  padding: 13px;

}

.main-title-section {
  font-size: 20px;
  color: var(--color-gray-900);
  font-weight: bold;
  text-transform: uppercase;
}

.category-section .ls-img-pro img {
  margin: auto;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  -webkit-transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  transition: all 600ms ease;
}

.category-section.ls-name-pro {
  color: var(--color-blue-850);
  min-height: 40px;
}

.category-section .list-pro .item:hover .ls-img-pro img {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.c-navi-categories__overlay {
  position: fixed;
  right: 0;
  height: 100%;
  width: 100%;
  top: 0;
  bottom: 0;
  content: '';
  background: color-mix(in srgb, var(--color-black) 69%, transparent);
  opacity: 0;
  z-index: 233;
  -webkit-transition: opacity 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.1s;
  transition: opacity 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.1s;
  pointer-events: none;
}

.c-navi-categories__overlay.is-active {
  opacity: 1;
  pointer-events: all !important;
}

.category-section {
  background-color: var(--color-white);
  padding-top: 4rem;
}

.product-section {
  background-color: var(--color-white);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.flex-banner {
  text-align: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.img-logo {
  height: 70px;
  overflow: hidden;
  border-radius: 15px;
  padding: 10px;
  overflow: hidden;

}

.img-logo:hover img {
  opacity: 0.9;
}

.wnd-section {
  background: url("../../images/bg-wnd.png") no-repeat;
  background-position: top center !important;
  background-size: 100%;
}

.wnd-section .more-wnd {
  display: inline-flex;
  color: var(--color-gray-600);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--color-blue-300);
  border-radius: 13px;
  padding: 10px 20px;
  transition: all 0.2s linear;
}

.categori-section::after {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--color-primary);
  height: 50%;
  content: '';
  width: 100%;
}

.categori-section .container {
  position: relative;
  z-index: 1;
}

.title-wnd {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
}

.categori-section .more-wnd {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-blue-500);
  padding: 5px 10px;
  border-radius: 999px;
  justify-content: space-between;
  color: var(--color-white);
  width: fit-content;
  gap: 15px
}

@media screen and (min-width: 768px) {
  .ls-img-pro {
  height: 200px;
  width: 184px;
  
  }
}

@media screen and (max-width: 767px) {
  .ls-img-pro {
  height: 160px;
  width: 144px;
  
  }
}

.buy-steps-section {
  background-color: var(--color-white);
}

.buy-step-box:hover {
  box-shadow: 0 10px 25px color-mix(in srgb, var(--color-primary) 8%, transparent);
  border-color: var(--color-blue-200);
}

.buy-step-box {
  height: 100%;
  border: 1px solid var(--color-gray-600);
  border-radius: 14px;
  padding: 24px 14px 18px;
  text-align: center;
  transition: all 0.2s linear;
  position: relative;
}

.buy-steps-row .buy-step-box::after {
  position: absolute;
  top: 50%;
  left: -24px;
  transform: translateY(-50%);
  width: 44px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: url('../../images/step.png');
  content: '';
}

.logo-section {
  background: var(--color-gray-150) url('../../images/bg-logo.png');
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-size: auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 50px;
  padding-bottom: 65px;
  min-height: 276px;
}

.blog-video-section {
  background-color: var(--color-gray-150);
}

.blog-video-section .main-title-section {
  color: var(--color-primary);
  font-size: 18px;
  text-transform: none;
  font-weight: 600;
}

.blog-list-item:last-child {
  border-bottom: none;
}

.blog-list-thumb {
  width: 188px;
  height: 97px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-list-body {
  flex: 1;
  min-width: 0;
}

.blog-list-body h3 a {
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-list-more {
  font-size: 13px;
  color: var(--color-gray-700);
  font-weight: 600;
  transition: all 0.2s linear;
}

.blog-list-more:hover {
  color: var(--color-warning);
}

.blog-video-section .col-lg-7 {
  display: flex;
  flex-direction: column;
}

.blog-video-section .col-lg-7 .owl-carousel {
  flex: 1;
  display: flex;
}

.video-thumb {
  flex: 1;
  height: 233px;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-white) 90%, transparent);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.shop-badges-section {
  background-color: var(--color-white);
}

.shop-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;

  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.wrapper-box {
  border-top: 1px solid var(--color-gray-450);
  padding-top: 40px !important;
}

.blog-list-item {
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-blue-100);
  align-items: center;
  position: relative;
  transition: all 0.2s linear;
}

.blog-list-item::after {
  background-color: var(--color-gray-250);
  position: absolute;
  right: -18px;
  top: 31px;
  width: 6px;
  height: 60px;
  z-index: 1;
  content: '';
  border-radius: 25px 0 0 25px;
}

.blog-list-item:hover::after {
  background-color: var(--color-blue-900);
}
