:root {
  --blue: #1677c7;
  --blue-dark: #0e5fa5;
  --blue-soft: #dfeef9;
  --light-bg: #f6f6f6;
  --text: #1f2f3d;
  --muted: #627181;
  --white: #ffffff;
  --border: #d8dde3;
  --shadow: 0 8px 24px rgba(22, 119, 199, 0.12);
  --radius-md: 16px;
  --radius-lg: 20px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}
.container-reduced {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
}

.section-space {
  padding: 18px 0;
}

.section-title {
  margin: 0 0 18px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title--bottom {
  margin-top: 8px;
  margin-bottom: 0;
}

.topbar {
  background: #0075cc;
  color: var(--white);
  font-size: 0.9rem;
  padding: 2px 0;
}

.topbar__content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 26px;
}

.site-header {
  
  top: 0;
  z-index: 1000;
  background: #f4f7fb; 
  position: sticky;
}


.topbar {
  max-height: 60px;
  overflow: hidden;
  transition:
    max-height 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease,
    padding 0.25s ease,
    margin 0.25s ease;
}

.header-main {
  background: #f4f7fb;
  transition: box-shadow 0.25s ease;
}



.header-main__content {
  display: grid;
  grid-template-columns: auto minmax(320px, 520px) auto;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.logo-container {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (min-width: 992px) {
  .site-header.is-scrolled .topbar {
  max-height: 0;
  opacity: 0;
  transform: translateY(-100%);
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
  border: 0;
  }

  .site-header.is-scrolled .header-main {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mobile-menu-toggle__bars,
.mobile-menu-toggle__bars::before,
.mobile-menu-toggle__bars::after {
  content: "";
  display: block;
  width: 22px;
  height: 2.5px;
  background: currentColor;
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}

.mobile-menu-toggle__bars {
  top: 50%;
  transform: translate(-50%, -50%);
}

.mobile-menu-toggle__bars::before {
  top: -7px;
}

.mobile-menu-toggle__bars::after {
  top: 7px;
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__bars {
  background: transparent;
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__bars::before {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-toggle.is-open .mobile-menu-toggle__bars::after {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}

.header-action-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .ally-labs {
    overflow-x: hidden;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    grid-area: menu;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .header-main {
    background: #f4f7fb;
    padding: 10px 10px;
  }

  .header-main__content {
    display: grid;
    grid-template-columns: 40px max-content minmax(0, 1fr) max-content;
    grid-template-areas:
      "menu logo search actions";
    align-items: center;
    gap: 8px;
    padding: 0;
    min-width: 0;
  }
  .search-bar {
    min-width: 0;
  }

  .search-bar input {
    min-width: 0;
  }

  .header-actions {
    min-width: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-area: menu;
  }

  .brand {
    grid-area: logo;
    justify-content: flex-start;
  }

  .brand img {
    max-height: 54px;
    width: auto;
  }

  .search-bar {
    grid-area: search;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    gap: 6px;
  }

  .search-bar input {
    min-width: 0;
    padding: 10px 14px;
    font-size: 0.9rem;
    height: 42px;
  }

  .search-bar button {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 12px;
  }

  .header-actions a {
    font-size: 1.25rem;
  }

  .main-nav {
    display: none;
  }
}

.mobile-nav-panel {
  display: none;
}

@media (max-width: 768px) {
  .mobile-nav-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f4f7fb;
    border-top: 1px solid #dfe6ef;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    z-index: 1200;
  }

  .mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 12px 0 18px;
    display: grid;
    gap: 10px;
  }

  .mobile-nav-list li {
    list-style: none;
    padding: 0 15px;
  }

  .mobile-nav-list > li > a {
    display: block;
    padding: 12px 0;
    font-weight: 700;
    color: #17324d;
    border-bottom: 1px solid #e3ebf2;
  }

  .mobile-nav-section {
    padding-top: 6px;
  }

  .mobile-nav-section__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: transparent;
    padding: 12px 0;
    font-weight: 800;
    font-size: 0.95rem;
    color: #17324d;
    border-bottom: 1px solid #e3ebf2;
    cursor: pointer;
  }

  .mobile-nav-search {
  margin: 12px 0 10px;
}

.mobile-nav-search input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d6e2ec;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.92rem;
  outline: none;
  background: #fff;
}

.mobile-nav-search input:focus {
  border-color: #1f6fb2;
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.12);
}

.mobile-nav-labs {
  display: grid;
  gap: 0;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.mobile-nav-labs a {
  display: block;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: #2f3a45;
  font-size: 0.92rem;
  transition: background 0.18s ease, color 0.18s ease;
  background: transparent;
  border: 0;
}

.mobile-nav-labs a:hover,
.mobile-nav-labs a:focus {
  background: #f4f8fb;
  color: #17324d;
}
}



.brand {
  display:flex; 
  justify-content: center;
}

.brand img {
  max-height: 54px;
  object-fit: contain;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 700px;
  justify-self: center;
}

.search-bar input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 12px 18px;
  background: transparent;
  border: 2px solid var(--blue);
  border-radius: 999px;
}

.search-bar button {
  width: 54px;
  height: 48px;
  border: 0;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  border-radius: 999px;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-self: center;
  
}

.header-actions a {
  position: relative;
  font-size: 1.4rem;
  color: var(--blue);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ff4d4d;
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.main-nav {
  background: rgba(203, 225, 243, 1);
  
  border-bottom: 1px solid #dfe6ef;
  box-shadow: 0px 7px 6px -6px rgba(0, 0, 0, 0.2);
}


.nav-menu {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-left: 80px;
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.nav-divider {
  width: 2px;
  height: 15px;
  background: #eef5f8;
}




.nav-hover-line {
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 3.5px;
  width: 0;
  border-radius: 999px;
  background:  #1677c7;
  opacity: 0;
  transform: translateX(0);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease;
  pointer-events: none;
}

@media (max-width: 768px) {
  .nav-hover-line {
    display: none;
  }
}

.nav-menu > li > a,
.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  color: #111;
  text-decoration: none;
  cursor: pointer;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  /*top: calc(100% + 6px);*/
  left: 0;
  min-width: 220px;
  background: #0075cc;
  /*border-radius: 14px;*/
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  
  z-index: 1000;
}



.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.labs-dropdown {
  position: relative;
}

.dropdown-menu--labs {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  max-width: 320px;
  background: #fff;
  border: 1px solid #e5edf5;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  z-index: 1100;
  padding: 12px;
}

.labs-dropdown .dropdown-menu--labs {
  display: block;
}
[x-cloak] {
  display: none !important;
}

.dropdown-menu__search {
  margin-bottom: 10px;
}

.dropdown-menu__search-input {
  width: 100%;
  min-height: 38px;
  border: 1px solid #d6e2ec;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 0.92rem;
  outline: none;
  background: #fff;
}

.dropdown-menu__search-input:focus {
  border-color: #1f6fb2;
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.12);
}

.dropdown-menu__list {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.dropdown-menu__list li {
  list-style: none;
}

.dropdown-menu__list li a {
  display: block;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: #2f3a45;
  font-size: 0.92rem;
  transition: background 0.18s ease;
}

.dropdown-menu__list li a:hover {
  background: #f4f8fb;
}

.main-nav a {
  color: #000000;
  font-weight: 500;
}



.hero {
  width: 100%;
  padding-bottom: 18px;
}

.hero__slides {
  width: 100%;
}

.hero__slide {
  position: relative;
  
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__background {
  width: 100%;
}

.hero__background img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.hero__logo-wrap img {
  max-width: 420px;
}

.hero__products {
  display: flex;
  justify-content: flex-end;
}

.hero__products img {
  max-width: 560px;
}

.hero__arrow {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  z-index: 3;

  width: clamp(32px, 4vw, 48px);
  height: clamp(32px, 4vw, 48px);

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.9);
  color: var(--blue);
}

.hero__arrow--left {
  left: clamp(6px, 1.5vw, 16px);
}

.hero__arrow--right {
  right: clamp(6px, 1.5vw, 16px);
}



.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
  width: 95%;
  margin: 0 auto;
}


.category-card {
  text-align: center;
  transition: transform 0.2s ease;
}
.category-card:hover {
  transform: translateY(-4px);
}

.category-card__icon {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #cce3f5;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  padding: 5px;
}

.category-card__icon img {
  width: 70%;
  height: 100%;
  object-fit: contain;
}

.category-card__label {
  font-size: 0.9rem;
  line-height: 1.15;
  font-weight: 500;
  color: #4b5a69;
}

.featured-and-steps {
  padding-bottom: 16px;
  width: 95%;
  margin: 0 auto;
}

.featured-and-steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
  align-items: stretch;
}

.featured-and-steps__grid > * {
  min-width: 0;
}

.card-panel,
.steps-card {
  background: #eef5fb;
  border-radius: var(--radius-lg);
}

.card-panel {
  box-shadow: 5px 5px 12px -5px rgba(0, 0, 0, 0.5);
  border: 1.5px solid #0075cc;
  background: #ffffff;
}

.featured-products {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 2px solid #2a80c9;
  border-radius: 26px;
  padding: 22px 28px 26px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.featured-products__head {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  
  margin-bottom: 18px;
  
}

.featured-products__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.featured-products__title-wrap h2,
.steps-card h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.18;
  font-weight: 800;
  text-transform: uppercase;
  color: #17324d;
}

.discount-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #ff4d4d;
  color: var(--white);
  display: grid;
  place-items: center;
}

