
:root {
  --ivory: #f3efe8;
  --paper: #faf8f4;
  --ink: #14120f;
  --muted: #6f695f;
  --gold: #a78552;
  --line: rgba(20, 18, 15, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  height: 94px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 700; }
.brand-mark { width: 24px; height: 38px; object-fit: contain; flex: 0 0 auto; }
nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; }
nav a { position: relative; }
nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--ink); transition: right .25s ease; }
nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { border: 1px solid var(--ink); padding: 13px 19px; transition: .2s; }
.nav-cta:hover { background: var(--ink); color: white; }

.hero { min-height: calc(100vh - 94px); display: grid; grid-template-columns: 46% 54%; }
.hero-copy { padding: clamp(70px, 9vw, 150px) clamp(28px, 7vw, 120px) 60px clamp(28px, 5vw, 82px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 28px; text-transform: uppercase; letter-spacing: .25em; font-size: 10px; font-weight: 700; display: flex; align-items: center; gap: 13px; }
.eyebrow span { display: inline-block; width: 36px; height: 1px; background: var(--gold); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; line-height: .95; }
h1 { font-size: clamp(55px, 6.25vw, 104px); }
h2 { font-size: clamp(46px, 5vw, 82px); }
h2 em { color: var(--gold); font-weight: 400; }
.hero-intro { max-width: 510px; margin: 36px 0 0; color: var(--muted); font-family: Georgia, serif; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.65; }
.hero-actions { margin-top: 43px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 18px 27px; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; }
.text-link { display: inline-flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 700; padding-bottom: 5px; border-bottom: 1px solid var(--ink); }
.text-link span { color: var(--gold); font-size: 16px; }
.hero-proof { margin-top: auto; padding-top: 65px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.hero-proof div { display: flex; flex-direction: column; gap: 5px; }
.hero-proof strong { font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.hero-proof span { color: var(--muted); text-transform: uppercase; font-size: 8px; letter-spacing: .16em; }
.hero-visual { position: relative; min-height: 700px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #d8c4aa; }
.hero-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(65, 43, 20, .12); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; max-height: calc(100vh - 94px); object-fit: contain; object-position: center; }
.hero-number { position: absolute; top: 30px; right: 34px; z-index: 1; font-family: Georgia, serif; font-size: 12px; color: rgba(20,18,15,.55); }
.image-note { position: absolute; z-index: 1; bottom: 28px; right: 28px; padding: 15px 19px; background: rgba(250, 248, 244, .88); backdrop-filter: blur(12px); text-transform: uppercase; letter-spacing: .17em; font-size: 8px; }
.image-note span { color: var(--gold); margin-right: 8px; font-size: 14px; }

.marquee { background: var(--ink); color: var(--ivory); overflow: hidden; padding: 20px 0; }
.marquee div { width: max-content; display: flex; align-items: center; gap: 40px; animation: drift 24s linear infinite; }
.marquee span { font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.marquee i { color: var(--gold); font-style: normal; }
@keyframes drift { to { transform: translateX(-50%); } }

.section { padding: clamp(90px, 11vw, 180px) clamp(28px, 6vw, 100px); }
.section-index { font-family: Georgia, serif; color: var(--gold); font-size: 11px; letter-spacing: .16em; }
.story { display: grid; grid-template-columns: 13% 53% 34%; background: var(--paper); }
.story-heading { padding-right: 30px; }
.story-copy { padding: 42px 0 0 35px; border-left: 1px solid var(--line); }
.story-copy p { max-width: 470px; color: var(--muted); line-height: 1.8; }
.story-copy .lead { margin-top: 0; color: var(--ink); font-family: Georgia, serif; font-size: 23px; line-height: 1.5; }
.story-copy .text-link { margin-top: 20px; }

.product { display: grid; grid-template-columns: 51% 49%; padding: 0; background: var(--ivory); }
.product-card { position: relative; min-height: 850px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #ddd0bd; }
.product-card::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,252,244,.95) 0, rgba(238,226,208,.45) 45%, transparent 70%); }
.product-card > p { position: absolute; bottom: 45px; left: 50px; margin: 0; font-family: Georgia, serif; font-size: 18px; line-height: 1.45; }
.vial { position: relative; z-index: 2; width: 155px; filter: drop-shadow(0 35px 30px rgba(40, 28, 13, .20)); transform: rotate(7deg); }
.vial-cap { height: 76px; border-radius: 14px 14px 7px 7px; border: 1px solid rgba(81,77,69,.35); background: repeating-linear-gradient(90deg, #d9d7d1 0, #f8f7f4 4px, #aaa9a5 6px); box-shadow: inset 0 -10px 8px rgba(75,75,72,.12); }
.vial-glass { height: 210px; margin: -4px 8px 0; border: 4px solid rgba(255,255,255,.7); border-top-width: 9px; border-radius: 10px 10px 30px 30px; background: linear-gradient(90deg, rgba(255,255,255,.65), rgba(255,255,255,.12) 38%, rgba(255,255,255,.52) 82%, rgba(255,255,255,.18)); box-shadow: inset 10px 0 18px rgba(255,255,255,.7), inset -5px -8px 15px rgba(134,116,91,.14); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 31px; }
.stone { width: 36px; height: 36px; object-fit: contain; transform: rotate(25deg); filter: drop-shadow(0 6px 5px rgba(61,54,43,.22)); }
.product-glow { position: absolute; inset: 0; }
.diamond { position: absolute; width: 5px; height: 5px; background: white; transform: rotate(45deg); box-shadow: 0 0 13px 5px rgba(255,255,255,.8); }
.diamond-one { top: 28%; left: 27%; }.diamond-two { top: 39%; right: 23%; }.diamond-three { bottom: 30%; left: 32%; width: 3px; height: 3px; }
.product-copy { padding: clamp(80px, 9vw, 150px) clamp(35px, 8vw, 140px); }
.product-copy .section-index { margin-bottom: 65px; }
.product-copy > p:not(.eyebrow):not(.fine-print) { margin: 36px 0; color: var(--muted); line-height: 1.8; max-width: 560px; }
.details-list { margin: 52px 0 0; border-top: 1px solid var(--line); }
.details-list div { display: grid; grid-template-columns: 36% 64%; padding: 17px 0; border-bottom: 1px solid var(--line); }
.details-list dt { text-transform: uppercase; letter-spacing: .16em; font-size: 9px; }
.details-list dd { margin: 0; font-family: Georgia, serif; font-size: 16px; }
.fine-print { color: var(--muted); font-size: 10px; line-height: 1.6; margin-top: 23px; }

.personalise { display: grid; grid-template-columns: 13% 47% 40%; background: var(--paper); }
.personalise > div:nth-child(2) { padding-right: 25px; }
.personalise-copy { padding-left: 45px; border-left: 1px solid var(--line); }
.personalise-copy > p { margin: 40px 0; color: var(--muted); line-height: 1.8; }
.personalise-copy ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.personalise-copy li { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: Georgia, serif; font-size: 15px; }
.personalise-copy li span { display: inline-block; width: 42px; color: var(--gold); font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .12em; }

.enquire { min-height: 760px; padding: 110px 28px 35px; text-align: center; background: var(--ink); color: var(--ivory); display: flex; flex-direction: column; align-items: center; }
.enquire-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .24em; font-size: 9px; }
.enquire h2 { margin-top: 45px; font-size: clamp(58px, 8vw, 126px); }
.enquire h2 em { color: #c6a56e; }
.enquire > p { max-width: 530px; margin: 35px auto; color: #aaa49b; font-family: Georgia, serif; font-size: 19px; line-height: 1.6; }
.button-light { margin-top: 12px; color: var(--ink); background: var(--ivory); }
.enquire-footer { width: 100%; margin-top: auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; color: #9b968d; text-transform: uppercase; letter-spacing: .15em; font-size: 8px; }
.enquire-footer .brand { justify-self: start; color: var(--ivory); font-size: 10px; }
.enquire-footer a:last-child { justify-self: end; }

@media (max-width: 900px) {
  .site-header { height: 76px; }
  nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 690px; padding-bottom: 45px; }
  .hero-proof { margin-top: 70px; }
  .hero-visual { min-height: 80vh; }
  .story, .personalise { grid-template-columns: 1fr; gap: 34px; }
  .story-copy, .personalise-copy { padding: 35px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .product { grid-template-columns: 1fr; }
  .product-card { min-height: 680px; }
  .enquire-footer { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .enquire-footer .brand, .enquire-footer a:last-child { justify-self: center; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 19px; }
  .brand { letter-spacing: .16em; font-size: 10px; }
  .nav-cta { padding: 10px 13px; }
  .hero-copy { min-height: 650px; }
  h1 { font-size: 51px; }
  .hero-intro { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-proof { gap: 8px; }
  .hero-proof strong { font-size: 23px; }
  .hero-proof span { font-size: 7px; }
  .hero-visual { min-height: 660px; }
  .section { padding: 85px 24px; }
  h2 { font-size: 45px; }
  .product { padding: 0; }
  .product-card { min-height: 580px; }
  .product-card > p { left: 25px; bottom: 25px; }
  .product-copy { padding: 80px 24px; }
  .product-copy .section-index { margin-bottom: 45px; }
  .details-list div { grid-template-columns: 33% 67%; }
  .enquire { min-height: 680px; padding-top: 90px; }
  .enquire h2 { font-size: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee div { animation: none; }
  .button { transition: none; }
}

/* Personalisation studio */
.designer-page { min-height: 100vh; background: #f5f2ec; }
.designer-header { height: 82px; padding: 0 clamp(22px, 4vw, 64px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: #fbf9f5; }
.designer-progress { display: flex; align-items: center; gap: 12px; color: #9b958b; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.designer-progress .active { color: var(--ink); }
.designer-progress i { display: block; width: 38px; height: 1px; background: #cec8be; }
.designer-back { justify-self: end; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.designer-intro { padding: 58px clamp(24px, 5vw, 80px) 48px; display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: end; }
.designer-intro .eyebrow { margin-bottom: 20px; }
.designer-intro h1 { font-size: clamp(48px, 6vw, 86px); }
.designer-intro h1 em { color: var(--gold); font-weight: 400; }
.designer-intro > p { max-width: 410px; margin: 0 0 8px; color: var(--muted); font-family: Georgia, serif; font-size: 17px; line-height: 1.65; }
.designer-workspace { display: grid; grid-template-columns: minmax(540px, 1.18fr) minmax(480px, .82fr); min-height: 960px; border-top: 1px solid var(--line); }
.preview-panel { min-width: 0; background: #d9d0c4; border-right: 1px solid rgba(20,18,15,.18); }
.preview-toolbar { height: 52px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; background: rgba(250,248,244,.65); border-bottom: 1px solid rgba(20,18,15,.12); color: #6f695f; font-size: 8px; text-transform: uppercase; letter-spacing: .17em; }
.preview-toolbar span:last-child { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #698267; box-shadow: 0 0 0 3px rgba(105,130,103,.14); }
.card-stage { min-height: 905px; padding: 62px 36px 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 43%, rgba(255,255,255,.36), transparent 43%), linear-gradient(135deg, rgba(255,255,255,.08), transparent); }
.wedding-card { --card-bg: #f4efe5; --card-ink: #332a21; --card-accent: #a78349; --card-scale: 1; --card-font: Georgia, serif; width: min(560px, 92%); aspect-ratio: .72; padding: 44px 48px 36px; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; color: var(--card-ink); background: var(--card-bg); box-shadow: 0 35px 70px rgba(55,41,25,.20), 0 2px 4px rgba(55,41,25,.16); font-family: var(--card-font); transition: background .25s ease, color .25s ease; }
.wedding-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4; background-image: repeating-linear-gradient(92deg, transparent 0, rgba(84,69,51,.035) 1px, transparent 2px, transparent 6px); }
.wedding-card.align-left { align-items: flex-start; }
.wedding-card.align-left .card-ornament { align-self: stretch; justify-content: flex-start; }
.card-heading { max-width: 95%; margin-top: 36px; font-size: calc(30px * var(--card-scale)); line-height: 1.13; letter-spacing: .09em; text-transform: uppercase; white-space: pre-wrap; }
.card-couple-feature { margin-top: 12px !important; color: var(--card-accent); font-size: calc(23px * var(--card-scale)) !important; }
.card-ornament { width: 48%; margin: 21px 0 18px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--card-accent); }
.card-ornament span { width: 62px; height: 1px; background: var(--card-accent); opacity: .7; }
.card-ornament b { font-size: 21px; font-weight: 400; }
.card-message { font-size: calc(19px * var(--card-scale)); line-height: 1.5; }
.card-message span { display: block; }
.card-vial-wrap { flex: 1; min-height: 190px; width: 100%; display: flex; align-items: center; justify-content: center; }
.align-left .card-vial-wrap { justify-content: flex-start; padding-left: 22%; }
.card-vial { display: flex; align-items: center; transform: rotate(-4deg); filter: drop-shadow(0 13px 10px rgba(52,41,28,.18)); }
.card-vial-glass { width: 116px; height: 62px; display: flex; align-items: center; justify-content: center; border: 3px solid rgba(255,255,255,.78); border-radius: 7px 4px 4px 7px; background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.08) 45%, rgba(255,255,255,.36)); box-shadow: inset 0 0 8px rgba(255,255,255,.65), 0 0 0 1px rgba(91,82,70,.16); }
.card-vial-glass img { width: 29px; height: 29px; object-fit: contain; transform: rotate(25deg); filter: drop-shadow(0 5px 4px rgba(61,54,43,.22)); }
.card-vial-cap { width: 45px; height: 74px; margin-left: -1px; border-radius: 4px 9px 9px 4px; background: repeating-linear-gradient(0deg, #aaa9a5 0 2px, #f5f4f1 3px 6px); border: 1px solid rgba(81,77,69,.35); }
.card-footer-text { max-width: 90%; color: var(--card-accent); font-family: Arial, sans-serif; font-size: calc(8px * var(--card-scale)); line-height: 1.45; letter-spacing: .18em; text-transform: uppercase; }
.card-couple { margin-top: 13px; font-size: calc(17px * var(--card-scale)); letter-spacing: .07em; text-transform: uppercase; }
.card-date { margin-top: 6px; font-family: Arial, sans-serif; font-size: calc(7px * var(--card-scale)); letter-spacing: .22em; }
.preview-note { margin: 25px 0 0; color: rgba(50,42,33,.55); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.editor-panel { background: #fbf9f5; }
.saved-design-recovery { margin: 28px clamp(26px, 3.2vw, 52px) 0; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid rgba(167,133,82,.38); background: #f2ece2; }
.saved-design-recovery > div { display: grid; gap: 5px; }
.saved-design-recovery strong { font: 16px Georgia, serif; }
.saved-design-recovery > div > span { color: #756d63; font-size: 9px; line-height: 1.45; }
.saved-design-recovery button { flex: 0 0 auto; padding: 10px 0; display: flex; align-items: center; gap: 15px; border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 8px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; }
.saved-design-recovery button span { color: var(--gold); font-size: 13px; }
.editor-section { padding: 36px clamp(26px, 3.2vw, 52px); border-bottom: 1px solid var(--line); }
.editor-title-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.editor-step { margin-top: 4px; color: var(--gold); font-size: 8px; letter-spacing: .14em; }
.editor-title-row h2 { font-family: Georgia, serif; font-size: 24px; letter-spacing: -.02em; line-height: 1.1; }
.editor-title-row p { margin: 5px 0 0; color: #8b857b; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.preset { min-height: 92px; padding: 15px 13px; position: relative; text-align: left; border: 1px solid #d9d4cc; background: transparent; color: var(--ink); cursor: pointer; transition: .2s; }
.preset:hover, .preset.active { border-color: var(--gold); background: #f4efe6; }
.preset.active { box-shadow: inset 0 -2px var(--gold); }
.preset span { display: block; font-family: Georgia, serif; font-size: 14px; }
.preset small { display: block; max-width: 84px; margin-top: 7px; color: #8c867d; font-size: 8px; line-height: 1.35; }
.preset i { position: absolute; top: 12px; right: 11px; color: var(--gold); font-style: normal; font-size: 12px; }
.form-grid { display: grid; gap: 15px; margin-top: 15px; }
.form-grid.two-col { grid-template-columns: 1fr 1fr; }
.form-grid label { display: grid; gap: 8px; }
.form-grid label > span, .control-label { color: #6e685f; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; min-height: 44px; padding: 12px 13px; border: 1px solid #d8d2c8; border-radius: 0; outline: none; background: white; color: var(--ink); font: 14px Georgia, serif; transition: border .2s, box-shadow .2s; }
.form-grid textarea { resize: vertical; line-height: 1.45; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(167,133,82,.10); }
.range-label > span { display: flex; justify-content: space-between; }
.range-label > span b { color: var(--gold); font-weight: 700; }
.form-grid input[type="range"] { min-height: 24px; padding: 0; border: 0; box-shadow: none; accent-color: var(--gold); }
.control-group { margin-top: 24px; display: grid; gap: 11px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #d8d2c8; }
.segmented button { height: 40px; border: 0; background: transparent; color: #706a61; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.segmented button + button { border-left: 1px solid #d8d2c8; }
.segmented button.active { background: var(--ink); color: white; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.swatch { padding: 7px; border: 1px solid transparent; background: transparent; color: #6f695f; cursor: pointer; }
.swatch.active { border-color: var(--gold); }
.swatch i { display: block; height: 28px; border: 1px solid rgba(20,18,15,.1); }
.swatch span { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.own-design-upload { margin: 32px clamp(26px, 3.2vw, 52px) 0; padding: 25px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 18px; align-items: start; background: #211c17; color: #f7f2e9; box-shadow: 0 18px 38px rgba(26,21,16,.13); }
.own-design-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(194,158,103,.55); color: #c29e67; font: 20px Georgia, serif; }
.own-design-copy > p { margin: 1px 0 7px; color: #c29e67; font-size: 7px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.own-design-copy h2 { color: #fffaf2; font: 24px/1.1 Georgia, serif; font-weight: 400; }
.own-design-copy > span { display: block; margin-top: 8px; color: #aaa198; font: 11px/1.5 Georgia, serif; }
.own-design-specs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 18px; }
.own-design-specs span { color: #d7cfc5; font-size: 8px; letter-spacing: .04em; white-space: nowrap; }
.own-design-specs b { margin-right: 6px; color: #777067; font-size: 6px; letter-spacing: .12em; text-transform: uppercase; }
.own-design-control { display: grid; justify-items: end; gap: 8px; }
.upload-pdf-button { min-width: 136px; height: 42px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #c29e67; background: #c29e67; color: #211c17; font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: .2s; }
.upload-pdf-button:hover { background: #d0ae7b; }
.upload-pdf-button.busy { opacity: .65; cursor: wait; }
.upload-pdf-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.own-design-control small { color: #777067; font-size: 7px; letter-spacing: .06em; }
.upload-result { grid-column: 2 / -1; padding-top: 15px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 14px; border-top: 1px solid rgba(255,255,255,.11); }
.upload-result > div { min-width: 0; display: grid; gap: 4px; }
.upload-result strong { overflow: hidden; color: #f2ede5; font: 13px Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.upload-result span, .upload-result p { margin: 0; color: #aaa198; font-size: 8px; line-height: 1.45; }
.upload-result p { grid-column: 1; }
.upload-result.error p { color: #e4aaa0; }
.upload-result button { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 6px 0; border: 0; border-bottom: 1px solid #8e857b; background: transparent; color: #b8afa5; font-size: 7px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.editor-actions { padding: 32px clamp(26px, 3.2vw, 52px) 48px; display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 12px; align-items: center; }
.editor-actions .button { justify-self: stretch; gap: 20px; }
.save-design-button, .share-design-button { border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.save-design-button:hover, .share-design-button:hover { background: #eee8de; }
.use-design-button { border: 0; cursor: pointer; }
.reset-button { border: 0; border-bottom: 1px solid #918a81; padding: 8px 0; background: transparent; color: #6e685f; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.editor-actions p { grid-column: 1 / -1; margin: 0; color: #918b81; font-size: 8px; letter-spacing: .08em; text-align: right; }
.restore-notice { margin: -24px clamp(24px, 5vw, 80px) 30px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(167,133,82,.32); background: #f0e9dd; color: #665a4c; font: 12px Georgia, serif; }
.restore-notice span { color: var(--gold); font-size: 19px; }
.save-modal-backdrop { position: fixed; inset: 0; z-index: 50; padding: 24px; display: grid; place-items: center; overflow-y: auto; background: rgba(20,17,13,.66); backdrop-filter: blur(8px); }
.save-modal { width: min(520px, 100%); padding: 48px 52px 38px; position: relative; border: 1px solid rgba(167,133,82,.45); background: #faf8f4; box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.save-modal-close { position: absolute; top: 15px; right: 18px; border: 0; background: transparent; color: #777066; font: 28px Georgia, serif; cursor: pointer; }
.save-modal-mark { color: var(--gold); font: 32px Georgia, serif; }
.save-modal-kicker { margin: 20px 0 13px; color: var(--gold); font: 700 8px Arial, sans-serif; letter-spacing: .21em; text-transform: uppercase; }
.save-modal h2 { font-size: 44px; }
.save-modal-intro { margin: 20px 0 28px; color: var(--muted); font-family: Georgia, serif; font-size: 15px; line-height: 1.65; }
.save-modal form { display: grid; gap: 14px; }
.save-modal form label { display: grid; gap: 8px; }
.save-modal form label span { color: #6e685f; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.save-modal form input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #d8d2c8; outline: none; background: white; color: var(--ink); font: 15px Georgia, serif; }
.save-modal form input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(167,133,82,.10); }
.save-modal form .button { border: 0; cursor: pointer; }
.save-modal form .button:disabled { opacity: .58; cursor: wait; transform: none; }
.save-result { margin-top: 20px; padding: 16px; display: grid; gap: 5px; border: 1px solid #d8d2c8; background: #f2eee7; font-size: 12px; line-height: 1.5; }
.save-result.saved { border-color: rgba(93,120,89,.38); background: #edf1ea; }
.save-result.error { border-color: rgba(154,73,62,.35); background: #f4eae7; }
.save-result strong { font-family: Georgia, serif; font-size: 15px; }
.save-result span { color: #6f695f; }
.local-recovery { margin-top: 10px; display: flex; gap: 8px; }
.local-recovery a, .local-recovery button { padding: 9px 11px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 8px Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.local-recovery a { background: var(--ink); color: white; }
.save-modal-fineprint { margin: 20px 0 0; color: #928b82; font-size: 9px; line-height: 1.55; }
.share-modal { width: min(620px, 100%); }
.share-modal-logo { width: 24px; height: 38px; object-fit: contain; }
.share-creating { padding: 18px; border: 1px solid #d8d2c8; background: #f2eee7; color: #6f695f; font: 14px Georgia, serif; }
.share-ready { display: grid; gap: 15px; }
.share-link-field { display: grid; gap: 8px; }
.share-link-field > span { color: #6e685f; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.share-link-field input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #d8d2c8; background: white; color: #3c352e; font: 12px Georgia, serif; }
.share-link-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-link-actions button, .share-link-actions a, .share-socials button, .share-socials a { min-height: 40px; padding: 10px 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 700 8px Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.share-link-actions button { background: var(--ink); color: white; }
.share-socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.share-socials button, .share-socials a { border-color: #cfc7bb; }
.share-copy-message { margin: 0; color: #62745f; font-size: 10px; text-align: center; }

@media (max-width: 1050px) {
  .designer-workspace { grid-template-columns: 1fr; }
  .preview-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .card-stage { min-height: 780px; }
  .wedding-card { width: min(500px, 88%); }
}

/* Order page */
.order-page { min-height: 100vh; background: #f6f3ed; }
.order-intro { padding: 72px clamp(25px, 6vw, 96px) 65px; display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: end; gap: 35px; }
.order-intro .eyebrow { align-self: start; }
.order-intro h1 { font-size: clamp(52px, 6.5vw, 96px); }
.order-intro h1 em { color: var(--gold); font-weight: 400; }
.order-intro > p:last-child { margin: 0 0 8px; color: var(--muted); font: 17px/1.65 Georgia, serif; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; align-items: start; border-top: 1px solid var(--line); }
.order-main { min-width: 0; border-right: 1px solid var(--line); }
.order-section { padding: 55px clamp(25px, 6vw, 92px); border-bottom: 1px solid var(--line); }
.order-section-heading { display: flex; gap: 19px; margin-bottom: 32px; }
.order-section-heading > span { padding-top: 4px; color: var(--gold); font-size: 9px; letter-spacing: .15em; }
.order-section-heading h2 { font-size: 31px; }
.order-section-heading p { margin: 7px 0 0; color: #8b857b; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.diamond-size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.diamond-size { min-height: 155px; padding: 20px 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #d7d1c7; background: #fbf9f5; color: var(--ink); cursor: pointer; transition: .2s; }
.diamond-size:hover, .diamond-size.active { border-color: var(--gold); background: #efe8dc; }
.diamond-size.active { box-shadow: inset 0 -3px var(--gold); }
.diamond-size-visual { width: 28px; height: 28px; margin-bottom: 13px; display: grid; place-items: center; }
.diamond-size-visual img { display: block; object-fit: contain; filter: drop-shadow(0 4px 3px rgba(49,43,36,.2)); }
.diamond-size strong { font: 400 22px Georgia, serif; }
.diamond-size strong small { font: 8px Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.diamond-size > span { margin-top: 8px; color: #837c72; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.price-disclaimer { margin: 18px 0 0; color: #918a80; font-size: 9px; line-height: 1.5; }
.quantity-control { max-width: 470px; display: grid; grid-template-columns: 54px 1fr 54px; border: 1px solid #d5cfc5; background: white; }
.quantity-control button { border: 0; background: transparent; font: 26px Georgia, serif; cursor: pointer; }
.quantity-control button:first-child { border-right: 1px solid #d5cfc5; }
.quantity-control button:last-child { border-left: 1px solid #d5cfc5; }
.quantity-control label { height: 70px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.quantity-control input { width: 96px; border: 0; outline: 0; background: transparent; text-align: right; font: 30px Georgia, serif; }
.quantity-control label span { color: #847d73; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.guest-quantity-select { width: min(470px, 100%); margin-top: 16px; display: grid; grid-template-columns: auto minmax(210px, 1fr); align-items: center; gap: 18px; }
.guest-quantity-select > span { color: #746d64; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.guest-quantity-select select { width: 100%; height: 46px; padding: 0 38px 0 14px; border: 1px solid #d5cfc5; border-radius: 0; outline: 0; background: #fff; color: var(--ink); font: 13px Georgia, serif; cursor: pointer; }
.guest-quantity-select select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(167,133,82,.1); }
.quick-quantities { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.quick-quantities button { min-width: 54px; padding: 9px; border: 1px solid #d5cfc5; background: transparent; color: #706a61; font-size: 9px; cursor: pointer; }
.quick-quantities button.active { border-color: var(--ink); background: var(--ink); color: white; }
.order-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.order-form-grid label { display: grid; gap: 8px; }
.order-form-grid label > span { color: #6e685f; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.order-form-grid input, .order-form-grid textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d8d2c8; outline: 0; background: white; color: var(--ink); font: 14px Georgia, serif; }
.order-form-grid input:focus, .order-form-grid textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(167,133,82,.1); }
.order-wide, .order-notes { grid-column: 1 / -1; }
.order-form-grid textarea { resize: vertical; }
.delivery-notice { grid-column: 1 / -1; padding: 18px 20px; border: 1px solid rgba(167,133,82,.42); background: #f4ede2; }
.delivery-notice > strong { display: block; color: var(--ink); font: 16px Georgia, serif; }
.delivery-notice > p { margin: 8px 0 15px; color: #6e675e; font-size: 11px; line-height: 1.65; }
.delivery-confirmation { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; cursor: pointer; }
.delivery-confirmation input { width: 16px; min-height: 16px; margin: 1px 0 0; padding: 0; flex: 0 0 16px; accent-color: var(--gold); }
.order-form-grid .delivery-confirmation > span { color: #514a42; font-size: 10px; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.order-summary { position: sticky; top: 0; padding: 45px 38px; background: #ede6db; }
.summary-product { padding-bottom: 27px; display: flex; gap: 18px; align-items: center; border-bottom: 1px solid rgba(20,18,15,.16); }
.summary-stone { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; }
.summary-stone img { display: block; object-fit: contain; filter: drop-shadow(0 4px 3px rgba(34,29,24,.22)); }
.summary-product div { display: grid; gap: 4px; }
.summary-product span, .summary-design > span { color: #766e64; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.summary-product strong { font: 28px Georgia, serif; }
.summary-product small { color: #776f65; font-size: 9px; }
.summary-design { padding: 25px 0; display: grid; gap: 8px; border-bottom: 1px solid rgba(20,18,15,.16); }
.summary-design strong { font: 20px Georgia, serif; text-transform: uppercase; }
.summary-design small { color: #796f64; font-size: 9px; line-height: 1.4; }
.summary-design a { width: max-content; margin-top: 4px; border-bottom: 1px solid var(--ink); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.summary-design.uploaded strong { overflow-wrap: anywhere; text-transform: none; }
.summary-totals { padding: 26px 0; }
.summary-totals > div { display: flex; justify-content: space-between; gap: 15px; color: #6f685f; font-size: 10px; }
.summary-totals .summary-total { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(20,18,15,.16); align-items: end; color: var(--ink); }
.summary-total span { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.summary-total strong { font: 30px Georgia, serif; }
.order-submit { width: 100%; border: 0; gap: 20px; cursor: pointer; }
.order-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.order-header-actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.currency-switcher { display: flex; align-items: center; gap: 8px; }
.currency-switcher > span { color: #8b847b; font-size: 7px; letter-spacing: .14em; text-transform: uppercase; }
.currency-switcher select { height: 34px; padding: 0 27px 0 9px; border: 1px solid #d4cec4; background: #fff; color: var(--ink); font-size: 9px; letter-spacing: .07em; cursor: pointer; }
.order-message { padding: 12px; background: #f4e8e3; color: #874f45; font-size: 10px; line-height: 1.4; }
.summary-fineprint { margin: 18px 0 0; color: #837c72; font-size: 9px; line-height: 1.55; text-align: center; }
.order-success-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 18, 15, .52);
  backdrop-filter: blur(7px);
}
.order-success-dialog {
  width: min(720px, 100%);
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid #d6cbbc;
  background: #fbf9f5;
  box-shadow: 0 30px 80px rgba(48, 38, 26, .2);
  position: relative;
}
.order-success-dialog h2 { font-size: clamp(42px, 5vw, 64px); }
.order-success-dialog > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font: 17px/1.65 Georgia, serif; }
.order-success-dialog dl { margin: 28px 0 0; border-top: 1px solid var(--line); }
.order-success-dialog dl div { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-success-dialog dt { font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.order-success-dialog dd { margin: 0; font: 15px Georgia, serif; }
.order-success-actions { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.order-success-actions .button { border: 1px solid #1d1914; }
.order-success-actions .button-dark { border: 0; }
.order-success-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #6f695f;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.order-success-page { padding: 45px; display: grid; place-items: start center; }
.order-success-page > .brand { justify-self: start; }
.order-success-card { width: min(720px, 100%); margin: 70px auto; padding: 70px; border: 1px solid #d6cbbc; background: #fbf9f5; text-align: center; box-shadow: 0 30px 80px rgba(48,38,26,.12); }
.success-diamond { width: 28px; height: 28px; margin: 0 auto 35px; display: grid; place-items: center; }
.success-diamond img { display: block; object-fit: contain; filter: drop-shadow(0 4px 3px rgba(34,29,24,.22)); }
.order-success-card .eyebrow { justify-content: center; }
.order-success-card h1 { font-size: clamp(48px, 6vw, 78px); }
.order-success-card h1 em { color: var(--gold); font-weight: 400; }
.order-success-card > p:not(.eyebrow) { max-width: 510px; margin: 28px auto; color: var(--muted); font: 17px/1.65 Georgia, serif; }
.order-success-card dl { margin: 35px 0; border-top: 1px solid var(--line); }
.order-success-card dl div { padding: 14px 0; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.order-success-card dt { font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.order-success-card dd { margin: 0; font: 15px Georgia, serif; }

/* Public shared design */
.shared-page { min-height: 100vh; background: #f6f2eb; }
.shared-header { height: 86px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #faf8f4; }
.shared-header > a:last-child { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.shared-header > a:last-child span { color: var(--gold); }
.shared-state { min-height: calc(100vh - 86px); padding: 40px; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; }
.shared-state p { color: var(--muted); font: 16px Georgia, serif; }
.shared-state h1 { max-width: 700px; font-size: clamp(48px, 7vw, 82px); }
.shared-state .button { margin-top: 12px; }
.shared-design-layout { display: grid; grid-template-columns: minmax(560px, 1.12fr) minmax(430px, .88fr); min-height: 900px; }
.shared-card-stage { padding: 65px clamp(30px, 6vw, 90px); display: grid; place-items: center; background: radial-gradient(circle at 50% 43%, rgba(255,255,255,.44), transparent 43%), #d9d0c4; }
.shared-card-stage .wedding-card { width: min(540px, 100%); }
.shared-design-copy { padding: 90px clamp(40px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; background: #faf8f4; }
.shared-design-copy h1 { font-size: clamp(58px, 6.5vw, 96px); }
.shared-design-copy h1 em { color: var(--gold); font-weight: 400; }
.shared-design-copy > p:not(.eyebrow):not(.shared-feedback) { margin: 35px 0; color: var(--muted); font: 18px/1.65 Georgia, serif; }
.public-link-note { padding: 17px 19px; display: grid; gap: 5px; border-left: 2px solid var(--gold); background: #f0e9dd; }
.public-link-note strong { font: 15px Georgia, serif; }
.public-link-note span { color: #756d63; font-size: 9px; line-height: 1.5; }
.shared-socials { margin-top: 25px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.shared-socials a, .shared-socials button { min-height: 43px; padding: 10px; display: flex; align-items: center; justify-content: center; border: 1px solid #cfc7bb; background: transparent; color: var(--ink); font: 700 8px Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.shared-socials button:last-child { grid-column: 1 / -1; border-color: var(--ink); background: var(--ink); color: white; }
.shared-feedback { margin: 12px 0 0; color: #61735e; font-size: 10px; text-align: center; }
.shared-home-link { margin-top: 35px; padding: 17px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 14px Georgia, serif; }
.shared-home-link span { color: var(--gold); }
.shared-comments { padding: 100px clamp(24px, 7vw, 110px) 120px; border-top: 1px solid var(--line); background: #f6f2eb; }
.shared-comments-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.shared-comments-heading .eyebrow { margin-bottom: 20px; }
.shared-comments-heading h2 { font-size: clamp(48px, 5vw, 72px); }
.shared-comments-heading > p { max-width: 260px; color: #81796f; font-size: 10px; line-height: 1.6; }
.shared-comments-grid { margin-top: 55px; display: grid; grid-template-columns: minmax(320px, .72fr) minmax(420px, 1.28fr); gap: clamp(45px, 8vw, 120px); align-items: start; }
.shared-comments form { display: grid; gap: 16px; }
.shared-comments form label { display: grid; gap: 8px; }
.shared-comments form label span { color: #6e685f; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.shared-comments input, .shared-comments textarea { width: 100%; padding: 13px 14px; border: 1px solid #d4cdc2; outline: 0; background: white; color: var(--ink); font: 14px Georgia, serif; }
.shared-comments input { height: 48px; }
.shared-comments textarea { resize: vertical; line-height: 1.55; }
.shared-comments input:focus, .shared-comments textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(167,133,82,.1); }
.shared-comments form .button { border: 0; cursor: pointer; }
.shared-comments form .button:disabled { opacity: .55; cursor: wait; }
.comment-feedback { margin: 0; color: #61735e; font-size: 10px; }
.comment-feedback.error { color: #945a50; }
.shared-comment-list { display: grid; gap: 12px; }
.shared-comment-list article { padding: 22px 24px; border: 1px solid #d8d1c7; background: #fbf9f5; }
.shared-comment-list article > div { display: flex; justify-content: space-between; gap: 20px; }
.shared-comment-list strong { font: 17px Georgia, serif; }
.shared-comment-list time { color: #8a8278; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.shared-comment-list article p { margin: 13px 0 0; color: #605950; font: 14px/1.65 Georgia, serif; white-space: pre-wrap; }
.no-comments { min-height: 180px; display: grid; place-content: center; justify-items: center; gap: 12px; border: 1px dashed #cfc7bb; color: #8a8278; }
.no-comments span { color: var(--gold); font-size: 28px; }
.no-comments p { font: 15px Georgia, serif; }

/* Simplified PHP admin layout overrides */
.admin-page.admin-page-lite {
  display: block;
  min-height: 100vh;
  background: #f4f1eb;
}

.admin-page.admin-page-lite #adminPanel {
  max-width: 1180px;
  margin: 0 auto;
}

.admin-page-lite .admin-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.admin-page-lite .admin-view {
  padding: 34px 28px 40px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #faf8f4;
}

.admin-page-lite .admin-view + .admin-view {
  border-top: 0;
}

.admin-page-lite .admin-view-title {
  margin-bottom: 24px;
}

.admin-page-lite .admin-view-title h1,
.admin-page-lite .admin-view-title.compact h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
}

.admin-page-lite .admin-section-title h2 {
  font-size: 40px;
}

.admin-page-lite .admin-empty {
  padding: 28px;
  font-size: 20px;
}

.admin-page-lite .admin-pricing-list,
.admin-page-lite .admin-table {
  background: #fff;
}

@media (max-width: 760px) {
  .admin-page-lite .admin-view {
    padding: 22px 16px 26px;
  }

  .admin-page-lite .admin-topbar {
    padding: 0 16px;
  }

  .admin-page-lite .admin-view-title h1,
  .admin-page-lite .admin-view-title.compact h1 {
    font-size: 34px;
  }

  .admin-page-lite .admin-section-title h2 {
    font-size: 32px;
  }
}

@media (max-width: 1000px) {
  .order-intro { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .order-main { border-right: 0; }
  .order-summary { position: static; }
  .shared-design-layout { grid-template-columns: 1fr; }
  .shared-card-stage { min-height: 800px; }
  .shared-design-copy { padding-top: 75px; padding-bottom: 75px; }
}

@media (max-width: 650px) {
  .order-intro { padding: 50px 23px; }
  .order-intro h1 { font-size: 50px; }
  .order-section { padding: 42px 22px; }
  .diamond-size-grid { grid-template-columns: 1fr 1fr; }
  .diamond-size { min-height: 135px; }
  .order-form-grid { grid-template-columns: 1fr; }
  .guest-quantity-select { grid-template-columns: 1fr; gap: 8px; }
  .order-wide, .order-notes { grid-column: auto; }
  .order-summary { padding: 38px 23px; }
  .order-header-actions { gap: 9px; }
  .currency-switcher > span { display: none; }
  .currency-switcher select { max-width: 96px; }
  .order-success-dialog { padding: 30px 20px 22px; }
  .order-success-actions { display: grid; grid-template-columns: 1fr; }
  .order-success-actions .button { width: 100%; }
  .order-success-page { padding: 25px; }
  .order-success-card { margin-top: 45px; padding: 48px 24px; }
  .shared-header { height: 74px; padding: 0 18px; }
  .shared-header > a:last-child { font-size: 7px; }
  .shared-card-stage { min-height: 540px; padding: 45px 16px; }
  .shared-design-copy { padding: 65px 24px; }
  .shared-design-copy h1 { font-size: 55px; }
  .shared-comments { padding: 75px 24px 90px; }
  .shared-comments-heading { align-items: flex-start; flex-direction: column; }
  .shared-comments-grid { grid-template-columns: 1fr; gap: 50px; }
  .shared-socials { grid-template-columns: 1fr 1fr; }
}

/* Private admin studio */
.admin-loading { min-height: 100vh; display: grid; place-content: center; gap: 12px; background: var(--ink); color: white; text-align: center; }
.admin-loading span { color: var(--gold); font: 50px Georgia, serif; }
.admin-loading p { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.admin-login-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr .9fr; }
.admin-login-brand { padding: 58px clamp(40px, 7vw, 115px); display: flex; flex-direction: column; justify-content: space-between; background: #17130f; color: #f5f0e7; }
.admin-login-brand > div > p { color: var(--gold); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; }
.admin-login-brand h1 { margin-top: 25px; font-size: clamp(53px, 6vw, 92px); }
.admin-login-brand h1 em { color: #bc9963; font-weight: 400; }
.admin-login-brand > span { color: #817a71; font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.admin-login-panel { padding: 50px; display: grid; place-items: center; background: #f6f2eb; }
.admin-login-panel form { width: min(430px, 100%); }
.admin-login-panel h2 { font-size: 55px; }
.admin-login-panel form > p:not(.eyebrow) { margin: 16px 0 34px; color: var(--muted); font: 16px/1.6 Georgia, serif; }
.admin-login-panel label { margin-top: 16px; display: grid; gap: 8px; }
.admin-login-panel label span { color: #6e685f; font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.admin-login-panel input { height: 50px; padding: 0 14px; border: 1px solid #d8d2c8; outline: 0; background: white; font: 15px Georgia, serif; }
.admin-login-panel input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(167,133,82,.1); }
.admin-login-panel .button { width: 100%; margin-top: 22px; border: 0; cursor: pointer; }
.admin-login-panel .button:disabled { opacity: .55; }
.admin-login-panel form > a { display: block; width: max-content; margin-top: 28px; color: #746d64; border-bottom: 1px solid #746d64; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.admin-login-error { margin-top: 15px; padding: 12px; background: #f2e3df; color: #8a4d44; font-size: 11px; }
.admin-page { min-height: 100vh; display: block; background: #f4f1eb; }
.admin-sidebar { min-height: 100vh; padding: 35px 26px 26px; position: sticky; top: 0; display: flex; flex-direction: column; background: #17130f; color: #f4efe7; }
.admin-owner { margin: 70px 4px 42px; display: grid; gap: 6px; }
.admin-owner span { color: #7d756c; font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.admin-owner strong { font: 24px Georgia, serif; font-weight: 400; }
.admin-nav { display: grid; gap: 4px; }
.admin-nav button { width: 100%; padding: 15px 12px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; border: 0; border-left: 2px solid transparent; background: transparent; color: #8f887f; text-align: left; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.admin-nav button > span { color: #5d5750; font-size: 7px; }
.admin-nav button i { min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #ad8954; color: #17130f; font-style: normal; font-size: 8px; }
.admin-nav button:hover, .admin-nav button.active { border-left-color: var(--gold); background: rgba(255,255,255,.05); color: white; }
.admin-sidebar-footer { margin-top: auto; display: grid; gap: 10px; }
.admin-sidebar-footer a, .admin-sidebar-footer button { padding: 10px 4px; border: 0; background: transparent; color: #817a72; text-align: left; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.admin-sidebar-footer button { border-top: 1px solid rgba(255,255,255,.1); }
.admin-content { min-width: 0; }
.admin-topbar { height: 72px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #faf8f4; color: #8a837a; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.admin-topbar > div:first-child { display: flex; gap: 6px; }
.admin-topbar strong { color: var(--ink); }
.admin-notice { margin: 20px 42px -4px; padding: 13px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(167,133,82,.3); background: #ede5d7; color: #675b4c; font: 12px Georgia, serif; }
.admin-notice > span { color: var(--gold); }
.admin-notice button { margin-left: auto; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.admin-view { padding: 55px 42px 70px; }
.admin-view-title { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 45px; }
.admin-view-title p { margin: 0 0 14px; color: var(--gold); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.admin-view-title h1 { font-size: clamp(48px, 5vw, 74px); }
.admin-view-title h1 em { color: var(--gold); font-weight: 400; }
.admin-view-title.compact h1 { font-size: clamp(45px, 4vw, 64px); }
.admin-view-title .button { border: 0; cursor: pointer; }
.admin-refresh { padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-grid article { min-height: 195px; padding: 22px; display: flex; flex-direction: column; border: 1px solid #d8d2c9; background: #faf8f4; }
.metric-grid article > span { color: var(--gold); font-size: 8px; }
.metric-grid article small { margin-top: 25px; color: #7e776e; font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.metric-grid article > strong { margin-top: 10px; font: 50px Georgia, serif; font-weight: 400; }
.metric-grid article > .metric-currency { font-size: 28px; }
.metric-currency-stack { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.metric-currency-stack strong { font: 15px Georgia, serif; font-weight: 400; }
.metric-grid article button, .metric-grid article em { margin-top: auto; padding: 0; border: 0; background: transparent; color: #7a7369; text-align: left; font-size: 8px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.admin-latest { margin-top: 48px; }
.admin-section-title { margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.admin-section-title h2 { font-size: 28px; }
.admin-section-title button { border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.admin-table-wrap { overflow-x: auto; border: 1px solid #d9d3ca; background: #faf8f4; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.admin-table th { padding: 13px 15px; background: #ece7de; color: #756e65; text-align: left; font-size: 7px; letter-spacing: .15em; text-transform: uppercase; }
.admin-table td { padding: 17px 15px; border-top: 1px solid #e0dbd2; vertical-align: top; }
.admin-table td strong, .admin-table td span { display: block; }
.admin-table td strong { font: 13px Georgia, serif; }
.admin-table td span { margin-top: 4px; color: #837c72; font-size: 8px; }
.admin-pdf-link { width: max-content; margin-top: 7px; display: block; border-bottom: 1px solid #8f795b; color: #725b3b; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.admin-table select { min-width: 125px; padding: 8px; border: 1px solid #cfc8bd; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.admin-table select.status-new { background: #f2e6d4; color: #8a632c; }
.admin-table select.status-confirmed { background: #e1e9ee; color: #42647a; }
.admin-table select.status-in_production { background: #e9e2ef; color: #654c7a; }
.admin-table select.status-completed { background: #e2ebdf; color: #4c6945; }
.admin-table select.status-cancelled { background: #eee5e3; color: #7a4d46; }
.admin-table-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-table-actions button { border: 0; border-bottom: 1px solid #8d857b; padding: 0 0 3px; background: transparent; color: #665f56; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.admin-order-modal-backdrop { position: fixed; inset: 0; z-index: 70; padding: 24px; display: grid; place-items: center; overflow-y: auto; background: rgba(20, 17, 13, .65); backdrop-filter: blur(7px); }
.admin-order-modal { width: min(980px, 100%); padding: 32px; position: relative; border: 1px solid rgba(167,133,82,.45); background: #faf8f4; box-shadow: 0 40px 100px rgba(0,0,0,.3); }
.admin-order-modal-close { position: absolute; top: 13px; right: 16px; border: 0; background: transparent; color: #7c756c; font: 28px Georgia, serif; cursor: pointer; }
.admin-order-modal-header { margin-bottom: 24px; display: flex; justify-content: space-between; gap: 20px; }
.admin-order-modal-header p { margin: 0; color: var(--gold); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.admin-order-modal-header h2 { margin: 8px 0 0; font-size: clamp(40px, 6vw, 62px); }
.admin-order-modal-header > div:first-child > span { color: #7c756c; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.admin-order-modal-actions { display: flex; gap: 10px; align-items: flex-start; }
.admin-order-action, .admin-order-delete { padding: 10px 12px; border: 1px solid #cec6b9; background: white; font-size: 8px; letter-spacing: .11em; text-transform: uppercase; cursor: pointer; }
.admin-order-delete { border-color: #ceb3aa; background: #f6ece8; color: #7d4a42; }
.admin-order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-order-grid label { display: grid; gap: 8px; }
.admin-order-grid label > span { color: #6e685f; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.admin-order-grid input, .admin-order-grid select, .admin-order-grid textarea { width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid #d8d2c8; outline: 0; background: white; color: var(--ink); font: 14px Georgia, serif; }
.admin-order-grid textarea { resize: vertical; }
.admin-order-notes { grid-column: 1 / -1; }
.admin-note-history > span { color: #6e685f; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.admin-note-history > div { margin-top: 8px; border: 1px solid #d8d2c8; background: #fff; }
.admin-note-history ul { margin: 0; padding: 0; list-style: none; }
.admin-note-history li { padding: 12px 12px 10px; border-top: 1px solid #ece7de; }
.admin-note-history li:first-child { border-top: 0; }
.admin-note-history li strong { display: block; color: #6b645a; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.admin-note-history li p { margin: 8px 0 0; color: #2f2a24; font: 14px/1.55 Georgia, serif; white-space: pre-wrap; }
.admin-note-history .admin-note-empty { padding: 12px; color: #817a70; font-size: 10px; }
.admin-order-save-row { margin-top: 22px; display: flex; justify-content: flex-end; }
.admin-order-save-row .button { border: 0; cursor: pointer; }
.admin-order-save-row .button:disabled, .admin-order-delete:disabled { opacity: .6; cursor: wait; }
.admin-empty { padding: 60px; border: 1px dashed #cec7bd; color: #8c857b; background: rgba(255,255,255,.35); text-align: center; font: 16px Georgia, serif; }
.design-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.design-admin-grid > article { padding: 13px; border: 1px solid #d8d2c9; background: #faf8f4; }
.mini-card { aspect-ratio: 1.35; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; background: #f4efe5; color: #332a21; text-align: center; }
.mini-card.palette-blush { background: #f2e7e4; color: #4c302d; }.mini-card.palette-sage { background: #e7ebe2; color: #28372d; }.mini-card.palette-stone { background: #e8e5df; color: #2d2c2a; }.mini-card.palette-white { background: white; }
.mini-card > span { color: var(--gold); font-size: 19px; }
.mini-card > strong { font: 15px/1.25 Georgia, serif; letter-spacing: .07em; }
.mini-card > small { font: 10px Georgia, serif; text-transform: uppercase; }
.design-admin-grid article > div:last-child { padding: 16px 6px 5px; display: grid; gap: 5px; }
.design-admin-grid article > div:last-child strong { font: 16px Georgia, serif; text-transform: uppercase; }
.design-admin-grid article > div:last-child span, .design-admin-grid article > div:last-child small { color: #7d766d; font-size: 8px; }
.admin-pricing-list { border: 1px solid #d8d2c9; background: #faf8f4; }
.pricing-header, .pricing-row { display: grid; grid-template-columns: 1fr 1.45fr repeat(4, .8fr); align-items: center; gap: 12px; }
.pricing-header { padding: 13px 20px; background: #ece7de; color: #756e65; font-size: 7px; letter-spacing: .15em; text-transform: uppercase; }
.pricing-row { min-height: 82px; padding: 15px 20px; border-top: 1px solid #e0dbd2; }
.pricing-row > strong { font: 17px Georgia, serif; }
.pricing-row > strong i { margin-right: 11px; color: #aeb7bf; font-style: normal; }
.pricing-row > span { color: #777067; font-size: 9px; }
.pricing-row label { height: 42px; display: flex; align-items: center; border: 1px solid #d3ccc2; background: white; }
.pricing-row label b { padding: 0 10px; color: #8a837a; font-size: 10px; }
.pricing-row input { min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; font: 17px Georgia, serif; }
.admin-pricing-note { margin: 18px 0 0; color: #817a70; font-size: 9px; line-height: 1.55; }

@media (max-width: 1100px) {
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .design-admin-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .admin-login-page { grid-template-columns: 1fr; }
  .admin-login-brand { min-height: 420px; padding: 38px 25px; }
  .admin-login-panel { padding: 55px 24px; }
  .admin-page { display: block; }
  .admin-sidebar { min-height: auto; position: static; padding: 20px; }
  .admin-owner { display: none; }
  .admin-nav { margin-top: 25px; grid-template-columns: 1fr 1fr; }
  .admin-sidebar-footer { margin-top: 20px; grid-template-columns: 1fr 1fr; }
  .admin-topbar { padding: 0 20px; }
  .admin-topbar > div:last-child { display: none; }
  .admin-view { padding: 42px 20px 60px; }
  .admin-view-title { align-items: flex-start; flex-direction: column; }
  .metric-grid, .design-admin-grid { grid-template-columns: 1fr; }
  .pricing-header { display: none; }
  .pricing-row { grid-template-columns: 1fr 1fr; }
  .admin-notice { margin-left: 20px; margin-right: 20px; }
  .admin-order-modal { padding: 28px 18px 20px; }
  .admin-order-modal-header { align-items: flex-start; flex-direction: column; }
  .admin-order-modal-actions { width: 100%; flex-wrap: wrap; }
  .admin-order-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .designer-header { height: auto; min-height: 72px; padding: 14px 20px; grid-template-columns: 1fr auto; }
  .designer-progress { display: none; }
  .designer-back { font-size: 7px; }
  .designer-intro { padding: 45px 23px 38px; grid-template-columns: 1fr; gap: 23px; }
  .designer-intro h1 { font-size: 47px; }
  .designer-intro > p { font-size: 15px; }
  .restore-notice { margin: -14px 23px 24px; }
  .designer-workspace { display: flex; flex-direction: column; }
  .preview-panel { position: sticky; top: 0; z-index: 3; }
  .preview-toolbar { height: 42px; }
  .card-stage { min-height: 0; padding: 24px 14px 16px; }
  .wedding-card { width: min(330px, 84%); height: 430px; padding: 25px 29px 22px; aspect-ratio: auto; }
  .card-topline { font-size: 5px; }
  .card-heading { margin-top: 19px; font-size: calc(18px * var(--card-scale)); }
  .card-couple-feature { font-size: calc(15px * var(--card-scale)) !important; }
  .card-ornament { margin: 10px 0 9px; }
  .card-ornament b { font-size: 14px; }
  .card-message { font-size: calc(12px * var(--card-scale)); }
  .card-vial-wrap { min-height: 105px; }
  .card-vial-glass { width: 73px; height: 40px; }
  .card-vial-cap { width: 29px; height: 47px; }
  .card-vial-glass span { width: 15px; height: 15px; font-size: 10px; }
  .card-footer-text { font-size: calc(5px * var(--card-scale)); }
  .card-couple { margin-top: 7px; font-size: calc(11px * var(--card-scale)); }
  .card-date { font-size: calc(5px * var(--card-scale)); }
  .preview-note { display: none; }
  .editor-panel { position: relative; z-index: 4; }
  .saved-design-recovery { margin: 22px 22px 0; align-items: flex-start; flex-direction: column; }
  .editor-section { padding: 30px 22px; }
  .preset-grid { grid-template-columns: 1fr; }
  .preset { min-height: 70px; }
  .form-grid.two-col { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .own-design-upload { margin: 25px 22px 0; padding: 22px; grid-template-columns: 34px 1fr; }
  .own-design-mark { width: 34px; height: 34px; }
  .own-design-control { grid-column: 1 / -1; justify-items: stretch; }
  .upload-pdf-button { width: 100%; }
  .own-design-control small { text-align: center; }
  .upload-result { grid-column: 1 / -1; }
  .editor-actions { padding: 28px 22px 42px; grid-template-columns: 1fr; }
  .reset-button { justify-self: start; }
  .editor-actions p { text-align: left; }
  .save-modal { padding: 42px 25px 30px; }
  .save-modal h2 { font-size: 38px; }
  .local-recovery { flex-direction: column; }
  .share-socials { grid-template-columns: 1fr 1fr; }
}

/* Cookie consent and legal pages */
.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .24s ease, transform .24s ease;
}

.cookie-consent.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-consent-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid rgba(20, 18, 15, .2);
  background: rgba(250, 248, 244, .97);
  box-shadow: 0 18px 55px rgba(20, 18, 15, .18);
  backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.cookie-consent-copy h2 {
  font-size: clamp(28px, 2.2vw, 36px);
}

.cookie-consent-copy > p {
  margin: 10px 0 0;
  color: #6f695f;
  max-width: 760px;
  line-height: 1.65;
}

.cookie-consent-eyebrow {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 700;
}

.cookie-consent-links {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cookie-consent-links a {
  border-bottom: 1px solid rgba(20, 18, 15, .45);
  padding-bottom: 4px;
}

.cookie-consent-links span {
  color: #8d867d;
}

.cookie-consent-actions {
  display: grid;
  grid-auto-flow: row;
  gap: 8px;
  align-content: center;
}

.cookie-consent-actions button,
.cookie-modal-actions button,
.cookie-settings-trigger {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #1d1914;
  background: transparent;
  color: #1d1914;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent-actions button:first-child,
.cookie-modal-actions button {
  background: #17130f;
  color: #f8f4ec;
}

.cookie-preferences-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(20, 18, 15, .48);
}

.cookie-preferences-modal.show {
  display: grid;
}

.cookie-preferences-dialog {
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 24px 24px;
  border: 1px solid rgba(20, 18, 15, .22);
  background: #f9f6f0;
  position: relative;
}

.cookie-preferences-dialog h3 {
  margin: 10px 0 0;
  font: 42px/1 Georgia, serif;
  font-weight: 400;
  letter-spacing: -.04em;
}

.cookie-preferences-dialog > p {
  margin: 12px 0 18px;
  color: #6f695f;
  line-height: 1.65;
}

.cookie-preferences-dialog label {
  margin-top: 10px;
  padding: 14px 12px;
  border: 1px solid rgba(20, 18, 15, .14);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: start;
  background: #fff;
}

.cookie-preferences-dialog label span {
  grid-column: 2;
  font-size: 13px;
  font-weight: 700;
}

.cookie-preferences-dialog label small {
  grid-column: 2;
  color: #7a736a;
  font-size: 12px;
  line-height: 1.45;
}

.cookie-preferences-dialog input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.cookie-modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.cookie-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 24px;
  color: #6f695f;
  cursor: pointer;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-settings-dock {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 80;
  display: grid;
  gap: 8px;
}

.cookie-settings-trigger {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(20, 18, 15, .24);
  border-radius: 50%;
  border-color: rgba(20, 18, 15, .24);
  background: rgba(250, 248, 244, .92);
  font-size: 20px;
  display: grid;
  place-items: center;
}

.cookie-settings-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-settings-links a {
  padding: 6px 8px;
  border: 1px solid rgba(20, 18, 15, .2);
  background: rgba(250, 248, 244, .92);
  color: #1d1914;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
  font-weight: 700;
}

.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #f8f5ef 0%, #f3eee6 100%);
}

.legal-header {
  min-height: 90px;
  padding: 0 clamp(18px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(20, 18, 15, .13);
}

.legal-header a:last-child {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 9px;
}

.legal-wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 88px) 22px 90px;
}

.legal-wrap h1 {
  font-size: clamp(48px, 6vw, 78px);
}

.legal-wrap > p {
  color: #6f695f;
  max-width: 700px;
  line-height: 1.7;
}

.legal-card {
  margin-top: 28px;
  padding: 24px 22px;
  border: 1px solid rgba(20, 18, 15, .13);
  background: rgba(255, 255, 255, .65);
}

.legal-card h2 {
  font-size: clamp(30px, 3.2vw, 45px);
}

.legal-card p,
.legal-card li {
  color: #4c453d;
  line-height: 1.75;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

@media (max-width: 860px) {
  .cookie-consent-card {
    grid-template-columns: 1fr;
  }

  .cookie-consent-actions {
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-consent-card {
    padding: 16px;
  }

  .cookie-consent-actions {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

  .cookie-preferences-dialog {
    padding: 22px 16px 16px;
  }

  .cookie-settings-dock {
    left: 10px;
    bottom: 10px;
  }

  .cookie-settings-trigger {
    width: 38px;
    height: 38px;
    min-height: 38px;
    font-size: 17px;
  }

  .cookie-settings-links {
    gap: 6px;
    flex-wrap: wrap;
  }

  .cookie-settings-links a {
    font-size: 7px;
    letter-spacing: .1em;
  }
}
