/* VERSATIL TR — cuba de sorvete */
:root {
  --freezer: #E8F4F2;
  --pistachio: #7D9B76;
  --strawberry: #D45D5D;
  --vanilla: #F6EFE4;
  --steel: #5E6A70;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body.skin-tub {
  margin: 0;
  background: var(--vanilla);
  color: #243033;
  font-family: "Karla", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: #243033; }
h1, h2, h3, .brand-name, .tub-price {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  line-height: 1.12;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.45rem; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin: 0 0 0.4rem; }
h3 { font-size: 1.15rem; margin: 0.2rem 0; }
p { margin: 0.35rem 0; }
.brand-name { font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1; }
.skip-link { position: absolute; left: 0.5rem; top: -4rem; background: var(--vanilla); color: #243033; padding: 0.4rem 0.7rem; z-index: 90; }
.skip-link:focus { top: 0.4rem; }
[data-site-header], main, [data-site-footer], .tub-case, .tub-row, .tub-item { min-width: 0; }
.tub-wrap { width: min(1120px, calc(100% - 1.5rem)); margin-inline: auto; min-width: 0; }
.tub-kicker {
  margin: 0 0 0.3rem;
  font-family: "Fredoka", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--strawberry);
}

/* Header: stainless cabinet lip, round temp sticker, flavor dots beside text */
.tub-rail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.55rem 0.8rem;
  background: linear-gradient(180deg, #f4f7f8 0%, #c5ced2 42%, #8d989e 100%);
  border-bottom: 8px solid var(--steel);
  color: #243033;
}
.tub-left { display: flex; align-items: center; gap: 0.55rem; min-width: 0; flex: 0 1 auto; }
.tub-temp {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--vanilla);
  border: 3px solid var(--strawberry);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--strawberry);
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 4px #fff;
}
.tub-brand { text-decoration: none; color: #243033; min-width: 0; }
.site-nav { margin-left: auto; min-width: 0; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.15rem 0.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #243033;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  font-weight: 700;
}
.tub-dot { width: 0.72rem; height: 0.72rem; border-radius: 50%; flex: 0 0 auto; }
.site-nav a[aria-current="page"] span { text-decoration: underline; text-underline-offset: 0.18rem; }
.menu-toggle {
  display: none;
  font-family: "Fredoka", sans-serif;
  background: var(--vanilla);
  color: #243033;
  border: 2px solid var(--steel);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #243033;
  text-decoration: none;
  font-weight: 700;
  flex: 0 0 auto;
}
.cart-link strong {
  display: inline-flex;
  min-width: 1.45rem;
  height: 1.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--strawberry);
  color: #fff;
  font-size: 0.75rem;
}