.countdown {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background-color: #e6f2fa;
  padding: 6px 18px;
  border-radius: 999px;
}

.countdown div {
  text-align: center;
  min-width: 48px;
}

.countdown strong {
  display: inline-block;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  animation: countdownPulse 1.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.countdown div:nth-child(1) strong {
  animation-delay: 0s;
}

.countdown div:nth-child(2) strong {
  animation-delay: .18s;
}

.countdown div:nth-child(3) strong {
  animation-delay: .36s;
}

.countdown span {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

@keyframes countdownPulse {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.1);
  }

  60% {
    transform: scale(.97);
  }

  100% {
    transform: scale(1);
  }
}

.monthly-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
}

.monthly-carousel__viewport {
  width: 100%;
  overflow: hidden;
  
  touch-action: pan-y;
}

.products-grid--monthly-carousel {
  position: relative;
  
  width: 100%;
  height: clamp(390px, 34vw, 500px);
  min-height: 390px;
  overflow: visible;
}

.products-grid--monthly-carousel .product-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(210px, 23vw, 260px);
  max-width: clamp(210px, 23vw, 260px);
  margin: 0;
  opacity: 0;
  filter: blur(2.2px);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%) scale(.78);
  transition:
    transform .42s cubic-bezier(.22, 1, .36, 1),
    opacity .3s ease,
    filter .3s ease,
    box-shadow .3s ease;
}

