:root {
  --luxury-ink: #1a120d;
  --luxury-brown: #6d3a28;
  --luxury-brown-deep: #241107;
  --luxury-gold: #c6903f;
  --luxury-gold-soft: #f7dca3;
  --luxury-ivory: #fff8ee;
  --luxury-paper: #fffaf3;
  --luxury-line: #ead7bd;
  --luxury-muted: #7a6654;
}

body.product-reference-page {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(247, 220, 163, 0.28), transparent 32%),
    linear-gradient(180deg, #fffaf3 0%, #f8ead8 52%, #fff8ee 100%);
  color: var(--luxury-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.product-reference-page *,
.product-reference-page *::before,
.product-reference-page *::after {
  box-sizing: border-box;
}

.ref-product-shell {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.ref-product-top {
  padding: 58px 0 72px;
  background: var(--luxury-ivory);
}

.ref-product-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin: 0 0 42px;
  border-bottom: 1px solid var(--luxury-line);
  padding-bottom: 23px;
  text-align: left;
}

.ref-product-heading > span {
  grid-column: 1 / -1;
  display: block;
  margin: 0 0 13px;
  color: var(--luxury-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.ref-product-heading h1 {
  margin: 0;
  color: var(--luxury-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: none;
}

.ref-product-heading p {
  margin: 0 0 3px 30px;
  color: var(--luxury-muted);
  font-size: 10px;
}

.ref-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.ref-product-left {
  min-width: 0;
}

.ref-product-gallery {
  position: relative;
  display: block;
  height: 520px;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--luxury-line);
  border-radius: 0;
  background: #e8dfd4;
  padding: 0;
  box-shadow: none;
}

.ref-product-gallery > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0;
  filter: none;
  transition: opacity 180ms ease;
}

.ref-product-gallery > img.is-loaded {
  opacity: 1;
}

.ref-mini-brand {
  position: absolute;
  z-index: 2;
  left: 24px;
  top: 22px;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.ref-mini-brand img {
  display: block;
  width: 124px;
  height: auto;
  filter:
    drop-shadow(0 1px 1px rgba(255, 255, 255, 0.9))
    drop-shadow(0 3px 7px rgba(50, 24, 14, 0.28));
}

.ref-product-gallery > strong {
  position: absolute;
  z-index: 2;
  right: 19px;
  top: 21px;
  max-width: 250px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--luxury-ink);
  text-align: right;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ref-gallery-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(36, 25, 20, 0.72);
  color: #fff;
  box-shadow: none;
  font-size: 23px;
}

.ref-gallery-prev {
  left: 18px;
}

.ref-gallery-next {
  right: 18px;
}

.ref-product-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 0;
  scrollbar-width: none;
}

.ref-product-thumbs::-webkit-scrollbar {
  display: none;
}

.ref-product-thumbs button {
  width: 66px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--luxury-line);
  border-radius: 0;
  background: var(--luxury-paper);
  padding: 3px;
}

.ref-product-thumbs button.active {
  border: 2px solid var(--luxury-gold);
}

.ref-product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-start-price {
  margin: 0 0 12px;
  color: var(--luxury-muted);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.ref-start-price strong {
  margin-left: 6px;
  color: var(--luxury-ink);
  font-size: 11px;
  font-weight: 700;
}

.ref-add-button {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--luxury-brown-deep);
  border-radius: 0;
  background: var(--luxury-brown-deep);
  color: #fff;
  box-shadow: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ref-add-button:hover {
  background: transparent;
  color: var(--luxury-brown-deep);
}

.ref-product-summary {
  position: relative;
  height: auto;
  min-height: 0;
  margin: 14px 0 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--luxury-line);
  border-radius: 0;
  background: transparent;
  padding: 22px 0 0;
  box-shadow: none;
}

.ref-product-summary::after {
  display: none;
}

.ref-product-summary > span {
  display: block;
  margin: 0 0 8px;
  color: var(--luxury-gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ref-product-summary h2 {
  margin: 0 0 16px;
  color: var(--luxury-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.2;
  text-transform: none;
}

.ref-product-summary p {
  margin: 0 0 13px;
  color: var(--luxury-muted);
  font-size: 14px;
  line-height: 1.8;
}

.ref-quote-card {
  overflow: hidden;
  border: 1px solid rgba(75, 40, 28, 0.18);
  border-radius: 0;
  background: var(--luxury-brown);
  color: #fff;
  box-shadow: none;
}

.ref-quote-card > h2 {
  margin: 0;
  border-bottom: 1px solid #d9b574;
  background: var(--luxury-gold-soft);
  padding: 21px 16px;
  color: var(--luxury-ink);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
}

.ref-quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 14px;
  padding: 26px;
}

.ref-quote-form label {
  display: grid;
  gap: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.ref-quote-form label i {
  color: var(--luxury-gold-soft);
  font-style: normal;
}

.ref-quote-form .full {
  grid-column: 1 / -1;
}

.ref-dimension-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.ref-quote-form input,
.ref-quote-form select,
.ref-quote-form textarea {
  width: 100%;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  background: var(--luxury-paper);
  padding: 0 11px;
  color: var(--luxury-ink);
  font: inherit;
  font-size: 11px;
}

.ref-quote-form input::placeholder,
.ref-quote-form textarea::placeholder {
  color: #8b827c;
}

.ref-quote-form select {
  color-scheme: light;
}

.ref-quote-form textarea {
  height: 72px;
  padding-top: 10px;
  resize: vertical;
}

.ref-quote-form input[type="file"] {
  height: auto;
  min-height: 42px;
  padding: 8px 10px;
}

.ref-quote-form button {
  grid-column: 1 / -1;
  height: 48px;
  border: 1px solid var(--luxury-gold-soft);
  border-radius: 0;
  background: var(--luxury-gold-soft);
  color: var(--luxury-ink);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ref-quote-form button:hover {
  background: transparent;
  color: #fff;
}

.ref-detail-area {
  border-top: 1px solid var(--luxury-line);
  background: var(--luxury-paper);
  padding: 40px 0 86px;
}

.ref-detail-tabs {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 48px;
  overflow-x: auto;
  border-bottom: 1px solid var(--luxury-line);
}

.ref-detail-tabs a {
  min-width: max-content;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 14px 16px;
  color: var(--luxury-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ref-detail-tabs a.active,
.ref-detail-tabs a:hover {
  border-bottom-color: var(--luxury-gold);
  background: transparent;
  color: var(--luxury-ink);
}

.ref-description-box {
  position: relative;
  height: auto;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0 45px;
  box-shadow: none;
}

.ref-content-kicker {
  display: block;
  margin: 0 0 11px;
  color: var(--luxury-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ref-description-box h2 {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--luxury-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

.ref-description-box h3 {
  margin: 27px 0 8px;
  color: var(--luxury-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 400;
}

.ref-description-box p {
  max-width: 920px;
  margin: 0 0 9px;
  color: var(--luxury-muted);
  font-size: 11px;
  line-height: 1.85;
}

.ref-review-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  margin-top: 0;
  border-top: 1px solid var(--luxury-line);
  padding-top: 44px;
}

.ref-review-summary {
  align-self: start;
  border: 1px solid var(--luxury-line);
  border-radius: 0;
  background: transparent;
  padding: 22px;
}

.ref-review-score {
  color: var(--luxury-ink);
}

.ref-review-score span,
.ref-review-cards article > div {
  color: var(--luxury-gold);
}

.ref-review-summary a {
  display: block;
  margin-top: 14px;
  border: 1px solid var(--luxury-brown);
  border-radius: 0;
  background: var(--luxury-brown);
  padding: 10px;
  color: #fff;
  text-align: center;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ref-review-content h2 {
  margin: 0 0 5px;
  color: var(--luxury-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 400;
}

.ref-review-content header p {
  color: var(--luxury-muted);
  font-size: 9px;
}

.ref-review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ref-review-cards article {
  min-height: 180px;
  border: 1px solid var(--luxury-line);
  border-radius: 0;
  background: transparent;
  padding: 20px;
}

.ref-review-cards h3 {
  color: var(--luxury-ink);
  font-size: 11px;
}

.ref-review-cards p {
  color: var(--luxury-muted);
  font-size: 9px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .ref-product-shell {
    width: min(760px, calc(100% - 32px));
  }

  .ref-product-heading {
    display: block;
  }

  .ref-product-heading p {
    margin: 13px 0 0;
  }

  .ref-product-grid {
    grid-template-columns: 1fr;
  }

  .ref-product-gallery {
    height: 500px;
    min-height: 500px;
  }
}

@media (max-width: 580px) {
  .ref-product-shell {
    width: calc(100% - 20px);
  }

  .ref-product-top {
    padding: 32px 0 48px;
  }

  .ref-product-heading {
    margin-bottom: 28px;
  }

  .ref-product-heading h1 {
    font-size: 34px;
  }

  .ref-product-gallery {
    height: 330px;
    min-height: 330px;
  }

  .ref-quote-form {
    padding: 18px;
  }

  .ref-review-section {
    grid-template-columns: 1fr;
  }

  .ref-review-cards {
    grid-template-columns: 1fr;
  }

  .ref-description-box h2 {
    font-size: 30px;
  }
}

/* Product information section follows the approved tab-and-scroll reference. */
.ref-detail-area {
  border-top: 1px solid var(--luxury-line);
  background: var(--luxury-paper);
  padding: 36px 0 78px;
}

.ref-detail-tabs {
  display: flex;
  width: max-content;
  max-width: 100%;
  justify-content: center;
  margin: 0 auto 48px;
  overflow-x: auto;
  border: 0;
}

.ref-detail-tabs a {
  min-width: max-content;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--luxury-brown-deep);
  padding: 16px 25px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.ref-detail-tabs a.active,
.ref-detail-tabs a:hover {
  border-bottom: 0;
  background: var(--luxury-gold-soft);
  color: var(--luxury-ink);
}

.ref-description-box {
  position: relative;
  height: 500px;
  max-height: 500px;
  overflow-y: auto;
  border: 1px solid #eee8df;
  border-radius: 14px;
  background: #fff;
  padding: 34px 38px;
  box-shadow: 0 8px 26px rgba(36, 25, 20, 0.09);
  scrollbar-color: #928e89 transparent;
  scrollbar-width: thin;
}

.ref-description-box::-webkit-scrollbar {
  width: 9px;
}

.ref-description-box::-webkit-scrollbar-track {
  background: transparent;
}

.ref-description-box::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  border-radius: 999px;
  background: #928e89;
}

.ref-content-kicker {
  margin-bottom: 10px;
}

.ref-description-box h2 {
  max-width: 850px;
  margin-bottom: 21px;
  font-size: 30px;
}

.ref-description-box h3 {
  margin: 24px 0 8px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
}

.ref-description-box p {
  max-width: none;
  color: #4f5965;
  font-size: 12px;
  line-height: 1.75;
}

.ref-review-section {
  margin-top: 48px;
}

@media (max-width: 720px) {
  .ref-detail-tabs {
    justify-content: flex-start;
    margin-bottom: 30px;
  }

  .ref-detail-tabs a {
    padding: 13px 17px;
    font-size: 10px;
  }

  .ref-description-box {
    height: 420px;
    max-height: 420px;
    border-radius: 10px;
    padding: 26px 22px;
  }

  .ref-description-box h2 {
    font-size: 25px;
  }
}

/* Larger, full-width product information navigation. */
.product-reference-page .ref-detail-tabs {
  width: 100%;
}

.product-reference-page .ref-detail-tabs button {
  flex: 1 1 auto;
  min-width: max-content;
  min-height: 66px;
  padding: 0 25px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .product-reference-page .ref-detail-tabs {
    width: max-content;
    max-width: 100%;
    justify-content: flex-start;
  }

  .product-reference-page .ref-detail-tabs button {
    flex: 0 0 auto;
    min-height: 58px;
    padding: 0 21px;
    font-size: 13px;
  }
}

/* Readable product details and customer feedback typography. */
.product-reference-page .ref-content-kicker {
  display: none;
}

.product-reference-page .ref-content-kicker {
  margin-bottom: 13px;
  font-size: 12px;
}

.product-reference-page .ref-description-box h2 {
  margin-bottom: 27px;
  font-size: 36px;
  line-height: 1.2;
}

.product-reference-page .ref-description-box h3 {
  margin: 29px 0 10px;
  font-size: 21px;
  font-weight: 650;
}

.product-reference-page .ref-description-box p {
  margin-bottom: 13px;
  font-size: 16px;
  line-height: 1.85;
}

.product-reference-page .ref-review-content h2 {
  margin-bottom: 8px;
  font-size: 38px;
  line-height: 1.2;
}

.product-reference-page .ref-review-content header p {
  font-size: 14px;
  line-height: 1.6;
}

.product-reference-page .ref-review-summary {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding: 26px 22px;
}

.product-reference-page .ref-review-score {
  font-size: 20px;
}

.product-reference-page .ref-review-score span {
  font-size: 13px;
}

.product-reference-page .ref-review-summary small {
  margin: 7px 0 15px;
  font-size: 12px;
  line-height: 1.5;
}

.product-reference-page .ref-review-sources {
  border-bottom: 0;
  padding: 13px 0;
  font-size: 11px;
}

.product-reference-page .ref-review-highlights {
  display: grid;
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid var(--luxury-line);
}

.product-reference-page .ref-review-highlights div {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--luxury-line);
  padding: 13px 0;
}

.product-reference-page .ref-review-highlights b {
  color: var(--luxury-ink);
  font-size: 12px;
  line-height: 1.35;
}

.product-reference-page .ref-review-highlights span {
  color: var(--luxury-muted);
  font-size: 11px;
  line-height: 1.45;
}

.product-reference-page .ref-review-summary a {
  margin-top: auto;
  padding: 13px 10px;
  font-size: 11px;
}

.product-reference-page .ref-review-cards article {
  min-height: 220px;
  padding: 25px 22px;
}

.product-reference-page .ref-review-cards article > div {
  font-size: 13px;
}

.product-reference-page .ref-review-cards h3 {
  margin: 12px 0 4px;
  font-size: 16px;
}

.product-reference-page .ref-review-cards small {
  font-size: 11px;
}

.product-reference-page .ref-review-cards p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.75;
}

@media (min-width: 961px) {
  .product-reference-page .ref-review-section {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .product-reference-page .ref-review-content {
    grid-column: span 3;
  }
}

@media (max-width: 720px) {
  .product-reference-page .ref-description-box h2 {
    font-size: 29px;
  }

  .product-reference-page .ref-description-box h3 {
    font-size: 19px;
  }

  .product-reference-page .ref-description-box p {
    font-size: 15px;
  }

  .product-reference-page .ref-review-content h2 {
    font-size: 31px;
  }
}

/* One consistent typeface across the complete product page. */
.product-reference-page,
.product-reference-page button,
.product-reference-page input,
.product-reference-page select,
.product-reference-page textarea,
.product-reference-page h1,
.product-reference-page h2,
.product-reference-page h3,
.product-reference-page h4,
.product-reference-page p,
.product-reference-page a,
.product-reference-page span,
.product-reference-page strong,
.product-reference-page small,
.product-reference-page b,
.product-reference-page summary,
.product-reference-page label {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

.ref-related-products {
  margin-top: 78px;
  border-top: 1px solid var(--luxury-line);
  padding-top: 64px;
}

.ref-related-products > h2 {
  margin: 0 0 42px;
  color: var(--luxury-ink);
  text-align: center;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ref-related-carousel {
  position: relative;
}

.ref-related-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.ref-related-track::-webkit-scrollbar {
  display: none;
}

.ref-related-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--luxury-line);
  border-radius: 10px;
  background: #fff;
  color: var(--luxury-ink);
  transition: transform 180ms ease, border-color 180ms ease;
}

.ref-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--luxury-gold);
}

.ref-related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ref-related-card h3 {
  margin: 0;
  padding: 18px 16px 21px;
  text-align: center;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.ref-related-arrow {
  position: absolute;
  z-index: 3;
  top: 42%;
  display: grid;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--luxury-brown-deep);
  color: var(--luxury-gold-soft);
  font: inherit;
  font-size: 27px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(36, 25, 20, 0.18);
}

.ref-related-prev {
  left: -17px;
}

.ref-related-next {
  right: -17px;
}

@media (max-width: 900px) {
  .ref-related-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (max-width: 640px) {
  .ref-related-products {
    margin-top: 54px;
    padding-top: 44px;
  }

  .ref-related-products > h2 {
    margin-bottom: 28px;
  }

  .ref-related-card {
    flex-basis: 78%;
  }

  .ref-related-prev {
    left: 7px;
  }

  .ref-related-next {
    right: 7px;
  }
}

.ref-final-cta {
  position: relative;
  min-height: 410px;
  margin-top: 86px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(21, 14, 11, 0.95) 0%, rgba(30, 19, 14, 0.82) 37%, rgba(30, 19, 14, 0.2) 72%, rgba(30, 19, 14, 0.08) 100%),
    url("assets/images/triya-hero-packaging.webp") center center / cover no-repeat;
}

.ref-final-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.ref-final-cta-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
  padding: 72px 0 38px;
  color: #fff;
}

.ref-final-cta-inner > span {
  display: block;
  margin-bottom: 13px;
  color: var(--luxury-gold-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.ref-final-cta h2 {
  max-width: 650px;
  margin: 0 0 18px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.ref-final-cta p {
  max-width: 570px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.7;
}

.ref-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ref-final-cta-actions a {
  display: inline-flex;
  min-width: 190px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ref-final-cta-actions .primary {
  background: var(--luxury-gold-soft);
  color: var(--luxury-ink);
  box-shadow: 0 12px 28px rgba(231, 201, 145, 0.2);
}

.ref-final-cta-actions .secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ref-final-cta-actions .whatsapp {
  background: #1fbd69;
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 189, 105, 0.16);
}

.ref-final-cta-actions a:hover {
  transform: translateY(-3px);
}

.ref-final-cta-actions svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.ref-final-cta-trust {
  display: inline-flex;
  flex-wrap: wrap;
  margin-top: 41px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 253, 249, 0.94);
  color: var(--luxury-ink);
  backdrop-filter: blur(10px);
}

.ref-final-cta-trust span {
  padding: 12px 18px;
  border-right: 1px solid var(--luxury-line);
  font-size: 9px;
  font-weight: 700;
}

.ref-final-cta-trust span:last-child {
  border-right: 0;
}

@media (max-width: 720px) {
  .ref-final-cta {
    min-height: 500px;
    margin-top: 60px;
    background:
      linear-gradient(90deg, rgba(21, 14, 11, 0.94), rgba(21, 14, 11, 0.58)),
      url("assets/images/triya-hero-packaging.webp") 65% center / cover no-repeat;
  }

  .ref-final-cta-inner {
    width: calc(100% - 36px);
    padding-top: 58px;
  }

  .ref-final-cta h2 {
    font-size: 39px;
  }

  .ref-final-cta-actions a {
    min-width: 0;
    flex: 1 1 135px;
  }

  .ref-final-cta-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ref-final-cta-trust span {
    border-bottom: 1px solid var(--luxury-line);
  }
}

.ref-detail-tabs button {
  min-width: max-content;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--luxury-brown-deep);
  padding: 16px 25px;
  color: #fff;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ref-detail-tabs button.active,
.ref-detail-tabs button:hover {
  background: var(--luxury-gold-soft);
  color: var(--luxury-ink);
}

.ref-tab-panel[hidden] {
  display: none;
}

.ref-tab-panel {
  animation: refTabFade 180ms ease;
}

@keyframes refTabFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ref-tab-faqs details {
  border-bottom: 1px solid var(--luxury-line);
  padding: 15px 0;
}

.ref-tab-faqs summary {
  cursor: pointer;
  color: var(--luxury-ink);
  font-size: 13px;
  font-weight: 700;
}

.ref-tab-faqs details p {
  margin: 9px 0 0;
}

.ref-guideline-grid,
.ref-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.ref-guideline-grid article,
.ref-option-grid article {
  border: 1px solid var(--luxury-line);
  background: #fffdf9;
  padding: 20px;
}

.ref-guideline-grid article > b {
  color: var(--luxury-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.ref-guideline-grid h3,
.ref-option-grid h3 {
  margin-top: 10px;
}

.ref-process-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ref-process-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--luxury-line);
  padding: 16px 0;
}

.ref-process-list li > b {
  color: var(--luxury-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.ref-process-list h3 {
  margin: 0 0 5px;
}

.ref-process-list p {
  margin: 0;
}

@media (max-width: 720px) {
  .ref-detail-tabs button {
    padding: 13px 17px;
    font-size: 10px;
  }

  .ref-guideline-grid,
  .ref-option-grid,
  .ref-process-list {
    grid-template-columns: 1fr;
  }
}

/* Approved square product photography and light quote CTA. */
.ref-product-gallery {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.ref-product-gallery > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-add-button {
  border: 1px solid var(--luxury-brown);
  background: var(--luxury-paper);
  color: var(--luxury-brown);
}

.ref-add-button:hover {
  background: var(--luxury-gold-soft);
  color: var(--luxury-ink);
}

@media (max-width: 960px) {
  .ref-product-gallery {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 580px) {
  .ref-product-gallery {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .ref-mini-brand {
    left: 15px;
    top: 15px;
  }

  .ref-mini-brand img {
    width: 92px;
  }
}

/* Brand palette aligned with the home page and main catalog pages. */
.product-reference-page .ref-product-top {
  background: transparent;
}

.product-reference-page .ref-detail-area {
  background: rgba(255, 250, 243, 0.9);
}

.product-reference-page .ref-quote-card {
  border-color: #d8ac64;
  background: linear-gradient(180deg, #fffdf9 0%, #fff6e8 100%);
  color: #1a120d;
  box-shadow:
    0 26px 64px rgba(74, 43, 23, 0.2),
    0 0 0 5px rgba(247, 220, 163, 0.2);
}

.product-reference-page .ref-quote-card > h2 {
  border-bottom-color: rgba(198, 144, 63, 0.45);
  background: linear-gradient(135deg, #fff0c7 0%, #f2ce88 55%, #d7a84f 100%);
  color: #1a120d;
  font-size: 30px;
  font-weight: 700;
}

.product-reference-page .ref-quote-form input,
.product-reference-page .ref-quote-form select,
.product-reference-page .ref-quote-form textarea {
  border-color: #ddc29a;
  background: #fff;
  color: #1a120d;
}

.product-reference-page .ref-quote-form label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 5px;
  color: #563c2b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.product-reference-page .ref-quote-form label i {
  order: -1;
  display: inline-block;
  flex: 0 0 auto;
  color: #c6903f;
  font-size: 14px;
  line-height: 1;
}

.product-reference-page .ref-quote-form label > input,
.product-reference-page .ref-quote-form label > select,
.product-reference-page .ref-quote-form label > textarea {
  flex: 0 0 100%;
}

.product-reference-page .ref-quote-form input:focus,
.product-reference-page .ref-quote-form select:focus,
.product-reference-page .ref-quote-form textarea:focus {
  border-color: #c6903f;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(198, 144, 63, 0.18);
}

.product-reference-page .ref-quote-form button {
  min-height: 56px;
  border-color: #c6903f;
  background: linear-gradient(135deg, #fff0c7 0%, #f7dca3 48%, #c6903f 100%);
  color: #241407;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  box-shadow: 0 14px 32px rgba(198, 144, 63, 0.3);
}

.product-reference-page .ref-quote-form button:hover {
  border-color: #aa712c;
  background: linear-gradient(135deg, #f7dca3 0%, #d9aa58 56%, #aa712c 100%);
  color: #241407;
}

.product-reference-page .ref-detail-tabs button,
.product-reference-page .ref-detail-tabs a {
  border-right-color: rgba(247, 220, 163, 0.14);
  background: linear-gradient(90deg, #1a120d, #3a2115);
  color: rgba(255, 255, 255, 0.88);
}

.product-reference-page .ref-detail-tabs button.active,
.product-reference-page .ref-detail-tabs button:hover,
.product-reference-page .ref-detail-tabs a.active,
.product-reference-page .ref-detail-tabs a:hover {
  background: linear-gradient(135deg, #fff0c7, #f7dca3 55%, #c6903f);
  color: #1a120d;
}

.product-reference-page .ref-description-box {
  border-color: #ead7bd;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 12px 34px rgba(74, 43, 23, 0.1);
}

.product-reference-page .ref-description-box p {
  color: #7a6654;
}

.product-reference-page .ref-review-summary,
.product-reference-page .ref-review-cards article,
.product-reference-page .ref-related-card {
  border-color: #ead7bd;
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 10px 28px rgba(74, 43, 23, 0.07);
}

.product-reference-page .ref-review-summary a {
  border-color: #6d3a28;
  background: #6d3a28;
}

.product-reference-page .ref-review-summary a:hover {
  border-color: #c6903f;
  background: #c6903f;
  color: #1a120d;
}

.product-reference-page .ref-gallery-arrow,
.product-reference-page .ref-related-arrow {
  background: #241107;
  color: #f7dca3;
  box-shadow: 0 8px 22px rgba(36, 17, 7, 0.2);
}

.product-reference-page .ref-product-thumbs button.active {
  border-color: #c6903f;
  box-shadow: 0 0 0 2px rgba(198, 144, 63, 0.18);
}

.product-reference-page .ref-final-cta-actions .primary {
  background: linear-gradient(135deg, #fff0c7, #f7dca3 48%, #c6903f);
  color: #241407;
}

/* Responsive review layout: prevent narrow-screen horizontal overflow. */
@media (max-width: 960px) {
  .product-reference-page .ref-review-section { grid-template-columns: 1fr; }
  .product-reference-page .ref-review-content { min-width: 0; }
}

/* Independent product page navigation spacing. */
.product-reference-page { padding-top: 104px; }
.product-reference-page > .site-header { font-family: Inter, Arial, sans-serif; }
@media (max-width: 680px) { .product-reference-page { padding-top: 82px; } }

/* Typography readability second pass - 2026-08-18 */
.ref-product-heading>span,.ref-product-heading p,.ref-start-price,.ref-start-price strong,.ref-add-button,.ref-quote-form label,.ref-quote-form input,.ref-quote-form select,.ref-quote-form textarea,.ref-quote-form button,.ref-description-box p,.ref-review-cards h3,.ref-review-cards p,.ref-detail-tabs a,.ref-detail-tabs button,.product-reference-page .ref-review-sources,.product-reference-page .ref-review-highlights span,.product-reference-page .ref-review-summary a,.product-reference-page .ref-review-cards small,.ref-final-cta-inner>span{font-size:12px}