.tub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--steel);
  color: var(--vanilla);
  overflow: hidden;
  min-width: 0;
}
.tub-hero-case {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  overflow: hidden;
  min-width: 0;
  padding: 1.2rem 0.6rem 1rem;
  background:
    linear-gradient(#f4f7f8, #f4f7f8) top / 100% 16px no-repeat,
    linear-gradient(180deg, #9aabb0, #E8F4F2 30%);
  border-bottom: 10px solid #3f484c;
}
.tub-open { flex: 0 0 180px; display: flex; flex-direction: column; align-items: center; color: #243033; min-width: 0; }
.tub-flap {
  width: 92px;
  height: 28px;
  border-radius: 46px 46px 8px 8px;
  background: var(--vanilla);
  border: 3px solid var(--steel);
  transform: rotate(-24deg);
  transform-origin: right bottom;
  margin-bottom: -6px;
}
.tub-mouth {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--pistachio);
  background: #fff;
  display: block;
}
.tub-mouth img, .tub-lid img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.tub-hero-copy { padding: 1.1rem; min-width: 0; }
.tub-hero .tub-kicker { color: #F6EFE4; }
.tub-hero .btn { background: var(--strawberry); color: #fff; border-color: var(--strawberry); }

.tub-pagehead { padding: 1rem 0 0.3rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.35rem 0 0.7rem; }
.filters button {
  font-family: "Fredoka", sans-serif;
  background: var(--vanilla);
  color: #243033;
  border: 2px solid var(--steel);
  border-radius: 999px 999px 10px 10px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}
.filters button.is-active { background: var(--strawberry); color: #fff; border-color: var(--strawberry); }

.tub-case {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  margin: 0 0.6rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62), transparent 26%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(94,106,112,0.13) 46px 47px),
    var(--freezer);
  border: 12px solid var(--steel);
  border-radius: 22px;
  padding: 1.3rem 0.9rem 1.1rem;
  box-shadow: inset 0 14px 0 rgba(255,255,255,0.45);
}
.tub-row { display: flex; gap: 1.1rem; width: max-content; min-width: 100%; align-items: flex-end; padding-bottom: 0.4rem; }
.tub-item { width: 196px; flex: 0 0 196px; display: flex; flex-direction: column; align-items: center; }
.tub-lid {
  width: 158px;
  height: 158px;
  border-radius: 50%;
  overflow: hidden;
  border: 10px solid var(--vanilla);
  box-shadow: 0 8px 0 var(--steel);
  background: #fff;
  display: block;
}
.tub-flavor {
  width: 100%;
  margin-top: -22px;
  background: var(--vanilla);
  border: 3px solid var(--strawberry);
  border-radius: 8px 8px 16px 16px;
  padding: 1.1rem 0.55rem 0.7rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.tub-cat { margin: 0; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pistachio); font-weight: 700; }
.tub-flavor h3 a { color: #243033; text-decoration: none; }
.tub-price { color: var(--strawberry); font-size: 1.25rem; margin: 0.15rem 0 0.4rem; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka", sans-serif;
  background: var(--pistachio);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #5f7a59; }
.hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.product-detail, .cart-layout, .checkout-layout, .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.6rem;
  min-width: 0;
}
.tub-stage { display: flex; justify-content: center; padding: 1rem 0; }
.tub-stage .tub-mouth { width: min(100%, 280px); height: auto; aspect-ratio: 1; }
.field, select.field, textarea.field {
  width: 100%;
  min-width: 0;
  font: inherit;
  color: #243033;
  background: #fff;
  border: 2px solid var(--steel);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
}
textarea.field { min-height: 8rem; resize: vertical; }
label { display: block; font-weight: 700; margin: 0.65rem 0 0.2rem; }
.field-hint { color: var(--steel); font-size: 0.92rem; }
.checkbox-line { display: flex; gap: 0.55rem; align-items: flex-start; margin: 0.5rem 0; font-weight: 400; }
.checkbox-line input { margin-top: 0.25rem; flex: 0 0 auto; }
.pay-option { display: flex; gap: 0.55rem; align-items: flex-start; border: 2px solid var(--steel); border-radius: 14px; background: #fff; padding: 0.7rem; margin: 0.35rem 0; }
.pay-option:has(input:checked) { border-color: var(--strawberry); background: #fff6f4; }
.form-feedback { background: var(--pistachio); color: #fff; border-radius: 12px; padding: 0.75rem 0.85rem; margin-top: 0.7rem; }
.tub-side { background: var(--freezer); border: 3px solid var(--steel); border-radius: 18px; padding: 0.9rem; min-width: 0; }
.summary-row { display: flex; justify-content: space-between; gap: 0.7rem; margin: 0.3rem 0; }
.tub-cart-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 0.7rem; padding: 0.8rem 0; border-bottom: 2px dashed var(--steel); }
.tub-cart-item .tub-lid { width: 84px; height: 84px; border-width: 6px; }
.qty { display: inline-flex; align-items: center; gap: 0.35rem; }
.qty button, .remove-btn { font-family: "Karla", sans-serif; background: var(--vanilla); border: 2px solid var(--steel); border-radius: 999px; min-width: 2rem; min-height: 2rem; cursor: pointer; }
.remove-btn { margin-top: 0.4rem; }

.legal-page { background: var(--vanilla); color: #243033; }
.legal-page .legal-article, .legal-page .legal-nav { font-family: "Karla", sans-serif; color: #243033; }
.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0 2rem; align-items: start; }
.legal-nav { position: static; }
.legal-nav a { display: block; margin: 0.3rem 0; text-decoration: underline; }
.legal-nav a[aria-current="page"] { font-weight: 700; }
.legal-article { min-width: 0; max-width: 68ch; }
.legal-article h1, .legal-article h2 { font-family: "Karla", sans-serif; }
.legal-article h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.legal-article h2 { font-size: 1.15rem; margin-top: 1.2rem; }
.tub-facts { list-style: none; padding: 0; }
.tub-extra { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
.tub-extra img { width: 100%; height: 200px; object-fit: cover; border-radius: 50% 50% 12px 12px; border: 6px solid var(--vanilla); }

.tub-footer { background: var(--steel); color: var(--vanilla); padding: 1.2rem 0 0.8rem; }
.tub-footer a { color: var(--vanilla); text-decoration: underline; text-underline-offset: 0.15rem; }
.tub-news { background: var(--vanilla); color: #243033; border-radius: 18px; padding: 0.9rem; margin-bottom: 1rem; }
.tub-news a { color: #243033; }
.tub-footgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
.tub-footgrid a, .tub-footgrid p { display: block; margin: 0.2rem 0; }
.footer-copy { margin: 0.9rem 0 0; padding-top: 0.7rem; border-top: 1px solid rgba(246,239,228,0.35); }
.toast { position: fixed; z-index: 70; left: 1rem; right: 1rem; bottom: 1rem; margin-inline: auto; width: fit-content; max-width: calc(100vw - 2rem); background: var(--strawberry); color: #fff; border-radius: 999px; padding: 0.7rem 0.95rem; }
:focus-visible { outline: 3px solid var(--pistachio); outline-offset: 2px; }

@media (min-width: 760px) {
  .tub-hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
  .tub-hero-copy { display: flex; flex-direction: column; justify-content: center; }
  .product-detail, .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .legal-wrap { grid-template-columns: minmax(0, 210px) minmax(0, 1fr); }
  .tub-footgrid { grid-template-columns: 1.3fr 1fr 1fr; }
  .tub-extra { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .tub-rail { flex-wrap: wrap; }
  .tub-left { order: 1; max-width: calc(100% - 8rem); }
  .menu-toggle { order: 2; margin-left: auto; }
  .cart-link { order: 3; }
  .site-nav { display: none; order: 4; flex: 1 0 100%; margin-left: 0; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
}

/* band-v2 */
.tub-pagehead { background: #D9DEE3; border: 10px solid #8E979E; border-bottom-width: 16px; padding: 0.8rem; }
.tub-pagehead .filters { display: flex; gap: 0.55rem; overflow-x: auto; margin: 0.7rem 0 0; padding: 0.55rem; background: #F4F7F8; border-radius: 999px; border: 3px solid #8E979E; }
.tub-pagehead .filters button { flex: 0 0 auto; width: 4.6rem; height: 4.6rem; border-radius: 50%; border: 4px solid #fff; background: #E23D5B; color: #fff; padding: 0.2rem; font-size: 0.68rem; line-height: 1.05; }
.tub-pagehead .filters button.is-active { background: #1C3144; border-color: #F3E27A; }