.products-grid--monthly-carousel .product-card.is-monthly-active {
  opacity: 1;
  filter: blur(0);
  pointer-events: auto;
  z-index: 5;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
}

.products-grid--monthly-carousel .product-card.is-monthly-prev {
  opacity: .42;
  filter: blur(1.3px);
  pointer-events: none;
  z-index: 3;
  transform: translate(calc(-50% - min(20vw, 360px)), -50%) scale(.86);
}

.products-grid--monthly-carousel .product-card.is-monthly-next {
  opacity: .42;
  filter: blur(1.3px);
  pointer-events: none;
  z-index: 3;
  transform: translate(calc(-50% + min(20vw, 360px)), -50%) scale(.86);
}

.products-grid--monthly-carousel .product-card.is-monthly-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%) scale(.74);
}

.products-grid--monthly-carousel .product-card:not(.is-monthly-active) .cart-inline-control,
.products-grid--monthly-carousel .product-card:not(.is-monthly-active) .product-card__cart-form {
  display: none !important;
}

.products-grid--monthly-carousel .product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-grid--monthly-carousel .product-card__image img {
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.monthly-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(22, 119, 199, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .48);
  color: var(--blue);
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(22, 119, 199, .18);
  transition:
    transform .18s ease,
    background .18s ease,
    color .18s ease,
    opacity .18s ease;
}

.monthly-carousel__arrow:hover {
  background: rgba(22, 119, 199, .16);
  color: var(--blue-dark);
  transform: translateY(-50%) scale(1.06);
}

.monthly-carousel__arrow--prev {
  left: 18px;
}

.monthly-carousel__arrow--next {
  right: 18px;
}

.monthly-carousel__arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.steps-card {
  width: 100%;
  min-width: 0;
  align-self: stretch;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  
}

.steps-card h2 {
  margin-bottom: 24px;
}



@media (max-width: 1100px) {
  .featured-and-steps__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .featured-products {
    padding: 22px 20px 26px;
  }

  .monthly-carousel__viewport {
    padding: 22px 58px 28px;
  }

  .products-grid--monthly-carousel .product-card {
    flex-basis: clamp(205px, 30vw, 245px);
    max-width: clamp(205px, 30vw, 245px);
  }
}

