/* BREAK POINT PATAGONIA - catálogo visual V34 */
.card-quantity-shortcuts,
.card-quantity-summary {
  grid-column: 1 / -1;
}

.quantity-shortcuts {
  display: grid;
  gap: 7px;
}

.quantity-shortcuts[hidden] {
  display: none !important;
}

.quantity-shortcuts > span {
  color: #9db3c4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.quantity-shortcuts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.quantity-shortcuts button {
  min-width: 45px;
  min-height: 38px;
  border: 1px solid #36556c;
  border-radius: 9px;
  background: #0a1d2d;
  color: #e9f8ff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.quantity-shortcuts button:hover,
.quantity-shortcuts button:focus-visible,
.quantity-shortcuts button.active {
  border-color: #23e1cc;
  outline: none;
  background: #153e50;
  color: #23e1cc;
}

.quantity-summary,
.product-quick-price {
  display: grid;
  gap: 7px;
  padding: 11px 12px;
  border: 1px solid #24465e;
  border-radius: 10px;
  background: #081a29;
}

.quantity-current {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quantity-current span {
  display: grid;
  gap: 2px;
  color: #91aabd;
  font-size: 11px;
  font-weight: 700;
}

.quantity-current b {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.quantity-summary small,
.product-quick-price small {
  display: block;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.quantity-saving,
.quantity-best {
  color: #23e1cc;
}

.quantity-next {
  color: #ffd166;
}

.quantity-monthly {
  color: #a9bdd0;
}

.quick-quantity-shortcuts {
  margin-top: 10px;
}

.product-quick-price {
  margin-top: 10px;
  font-size: inherit;
}

.product-quick-price .quantity-current b {
  font-size: 22px;
}

.cart-remove-item {
  margin-top: 9px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 2px 0;
  background: transparent;
  color: #ff98aa;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.cart-remove-item:hover,
.cart-remove-item:focus-visible {
  outline: none;
  color: #ffd1d9;
}

@media (max-width: 560px) {
  .quantity-shortcuts > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quantity-shortcuts button {
    min-width: 0;
  }

  .quantity-current b {
    font-size: 15px;
  }

  .cart-remove-item {
    min-height: 34px;
  }
}

/* La ficha conserva la compra rápida, pero deja la información secundaria cerrada. */
.products .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
}

.products .product {
  align-self: start;
}

.products .product .photo {
  position: relative;
  height: 290px !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  overflow: hidden;
}

.products .product .photo::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 76%;
  content: '';
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 15, 27, .88) 72%, rgba(2, 15, 27, .98) 100%);
}

.products .product .photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.products .product .product-photo-copy {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 14px;
  left: 15px;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.products .product .product-photo-copy h3 {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  color: #fff;
  font-size: clamp(20px, 1.55vw, 24px) !important;
  font-weight: 900;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .82);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.products .product .product-photo-copy .product-card-price {
  color: #fff;
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 2px 9px rgba(0, 0, 0, .9);
}

.products .product .product-photo-copy del {
  margin-right: 5px;
  color: #ffadb9;
  font-size: 14px;
}

.products .product > .product-buy {
  margin-left: 16px !important;
  margin-right: 16px !important;
}

.products .product .product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 16px 0;
}

.products .product .product-meta-row > small {
  overflow: hidden;
  color: #20ddce;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.products .product .product-meta-row .product-rating {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 2px 0 !important;
  font-size: 11px;
}

.products .product > .discount-timer {
  margin: 7px 16px 0 !important;
}

.products .product > .product-buy {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin-top: 5px !important;
  margin-bottom: 14px !important;
  padding-top: 7px !important;
}

.products .product .card-quantity {
  grid-column: auto;
  width: 100%;
  min-height: 40px;
  grid-template-columns: 40px minmax(54px, 1fr) 40px;
}

.products .product .card-quantity-shortcuts {
  grid-column: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

.products .product .card-quantity-shortcuts[hidden] {
  display: none !important;
}

.products .product .card-quantity-shortcuts > span {
  font-size: 10px;
  white-space: nowrap;
}

.products .product .card-quantity-shortcuts > div {
  flex-wrap: nowrap;
  gap: 5px;
  min-width: 0;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.products .product .card-quantity-shortcuts button {
  flex: 0 0 auto;
  min-width: 39px;
  min-height: 34px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 12px;
}

.products .product .card-quantity-summary {
  grid-column: auto;
  gap: 4px;
  padding: 8px 10px;
  border-color: #1b3b52;
  background: #071725;
}

.products .product .card-quantity-summary .quantity-current {
  gap: 6px;
}

.products .product .card-quantity-summary .quantity-current span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  font-size: 10px;
}

.products .product .card-quantity-summary .quantity-current b {
  font-size: 14px;
  white-space: nowrap;
}

.products .product .card-quantity-summary small {
  font-size: 10px;
  line-height: 1.25;
}

.product-price-details {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid #29485e;
  border-radius: 9px;
  background: #091a29;
}

.product-price-details summary {
  position: relative;
  padding: 10px 34px 10px 11px;
  color: #cce0ed;
  font-size: 12px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.product-price-details summary::-webkit-details-marker {
  display: none;
}

.product-price-details summary::after {
  position: absolute;
  top: 50%;
  right: 12px;
  content: '⌄';
  color: #23e1cc;
  font-size: 17px;
  transform: translateY(-55%);
}

.product-price-details[open] summary::after {
  content: '⌃';
}

.product-price-details .quantity-prices {
  gap: 5px;
  margin: 0 !important;
  border-radius: 0;
  padding: 10px 11px;
  background: #eafaf7;
  font-size: 11px;
}

.products .product .add-cart {
  grid-column: 1 / -1;
  min-height: 44px;
  border: 1px solid #23e1cc;
  background: #23e1cc;
  color: #03233a;
  font-size: 13px;
}

.products .product .ask-whatsapp {
  min-height: 44px;
  font-size: 13px;
}

.products .product .product-card-more {
  grid-column: 1 / -1;
  justify-self: center;
  margin: -1px 0 0 !important;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 5px 0 2px;
  background: transparent;
  color: #9ec9d4;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.products .product .product-card-more:hover,
.products .product .product-card-more:focus-visible {
  color: #23e1cc;
  outline: none;
}

@media (max-width: 1000px) {
  .products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  .products .product-grid {
    grid-template-columns: 1fr !important;
  }

  .products .product .photo {
    height: 320px !important;
    aspect-ratio: auto !important;
  }

  .products .product .card-quantity-shortcuts > div {
    display: flex;
  }
}

@media (max-width: 390px) {
  .products .product .photo {
    height: 285px !important;
  }
}
