@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap");
:root {
  --paper: #f1ece1;
  --card: #f7f3ea;
  --ink: #191714;
  --muted: #746e64;
  --line: #d0c5b5;
  --red: #96302f;
}
* {
  box-sizing: border-box;
}
html {
  background: #242321;
}
body {
  margin: 0;
  color: var(--ink);
  background: #242321;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
}
.detail-shell {
  width: min(100%, 900px);
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid #c8beaf;
  box-shadow: 0 0 0 1px #eee5d6;
}
.detail-header {
  position: relative;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
}
.back-link {
  color: var(--ink);
  font-size: 34px;
  text-decoration: none;
}
.detail-brand {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  transform: translateX(-50%);
}
.detail-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.detail-brand span {
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.detail-brand small {
  display: block;
  margin-top: 5px;
  color: var(--red);
  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  letter-spacing: 0.4em;
  text-align: center;
}
.menu-button {
  display: grid;
  gap: 5px;
  width: 31px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-button i {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--ink);
}
.menu-button i:nth-child(2) {
  width: 21px;
}
.menu-button i:nth-child(3) {
  width: 14px;
}
.product-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 32px 40px 42px;
}
.gallery {
  position: relative;
  min-width: 0;
}
.gallery-main {
  height: 420px;
  overflow: hidden;
  border-radius: 5px;
  background: #ddd5c8;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) sepia(0.15) contrast(1.08);
}
.gallery-count {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 5px 9px;
  border-radius: 4px;
  background: #f1ece1dd;
  color: #635b50;
  font-size: 11px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.thumb {
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #ddd5c8;
  cursor: pointer;
}
.thumb.active {
  border: 2px solid var(--red);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) sepia(0.15);
}
.product-summary {
  padding: 32px 0 0;
}
.eyebrow,
.section-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.product-summary h1 {
  max-width: 400px;
  margin: 25px 0 32px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.045em;
}
.product-price {
  margin: 0 0 28px;
  color: var(--red);
  font-size: 25px;
  font-weight: 700;
}
.product-price small,
.rented-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.stats {
  display: flex;
  gap: 28px;
  padding-bottom: 20px;
  color: #5e584f;
  font-size: 15px;
}
.stats b {
  margin-right: 7px;
  color: var(--muted);
  font-size: 19px;
}
.rating {
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--red);
  font-size: 16px;
}
.rating b {
  font-size: 20px;
}
.rating small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 12px;
}
.summary-description {
  margin-top: 35px;
  color: #5a554d;
  font-size: 14px;
  line-height: 1.7;
}
.rental-form {
  padding: 0 40px 45px;
}
.section-rule {
  height: 1px;
  margin-bottom: 38px;
  background: var(--line);
}
.section-kicker {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 31px;
  letter-spacing: -0.03em;
}
.section-lead {
  margin: 0 0 36px;
  color: #5d574e;
  font-size: 14px;
}
fieldset {
  margin: 0 0 35px;
  padding: 0;
  border: 0;
}
legend,
.rented-item h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  font-size: 17px;
  font-weight: 600;
}
legend span,
.rented-item h2 span {
  color: #806a48;
  font-size: 21px;
}
label {
  display: block;
  margin: 0 0 9px;
  font-size: 13px;
  font-weight: 600;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 57px;
  margin-bottom: 23px;
  padding: 0 15px;
  border: 1px solid #d6c6ad;
  border-radius: 8px;
  background: #f7f0e3;
}
.input-wrap span {
  color: #aaa094;
  font-size: 22px;
}
.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.input-wrap input::placeholder,
.textarea-wrap textarea::placeholder {
  color: #938c81;
}
.field-help {
  margin: -11px 0 22px;
  color: #716b62;
  font-size: 13px;
}
.document-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.document-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 80px;
  margin: 0;
  padding: 18px;
  border: 1px solid #dbcbb3;
  border-radius: 8px;
  cursor: pointer;
}
.document-option.selected {
  border: 2px solid #d87059;
}
.document-option input {
  position: absolute;
  opacity: 0;
}
.radio {
  width: 21px;
  height: 21px;
  border: 1px solid #6f695f;
  border-radius: 50%;
}
.document-option.selected .radio {
  box-shadow: inset 0 0 0 5px var(--paper);
  background: #785f3e;
}
.document-option span:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.document-option b {
  font-size: 15px;
}
.document-option small {
  font-size: 11px;
  font-weight: 400;
}
.document-option strong {
  margin-left: auto;
  font-size: 25px;
}
.info-box {
  display: flex;
  gap: 15px;
  margin: 0 0 25px;
  padding: 18px 20px;
  border: 1px solid #e0cdaa;
  border-radius: 8px;
  background: #f4ead8;
  color: #665d50;
  font-size: 12px;
  line-height: 1.5;
}
.info-box > b {
  display: grid;
  flex: 0 0 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  background: #9b7137;
  color: #fff;
}
.info-box span {
  display: grid;
  gap: 5px;
}
.rented-item {
  margin: 0 0 28px;
  padding: 22px 20px;
  border: 1px solid #dbcbb3;
  border-radius: 8px;
}
.rented-item h2 {
  margin: 0 0 18px;
  font-size: 16px;
}
.rented-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.rented-row img {
  width: 75px;
  height: 70px;
  object-fit: cover;
  filter: grayscale(1) sepia(0.15);
}
.rented-row div {
  display: grid;
  gap: 10px;
  flex: 1;
}
.rented-row div b {
  font-family: Georgia, serif;
  font-size: 17px;
}
.rented-row div span {
  color: var(--muted);
  font-size: 12px;
}
.rented-row > strong {
  color: var(--red);
  font-size: 17px;
  white-space: nowrap;
}
.notes-label {
  margin-bottom: 9px;
}
.textarea-wrap {
  position: relative;
}
.textarea-wrap textarea {
  width: 100%;
  height: 96px;
  resize: vertical;
  padding: 17px;
  border: 1px solid #d6c6ad;
  border-radius: 8px;
  outline: 0;
  background: #f7f0e3;
  color: var(--ink);
  font-size: 13px;
}
.textarea-wrap span {
  position: absolute;
  right: 17px;
  bottom: 15px;
  color: #6c665c;
  font-size: 22px;
}
.submit-button {
  width: 100%;
  height: 64px;
  margin-top: 27px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: #fff8ed;
  font-size: 17px;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.submit-button span {
  margin-left: 30px;
  font-size: 26px;
}
.form-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: var(--red);
  font-size: 12px;
  text-align: center;
}
.whatsapp-retry { display: block; margin-top: 10px; color: var(--red); text-align: center; font-size: 12px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
@media (max-width: 700px) {
  .detail-shell {
    width: 100%;
    border: 0;
    box-shadow: none;
  }
  .detail-header {
    height: 68px;
    padding: 0 18px;
  }
  .detail-brand img {
    width: 31px;
    height: 31px;
  }
  .detail-brand span {
    font-size: 16px;
  }
  .detail-brand small {
    font-size: 6px;
  }
  .back-link {
    font-size: 27px;
  }
  .product-overview {
    display: block;
    padding: 20px 18px 28px;
  }
  .gallery-main {
    height: 315px;
  }
  .gallery-thumbs {
    gap: 6px;
  }
  .thumb {
    height: 62px;
  }
  .product-summary {
    padding: 27px 0 0;
  }
  .product-summary h1 {
    margin: 17px 0 22px;
    font-size: 34px;
  }
  .product-price {
    margin-bottom: 22px;
    font-size: 22px;
  }
  .stats {
    gap: 18px;
    font-size: 12px;
  }
  .summary-description {
    margin-top: 23px;
    font-size: 13px;
  }
  .rental-form {
    padding: 0 18px 30px;
  }
  .section-rule {
    margin: 0 -18px 30px;
  }
  .section-kicker {
    font-size: 29px;
  }
  .section-lead {
    font-size: 12px;
    margin-bottom: 29px;
  }
  .document-options {
    gap: 10px;
  }
  .document-option {
    min-height: 100px;
    padding: 12px;
    gap: 9px;
  }
  .document-option b {
    font-size: 14px;
  }
  .document-option small {
    font-size: 9px;
  }
  .document-option strong {
    font-size: 20px;
  }
  .info-box {
    padding: 15px;
    font-size: 11px;
  }
  .rented-item {
    padding: 17px 14px;
  }
  .rented-row {
    gap: 10px;
  }
  .rented-row img {
    width: 63px;
    height: 60px;
  }
  .rented-row div b {
    font-size: 14px;
  }
  .rented-row > strong {
    font-size: 14px;
  }
  .submit-button {
    height: 58px;
    font-size: 14px;
  }
  .submit-button span {
    margin-left: 20px;
  }
}

/* =========================================================
   DESKTOP DETAIL PAGE
   Mobile styles above stay unchanged. This block only expands
   the existing detail page into a proper desktop layout.
   ========================================================= */
@media (min-width: 901px) {
  html,
  body {
    background: var(--paper);
  }

  .detail-shell {
    width: 100%;
    max-width: 1440px;
    min-height: 100vh;
    margin: 0 auto;
    border: 0;
    box-shadow: none;
  }

  .detail-header {
    height: 96px;
    padding: 0 clamp(48px, 6vw, 88px);
    border-bottom: 1px solid var(--line);
  }

  .back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 30px;
    line-height: 1;
  }

  .detail-brand {
    gap: 14px;
  }

  .detail-brand img {
    width: 40px;
    height: 40px;
  }

  .detail-brand span {
    font-size: 24px;
  }

  .detail-brand small {
    margin-top: 4px;
    font-size: 7px;
  }

  .product-overview {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: clamp(64px, 7vw, 112px);
    padding: 72px clamp(56px, 7vw, 108px) 84px;
  }

  .gallery-main {
    height: clamp(500px, 44vw, 620px);
    border-radius: 0;
    background: #ddd5c8;
  }

  .gallery-main img {
    object-fit: contain;
    padding: clamp(28px, 3vw, 46px);
    filter: none;
    mix-blend-mode: multiply;
  }

  /* Product data currently provides one image only. Keep desktop clean. */
  .gallery-count,
  .gallery-thumbs {
    display: none;
  }

  .product-summary {
    align-self: center;
    max-width: 500px;
    padding: 0;
  }

  .product-summary .eyebrow {
    margin: 0;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .product-summary h1 {
    max-width: 500px;
    margin: 20px 0 28px;
    font-size: clamp(48px, 4.8vw, 72px);
    line-height: 0.96;
  }

  .product-price {
    margin-bottom: 30px;
    font-size: 27px;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 17px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .stats span {
    padding-right: 18px;
  }

  .stats span + span {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .summary-description {
    max-width: 440px;
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.75;
  }

  .rental-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(48px, 6vw, 84px);
    width: calc(100% - 112px);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 0 104px;
  }

  .rental-form > .section-rule,
  .rental-form > .section-kicker,
  .rental-form > .section-lead,
  .rental-form > fieldset:nth-of-type(3),
  .rental-form > .info-box,
  .rental-form > .rented-item,
  .rental-form > .notes-label,
  .rental-form > .textarea-wrap,
  .rental-form > .submit-button,
  .rental-form > .form-status,
  .rental-form > .whatsapp-retry {
    grid-column: 1 / -1;
  }

  .section-rule {
    margin-bottom: 48px;
  }

  .section-kicker {
    margin-bottom: 10px;
    font-size: 36px;
  }

  .section-lead {
    max-width: 720px;
    margin-bottom: 46px;
    font-size: 13px;
    line-height: 1.7;
  }

  .rental-form > fieldset:nth-of-type(1),
  .rental-form > fieldset:nth-of-type(2) {
    margin-bottom: 42px;
  }

  legend,
  .rented-item h2 {
    margin-bottom: 22px;
  }

  .input-wrap {
    height: 58px;
    margin-bottom: 20px;
  }

  .field-help {
    max-width: 470px;
    line-height: 1.6;
  }

  .rental-form > fieldset:nth-of-type(3) {
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .rental-form > fieldset:nth-of-type(3) legend {
    padding-top: 34px;
  }

  .document-options {
    gap: 18px;
  }

  .document-option {
    min-height: 86px;
  }

  .info-box {
    margin-top: -4px;
  }

  .rented-item {
    margin-top: 8px;
    padding: 24px;
  }

  .rented-row img {
    width: 92px;
    height: 84px;
    padding: 7px;
    object-fit: contain;
    background: #ddd5c8;
    filter: none;
    mix-blend-mode: multiply;
  }

  .rented-row div b {
    font-size: 19px;
  }

  .rented-row > strong {
    font-size: 18px;
  }

  .textarea-wrap textarea {
    min-height: 120px;
  }

  .submit-button {
    justify-self: end;
    width: min(100%, 360px);
    margin-top: 30px;
  }

  .form-status,
  .whatsapp-retry {
    justify-self: end;
    width: min(100%, 360px);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .product-overview {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.9fr);
    gap: 46px;
    padding-inline: 50px;
  }

  .gallery-main {
    height: 500px;
  }

  .product-summary h1 {
    font-size: 50px;
  }

  .rental-form {
    width: calc(100% - 100px);
    column-gap: 44px;
  }
}