@media (max-width: 900px) {
  .featured-and-steps {
    overflow: hidden;
  }

  .featured-and-steps__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .featured-products {
    padding: 22px 14px 24px;
    border-radius: 22px;
  }

  .featured-products__title-wrap {
    width: 100%;
  }

  .featured-products__title-wrap h2 {
    font-size: clamp(1.15rem, 6vw, 1.65rem);
    white-space: normal;
  }

  .countdown {
    align-self: center;
    max-width: 100%;
    padding: 8px 18px;
    gap: 18px;
  }

  .countdown div {
    min-width: 42px;
  }

  .countdown strong {
    font-size: 1rem;
  }

  .countdown span {
    font-size: .78rem;
  }

  .monthly-carousel__viewport {
    padding: 18px 42px 24px;
  }

  .products-grid--monthly-carousel {
    gap: 16px;
  }

  .products-grid--monthly-carousel .product-card {
    flex: 0 0 min(72vw, 230px);
    max-width: min(72vw, 230px);
  }

  .monthly-carousel__arrow {
    width: 38px;
    height: 38px;
  }

  .monthly-carousel__arrow--prev {
    left: 2px;
  }

  .monthly-carousel__arrow--next {
    right: 2px;
  }

  .steps-card {
    position: static;
    transform: none;
    margin: 0;
    padding: 24px 22px;
    border-radius: 22px;
    justify-content: center;
  }

  .steps-card h2 {
    font-size: clamp(1.25rem, 6vw, 1.8rem);
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .steps-card ol {
    gap: 18px;
  }

  .steps-card li {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .monthly-carousel__viewport {
    padding: 18px 18px 24px;
    cursor: grab;
  }

  .monthly-carousel.is-swiping .monthly-carousel__viewport {
    cursor: grabbing;
  }

  

  .monthly-carousel__arrow {
    display: none;
  }

  .products-grid--monthly-carousel .product-card.is-monthly-prev {
    transform: translate(calc(-50% - min(32vw, 360px)), -50%) scale(.86);
  }

  .products-grid--monthly-carousel .product-card.is-monthly-next {
    
    transform: translate(calc(-50% + min(32vw, 360px)), -50%) scale(.86);
  }

  
}

@media (max-width: 520px) {

  .products-grid--monthly-carousel .product-card.is-monthly-prev,
  .products-grid--monthly-carousel .product-card.is-monthly-next {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .products-grid--monthly-carousel .product-card.is-monthly-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }
  
  .featured-and-steps .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .featured-products {
    padding: 20px 10px 22px;
  }

  .featured-products__head {
    align-items: center;
    text-align: center;
  }

  .featured-products__title-wrap {
    justify-content: center;
  }

  .featured-products__title-wrap h2 {
    max-width: 240px;
    text-align: left;
  }

  .countdown {
    padding: 7px 14px;
    gap: 14px;
  }

  .countdown div {
    min-width: 38px;
  }

  .countdown strong {
    font-size: .95rem;
  }

  .countdown span {
    font-size: .76rem;
  }

  .steps-card {
    padding: 22px 18px;
  }

  .steps-card ol {
    gap: 16px;
  }

  .steps-card li {
    grid-template-columns: 46px 1fr;
    gap: 12px;
    font-size: .95rem;
  }
}





.product-card {
  background: #fff;
  border: 1.5px solid #d8d8d8;
  border-radius: 24px;
  padding: 18px 18px 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.product-card__image {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  max-width: 100%;
  max-height: 130px;
  object-fit: contain;
  display: block;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.product-card__title {
  margin: 0 0 5px;
  font-size: 0.8rem;
  line-height: 1.15;
  font-weight: 700;
  color: #121212;
}

.product-card__title-wrap {
  min-height: 72px;
  display: flex;
  align-items: flex-end;
}

.product-card__brand {
  margin: 0 0 12px;
  font-size: 0.95rem;
  color: #2b2b2b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-card__status.is-available {
  background: #18c764;
  color: #fff;
}

.product-card__status.is-unavailable {
  background: #e74c3c;
  color: #fff;
}

.product-card__price {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.product-card__button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2f2f2f;
  color: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.95rem;
  line-height: 1;
}

.steps-card {
  padding: 22px 22px 16px;
}

.steps-card ol {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: orderSteps;
}

.steps-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #4c6070;
  counter-increment: orderSteps;
}

.steps-card li::before {
  content: counter(orderSteps);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--white);
}

/*LABORATORIOS ALIADOS*/
.labs-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.lab-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.lab-card:hover {
  transform: translateY(-4px);
}

.lab-card__logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #dceefb;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  padding: 14px;
}

.lab-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lab-card__name {
  font-size: 0.88rem;
  color: #556575;
}
.labs-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.labs-marquee__track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  will-change: transform;
}

@media (min-width: 769px) {
  .labs-marquee__track {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 100%;
    gap: 14px;
    transform: none !important;
  }

  .labs-marquee__track .lab-card:nth-child(n + 9) {
    display: none;
  }
}

@media (max-width: 768px) {
  .labs-marquee {
    width: auto;
    margin-left: -10px;
    margin-right: -10px;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
  }

  .labs-marquee.is-dragging {
    cursor: grabbing;
  }

  .labs-marquee__track {
    display: flex;
    gap: 14px;
    padding: 4px 10px 10px;
    width: max-content;
  }

  .labs-marquee .lab-card {
    min-width: 120px;
    width: 120px;
    flex: 0 0 120px;
    user-select: none;
    -webkit-user-drag: none;
  }

  .labs-marquee .lab-card img {
    pointer-events: none;
  }
}


/*LABORATORIOS ALIADOS -- HASTA AQUI*/

.section-divider-top {
  border-top: 1px solid #d3d9e0;
}

.section-divider-bottom {
  border-bottom: 1px solid #d3d9e0;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 8px;
}

.catalog-card {
  background: var(--white);
  min-height: 170px;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid #dee5eb;
}

.catalog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-section {
  padding: 28px 0 40px;
}

.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  width: 95%;
  margin: 0 auto;
}

.catalog-products-grid .product-card {
  min-height: 420px; /* mantiene altura consistente */
}

.catalog-search-bar input {
  width: 100%;
  max-width: 520px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.75rem;
  margin-bottom: 24px;
}

