:root {
  --ink: #211b18;
  --muted: #756d68;
  --line: #e6dfdb;
  --paper: #ffffff;
  --soft: #f7f5f3;
  --blush: #f7eeee;
  --wine: #861010;
  --wine-dark: #5f0808;
  --gold: #c79b45;
  --rose: #c98c7d;
  --white-gold: #d9dbda;
  --shadow: 0 18px 60px rgba(33, 27, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
select,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  line-height: 1.14;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  padding: 10px 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  width: 210px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #3b3330;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.header-actions button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-button,
.appointment-band button,
.mobile-sticky-cta button {
  min-height: 46px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-layout {
  display: grid;
  grid-template-columns: 1108px 410px;
  gap: 48px;
  max-width: 1634px;
  margin: 0 auto;
  padding: 42px 34px 72px;
}

.gallery-wrap {
  min-width: 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 546px);
  gap: 16px;
}

.product-image {
  position: relative;
  display: grid;
  width: 546px;
  height: 546px;
  margin: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #fff 0%, var(--soft) 100%);
  cursor: zoom-in;
}

.product-image img,
.product-image video {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition: transform 260ms ease;
}

.product-image:hover img,
.product-image:hover video {
  transform: scale(1.035);
}

.product-panel {
  position: sticky;
  top: 116px;
  align-self: start;
  min-width: 0;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(33, 27, 24, 0.06);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

.panel-title h2 {
  margin-bottom: 14px;
  font-size: 25px;
}

.price {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 800;
}

.setting-note,
.choice-note {
  color: var(--muted);
  font-size: 13px;
}

.option-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.option-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
}

.option-heading strong,
.option-heading a {
  color: var(--ink);
}

.option-heading a {
  border-bottom: 1px solid currentColor;
}

.swatches {
  display: flex;
  gap: 12px;
}

.swatch {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.swatch.is-active {
  border-color: var(--ink);
}

.swatch-dot {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.7), inset 0 -3px 6px rgba(0, 0, 0, 0.16);
}

.swatch-dot.white {
  background: var(--white-gold);
}

.swatch-dot.yellow {
  background: var(--gold);
}

.swatch-dot.rose {
  background: var(--rose);
}

.shape-options {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.shape-option {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  background: transparent;
  opacity: 0.72;
}

.shape-option img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.shape-option.is-active {
  opacity: 1;
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.segmented button {
  min-height: 46px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented .is-active {
  background: var(--wine);
  color: #fff;
}

select,
.appointment-band input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.primary-button {
  width: 100%;
  margin-bottom: 16px;
}

.atelier-note {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
  padding: 16px;
  border-left: 3px solid var(--wine);
  background: var(--soft);
}

.atelier-note strong {
  font-size: 13px;
}

.atelier-note span,
.accordions p {
  color: var(--muted);
  font-size: 13px;
}

.accordions details {
  border-top: 1px solid var(--line);
}

.accordions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.accordions summary::-webkit-details-marker {
  display: none;
}

.accordions summary::after {
  content: "+";
  color: var(--muted);
  font-size: 20px;
}

.accordions details[open] summary::after {
  content: "-";
}

.spec-list {
  margin: 0 0 16px;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.panel-style-with {
  margin-top: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.panel-style-with h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.panel-style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.panel-style-grid article {
  background: #fafafa;
}

.panel-style-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px 10px 8px;
}

.panel-style-grid h3,
.panel-style-grid p {
  padding: 0 10px;
}

.panel-style-grid h3 {
  min-height: 54px;
  margin-bottom: 6px;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.panel-style-grid p {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  padding: 62px 34px;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.trust-row article {
  padding: 28px;
  background: var(--soft);
}

.trust-row span {
  display: block;
  margin-bottom: 28px;
  color: var(--wine);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 30px;
}

.trust-row h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.trust-row p,
.editorial-section p,
.product-row p {
  color: var(--muted);
}

.editorial-section {
  display: grid;
  min-height: 430px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(237, 229, 220, 0.95) 0%, rgba(237, 229, 220, 0.82) 42%, rgba(237, 229, 220, 0.18) 72%),
    url("../images/bridal-banner-image.webp") center right / cover no-repeat;
}

.editorial-section div {
  padding: 64px clamp(28px, 7vw, 120px);
}

.editorial-section h2 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
}

.editorial-section p:not(.eyebrow) {
  max-width: 540px;
}

.pairing-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 34px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 40px;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-row article {
  background: var(--soft);
}

.product-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 26px;
}

.product-row h3,
.product-row p {
  padding: 0 18px;
}

.product-row h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.product-row p {
  margin-bottom: 20px;
  font-weight: 800;
}

.appointment-band {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 56px 20px;
  background: #f5f1ee;
  color: var(--ink);
}

.appointment-band h2 {
  margin-bottom: 0;
  text-align: center;
  font-size: clamp(30px, 3vw, 44px);
}

.appointment-band form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 540px) 120px;
  gap: 10px;
}

.appointment-band form::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--muted);
  border-radius: 50% 50% 50% 0;
  transform: translateY(-62%) rotate(-45deg);
  z-index: 1;
}

.appointment-band form::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 23px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  transform: translateY(-73%);
  z-index: 1;
}

