*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: clip; }

body.skin-domino {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: #2f6b4a;
  color: #f4f0e6;
  font-family: "Karla", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}

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

a { color: inherit; }

h1, h2, .brand-name, .domino-peca {
  font-family: "Alfa Slab One", serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0.15rem 0 0.55rem; }
h2 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin: 0 0 0.45rem; }
h3 { margin: 0; font-size: 1rem; }

p { margin: 0 0 0.7rem; }

.brand-name {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  text-decoration: none;
  color: #1a1a1a;
}

.skip-link {
  position: absolute;
  left: 0.6rem;
  top: -4rem;
  z-index: 20;
  background: #f4f0e6;
  color: #1a1a1a;
  padding: 0.4rem 0.7rem;
}

.skip-link:focus { top: 0.4rem; }

:focus-visible {
  outline: 3px solid #f4f0e6;
  outline-offset: 2px;
}

.domino-sheet :focus-visible,
.domino-header :focus-visible,
.legal-wrap :focus-visible,
.domino-tile :focus-visible { outline-color: #2f6b4a; }

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.domino-page {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto 2.2rem;
  min-width: 0;
}

.domino-peca {
  margin: 0;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}

.domino-header {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 12px minmax(0, 1.2fr);
  align-items: stretch;
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0.75rem auto 1.1rem;
  min-height: 5.5rem;
  min-width: 0;
  background: #f4f0e6;
  color: #1a1a1a;
  border: 4px solid #1a1a1a;
  border-radius: 12px;
}

.domino-half {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem 1.15rem;
  position: relative;
}

.domino-half-nav { justify-content: flex-end; }

.domino-rule {
  width: 4px;
  align-self: center;
  height: 68%;
  background: #1a1a1a;
  border-radius: 2px;
}

.domino-half-brand::after,
.domino-half-nav::after {
  content: "";
  position: absolute;
  bottom: 0.42rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow: 12px 0 0 #1a1a1a, 24px 0 0 #1a1a1a;
}

.domino-half-brand::after { left: 0.85rem; }
.domino-half-nav::after { right: 0.85rem; box-shadow: -12px 0 0 #1a1a1a, -24px 0 0 #1a1a1a; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  background: #1a1a1a;
  color: #f4f0e6;
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
}

.domino-nav { display: none; }

.domino-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.domino-nav a {
  display: block;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  padding: 0.4rem 0.5rem;
}

.domino-nav a[aria-current="page"],
.cart-link[aria-current="page"] {
  background: #1a1a1a;
  color: #f4f0e6;
}

.domino-nav.is-open {
  display: block;
  position: absolute;
  z-index: 6;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  background: #f4f0e6;
  border: 3px solid #1a1a1a;
  padding: 0.45rem;
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  flex-shrink: 0;
  padding: 0.25rem 0.35rem;
}

.cart-link strong {
  display: inline-grid;
  place-items: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.28rem;
  border-radius: 50%;
  background: #1a1a1a;
  color: #f4f0e6;
  font-size: 0.75rem;
}

.cart-link[aria-current="page"] strong {
  background: #f4f0e6;
  color: #1a1a1a;
}

@media (max-width: 700px) {
  .domino-header { grid-template-columns: minmax(0, 8.4rem) 12px minmax(0, 1fr); }
  .domino-half { padding: 0.55rem 0.4rem 1rem; overflow: hidden; }
  .domino-half-nav { justify-content: flex-start; gap: 0.3rem; padding-left: 0.45rem; }
  .cart-link { font-size: 0.92rem; gap: 0.3rem; }
}

@media (min-width: 880px) {
  .menu-toggle { display: none; }
  .domino-nav {
    display: block;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
  }
  .domino-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0.25rem; }
}

.domino-hero { padding-top: 0.2rem; }

.domino-table,
.domino-hero-table {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 0.2rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0.8rem 0 0;
  padding: 2.5rem 2.4rem 1.25rem;
  background-color: #6e4b32;
  background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.14) 0 2px, transparent 2px 22px);
  box-shadow: inset 0 10px 0 rgba(0, 0, 0, 0.16);
  color: #f4f0e6;
}

.domino-hero-table {
  justify-content: center;
  flex-wrap: wrap;
  overflow: hidden;
  padding-inline: 1.2rem;
  min-height: 16rem;
}

@media (min-width: 1080px) {
  .domino-table { justify-content: center; }
}

.domino-tile {
  flex: 0 0 auto;
  width: clamp(6.35rem, 9.2vw, 6.85rem);
  aspect-ratio: 1 / 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f4f0e6;
  color: #1a1a1a;
  border: 3px solid #1a1a1a;
  border-radius: 8px;
  transform: rotate(var(--lean, 0deg));
  transform-origin: 50% 100%;
}

.domino-hero-table .domino-tile {
  width: clamp(5.6rem, 20vw, 9.6rem);
}

.domino-hero-table .domino-tile:nth-child(1) { --lean: -24deg; }
.domino-hero-table .domino-tile:nth-child(2) { --lean: -7deg; }
.domino-hero-table .domino-tile:nth-child(3) { --lean: 18deg; }

@media (max-width: 900px) {
  .domino-hero-table .domino-tile:nth-child(1) { --lean: -13deg; }
  .domino-hero-table .domino-tile:nth-child(2) { --lean: -3deg; }
  .domino-hero-table .domino-tile:nth-child(3) { --lean: 11deg; }
}

.domino-top,
.domino-bottom {
  flex: 1 1 50%;
  min-height: 0;
  min-width: 0;
}