.catalog-footer .btn-view-more {
  background-color: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.catalog-footer .btn-view-more:hover {
  background-color: var(--blue-dark);
}
.search-results-header{
  background-color: #e5f0fa;
  padding: 20px 0;
}
.search-results-title {
  margin: 0;
  font-size: 1.7rem;
  color: #154a79;
  margin-left: 44px;
}

.search-results-title i {
  margin-right: 8px;
  color: var(--blue);
}

.search-results-title span {
  color: #4f89b8;
  font-weight: 500;
}

.search-results-count {
  margin: 4px 0 0;
  font-size: 1.2rem;
  color: #4d5d6c;
  margin-left: 44px;
}

.search-results-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  justify-content: end;
  margin-right: 5%;
}

.search-results-filter label {
  font-size: 1.2rem;
  color: #6c6c6c;
  font-weight: 500;
}

.search-results-filter select {
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  padding: 6px 14px;
  outline: none;
  min-width: 150px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.search-results-divider {
  border-top: 1px solid #d8d8d8;
  margin: 18px 0 22px;
}

.cart-page {
  background: #fff;
}

.cart-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  min-height: 600px;
}

.cart-summary {
  padding: 22px 28px 30px;
  background: #fff;
}

.cart-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 10px;
}

.cart-summary__header h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #3a3a3a;
}

.cart-summary__header p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #4a4a4a;
}

.cart-summary__header p span {
  color: var(--blue);
}

.cart-items {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 14px 18px;
}

.cart-item__image {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}

.cart-item__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item__info h3 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1f1f1f;
}

.cart-item__info p {
  margin: 0 0 6px;
  font-size: 0.72rem;
  color: #2b2b2b;
  text-transform: uppercase;
}

.cart-item__info strong {
  font-size: 0.85rem;
  color: #111;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #7e7e7e;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-value {
  min-width: 32px;
  height: 30px;
  border-radius: 8px;
  background: #d8ecfb;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.cart-item__total {
  min-width: 140px;
  text-align: left;
}

.cart-item__total span {
  display: block;
  /*font-size: 0.72rem;*/
  font-weight: 700;
  color: #6a6a6a;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cart-item__total strong {
  font-size: 0.84rem;
  color: #111;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: #ff4d4d;
  font-size: 1.4rem;
  cursor: pointer;
}

.cart-summary__footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.clear-cart-btn {
  border: 1px solid #e4c9c9;
  background: #f7eaea;
  color: #7a7a7a;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.clear-cart-btn i {
  color: #ff4d4d;
  font-size: 1.2rem;
}

.cart-grand-total {
  text-align: right;
}

.cart-grand-total h2 {
  margin: 0;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: #444;
}

.cart-grand-total__subtotal,.cart-grand-total__discount {
  margin: 0;
  font-size: 1rem;
  color: #666;
}

.cart-grand-total__amount {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
}

.cart-client {
  background: #dfeef9;
  padding: 22px 24px 30px;
}

.cart-client h2 {
  margin: 0 0 18px;
  font-size: 1.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #3a3a3a;
  border-bottom: 1px solid #c7d9e7;
  padding-bottom: 12px;
}

.cart-client__form {
  display: grid;
  gap: 16px;
}

.cart-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #6d6d6d;
}

.cart-field input,
.cart-field select {
  width: 100%;
  border: 0;
  border-radius: 999px;
  height: 38px;
  padding: 0 14px;
  outline: none;
  background: #fff;
}

