.product-tags,
.modal-tags {
  flex-wrap: wrap;
}

.product-card {
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  content-visibility: auto;
  contain-intrinsic-size: 560px;
}

.collection-card {
  content-visibility: auto;
  contain-intrinsic-size: 290px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1150px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(14px, 5.5cqw, 20px);
}

.product-footer {
  margin-top: auto;
  gap: 14px;
}

.product-card-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.card-whatsapp {
  height: 36px;
  padding: 0 11px;
  border-radius: 9px;
  background: var(--green);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(10px, 3cqw, 11px);
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.2s,
    background 0.2s;
}

.card-whatsapp:hover {
  transform: translateY(-2px);
  background: #aaf029;
}

.card-whatsapp span {
  font-size: 14px;
}

.details-button {
  width: auto;
  min-width: 112px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.details-button span {
  font-size: 15px;
}

.details-button:hover {
  transform: translateY(-2px);
}

.promotion-pill {
  position: absolute;
  z-index: 3;
  top: 42px;
  right: 15px;
  padding: 6px 9px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--green);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
  font-size: 9px;
  font-weight: 800;
}

.used-pill {
  position: absolute;
  z-index: 4;
  top: 42px;
  left: 15px;
  padding: 6px 9px;
  border-radius: 20px;
  background: #fff0d8;
  color: #8a4b08;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.promotion-notice {
  margin-top: 30px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  border: 1px solid #d4dfc4;
  border-radius: 14px;
  background: #e8f4d5;
}

.promotion-notice > span {
  color: #5c7d20;
  font: 800 10px "Manrope";
  letter-spacing: 0.16em;
}

.promotion-notice > p {
  margin: 0;
  color: #4f594d;
  font-size: 13px;
  line-height: 1.6;
}

.product-footer > .product-price,
.modal-price-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end;
  gap: 12px;
  min-width: 0;
}

