/* T10 Product Detail (catalog_product_view) per T10 Product Detail.dc.html; every rule scoped to body.hvn-page-t10. */

.hvn-page-t10 .page-main,
.hvn-page-t10 .columns .column.main {
  max-width: none;
  padding: 0;
  margin: 0;
  min-height: 0;
}
/* Blank floats .product.media (57%) and .product-info-main (40%) at >=768; the T10 grid owns the columns. */
.hvn-page-t10 .columns .product.media,
.hvn-page-t10 .columns .product-info-main {
  float: none;
  width: auto;
  margin: 0;
}

/* ---- hero: full-width base image, 21/9 band, 4px radius ---- */
.hvn-page-t10 .hvn-t10-hero {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: var(--hvn-accent-tint);
}
.hvn-page-t10 .hvn-t10-hero-media,
.hvn-page-t10 .hvn-t10-hero .product-image-container,
.hvn-page-t10 .hvn-t10-hero .product-image-wrapper {
  width: 100% !important;
  max-width: 100%;
  height: 100%;
}
.hvn-page-t10 .hvn-t10-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ---- body: 1fr 400px, 56px gap, 40px 48px 0 ---- */
.hvn-page-t10 .hvn-t10-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: start;
  padding: 40px 48px 0;
}
.hvn-page-t10 .hvn-t10-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

/* ---- crumb: 12px uppercase, "/" separators; beats Blank's .breadcrumbs .item:not(:last-child):after (0,3,1) icon ---- */
.hvn-page-t10 .breadcrumbs {
  margin: 0;
  padding: 0;
  min-height: 0;
}
.hvn-page-t10 .breadcrumbs .items {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hvn-text-subtle);
}
.hvn-page-t10 .breadcrumbs .item {
  display: inline-flex;
  gap: 9px;
  margin: 0;
}
.hvn-page-t10 .breadcrumbs .item:not(:last-child)::after {
  content: "/";
  font-family: var(--hvn-font-body);
  font-size: 12px;
  line-height: inherit;
  margin: 0;
  color: var(--hvn-text-subtle);
  vertical-align: baseline;
}
.hvn-page-t10 .breadcrumbs .item a,
.hvn-page-t10 .breadcrumbs .item a:visited,
.hvn-page-t10 .breadcrumbs .item a:hover {
  color: inherit;
  text-decoration: none;
}
/* 4px padding-block for a >= 24px hit height on the 19px crumb text; the negative margin keeps the row height. */
.hvn-page-t10 .breadcrumbs .item a {
  display: inline-block;
  padding-block: 4px;
  margin-block: -4px;
}
.hvn-page-t10 .breadcrumbs .item strong {
  font-weight: 400;
  color: var(--hvn-text);
}

/* ---- h1 44px display, weight 400 ---- */
.hvn-page-t10 .hvn-t10-main .page-title-wrapper { margin: 0; }
.hvn-page-t10 .hvn-t10-main .page-title {
  font-family: var(--hvn-font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}

/* ---- description: 15px/300/1.85, 58ch; the artboard's 68% text mix is --hvn-text-muted (65%, AA) ---- */
.hvn-page-t10 .product.attribute.description {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--hvn-text-muted);
  max-width: 58ch;
}
.hvn-page-t10 .product.attribute.description .value > :first-child { margin-top: 0; }
.hvn-page-t10 .product.attribute.description .value > :last-child { margin-bottom: 0; }
.hvn-page-t10 .product.attribute.description p { margin: 0 0 1em; }
.hvn-page-t10 .product.attribute.description h2,
.hvn-page-t10 .product.attribute.description h3 {
  font-family: var(--hvn-font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--hvn-text);
  margin: 1.4em 0 0.4em;
}
.hvn-page-t10 .product.attribute.description ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

/* ---- detail tiles: 2 columns, 4px gap, square, 4px radius ---- */
.hvn-page-t10 .hvn-t10-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}
.hvn-page-t10 .hvn-t10-tile {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  background: var(--hvn-accent-tint);
}
.hvn-page-t10 .hvn-t10-tile-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- specs: surface panel, 13px 22px rows at line-height 1.2 (artboard ~43px), 150px uppercase labels, alternate rows tinted ---- */
.hvn-page-t10 .hvn-t10-specs {
  margin: 0;
  background: var(--hvn-surface);
  border: 1px solid var(--hvn-border);
  border-radius: 4px;
  overflow: hidden;
}
.hvn-page-t10 .hvn-t10-spec {
  display: flex;
  gap: 12px;
  padding: 13px 22px;
  font-size: 14px;
  line-height: 1.2;
}
.hvn-page-t10 .hvn-t10-spec:nth-child(odd) {
  background: color-mix(in oklab, var(--hvn-text) 4%, var(--hvn-surface));
}
.hvn-page-t10 .hvn-t10-spec-label {
  flex: 0 0 150px;
  margin: 0;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hvn-text-subtle);
  padding-top: 2px;
}
.hvn-page-t10 .hvn-t10-spec-value {
  margin: 0;
  min-width: 0;
  color: var(--hvn-text);
}
.hvn-page-t10 .hvn-t10-maker-link {
  display: inline-block;
  padding-block: 4px;
  margin-block: -4px;
  color: var(--hvn-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--hvn-accent);
}