.cart-field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-btn {
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  height: 38px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.cart-empty {
  padding: 40px 0;
  text-align: center;
}

.cart-empty p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: #5d5d5d;
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f4f8fb;
  padding: 20px;
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.admin-login-card h1 {
  margin: 0 0 18px;
  font-size: 1.6rem;
  color: #2f2f2f;
  text-transform: uppercase;
}

.admin-login-form {
  display: grid;
  gap: 16px;
}

@media (max-width: 1200px) {
  .cart-page__grid {
    grid-template-columns: 1fr;
  }

  .cart-client {
    border-top: 1px solid #cfdce7;
  }
}

@media (max-width: 900px) {
  .cart-item {
    grid-template-columns: 1fr;
    border-radius: 24px;
    text-align: center;
  }

  .cart-item__image,
  .cart-item__qty,
  .cart-item__total,
  .cart-item__remove {
    justify-self: center;
  }

  .cart-summary__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cart-grand-total {
    text-align: left;
  }

  .cart-field--row {
    grid-template-columns: 1fr;
  }
}

.cart-alert {
  margin: 18px 28px 0;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.cart-alert ul {
  margin: 0;
  padding-left: 18px;
}

.cart-alert--error {
  background: #fdeaea;
  color: #a12626;
  border: 1px solid #f3c2c2;
}

.cart-alert--success {
  background: #e9f8ef;
  color: #1f7a3d;
  border: 1px solid #bfe5ca;
}

.cart-inline-control {
  margin-top: auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.product-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2f2f2f;
  border-radius: 12px;
  padding: 6px 10px;
}

.product-qty-control__btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #2f2f2f;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.product-qty-control__value {
  min-width: 24px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-inline-control {
  margin-top: auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.product-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2f2f2f;
  border-radius: 12px;
  padding: 6px 10px;
}

.product-qty-control__btn {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #2f2f2f;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.product-qty-control__value {
  min-width: 24px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.admin-page {
  padding: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.admin-page__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-page__title {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1.1;
  color: #22313f;
}

.admin-page__subtitle {
  margin: 0;
  max-width: 680px;
  color: #667685;
  font-size: 0.98rem;
  line-height: 1.5;
}

.admin-card {
  background: #ffffff;
  border: 1px solid #e5edf5;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(22, 52, 84, 0.08);
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-form__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-form__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #314252;
}

.admin-upload-box {
  border: 2px dashed #b8d3ea;
  background: #f8fbfe;
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
}

.admin-form__input-file {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #425466;
}

.admin-upload-box__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #23415f;
}

.admin-upload-box__text {
  margin: 0;
  font-size: 0.92rem;
  color: #6e7d8c;
  line-height: 1.5;
}

.admin-form__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.admin-btn--primary {
  background: #1f6fb2;
  color: #fff;
}

.admin-btn--primary:hover {
  background: #17598f;
}

.admin-btn--secondary {
  background: #eef4f8;
  color: #314252;
}

.admin-btn--secondary:hover {
  background: #dde8f0;
}

.admin-btn--ghost {
  background: transparent;
  color: #1f6fb2;
  border: 1px solid #c9dceb;
}

.admin-btn--ghost:hover {
  background: #f4f9fd;
}

.admin-alert {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.admin-alert__list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.admin-alert--success {
  background: #e9f8ef;
  color: #1f7a3d;
  border: 1px solid #bfe5ca;
}

.admin-alert--warning {
  background: #fff7e8;
  color: #8a5b00;
  border: 1px solid #f0d9a7;
}

.admin-alert--error {
  background: #fdeaea;
  color: #a12626;
  border: 1px solid #f3c2c2;
}

@media (max-width: 768px) {
  .admin-page {
    padding: 18px;
  }

  .admin-page__header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-page__title {
    font-size: 1.6rem;
  }

  .admin-card {
    padding: 18px;
  }

  .admin-form__actions {
    flex-direction: column;
  }

  .admin-btn {
    width: 100%;
  }
}

.admin-form__input-text {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d6e2ec;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 1rem;
  color: #314252;
  background: #fff;
  outline: none;
}

.admin-form__input-text:focus {
  border-color: #1f6fb2;
  box-shadow: 0 0 0 3px rgba(31, 111, 178, 0.12);
}

.admin-rate-info {
  padding: 16px 18px;
  border-radius: 14px;
  background: #f7fafc;
  border: 1px solid #e2ebf3;
  color: #425466;
  line-height: 1.6;
}

.admin-rate-info p {
  margin: 0 0 6px;
}

.admin-rate-info p:last-child {
  margin-bottom: 0;
}

.stock-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  max-width: 320px;
  background: #1f2937;
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  font-size: 0.95rem;
  line-height: 1.4;
}

.cart-field__textarea {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 12px 14px;
  outline: none;
  background: #fff;
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}

.product-card__controlled {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-card__controlled-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: purple;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
  cursor: help;
}

.product-card__controlled-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-width: 220px;
  background: purple;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: 0.18s ease;
  pointer-events: none;
}

.product-card__controlled:hover .product-card__controlled-tooltip,
.product-card__controlled:focus-within .product-card__controlled-tooltip,
.product-card__controlled:focus .product-card__controlled-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cart-item__controlled {
  font-weight: 700;
}

/* ADMIN BANNERS*/
.admin-banner-list {
  display: grid;
  gap: 16px;
}

.admin-banner-item {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e5edf5;
  border-radius: 18px;
  background: #fff;
}

.admin-banner-item__image img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.admin-banner-item__info h3 {
  margin: 0 0 8px;
}

.admin-banner-item__info p {
  margin: 0 0 6px;
  color: #5c6b78;
}

.admin-banner-item__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-btn--danger {
  background: #c62828;
  color: #fff;
}

.admin-btn--danger:hover {
  background: #a61f1f;
}

@media (max-width: 768px) {
  .admin-banner-item {
    grid-template-columns: 1fr;
  }

  .admin-banner-item__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
/* HASTA AQUI ADMIN BANNERS*/

/* CSS CARRUSEL */
.hero-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 25.6 / 7;
  border-radius: 0;
  margin-bottom:  18px;
}

.hero-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.hero-carousel__slide {
  min-width: 100%;
  flex: 0 0 100%;
  height: 100%;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  
}

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-carousel__arrow--prev {
  left: 16px;
}

.hero-carousel__arrow--next {
  right: 16px;
}

.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-carousel__dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.hero-carousel__dot.is-active {
  background: #fff;
}

@media (max-width: 768px) {
  .hero-carousel__arrow {
    width: 36px;
    height: 36px;
  }
}
/* CSS CARRUSEL */

/* CSS BANNER LABORATORIOS*/
.lab-hero {
  background: #0075cc;
  padding: 18px 0 16px;
  margin-bottom: 18px;
}

.lab-hero__banner {
  width: min(100%, 760px);
  margin: 0 auto;
  background: #f4f7fb;
  border-radius: 999px;
  padding: 18px 26px;
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr minmax(120px, 180px);
  align-items: center;
  gap: 24px;
}

.lab-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-hero__logo img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

.lab-hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.lab-hero__line {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(22,119,199,0.15) 0%, #1677c7 50%, rgba(22,119,199,0.15) 100%);
}

.lab-hero__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1677c7;
  box-shadow: 0 0 0 4px rgba(22, 119, 199, 0.16);
  flex-shrink: 0;
}

.lab-hero__title-wrap {
  padding-top: 14px;
}

@media (max-width: 768px) {
  .lab-hero__banner {
    grid-template-columns: minmax(58px, 58px) 1fr minmax(58px, 58px);
    border-radius: 28px;
    padding: 18px 20px;
    gap: 16px;
  }
  .lab-hero{
    padding: 18px 26px;
  }

  .lab-hero__divider {
    gap: 10px;
  }

  .lab-hero__logo img {
    max-height: 50px;
  }
}
/* CSS BANNER LABORATORIOS*/

/*banner delivery*/

.delivery-strip {
  width: 95%;
  padding: 18px 0;
  margin: 0 auto;
}

.delivery-strip__content {
  position: relative;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr);
  align-items: center;
  gap: 18px;
  padding: 14px 26px;
  border-radius: 18px;
  background: #0878c9;
  color: #fff;
  overflow: visible;
  box-shadow: 0 10px 22px rgba(0, 117, 204, 0.18);
  
}