.current-price,
.previous-price {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.current-price strong,
.previous-price del {
  white-space: nowrap;
}

.on-promotion .current-price small,
.modal-price-group .current-price small {
  color: #638527;
}

.previous-price del {
  margin-top: 3px;
  color: #8b938c;
  font: 700 clamp(12px, 4cqw, 14px) "Manrope";
  text-decoration-thickness: 1.5px;
}

.modal-price-group {
  gap: 18px;
}

.modal-price-group .previous-price del {
  font-size: 15px;
}

@container (max-width: 380px) {
  .product-footer {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .product-footer > .product-price,
  .product-card-actions {
    width: 100%;
  }

  .product-card-actions {
    margin-left: 0;
  }

  .card-whatsapp,
  .details-button {
    flex: 1 1 0;
    justify-content: center;
  }
}

.payment-strip {
  padding: 44px clamp(22px, 5vw, 74px);
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 42px;
  background: #e7f4cf;
  border-bottom: 1px solid #d0dfb5;
}

.payment-heading h2 {
  margin: 0;
  font: 800 clamp(28px, 3.3vw, 43px) / 1 "Manrope";
  letter-spacing: -0.055em;
}

.payment-heading .eyebrow {
  color: #668f1d;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.payment-methods > div {
  min-height: 94px;
  padding: 17px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-content: center;
  column-gap: 11px;
  border: 1px solid rgba(82, 111, 31, 0.17);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
}

.payment-methods > div > span {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green);
  display: grid;
  place-items: center;
  font: 800 10px "Manrope";
}

.payment-methods strong {
  align-self: end;
  font: 800 12px "Manrope";
}

.payment-methods small {
  color: #6b765e;
  font-size: 8px;
  margin-top: 3px;
}

.modal-payments {
  display: flex;
  gap: 6px;
  margin: -8px 0 14px;
}

.modal-payments span {
  padding: 6px 9px;
  border-radius: 20px;
  background: #eef4e5;
  color: #58731f;
  font-size: 10px;
  font-weight: 800;
}

.footer-whatsapp {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 9px;
  background: var(--green);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.2s,
    background 0.2s;
}

.footer-whatsapp:hover {
  transform: translateY(-2px);
  background: #aaf029;
}

.footer-whatsapp span {
  font-size: 16px;
}

.footer-copy {
  display: grid;
  max-width: 520px;
  gap: 6px;
}

.footer-copy p {
  margin: 0;
  color: #8d958f;
  font-size: 11px;
  line-height: 1.5;
}

.footer-copy .footer-location {
  color: #d7dcd8;
  font-weight: 600;
}

.product-visual {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.product-visual .product-art,
.product-visual .product-art.has-photo,
.product-visual .product-art.has-photo img {
  width: 100%;
  height: 100%;
}

.product-visual .product-art.has-photo img {
  object-fit: contain;
  object-position: center;
}

.product-name {
  font-size: clamp(17px, 6cqw, 22px);
  line-height: 1.08;
}

.product-footer strong {
  font-size: clamp(15px, 5cqw, 18px);
}

.product-meta,
.product-footer small,
.product-tags button {
  font-size: clamp(10px, 3.2cqw, 12px);
}

.modal-visual {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.modal-visual .product-art,
.modal-visual .product-art.has-photo,
.modal-visual .product-art.has-photo img {
  width: 100%;
  height: 100%;
}

.modal-visual .product-art.has-photo img {
  object-fit: contain;
  object-position: center;
}

.brand-name {
  font: inherit;
  font-size: 20px;
  letter-spacing: inherit;
}

.brand-mark {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: visible;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 1px rgba(184, 244, 61, 0.4),
    0 0 24px rgba(184, 244, 61, 0.28);
  isolation: isolate;
}

.brand-mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -7px;
  border: 1px solid rgba(184, 244, 61, 0.2);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(184, 244, 61, 0.2) 0,
    rgba(184, 244, 61, 0.07) 48%,
    transparent 72%
  );
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: cover;
  padding: 0;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
  transform: scale(1.38);
}

.brand-mark:not(:has(img)) {
  background: var(--green);
}

.site-header .brand {
  gap: 22px;
}

/* Improve the legibility of the compact labels in the catalog header and intro. */
.brand small {
  font-size: clamp(8px, 0.55vw, 10px);
  line-height: 1.25;
}

.site-header nav a {
  font-size: clamp(11px, 0.7vw, 13px);
}

.share-catalog {
  font-size: clamp(10px, 0.65vw, 11px);
}

.hero-kicker {
  font-size: clamp(9px, 0.6vw, 11px);
}

.hero-copy > p {
  max-width: 540px;
  font-size: clamp(13px, 0.85vw, 16px);
}

.availability span {
  font-size: clamp(9px, 0.6vw, 10px);
}

.hero-tag {
  font-size: clamp(8px, 0.52vw, 9px);
}

.trust-strip strong {
  font-size: clamp(12px, 0.75vw, 14px);
}

.trust-strip small {
  font-size: clamp(9px, 0.62vw, 11px);
  line-height: 1.35;
}

.eyebrow {
  font-size: clamp(9px, 0.6vw, 10px);
}

.payment-methods strong {
  font-size: clamp(13px, 0.8vw, 15px);
}

.payment-methods small {
  font-size: clamp(9px, 0.62vw, 11px);
}

/* Keep supporting copy readable throughout the complete catalog. */
.section-heading > div > p,
.section-heading.light > p,
.how-copy > p {
  font-size: clamp(12px, 0.8vw, 14px);
}

.search-box input {
  font-size: 12px;
}

.filter-row button {
  font-size: 11px;
}

.filter-row button small {
  font-size: 9px;
}

.active-filter,
.active-filter button {
  font-size: 10px;
}

.stock-pill,
.card-index,
.collection-index {
  font-size: 10px;
}

.empty-state p {
  font-size: 11px;
}

.collection-card small {
  font-size: 9px;
}

.collection-card div > span {
  font-size: 10px;
}

.collection-art.collection-products {
  height: 155px;
  padding: 8px 2px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: visible;
}

.collection-product {
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(33.333% - 5px);
  max-height: 142px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.collection-card.c1 .collection-product,
.collection-card.c2 .collection-product {
  border-color: rgba(17, 20, 18, 0.07);
  background: rgba(17, 20, 18, 0.035);
}

.collection-products.count-1 .collection-product {
  flex: 0 1 142px;
  max-width: 62%;
}

.collection-products.count-2 .collection-product {
  flex: 0 1 142px;
  max-width: calc(50% - 4px);
}

.collection-products .product-art,
.collection-products .product-art.has-photo,
.collection-products .product-art.has-photo img {
  width: 100%;
  height: 100%;
}

.collection-products .product-art {
  background: transparent;
}

.collection-products .product-art.has-photo img {
  padding: 4px;
  object-fit: contain;
  object-position: center;
}

.collection-products .product-art.letter-product strong {
  font-size: clamp(20px, 3.2vw, 31px);
}

.collection-products .product-art.letter-product small {
  margin-top: 5px;
  font-size: 7px;
  letter-spacing: 0.11em;
}

.tag-cloud button {
  font-size: 12px;
}

.tag-cloud button span {
  font-size: 10px;
}

.dark-share {
  font-size: 11px;
}

.how-section li > span {
  font-size: 10px;
}

.how-section li strong {
  font-size: 14px;
}

.how-section li p {
  font-size: clamp(11px, 0.72vw, 13px);
}

footer > p {
  font-size: clamp(11px, 0.72vw, 13px);
}

footer > span {
  font-size: 9px;
}

.modal-meta,
.modal-bottom small {
  font-size: 10px;
}

.modal-content > p {
  font-size: clamp(12px, 0.8vw, 14px);
  white-space: pre-line;
}

.modal-tags span,
.modal-stock,
.copy-code {
  font-size: 10px;
}

.whatsapp-button {
  font-size: 12px;
}

.toast {
  font-size: 11px;
}

.product-art.letter-product small {
  font-size: 10px;
}

/* Final responsive layer for the catalog header, actions and long prices. */
@container (max-width: 520px) {
  .on-promotion .product-footer {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .on-promotion .product-footer > .product-price,
  .on-promotion .product-card-actions {
    width: 100%;
  }

  .on-promotion .product-card-actions {
    justify-content: flex-end;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 124px;
    height: auto !important;
    padding: 10px 16px 9px;
    flex-wrap: wrap;
    align-content: center;
    column-gap: 8px;
    row-gap: 8px;
  }

  .site-header .brand .brand-mark {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
  }

  .site-header .brand {
    gap: 12px !important;
  }

  .site-header .brand .brand-name {
    font-size: 15px !important;
  }

  .share-catalog {
    width: auto;
    height: 36px;
    margin-left: auto;
    padding: 0 9px;
    gap: 6px;
    font-size: 8px;
    white-space: nowrap;
  }

  .share-catalog svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
  }

  .share-catalog span {
    display: inline;
  }

  .site-header nav {
    order: 3;
    display: flex;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    padding: 10px 4px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header nav a {
    font-size: 10px;
  }

  .product-card-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 34px;
    gap: 6px;
  }

  .card-whatsapp,
  .details-button {
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    padding: 0 7px !important;
    justify-content: center;
    border-radius: 9px;
    font-size: 9px;
  }

  .footer-copy {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }
}

/* Keep product details usable with long names and on short screens. */
dialog[open] {
  width: min(900px, calc(100vw - 16px));
  height: min(620px, calc(100dvh - 16px));
  max-height: calc(100dvh - 16px);
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  grid-template-rows: minmax(0, 1fr);
}

.modal-visual {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.modal-content {
  min-width: 0;
  min-height: 0;
  padding: 64px 35px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.modal-close {
  top: 16px;
  right: 16px;
}

.modal-content h2 {
  margin-top: 16px;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.modal-content > p {
  font-size: clamp(12px, 0.75vw, 13px);
}

.modal-tags,
.modal-payments {
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.modal-bottom {
  gap: 12px;
}

.modal-bottom > div {
  min-width: 0;
}

.modal-bottom strong {
  white-space: nowrap;
}

.modal-stock {
  flex: 0 1 auto;
  max-width: 138px;
  line-height: 1.2;
  text-align: center;
}

.whatsapp-button,
.copy-code {
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  dialog[open] {
    width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    display: flex;
    flex-direction: column;
  }

  .modal-visual {
    flex: 0 0 min(34vh, 250px);
    height: auto;
  }

  .modal-content {
    flex: 1 1 auto;
    padding: 54px 22px 18px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
  }

  .modal-content h2 {
    font-size: clamp(27px, 9vw, 34px);
  }
}

.hero-showcase {
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-showcase:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -6px;
}

.hero-showcase img {
  pointer-events: none;
  -webkit-user-drag: none;
}

@media (max-width: 600px) {
  .site-header {
    height: 86px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .brand-name {
    font-size: 17px;
  }

  .site-header .brand {
    gap: 18px;
  }

  .hero-showcase {
    cursor: grab;
  }

  .product-visual {
    height: auto;
  }

  .product-content {
    padding: 11px;
  }

  .product-name {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .product-meta,
  .product-footer small,
  .product-tags button {
    font-size: 8px;
  }

  .product-tags {
    gap: 4px;
    margin-top: 8px;
  }

  .product-tags button {
    padding: 4px 5px;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    margin-top: 10px;
    padding-top: 10px;
  }

  .product-footer > .product-price {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }

  .product-footer strong {
    font-size: 14px;
  }

  .previous-price del {
    font-size: 11px;
  }

  .product-card-actions {
    width: 100%;
    margin-left: 0;
    flex-direction: column !important;
    align-items: stretch;
  }

  .card-whatsapp,
  .details-button {
    width: 100%;
    min-width: 0;
    height: 32px;
    padding: 0 7px;
    font-size: 9px;
  }

  .stock-pill,
  .promotion-pill,
  .used-pill {
    padding: 5px 7px;
    font-size: 7px;
  }

  .stock-pill {
    top: 9px;
    left: 9px;
  }

  .promotion-pill {
    top: 34px;
    right: 9px;
  }

  .used-pill {
    top: 34px;
    left: 9px;
  }

  .card-index {
    top: 9px;
    right: 9px;
    font-size: 8px;
  }

  .promotion-notice {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
    padding: 18px;
  }

  .promotion-notice > p {
    font-size: 12px;
  }

  .modal-visual {
    height: auto;
    min-height: 0;
  }

  .payment-strip {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 16px;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  .payment-methods > div {
    min-height: 80px;
  }

  .product-card-actions {
    gap: 6px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  .footer-whatsapp {
    grid-column: 1 / -1;
    width: 100%;
    order: 4;
  }
}

.hero-kicker{gap:8px}.hero-kicker>span{display:inline}.hero-copy h1{max-width:720px}.hero-product.slide-enter{animation:hero-slide-in .55s cubic-bezier(.2,.8,.2,1)}.hero-dots{position:absolute;left:50%;bottom:22px;z-index:8;display:flex;gap:7px;transform:translateX(-50%);padding:8px 11px;border-radius:20px;background:rgba(17,20,18,.72);backdrop-filter:blur(8px)}.hero-dots[hidden]{display:none}.hero-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#737b75;cursor:pointer;transition:.25s}.hero-dots button.active{width:25px;border-radius:7px;background:#b8f43d}.hero-tag{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@keyframes hero-slide-in{from{opacity:.15;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}

.product-art.has-photo{width:100%;height:100%;transform:none}.product-art.has-photo img{width:100%;height:100%;display:block;object-fit:contain;filter:none}.product-art.letter-product{display:grid;place-content:center;text-align:center}.product-art.letter-product strong{position:relative;z-index:1;font:800 42px/1 Manrope,sans-serif;color:var(--art-color);text-shadow:0 1px 0 rgba(255,255,255,.45)}.product-art.letter-product small{position:relative;z-index:1;margin-top:8px;color:#7b847c;font-size:8px;letter-spacing:.18em}.collection-art .product-art.has-photo img,.modal-visual .product-art.has-photo img{object-fit:contain}.catalog-loading,.catalog-error{grid-column:1/-1;min-height:260px;display:grid;place-content:center;justify-items:center;gap:12px;text-align:center;color:#657067}.catalog-loading i{width:34px;height:34px;border:3px solid #dce4dc;border-top-color:#79ad18;border-radius:50%;animation:catalog-spin .8s linear infinite}.catalog-error button{border:0;border-radius:10px;background:#b8f43d;padding:11px 16px;font-weight:800;cursor:pointer}@keyframes catalog-spin{to{transform:rotate(360deg)}}

.product-art.letter-product small {
  font-size: 10px;
}