.domino-top { display: block; overflow: hidden; }

.domino-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.domino-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.05rem;
  text-align: center;
  padding: 1.05rem 0.28rem 0.28rem;
  border-top: 3px solid #1a1a1a;
  overflow: hidden;
}

.domino-pips,
.domino-bottom::after {
  position: absolute;
  top: 0.28rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1a1a1a;
}

.domino-pips {
  left: 0.32rem;
  box-shadow: 8px 0 0 #1a1a1a;
}

.domino-bottom::after {
  content: "";
  right: 0.32rem;
  box-shadow: -8px 0 0 #1a1a1a;
}

.domino-cat {
  margin: 0;
  font-size: 0.58rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.domino-bottom h3 {
  font-family: "Karla", sans-serif;
  font-size: 0.7rem;
  line-height: 1.1;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.domino-bottom h3 a { color: #1a1a1a; text-decoration: none; }

.domino-price { margin: 0; font-weight: 700; font-size: 0.75rem; line-height: 1.1; }

.domino-bottom .btn {
  width: 100%;
  font-size: 0.62rem;
  line-height: 1.1;
  padding: 0.22rem 0.2rem;
}

.domino-tile-solo {
  width: min(15rem, 86%);
  margin: 0.6rem auto;
  --lean: -6deg;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #1a1a1a;
  color: #f4f0e6;
  border: 2px solid #1a1a1a;
  padding: 0.55rem 0.8rem;
  font-family: "Karla", sans-serif;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #2f6b4a; border-color: #2f6b4a; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
  margin: 0.4rem 0 0.2rem;
}

.filters button {
  font: inherit;
  font-weight: 700;
  background: #f4f0e6;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
}

.filters button.is-active {
  background: #1a1a1a;
  color: #f4f0e6;
}

.domino-sheet {
  background: #f4f0e6;
  color: #1a1a1a;
  border: 3px solid #1a1a1a;
  border-radius: 8px;
  padding: 1rem;
  min-width: 0;
}

.domino-sheet a { color: #1a1a1a; }

.product-detail,
.cart-layout,
.checkout-layout,
.contact-layout {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.product-detail > *,
.cart-layout > *,
.checkout-layout > *,
.contact-layout > * { min-width: 0; }

@media (min-width: 860px) {
  .product-detail { grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); align-items: start; }
  .cart-layout,
  .checkout-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: start; }
  .contact-layout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
}

.field {
  width: 100%;
  min-width: 0;
  background: #f4f0e6;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

textarea.field { min-height: 8rem; resize: vertical; }

.ticket-form,
.domino-news form,
.contact-layout form,
[data-product-form] {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.checkbox-line {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  min-width: 0;
}

.checkbox-line.full { width: 100%; }

.checkbox-line span { min-width: 0; }

.pay-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.15rem 0.55rem;
  align-items: start;
  border: 2px solid #1a1a1a;
  padding: 0.6rem 0.7rem;
  background: #fffdf8;
  min-width: 0;
}

.pay-option small { grid-column: 2; }

.domino-cart-item {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.75rem;
  background: #f4f0e6;
  color: #1a1a1a;
  border: 3px solid #1a1a1a;
  padding: 0.6rem;
  margin-bottom: 0.7rem;
  min-width: 0;
}

.domino-cart-item img {
  width: 5.2rem;
  height: 7rem;
  object-fit: cover;
}

.domino-cart-item a { color: #1a1a1a; }

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.3rem 0;
}

.qty button,
.remove-btn {
  font: inherit;
  background: #f4f0e6;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  cursor: pointer;
  padding: 0.15rem 0.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  min-width: 0;
  margin: 0.25rem 0;
}

.summary-row span,
.summary-row strong { min-width: 0; }

.legal-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  width: min(1080px, calc(100% - 1.5rem));
  margin: 0 auto 2rem;
  padding: 1.1rem;
  background: #f4f0e6;
  color: #1a1a1a;
  min-width: 0;
}

.legal-nav,
.legal-article { min-width: 0; }

.legal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-nav a {
  color: #1a1a1a;
  font-weight: 700;
}

.legal-article h1,
.legal-article h2 { color: #1a1a1a; }

@media (min-width: 800px) {
  .legal-wrap { grid-template-columns: 210px minmax(0, 1fr); align-items: start; }
}

.domino-footer {
  background: #6e4b32;
  color: #f4f0e6;
  padding: 1.4rem 0 1.2rem;
  min-width: 0;
}

.domino-footer a { color: #f4f0e6; }

.domino-footer-grid {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}

.domino-footer-grid > * { min-width: 0; }

.domino-footer .brand-name { color: #f4f0e6; }

.domino-footer h3 { margin-bottom: 0.35rem; }

.domino-footer .domino-links a { display: block; margin: 0.18rem 0; text-decoration: underline; }

.domino-copy {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 1rem auto 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 860px) {
  .domino-footer-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.9fr); }
  .domino-news { grid-column: 1 / -1; }
}

.form-feedback {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 30;
  max-width: min(24rem, calc(100% - 1.5rem));
  background: #f4f0e6;
  color: #1a1a1a;
  border: 3px solid #1a1a1a;
  padding: 0.7rem 0.9rem;
}

.domino-pair {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.4rem;
  min-width: 0;
  overflow: hidden;
  margin-top: 0.6rem;
}

.domino-pair .domino-tile:nth-child(1) { --lean: -12deg; }
.domino-pair .domino-tile:nth-child(2) { --lean: 12deg; }

.domino-note { max-width: 40rem; }