.delivery-strip__left {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.delivery-strip__left span {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  color: #fff;
  overflow: visible;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  letter-spacing: 0.1em;
}

.delivery-strip__image {
  position: relative;
  width: 96px;
  height: 70px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 4px;
  margin-bottom: -18px;
  z-index: 2;
}

.delivery-strip__image img {
  width: 120px;
  max-width: none;
  height: auto;
  object-fit: contain;
  display: block;
}

.delivery-strip__right {
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: center;
  text-transform: uppercase;
}

.delivery-strip__right strong {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  line-height: 1.05;
  font-weight: 900;
  white-space: nowrap;
}

.delivery-strip__right span {
  display: block;
  font-size: clamp(0.95rem, 1.8vw, 1.35rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .delivery-strip {
    padding: 14px 0;
  }

  .delivery-strip .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .delivery-strip__content {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1.15fr);
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
  }

  .delivery-strip__left span {
    font-size: clamp(1.05rem, 5vw, 1.45rem);
  }

  .delivery-strip__image {
    width: 70px;
    height: 58px;
    margin-top: -18px;
    margin-bottom: -14px;
  }

  .delivery-strip__image img {
    width: 92px;
  }

  .delivery-strip__right strong {
    font-size: clamp(0.78rem, 3.4vw, 1rem);
  }

  .delivery-strip__right span {
    font-size: clamp(0.72rem, 3.2vw, 0.95rem);
  }
}

@media (max-width: 520px) {
  .delivery-strip {
    padding: 14px 0 10px;
    overflow: visible;
  }

  .delivery-strip .container {
    width: calc(100% - 24px);
  }

  .delivery-strip__content {
    min-height: 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1.05fr);
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 14px;
    overflow: visible;
  }

  .delivery-strip__left {
    min-width: 0;
    justify-content: flex-start;
    z-index: 2;
  }

  .delivery-strip__left span {
    font-size: clamp(0.82rem, 4.8vw, 1.15rem);
    line-height: 1;
    font-weight: 900;
    white-space: normal;
    letter-spacing: 0;
  }

  .delivery-strip__image {
    position: relative;
    z-index: 3;
    width: 64px;
    height: 46px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .delivery-strip__image img {
    width: 82px;
    max-width: none;
    height: auto;
    display: block;
    object-fit: contain;
  }

  .delivery-strip__right {
    min-width: 0;
    display: grid;
    gap: 1px;
    text-align: left;
    line-height: 1;
    z-index: 4;
    padding-left: 2px;
  }

  .delivery-strip__right strong {
    font-size: clamp(0.52rem, 2.7vw, 0.76rem);
    line-height: 1.05;
    font-weight: 900;
    white-space: normal;
  }

  .delivery-strip__right span {
    font-size: clamp(0.42rem, 2.15vw, 0.58rem);
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
    opacity: 0.92;
  }
}

@media (min-width: 521px) and (max-width: 900px) {
  .delivery-strip {
    padding: 12px 0;
  }

  .delivery-strip .container {
    width: calc(100% - 32px);
  }

  .delivery-strip__content {
    min-height: 62px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1.15fr);
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 16px;
    overflow: visible;
  }

  .delivery-strip__left {
    min-width: 0;
    justify-content: center;
  }

  .delivery-strip__left span {
    font-size: clamp(1.15rem, 3.7vw, 1.75rem);
    line-height: 1;
    font-weight: 900;
    white-space: normal;
    letter-spacing: 0;
  }

  .delivery-strip__image {
    width: 82px;
    height: 58px;
    margin: -12px 0 -10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .delivery-strip__image img {
    width: 82px;
    max-width: none;
    height: auto;
    object-fit: contain;
  }

  .delivery-strip__right {
    min-width: 0;
    display: grid;
    gap: 1px;
    text-align: left;
    line-height: 1;
  }

  .delivery-strip__right strong {
    font-size: clamp(0.72rem, 2.25vw, 1.05rem);
    line-height: 1.05;
    white-space: normal;
  }

  .delivery-strip__right span {
    font-size: clamp(0.68rem, 2vw, 0.95rem);
    line-height: 1.05;
    white-space: normal;
  }
}

/*banner delivery*/


/*monthly products css*/

.admin-monthly-list {
  display: grid;
  gap: 14px;
}

.admin-monthly-item {
  display: grid;
  grid-template-columns: 34px 76px minmax(0, 1fr) 90px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e5edf5;
  border-radius: 16px;
  background: #fff;
}

.admin-monthly-item__check {
  display: grid;
  place-items: center;
  cursor: pointer;
}

.admin-monthly-item__check input {
  display: none;
}

.admin-monthly-item__check span {
  width: 24px;
  height: 24px;
  border: 2px solid #b8d3ea;
  border-radius: 8px;
  display: block;
  position: relative;
  background: #fff;
}

.admin-monthly-item__check input:checked + span {
  background: var(--blue);
  border-color: var(--blue);
}

.admin-monthly-item__check input:checked + span::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
}

