@font-face { font-family: "Ballet Serif"; src: local("Georgia"); }
:root {
  --wine: #861f41;
  --wine-dark: #5f1530;
  --ink: #351c27;
  --muted: #7d626d;
  --paper: #fffaf6;
  --act-bg: #f0d4db;
  --act-accent: #a44764;
  --line: rgba(134,31,65,.14);
  --shadow: 0 20px 55px rgba(64,28,41,.14);
}

.consent-row a { color: var(--wine); font-style: normal; text-decoration: underline; text-underline-offset: 2px; }
.primary-button:disabled { opacity: .62; cursor: wait; }
.legal-page { min-height: 100vh; background: #f7eef1; color: #2f2227; padding: 28px 16px; }
.legal-document { max-width: 780px; margin: 0 auto; padding: 32px; background: rgba(255,255,255,.94); border-radius: 24px; box-shadow: 0 18px 60px rgba(83,22,45,.12); }
.legal-document h1 { color: #861f41; font-family: Lora, Georgia, serif; font-size: clamp(30px, 7vw, 48px); line-height: 1.08; }
.legal-document p { line-height: 1.65; }
.legal-version { color: #78636b; }
.legal-list { padding-left: 1.35rem; }
.legal-list > li { margin: 0 0 1rem; padding-left: .2rem; line-height: 1.65; }
.legal-list > li::marker { color: #861f41; font-weight: 800; }
.legal-list ul { margin: .6rem 0; padding-left: 1.2rem; }
.legal-list ul li { margin: .28rem 0; line-height: 1.55; }
.legal-document a { color: #861f41; }
.legal-policy { display: grid; gap: 8px; margin-top: 28px; padding: 18px; border-radius: 16px; background: #f7edf1; line-height: 1.5; }
@media (max-width: 520px) {
  .legal-page { padding: 0; }
  .legal-document { padding: 24px 18px 36px; border-radius: 0; }
  .legal-document h1 { font-size: 32px; }
}
.legal-back { display: inline-block; color: #861f41; font-weight: 700; margin-bottom: 24px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #eee9e6; color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.app { width: min(100%, 560px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0 7%, var(--act-bg) 26%, var(--paper) 72%); box-shadow: 0 0 70px rgba(54,22,34,.12); transition: background .35s ease; }
.topbar { height: 70px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,250,246,.9); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--wine); font-family: Georgia, serif; font-size: 18px; letter-spacing: .02em; }
.brand img { width: 29px; height: 34px; object-fit: contain; filter: brightness(0) saturate(100%) invert(18%) sepia(42%) saturate(3138%) hue-rotate(315deg) brightness(81%); }
.selection-button { padding: 6px 0 6px 10px; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.selection-button b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: white; font-size: 11px; }

.scent-card { padding: 24px 20px 31px; position: relative; }
.act-navigation { display: grid; grid-template-columns: auto 1fr minmax(0,auto); gap: 10px; align-items: center; color: var(--muted); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.act-number { color: var(--wine); font-weight: 800; white-space: nowrap; }
.rule { height: 1px; background: rgba(134,31,65,.22); }
.act-title { max-width: 190px; text-align: right; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.visual-stage { --scent-image: url("fragrances/V26001.webp"); height: 265px; margin: 15px 0 20px; display: grid; place-items: center; position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; background: var(--act-bg); box-shadow: 0 16px 35px rgba(64,28,41,.13); }
.visual-stage::before { content: ""; position: absolute; inset: -18px; z-index: -2; background-image: linear-gradient(rgba(53,28,39,.08),rgba(53,28,39,.08)),var(--scent-image); background-size: cover; background-position: center; filter: blur(14px); opacity: .62; transform: scale(1.08); }
.scent-art { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; filter: saturate(.97) contrast(1.01); }
.visual-stage .orb, .visual-stage .petal, .visual-stage .cloche { display: none; }
.orb { position: absolute; border-radius: 50%; z-index: -2; transition: background .35s; }
.orb-one { width: 210px; height: 210px; background: rgba(255,255,255,.32); border: 1px solid rgba(255,255,255,.68); box-shadow: inset 0 0 48px rgba(255,255,255,.58); }
.orb-two { width: 145px; height: 145px; border: 1px dashed rgba(134,31,65,.17); }
.cloche { width: 172px; height: 195px; position: relative; margin-top: 18px; filter: drop-shadow(0 20px 17px rgba(74,33,47,.16)); }
.cloche-glass { position: absolute; inset: 16px 16px 19px; border-radius: 75px 75px 9px 9px; border: 1px solid rgba(255,255,255,.94); background: linear-gradient(125deg,rgba(255,255,255,.5),rgba(255,255,255,.08) 55%,rgba(255,255,255,.25)); box-shadow: inset 13px 0 13px rgba(255,255,255,.32), inset -7px 0 12px rgba(112,53,72,.06); backdrop-filter: blur(1px); }
.cloche-handle { position: absolute; z-index: 3; top: 2px; left: 50%; width: 22px; height: 23px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.92); border-radius: 50% 50% 5px 5px; background: rgba(255,255,255,.38); }
.cloche-base { position: absolute; z-index: 4; bottom: 13px; left: 5px; width: 162px; height: 12px; border-radius: 50%; background: linear-gradient(180deg,#a96f5a,#714238); box-shadow: 0 5px 9px rgba(69,37,38,.25); }
.flacon { position: absolute; z-index: 2; width: 77px; height: 101px; top: 62px; left: 48px; border-radius: 9px 9px 15px 15px; border: 1px solid rgba(255,255,255,.94); background: linear-gradient(135deg,rgba(255,255,255,.85),rgba(255,255,255,.28)); box-shadow: inset 8px 0 12px rgba(255,255,255,.62), 0 12px 15px rgba(77,39,50,.12); }
.flacon-cap { position: absolute; width: 31px; height: 27px; left: 22px; top: -26px; border-radius: 3px 3px 1px 1px; background: linear-gradient(90deg,#92624f,#e4c8b8 48%,#8c5a48); }
.flacon-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--wine); font-family: Georgia,serif; font-size: 10px; letter-spacing: .08em; }
.flacon-label small { margin-top: 6px; font-family: Arial,sans-serif; font-size: 6px; letter-spacing: .15em; }
.petal { position: absolute; width: 27px; height: 13px; border-radius: 100% 0 100% 0; background: rgba(255,255,255,.55); }
.petal-one { left: 15%; top: 44%; transform: rotate(23deg); }
.petal-two { right: 14%; top: 28%; transform: rotate(-31deg); }
.petal-three { right: 23%; bottom: 15%; width: 18px; transform: rotate(61deg); }

.scent-heading { text-align: center; margin-top: -6px; }
.overline, .section-label, .music-intro p, .modal-overline { margin: 0; color: var(--wine); font-size: 8px; line-height: 1.4; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.scent-heading h1 { max-width: 430px; margin: 8px auto 11px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px,10vw,49px); line-height: .98; letter-spacing: -.035em; font-weight: 400; }
.scent-heading h1 .title-line { display: block; white-space: nowrap; }
.scent-code { display: flex; justify-content: center; align-items: center; gap: 9px; margin: 0; color: #704f5c; text-transform: uppercase; font-size: 8px; letter-spacing: .12em; }
.scent-code i { width: 3px; height: 3px; border-radius: 50%; background: var(--act-accent); }

.music-card { margin-top: 27px; padding: 20px 18px 17px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.72); box-shadow: 0 14px 35px rgba(82,43,56,.09); backdrop-filter: blur(13px); }
.music-intro h2 { margin: 5px 0 17px; font-family: Georgia,serif; font-size: 18px; line-height: 1.2; font-weight: 400; }
.player { display: grid; grid-template-columns: 49px 1fr auto; gap: 12px; align-items: center; }
.play-button { width: 49px; height: 49px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--wine); color: white; box-shadow: 0 8px 17px rgba(134,31,65,.25); }
.play-button:active { transform: scale(.97); }
.play-button:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; }
.play-icon { margin-left: 2px; font-size: 14px; }
.play-button.is-playing .play-icon { margin-left: 0; font-size: 0; }
.play-button.is-playing .play-icon::after { content: "Ⅱ"; font-size: 15px; font-weight: 800; letter-spacing: -2px; }
.track-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.track-copy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.track-copy span, .player time { color: #8b7079; font-size: 8px; }
.progress { height: 2px; margin-top: 7px; overflow: hidden; border-radius: 2px; background: rgba(134,31,65,.13); }
.progress i { display: block; width: 0; height: 100%; background: var(--wine); transition: width .35s linear; }
.audio-status { margin: 13px 0 0 61px; color: #937a82; font-size: 8px; line-height: 1.45; }

.olfactory { padding: 25px 4px 20px; text-align: center; }
.description { max-width: 390px; margin: 8px auto 17px; font-family: Georgia,serif; font-size: 16px; line-height: 1.42; }
.pyramid { margin: 0; display: grid; gap: 7px; text-align: left; }
.pyramid div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: baseline; padding-bottom: 7px; border-bottom: 1px solid rgba(134,31,65,.09); }
.pyramid dt { color: var(--wine); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.pyramid dd { margin: 0; color: #674b56; font-size: 11px; line-height: 1.4; }
.applications { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 13px; }
.applications span { padding: 6px 9px; border: 1px solid rgba(134,31,65,.13); border-radius: 999px; background: rgba(255,255,255,.56); color: #725461; font-size: 8px; }

.primary-button, .secondary-button { width: 100%; min-height: 55px; padding: 0 17px; display: flex; justify-content: center; align-items: center; gap: 9px; border-radius: 14px; font-weight: 800; font-size: 12px; text-align: center; text-decoration: none; }
.primary-button { border: 1px solid var(--wine); background: var(--wine); color: white; box-shadow: 0 11px 21px rgba(134,31,65,.2); }
.primary-button > span:first-child { font-size: 19px; line-height: 1; }
.primary-button.is-added { background: rgba(255,255,255,.56); color: var(--wine); box-shadow: none; }
.secondary-button { border: 1px solid var(--wine); background: transparent; color: var(--wine); }
.delivery-note { margin: 9px 0 0; text-align: center; color: #8c717a; font-size: 8px; }

.prototype-switcher { padding: 21px 20px 23px; border-top: 1px dashed rgba(134,31,65,.26); background: #f3ece9; }
.prototype-switcher > div > span { color: var(--wine); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.prototype-switcher h2 { margin: 4px 0 13px; font-family: Georgia,serif; font-size: 18px; font-weight: 400; }
.prototype-switcher select { width: 100%; height: 46px; padding: 0 38px 0 12px; border: 1px solid rgba(134,31,65,.2); border-radius: 11px; background: white; color: var(--ink); font-size: 12px; }
.prototype-switcher p { margin: 9px 0 0; color: #8a7079; font-size: 8px; line-height: 1.45; }
.footer { min-height: 68px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; background: var(--wine); color: rgba(255,255,255,.82); text-transform: uppercase; font-size: 8px; letter-spacing: .13em; }
.footer strong { font-family: Georgia,serif; font-size: 13px; font-weight: 400; }

.modal-layer { position: fixed; inset: 0; z-index: 50; padding-top: 24px; display: flex; justify-content: center; align-items: flex-end; background: rgba(48,23,32,.54); backdrop-filter: blur(8px); }
.modal { width: min(100%,560px); max-height: calc(100vh - 24px); overflow: auto; padding: 28px 21px 23px; border-radius: 27px 27px 0 0; background: var(--paper); box-shadow: 0 -20px 55px rgba(47,20,30,.22); position: relative; }
.close-button { position: absolute; right: 17px; top: 16px; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--wine); font-size: 22px; }
.modal h2 { max-width: 88%; margin: 5px 0 12px; font-family: Georgia,serif; font-size: 29px; line-height: 1.06; font-weight: 400; }
.modal-lead { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.chosen-scent { display: flex; gap: 11px; align-items: center; padding: 11px 13px; border-radius: 13px; background: #f5edeb; }
.scent-dot { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--act-bg); }
.chosen-scent span, .selection-item span { display: flex; flex-direction: column; gap: 3px; }
.chosen-scent b, .selection-item b { font-family: Georgia,serif; font-size: 14px; font-weight: 400; }
.chosen-scent small, .selection-item small { color: #896d76; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }
#contact-form { margin-top: 15px; display: flex; flex-direction: column; gap: 11px; }
#contact-form > label:not(.consent-row) { color: #684d57; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
#contact-form input:not([type="checkbox"]), #contact-form select { width: 100%; height: 48px; margin-top: 6px; padding: 0 13px; border: 1px solid rgba(134,31,65,.19); border-radius: 11px; outline: none; background: white; color: var(--ink); font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 400; }
#contact-form input:focus, #contact-form select:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(134,31,65,.08); }
.catalog-request { margin: 2px 0; padding: 13px; border: 1px solid rgba(134,31,65,.16); border-radius: 13px; background: rgba(255,255,255,.38); }
.catalog-request legend { padding: 0 5px; color: #684d57; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.catalog-request label { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 9px; padding: 7px 0; color: var(--ink); font-size: 12px; line-height: 1.35; cursor: pointer; }
.catalog-request input { width: 19px; height: 19px; margin: -1px 0 0; accent-color: var(--wine); }
.field-help { display: block; margin-top: 5px; color: #8a717a; font-size: 9px; line-height: 1.4; text-transform: none; letter-spacing: 0; font-weight: 400; }
.consent-row { display: grid; grid-template-columns: 19px 1fr; gap: 8px; color: #6e555e; font-size: 9px; line-height: 1.45; }
.consent-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--wine); }
.consent-row em { display: block; color: #987d86; font-style: normal; }
.field-error, .form-error { color: #b72a44; font-size: 9px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.field-error { display: block; min-height: 11px; padding-top: 3px; }
.form-error { min-height: 12px; margin: -5px 0 0; }
.prototype-disclaimer { margin: 10px 14px 0; color: #9a8189; font-size: 8px; line-height: 1.45; text-align: center; }
.success-modal { text-align: center; padding-top: 35px; }
.success-modal h2 { max-width: none; }
.success-modal > p:not(.modal-overline) { color: var(--muted); font-size: 11px; line-height: 1.55; }
.catalog-mail-result { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.55); color: var(--wine) !important; }
.success-mark { width: 62px; height: 62px; margin: 0 auto 15px; display: grid; place-items: center; border-radius: 50%; background: var(--wine); color: white; font-size: 25px; box-shadow: 0 10px 24px rgba(134,31,65,.22); }
.link-button { margin-top: 17px; }
.success-modal .secondary-button { margin-top: 11px; }
.selection-list { display: grid; }
.selection-item { display: grid; grid-template-columns: 38px 1fr 35px; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.selection-item > i { width: 38px; height: 38px; border-radius: 50%; }
.selection-item button { width: 35px; height: 35px; border: 0; background: transparent; color: #987580; font-size: 20px; }
.selection-empty, .selection-help { color: var(--muted); font-size: 11px; line-height: 1.55; }
.selection-help { margin: 15px 0 0; padding: 11px 13px; border-radius: 12px; background: #f5edeb; }
.selection-modal .secondary-button, #selection-modal .secondary-button { margin-top: 12px; }

@media (min-width: 700px) {
  .app { margin-top: 24px; margin-bottom: 24px; border-radius: 28px; min-height: calc(100vh - 48px); }
  .modal-layer { align-items: center; }
  .modal { max-height: calc(100vh - 56px); margin-bottom: 28px; border-radius: 27px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; } }

/* Prototype 05 — оформление по утверждённому мобильному макету */
body { background: #eeecea; }
.app { position: relative; background: #d7cbc7; }
.topbar { position: absolute; z-index: 8; top: 0; left: 0; right: 0; height: 118px; padding: 20px 22px 0; justify-content: center; border: 0; background: transparent; backdrop-filter: none; }
.brand { flex-direction: column; gap: 2px; color: var(--wine); font-family: Georgia, "Times New Roman", serif; font-size: 25px; letter-spacing: .08em; text-shadow: 0 1px 10px rgba(255,255,255,.78); }
.brand img { display: none; }
.brand-flower { font-size: 14px; line-height: 1; }
.selection-button { position: absolute; right: 18px; top: 23px; width: 46px; height: 46px; padding: 0; justify-content: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(255,255,255,.3); color: white; box-shadow: 0 7px 20px rgba(44,20,28,.15); backdrop-filter: blur(10px); }
.selection-button::before { content: "◇"; font-size: 19px; text-shadow: 0 1px 5px rgba(0,0,0,.35); }
.selection-button > span { display: none; }
.selection-button b { position: absolute; top: -4px; right: -4px; width: 21px; height: 21px; font-size: 9px; box-shadow: 0 2px 7px rgba(0,0,0,.18); }

.scent-card { min-height: 100svh; padding: 0; display: flex; align-items: flex-end; position: relative; isolation: isolate; overflow: hidden; }
.visual-stage { --scent-image: none; position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; box-shadow: none; background: var(--act-bg); }
.visual-stage::before { display: none; }
.scent-art { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.98) contrast(1.01); }
.stage-shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(180deg,rgba(43,20,28,.03) 0%,transparent 40%,rgba(50,25,32,.25) 100%); pointer-events: none; }

.scent-panel { position: relative; z-index: 3; width: calc(100% - 30px); margin: 0 15px max(14px,env(safe-area-inset-bottom)); padding: 25px 20px 20px; border: 1px solid rgba(255,255,255,.86); border-radius: 34px; background: rgba(255,248,242,.91); box-shadow: 0 20px 48px rgba(54,27,36,.23); backdrop-filter: blur(15px); }
.act-navigation { display: flex; justify-content: center; gap: 8px; color: var(--wine); font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.act-navigation .rule { display: none; }
.act-number, .act-title { color: inherit; }
.act-title { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-dot { display: inline; }
.ornament { height: 20px; margin: 7px auto 1px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #c9879a; }
.ornament span { width: 55px; height: 1px; background: linear-gradient(90deg,transparent,#c9879a); }
.ornament span:last-child { background: linear-gradient(90deg,#c9879a,transparent); }
.ornament b { font-size: 10px; }

.scent-heading { margin: 0; text-align: center; }
.scent-heading .overline { display: none; }
.scent-heading h1 { margin: 5px auto 8px; color: var(--wine); font-family: Georgia,"Times New Roman",serif; font-size: clamp(38px,10.5vw,55px); line-height: 1; font-weight: 400; letter-spacing: -.035em; }
.scent-code { justify-content: center; margin: 0; color: var(--wine); font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.scent-code i, #scent-family { display: none; }
.key-notes { margin: 14px 0 17px; color: #70686b; font-size: 14px; line-height: 1.3; }

.music-card { margin: 0; padding: 12px 13px; border: 1px solid rgba(255,255,255,.92); border-radius: 20px; background: rgba(255,255,255,.38); box-shadow: none; backdrop-filter: blur(8px); }
.music-intro { display: none; }
.player { grid-template-columns: 56px 1fr; gap: 14px; }
.play-button { width: 56px; height: 56px; }
.track-copy { gap: 2px; }
.track-label { display: block; color: #7f7679 !important; font-size: 11px !important; }
.track-copy strong { color: var(--wine); font-family: Georgia,"Times New Roman",serif; font-size: 17px; font-weight: 400; }
.track-subtitle, .player time, .audio-status { display: none; }
.progress { height: 3px; margin-top: 9px; }

.scent-panel > .primary-button { min-height: 60px; margin-top: 14px; border: 2px solid rgba(255,255,255,.48); border-radius: 17px; font-family: Georgia,"Times New Roman",serif; font-size: 22px; font-weight: 400; box-shadow: 0 8px 20px rgba(134,31,65,.22), inset 0 0 0 1px rgba(255,255,255,.25); }
.scent-panel > .primary-button.is-added { background: #607968; border-color: rgba(255,255,255,.55); color: white; }
.sample-icon { position: relative; width: 17px; height: 25px; border: 2px solid currentColor; border-radius: 2px; }
.sample-icon::before { content: ""; position: absolute; left: 3px; right: 3px; top: -7px; height: 5px; border: 2px solid currentColor; border-bottom: 0; }
.sample-icon::after { content: "✦"; position: absolute; left: 16px; top: -13px; font-size: 11px; }
.button-symbol { font-size: 20px; }
.delivery-note { margin: 11px 0 0; color: #81777a; font-size: 11px; }
.olfactory[hidden] { display: none !important; }

.prototype-switcher { position: relative; z-index: 5; padding: 23px 20px 25px; border-top: 0; background: #f5efec; }
.footer { position: relative; z-index: 5; }

@media (max-width: 430px) {
  .topbar { height: 104px; padding-top: 16px; }
  .brand { font-size: 21px; }
  .selection-button { top: 16px; right: 14px; width: 42px; height: 42px; }
  .scent-panel { width: calc(100% - 24px); margin-left: 12px; margin-right: 12px; padding: 21px 16px 17px; border-radius: 29px; }
  .scent-heading h1 { font-size: clamp(34px,10.5vw,45px); }
  .key-notes { margin: 11px 0 13px; font-size: 13px; }
  .music-card { padding: 10px 11px; }
  .play-button { width: 50px; height: 50px; }
  .player { grid-template-columns: 50px 1fr; gap: 11px; }
  .track-copy strong { font-size: 15px; }
  .scent-panel > .primary-button { min-height: 54px; font-size: 20px; }
}

@media (min-width: 700px) {
  body { padding: 22px 0; }
  .app { margin: 0 auto; border: 10px solid #111; border-radius: 58px; min-height: calc(100vh - 44px); box-shadow: 0 24px 70px rgba(30,20,24,.28); }
  .scent-card { min-height: calc(100vh - 64px); }
}

/* Prototype 06 — компактная карточка, чтобы фотография оставалась главным элементом */
.scent-panel {
  width: calc(100% - 36px);
  margin-right: 18px;
  margin-bottom: max(14px,env(safe-area-inset-bottom));
  margin-left: 18px;
  padding: 16px 16px 14px;
  border-radius: 28px;
}
.act-navigation { gap: 6px; font-size: 8px; letter-spacing: .16em; }
.ornament { height: 12px; margin: 3px auto 0; }
.ornament span { width: 42px; }
.ornament b { font-size: 8px; }
.scent-heading h1 { margin: 2px auto 5px; font-size: clamp(29px,8.5vw,43px); line-height: .98; }
.scent-code { font-size: 11px; }
.key-notes { margin: 7px 0 10px; font-size: 12px; }
.music-card { padding: 8px 10px; border-radius: 16px; }
.player { grid-template-columns: 44px 1fr; gap: 10px; }
.play-button { width: 44px; height: 44px; }
.track-label { font-size: 9px !important; }
.track-copy strong { font-size: 13px; }
.progress { height: 2px; margin-top: 6px; }
.scent-panel > .primary-button { min-height: 49px; margin-top: 9px; border-radius: 14px; font-size: 19px; }
.sample-icon { width: 14px; height: 21px; }
.delivery-note { margin-top: 7px; font-size: 9px; }

@media (max-width: 430px) {
  .scent-panel { width: calc(100% - 24px); margin-right: 12px; margin-left: 12px; padding: 14px 14px 12px; border-radius: 25px; }
  .scent-heading h1 { font-size: clamp(28px,8.5vw,37px); }
  .key-notes { margin: 6px 0 9px; font-size: 11px; }
  .music-card { padding: 7px 9px; }
  .player { grid-template-columns: 42px 1fr; }
  .play-button { width: 42px; height: 42px; }
  .track-copy strong { font-size: 12px; }
  .scent-panel > .primary-button { min-height: 47px; margin-top: 8px; font-size: 18px; }
}

/* Prototype 07 — палитра и типографика каталога */
@font-face { font-family: "Catalog Lora"; src: url("fonts/Lora-Variable.ttf") format("truetype"); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Catalog Lora"; src: url("fonts/Lora-Italic-Variable.ttf") format("truetype"); font-style: italic; font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Catalog Poppins"; src: url("fonts/Poppins-Regular-Full.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Catalog Poppins"; src: url("fonts/Poppins-Bold-Full.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Catalog Sans"; src: url("fonts/DejaVuSans-Regular-Full.ttf") format("truetype"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Catalog Sans"; src: url("fonts/DejaVuSans-Bold-Full.ttf") format("truetype"); font-style: normal; font-weight: 700; font-display: swap; }

:root { --catalog-paper: #efe6da; }
body { color: #4a3a35; font-family: "Catalog Sans", Arial, sans-serif; background: var(--catalog-paper); }
button, input, select { font-family: "Catalog Poppins", "Catalog Sans", Arial, sans-serif; }
.app { background: var(--catalog-paper); }
.brand { font-family: "Catalog Lora", Georgia, serif; font-weight: 700; }
.scent-panel { background: rgba(251,243,234,.94); background: color-mix(in srgb, var(--act-bg) 94%, transparent); }
.act-navigation, .scent-code, .track-label, .delivery-note, .prototype-switcher > div > span {
  font-family: "Catalog Poppins", "Catalog Sans", Arial, sans-serif;
  font-weight: 700;
}
.scent-heading h1, .track-copy strong, .prototype-switcher h2, .modal h2, .chosen-scent b, .selection-item b {
  font-family: "Catalog Lora", Georgia, serif;
}
.scent-heading h1 { color: var(--wine); font-weight: 700; letter-spacing: -.025em; }
.key-notes { font-family: "Catalog Sans", Arial, sans-serif; color: #4a3a35; }
.ornament { color: var(--wine); opacity: .48; }
.ornament span { background: linear-gradient(90deg,transparent,var(--wine)); }
.ornament span:last-child { background: linear-gradient(90deg,var(--wine),transparent); }
.music-card { border-color: color-mix(in srgb, var(--wine) 13%, white); background: rgba(255,255,255,.56); }
.track-copy strong { color: var(--wine); font-weight: 600; }
.progress { background: color-mix(in srgb, var(--wine) 17%, transparent); }
.progress i { background: var(--wine); }
.scent-panel > .primary-button { font-family: "Catalog Poppins", "Catalog Sans", Arial, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.prototype-switcher { background: var(--act-bg); border-top: 1px solid color-mix(in srgb, var(--wine) 14%, transparent); }
.prototype-switcher h2, .prototype-switcher > div > span { color: var(--wine); }
.prototype-switcher select { border-color: color-mix(in srgb, var(--wine) 25%, transparent); font-family: "Catalog Sans", Arial, sans-serif; }
.footer { background: var(--wine); font-family: "Catalog Poppins", "Catalog Sans", Arial, sans-serif; }
.footer strong { font-family: "Catalog Lora", Georgia, serif; }
.modal { background: var(--act-bg); }
.modal-overline, .modal-kicker, .section-label { font-family: "Catalog Poppins", "Catalog Sans", Arial, sans-serif; color: var(--wine); }
.chosen-scent, .selection-help { background: color-mix(in srgb, var(--act-bg) 70%, white); }
.primary-button, .play-button, .success-mark, .selection-button b { background-color: var(--wine); border-color: var(--wine); }

@media (max-width: 430px) {
  .scent-panel > .primary-button { font-size: 14px; }
}

/* Prototype 08 — фирменные логотипы */
.topbar {
  padding-right: 76px;
  padding-left: 76px;
}
.brand {
  width: min(52vw, 205px);
  height: auto;
  display: block;
  line-height: 0;
  filter: drop-shadow(0 2px 9px rgba(255,255,255,.78));
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}
.panel-bottom {
  min-height: 31px;
  margin-top: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.panel-bottom .delivery-note {
  margin: 0;
  text-align: center;
}
.footer-novacom {
  width: 112px;
  min-height: 38px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  border-radius: 11px;
  background: rgba(255,250,246,.96);
  box-shadow: 0 4px 14px rgba(35,8,20,.2);
}
.footer-novacom img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 430px) {
  .topbar { padding-right: 66px; padding-left: 66px; }
  .brand { width: min(47vw, 175px); }
  .panel-bottom .delivery-note { font-size: 8px; line-height: 1.25; }
  .footer-novacom { width: 102px; min-height: 35px; padding: 6px 9px; }
}
