.board-product { color: var(--surf-ink); background: #f8efff; }
.product-main { padding-block: 2.5rem 4.5rem; }
.product-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.2em;
}
.product-back:hover { text-decoration: underline; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: clamp(2rem, 6%, 5rem);
}

.product-gallery .board-photo {
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
}
.board-photo-options {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.board-photo-options[hidden] { display: none; }
.board-photo-options button {
  flex: 0 1 4.75rem;
  min-width: 0;
  aspect-ratio: 1;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.board-photo-options img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  background: var(--surf-lilac);
}
.board-photo-options button:hover { border-color: rgb(33 24 33 / 45%); }
.board-photo-options button[aria-pressed="true"] {
  border-color: var(--surf-ink);
  background: var(--surf-lime);
}
.board-photo-options button:focus-visible { outline: 2px solid var(--surf-ink); outline-offset: 3px; }
.product-info { padding-block: 1.5rem 0; }
.product-info h1 {
  margin: 0;
  font: 900 3.75rem/0.99 var(--surf-display);
  font-stretch: 120%;
  text-transform: uppercase;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.product-length {
  width: fit-content;
  margin: 0 0 0.85rem;
  border-bottom: 4px solid var(--surf-lime);
  font: 850 1.55rem/1.2 var(--surf-display);
}
.product-info .board-price { margin-top: 0.85rem; font-size: 2.25rem; }
.product-description { max-width: 32rem; margin: 1.25rem 0 0; font-size: 1.05rem; line-height: 1.6; }

.product-info .board-specs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: 1.6rem;
  padding-block: 0.9rem;
  border-block: 1px solid rgb(33 24 33 / 18%);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
:is(.visit-negombo, .chat-with-shop) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--surf-ink);
  border-radius: 99px;
  background: transparent;
  color: var(--surf-ink);
  font-weight: 700;
  line-height: 1.3;
}
.chat-with-shop { background: var(--surf-lime); }
.chat-with-shop img { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; filter: brightness(0); }
:is(.visit-negombo, .chat-with-shop):hover { color: white; background: var(--surf-ink); }
.chat-with-shop:hover img { filter: brightness(0) invert(1); }
:is(.visit-negombo, .chat-with-shop, .product-back):focus-visible { outline: 2px solid var(--surf-ink); outline-offset: 4px; }
.product-location, .product-sku, .product-photo-note { margin: 0.75rem 0 0; color: #625568; font-size: 0.85rem; line-height: 1.5; }
.product-sku { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .product-info h1 { font-size: 2.75rem; }
}
@media (max-width: 700px) {
  .product-main { padding-block: 1rem 3rem; }
  .product-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .product-info { padding: 0; }
  .product-info h1 { font-size: 2.45rem; }
  .product-info .board-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .product-info .board-specs div { display: block; }
}