.admin-monthly-item__image {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  border: 1px solid #eef2f6;
  display: grid;
  place-items: center;
  background: #f8fbfe;
  padding: 8px;
}

.admin-monthly-item__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-monthly-item__info {
  min-width: 0;
}

.admin-monthly-item__info h3 {
  margin: 0 0 6px;
  font-size: .96rem;
  color: #22313f;
}

.admin-monthly-item__info p {
  margin: 0 0 5px;
  color: #607080;
  font-size: .86rem;
}

.admin-monthly-item__info small {
  color: #7b8794;
  font-size: .78rem;
}

.admin-monthly-item__order {
  display: grid;
  gap: 6px;
}

.admin-monthly-item__order label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #667685;
}

.admin-monthly-item__order input {
  width: 100%;
  height: 38px;
  border: 1px solid #d6e2ec;
  border-radius: 10px;
  padding: 0 10px;
  outline: none;
}

.admin-monthly-item__order input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 119, 199, .12);
}

@media (max-width: 768px) {
  .admin-monthly-item {
    grid-template-columns: 34px 64px minmax(0, 1fr);
  }

  .admin-monthly-item__order {
    grid-column: 1 / -1;
  }
}

.admin-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.admin-section-title {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: #22313f;
  text-transform: uppercase;
}

.admin-divider {
  border: 0;
  border-top: 1px solid #e5edf5;
  margin: 24px 0;
}

.admin-empty-text {
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  background: #f7fafc;
  color: #667685;
}

.admin-monthly-item--selected {
  border-color: rgba(22, 119, 199, .35);
  background: #f8fbfe;
}

.admin-monthly-actions {
  margin-top: 22px;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .admin-search-row {
    grid-template-columns: 1fr;
  }

  .admin-monthly-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.products-grid--monthly-carousel .product-card:not(.is-monthly-active) .cart-inline-control {
  display: none !important;
}

/*monthly products css*/

/* Responsive */
@media (max-width: 1180px) {
  .catalog-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog-products-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: var(--blue);
  margin-top: 120px;
}

.search-footer__content{
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  flex-direction: column;
  padding: 28px 0;
}
.search-footer__content p{
  color: #fff;
}

@media (max-width: 1180px) {
  .categories-grid,
  .labs-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero__content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 70px 0;
  }

  .hero__products {
    justify-content: center;
  }
}



@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }
  .container-reduced {
    width: min(calc(100% - 24px), var(--container));
  }

  .categories-grid,
  .labs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__arrow {
    width: 44px;
    height: 44px;
  }

  .featured-products__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .countdown {
    gap: 14px;
  }
}


/*Menu navegación y menú desplegable responsive*/
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
  }

  .nav-menu > li {
    width: 100%;
  }

  .nav-menu > li > a,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 5px 16px;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 8px 12px;
  }

  .dropdown-menu li a {
    padding: 10px 16px;
  }
}