.appointment-band button {
  border-color: #24201d;
  background: #24201d;
}

.appointment-band input {
  min-height: 52px;
  background:
    linear-gradient(90deg, transparent 0, transparent 44px, #fff 44px),
    #fff;
  padding-left: 56px;
}

.newsletter-section {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 52px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.newsletter-section h2 {
  margin-bottom: 0;
  text-align: center;
  font-size: clamp(28px, 2.6vw, 40px);
}

.newsletter-section form {
  display: grid;
  grid-template-columns: minmax(280px, 510px) 132px;
  gap: 10px;
}

.newsletter-section input {
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.newsletter-section button {
  min-height: 52px;
  border: 1px solid #24201d;
  background: #24201d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: #fff;
}

.site-footer img {
  width: 190px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mobile-sticky-cta {
  display: none;
}

.zoom-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.zoom-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.dialog-close {
  position: sticky;
  top: 12px;
  left: calc(100% - 54px);
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 12px 12px 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.zoom-layout {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  padding-top: 12px;
}

.zoom-layout figure {
  display: grid;
  min-height: 430px;
  margin: 0;
  place-items: center;
  background: var(--soft);
}

.zoom-layout img,
.zoom-layout video {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .brand {
    justify-self: center;
  }

  .product-layout {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .product-panel {
    position: static;
    max-width: 680px;
  }

  .product-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    display: flex;
    justify-content: center;
    min-height: 72px;
    padding: 8px 16px;
  }

  .brand {
    width: 175px;
  }

  .header-actions {
    display: none;
  }

  .product-layout {
    padding: 28px 16px 50px;
  }

  .image-grid,
  .trust-row,
  .product-row {
    grid-template-columns: 1fr;
  }

  .image-grid {
    gap: 12px;
  }

  .product-image,
  .product-image:first-child {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .product-image img,
  .product-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .panel-title h2 {
    font-size: 24px;
  }

  .trust-row,
  .pairing-section {
    padding: 46px 16px;
  }

  .editorial-section div {
    padding: 48px 16px 190px;
  }

  .editorial-section {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(247, 243, 238, 0.98) 0%, rgba(247, 243, 238, 0.9) 46%, rgba(247, 243, 238, 0.42) 72%, rgba(247, 243, 238, 0.12) 100%),
      linear-gradient(90deg, rgba(247, 243, 238, 0.94) 0%, rgba(247, 243, 238, 0.72) 48%, rgba(247, 243, 238, 0.08) 100%),
      url("../images/bridal-banner-image.webp") right bottom / auto 100% no-repeat;
  }

  .editorial-section h2 {
    max-width: 330px;
    font-size: 36px;
  }

  .editorial-section p:not(.eyebrow) {
    max-width: 315px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .appointment-band {
    padding: 46px 16px 96px;
  }

  .appointment-band form {
    grid-template-columns: 1fr;
  }

  .appointment-band form::before,
  .appointment-band form::after {
    top: 26px;
  }

  .newsletter-section {
    padding: 44px 16px;
  }

  .newsletter-section form {
    grid-template-columns: 1fr;
    width: min(100%, 350px);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 16px 90px;
  }

  .site-footer nav {
    display: grid;
    gap: 12px;
  }

  .mobile-sticky-cta {
    position: fixed;
    bottom: 12px;
    left: 12px;
    width: 342px;
    max-width: calc(100vw - 24px);
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.16);
  }

  .mobile-sticky-cta strong,
  .mobile-sticky-cta span {
    display: block;
  }

  .mobile-sticky-cta span {
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-sticky-cta button {
    min-height: 42px;
  }

  .zoom-layout {
    grid-template-columns: 1fr;
  }
}