/* ---- rating row: stars in the accent, link underlined in the accent; inline links carry 4px padding-block for a >= 24px hit area ---- */
.hvn-page-t10 .hvn-t10-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.hvn-page-t10 .hvn-t10-rating .rating-summary .rating-result { margin-left: 0; }
.hvn-page-t10 .hvn-t10-rating .rating-summary .rating-result::before { color: var(--hvn-rating-empty); }
.hvn-page-t10 .hvn-t10-rating .rating-summary .rating-result > span::before { color: var(--hvn-accent); }
.hvn-page-t10 .hvn-t10-rating-link {
  display: inline-block;
  padding-block: 4px;
  color: var(--hvn-text);
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--hvn-accent);
}

/* ---- buy box: surface card, 28px padding, 16px gap, sticky ---- */
.hvn-page-t10 .product-info-main {
  background: var(--hvn-surface);
  border: 1px solid var(--hvn-border);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 24px;
}
/* price row: price left (30px display), stock right (12px uppercase) */
.hvn-page-t10 .product-info-main .product-info-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.hvn-page-t10 .product-info-main .price-box { margin: 0; }
.hvn-page-t10 .product-info-main .price-box .price-wrapper .price {
  font-family: var(--hvn-font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--hvn-text);
}
.hvn-page-t10 .product-info-main .price-box .old-price .price {
  font-size: 16px;
  color: var(--hvn-text-subtle);
  text-decoration: line-through;
}
.hvn-page-t10 .product-info-main .product-info-stock-sku { margin: 0; }
.hvn-page-t10 .product-info-main .stock.available,
.hvn-page-t10 .product-info-main .stock.unavailable {
  display: inline-block;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hvn-success);
}
.hvn-page-t10 .product-info-main .stock.unavailable { color: var(--hvn-error); }
/* the options wrapper renders nothing for simple products; keep core's fieldset unpadded when it does */
.hvn-page-t10 .product-info-main .product-add-form { margin: 0; }
.hvn-page-t10 .product-info-main .product-options-wrapper .fieldset { margin: 0 0 16px; }
.hvn-page-t10 .product-info-main .product-options-wrapper .field.configurable { margin: 0 0 16px; }
.hvn-page-t10 .product-info-main .product-options-wrapper .field.configurable .label {
  display: block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hvn-text-subtle);
}
.hvn-page-t10 .product-info-main .super-attribute-select {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  font-size: 14px;
  color: var(--hvn-text);
  background-color: var(--hvn-surface);
  border: 1px solid var(--hvn-border);
  border-radius: 4px;
}
.hvn-page-t10 .product-info-main div.mage-error { margin-top: 8px; font-size: 13px; color: var(--hvn-error); }
.hvn-option-chips { display: flex; gap: 2px; margin: 0 0 4px -5px; }
.hvn-page-t10 .product-info-main .hvn-option-chip,
.hvn-page-t10 .product-info-main .hvn-option-chip:hover,
.hvn-page-t10 .product-info-main .hvn-option-chip:focus,
.hvn-page-t10 .product-info-main .hvn-option-chip:active {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.hvn-option-chip::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hvn-chip);
}
.hvn-option-chip[aria-pressed="true"]::before { outline: 2px solid var(--hvn-text); outline-offset: 3px; }
.hvn-option-chip:focus-visible::before { outline: 2px solid var(--hvn-accent); outline-offset: 3px; }
/* downloadable: Blank's two floated columns (0,3,0) do not fit the buy box */
.hvn-page-t10 .product-info-main .product-add-form .product-options-wrapper,
.hvn-page-t10 .product-info-main .product-add-form .product-options-bottom {
  float: none;
  width: 100%;
}
/* grouped: a row's price is the row's, not the page's headline price */
.hvn-page-t10 .product-info-main .table-wrapper.grouped .price-box .price { font-size: 16px; }
/* bundle: core drops the customise form below the columns, full-bleed */
.hvn-page-t10 .bundle-options-container {
  max-width: var(--hvn-container);
  margin-inline: auto;
  padding: 40px 40px 0;
  box-sizing: border-box;
}
.hvn-page-t10 .bundle-options-container .block-bundle-summary {
  padding: 24px;
  background: var(--hvn-surface);
  border: 1px solid var(--hvn-border);
  border-radius: 4px;
}
@media (max-width: 767px) {
  .hvn-page-t10 .bundle-options-container { padding: 24px 16px 0; }
}
/* clip, not display:none: the validator skips a hidden select */
.hvn-option-field--chips .control { position: relative; }
.hvn-page-t10 .product-info-main .hvn-option-field--chips .super-attribute-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}
.hvn-page-t10 .hvn-t10-tocart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hvn-page-t10 .hvn-t10-tocart .action.tocart { min-height: 48px; }
/* Core's empty shortcut-button containers (braintree, instant-purchase: whitespace + KO comments) would each add a 10px flex gap. */
.hvn-page-t10 .hvn-t10-tocart > :empty,
.hvn-page-t10 .hvn-t10-tocart > div:not(:has(*)) { display: none; margin: 0; }
.hvn-page-t10 .product-info-main .product-social-links,
.hvn-page-t10 .product-info-main .product-addto-links { margin: 0; }
/* (0,3,1)/(0,4,1): Blank's .product-info-main .action.towishlist (0,3,0) and its :hover/:focus/:active (0,4,0) paint a grey #e2e2e2/#555 button. */
.hvn-page-t10 .product-info-main a.hvn-t10-save {
  display: flex;
  min-height: 48px;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid var(--hvn-border-strong);
  border-radius: 4px;
  color: var(--hvn-text);
  font-family: var(--hvn-font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.hvn-page-t10 .product-info-main a.hvn-t10-save:focus {
  background: transparent;
  border-color: var(--hvn-border-strong);
  color: var(--hvn-text);
}
.hvn-page-t10 .product-info-main a.hvn-t10-save:hover,
.hvn-page-t10 .product-info-main a.hvn-t10-save:active {
  background: var(--hvn-accent-tint);
  border-color: var(--hvn-text);
  color: var(--hvn-text);
}
.hvn-page-t10 .hvn-t10-save-glyph { font-size: 16px; line-height: 1; }

/* service lines: 13px subtle text, 9px apart, rule above */
.hvn-page-t10 .hvn-t10-service {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-top: 1px solid var(--hvn-border);
  font-size: 13px;
  line-height: 1.5;
  color: var(--hvn-text-subtle);
}
.hvn-page-t10 .hvn-t10-service-line {
  display: flex;
  gap: 8px;
  margin: 0;
}
.hvn-page-t10 .hvn-t10-service-glyph { flex: 0 0 auto; }

/* ---- "In the same room": 72px above, h2 26px, the shared 4-up rail ---- */
/* 72px 48px 0: the same 48px gutter as the body grid, not .hvn-home-section's 40px. */
.hvn-page-t10 .hvn-t10-related { padding: 72px 48px 0; }
.hvn-page-t10 .hvn-t10-related-head h2 { font-size: 26px; }
.hvn-page-t10 .hvn-t10-related-head { margin-bottom: 24px; }
.hvn-page-t10 .page-footer { margin-top: 64px; }

/* ---- review/product/list (includes this handle): the core review form + list sit under the T10 sections ---- */
.hvn-page-t10.review-product-list .product.info.detailed {
  max-width: var(--hvn-container);
  margin-inline: auto;
  padding: 64px 48px 0;
}

/* ---- 768: one column; the left column's children become body grid items so the buy box can follow the h1 (DOM order unchanged) ---- */
@media (max-width: 1023px) {
  .hvn-page-t10 .hvn-t10-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 24px 0;
  }
  .hvn-page-t10 .hvn-t10-main { display: contents; }
  .hvn-page-t10 .hvn-t10-main > * { order: 3; }
  .hvn-page-t10 .hvn-t10-main > .breadcrumbs { order: 1; }
  .hvn-page-t10 .hvn-t10-main > .page-title-wrapper { order: 2; }
  .hvn-page-t10 .product-info-main {
    order: 2;
    position: static;
    margin-block: 12px;
  }
  .hvn-page-t10 .hvn-t10-hero { aspect-ratio: 16 / 9; }
  .hvn-page-t10 .hvn-t10-main .page-title { font-size: 36px; }
  .hvn-page-t10 .hvn-t10-related { padding: 56px 24px 0; }
  .hvn-page-t10.review-product-list .product.info.detailed { padding: 48px 24px 0; }
}

/* ---- 375: 16px gutters, 44px targets, the hero at the source 4/5 ratio ---- */
@media (max-width: 767px) {
  .hvn-page-t10 .hvn-t10-body {
    gap: 22px;
    padding: 24px 16px 0;
  }
  .hvn-page-t10 .hvn-t10-hero {
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }
  .hvn-page-t10 .hvn-t10-main .page-title { font-size: 30px; }
  .hvn-page-t10 .product-info-main { padding: 20px; }
  .hvn-page-t10 .hvn-t10-spec {
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
  }
  .hvn-page-t10 .hvn-t10-spec-label { flex-basis: auto; }
  .hvn-page-t10 .hvn-t10-maker-link {
    padding-block: 14px;
    margin-block: -14px;
  }
  .hvn-page-t10 .hvn-t10-related { padding: 40px 16px 0; }
  .hvn-page-t10.review-product-list .product.info.detailed { padding: 40px 16px 0; }
  .hvn-page-t10 .hvn-t10-rail .hvn-product-card-actions .hvn-btn { min-height: 44px; }
}
