:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --cream: #eee6dc;
  --ink: #251f19;
  --muted: #62564b;
  --line: #d8cdbf;
  --sans: Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 var(--sans); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
svg { display: block; width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid #81533d; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap, .header-inner { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; z-index: 4; inset: 12px auto auto 12px; padding: 12px; background: var(--paper); translate: 0 -150%; }
.skip:focus { translate: 0; }
.header { background: #faf6ef; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; }
.brand { display: inline-grid; justify-self: center; justify-items: center; width: fit-content; line-height: 1; gap: 7px; }
.brand span { font-size: 24px; letter-spacing: .12em; white-space: nowrap; }
.brand small { font: 9px/1 var(--sans); letter-spacing: .38em; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 4px; }
.icon-button:hover { background: var(--cream); }
.icon-button:active { scale: .94; }
.bag-button { position: relative; }
.bag-count { position: absolute; top: 3px; right: 0; min-width: 18px; padding: 2px 4px; border-radius: 12px; background: #8b553c; color: #fff; font: 11px/1.3 var(--sans); }
.hero { position: relative; isolation: isolate; overflow: hidden; background: #e9d6bc; }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; height: 100%; width: 82%; object-fit: cover; object-position: 100% 51%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #ebdcc8 0%, #ebdcc8e8 16%, #f3e6d049 47%, transparent 64%); }
.hero-inner { min-height: 555px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 46px; }
.hero h1 { font-size: clamp(62px, 6.5vw, 102px); letter-spacing: -.057em; line-height: .94; }
.hero p { margin-block: 24px; font-size: 17px; line-height: 1.45; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: #fffaf1; font-size: 15px; text-align: center; transition: background .2s var(--ease), translate .2s var(--ease); }
.button:hover { background: #49392f; }
.button:active { translate: 0 1px; }
.button svg { width: 17px; height: 17px; }
.catalog { padding-block: 40px 54px; }
#collection, #how-to-order { scroll-margin-top: 16px; }
.section-title { display: flex; align-items: center; gap: 20px; margin-block: 0 24px; text-align: center; text-transform: uppercase; letter-spacing: .16em; font-size: 15px; line-height: 1.25; }
.section-title::before, .section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: grid; grid-template-rows: auto 1fr; min-width: 0; border-radius: 8px; overflow: hidden; background: var(--cream); transition: background .25s var(--ease); }
.card:hover { background: #e8ddd0; }
.card-image { overflow: hidden; }
.card-image img { width: 100%; height: 100%; aspect-ratio: 1.8; object-fit: cover; transition: scale .55s var(--ease); }
.card:hover img { scale: 1.045; }
.card-copy { display: grid; align-content: start; min-width: 0; position: relative; padding: 20px 25px 42px; }
.card h3 { font-size: clamp(22px, 2.55vw, 36px); line-height: 1.04; letter-spacing: -.04em; }
.card p { margin-top: 10px; color: var(--muted); font: 14px/1.45 var(--sans); }
.card-arrow { position: absolute; right: 21px; bottom: 14px; transition: translate .2s var(--ease); }
.card:hover .card-arrow { translate: 4px 0; }
.season { margin-top: 36px; }
.card-wide { display: grid; grid-template: 1fr / 52% 1fr; min-height: 195px; }
.card-wide .card-image img { aspect-ratio: 2.65; }
.card-wide .card-copy { align-content: center; padding-inline: clamp(22px, 4vw, 56px); }
.card-wide p { max-width: 370px; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; padding: 18px 0; list-style: none; border-block: 1px solid var(--line); }
.benefits li { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 12px; }
.benefits li + li { border-left: 1px solid var(--line); }
.benefits svg { width: 27px; height: 27px; }
.benefits strong, .benefits span { display: block; }
.benefits strong { font-weight: 400; }
.benefits span { color: var(--muted); font: 12px/1.4 var(--sans); margin-top: 3px; }
.order-guide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.order-guide h2 { font-size: 42px; line-height: 1.1; margin-top: 8px; }
.order-guide #delivery p + p { margin-top: 10px; color: var(--muted); }
.order-guide .button { margin-top: 16px; }
.order-illustration { position: relative; width: min(100%, 460px); justify-self: center; }
.footer { border-top: 1px solid var(--line); background: var(--footer-bg); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 22px 32px; min-height: 96px; padding-block: 16px; }
.footer .brand { margin-right: auto; }
.footer .brand span { font-size: 17px; }
.footer .brand small { font-size: 7px; }
.footer a:not(.brand) { font-size: 14px; }
.footer a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.product { padding-block: 26px 56px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; font-size: 15px; }
.text-link svg { width: 18px; height: 18px; }
.back { margin-bottom: 10px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: #faf6ef; }
.product-media { min-height: 495px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-copy { min-width: 0; padding: clamp(28px, 4vw, 58px); }
.eyebrow { font: 11px/1.35 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.eyebrow span { padding-inline: 5px; }
.product h1 { margin-top: 10px; font-size: clamp(37px, 4.25vw, 62px); letter-spacing: -.052em; line-height: .99; }
.product-description { margin-top: 12px; font-size: 18px; line-height: 1.35; }
.composition { margin-block: 23px 21px; padding-top: 16px; border-top: 1px solid var(--line); }
.composition .section-title { gap: 10px; margin-bottom: 9px; font-size: 11px; }
.perfumes { padding: 0; margin: 0; list-style: none; }
.composition-hint { margin-bottom: 8px; color: var(--muted); font-size: 12px; }
.perfumes li + li { border-top: 1px solid var(--line); }
.perfume-number { font: 11px/1 var(--sans); color: var(--muted); }
.bottle-icon { display: block; width: 32px; height: 41px; flex: none; }
.bottle-icon > svg, .bottle-icon > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.perfume-disclosure summary {
  display: grid; grid-template-columns: 22px minmax(0, 1fr) 14px; align-items: center;
  gap: 8px; min-height: 47px; padding-block: 7px; list-style: none; cursor: pointer;
  overflow-wrap: anywhere;
}
.perfume-disclosure summary::-webkit-details-marker { display: none; }
.perfume-disclosure summary::after {
  content: ""; justify-self: center; width: 7px; height: 7px;
  border-right: 1px solid #79634e; border-bottom: 1px solid #79634e;
  transform: translateY(-2px) rotate(45deg); transition: transform 200ms var(--ease);
}
.perfume-disclosure[open] summary::after { transform: translateY(2px) rotate(225deg); }
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .perfume-disclosure { interpolate-size: allow-keywords; }
    .perfume-disclosure::details-content {
      block-size: 0;
      content-visibility: hidden;
      overflow: clip;
      opacity: 0;
      transition: block-size 320ms var(--ease), opacity 220ms var(--ease),
        content-visibility 320ms allow-discrete;
    }
    .perfume-disclosure[open]::details-content {
      block-size: auto;
      content-visibility: visible;
      opacity: 1;
    }
    @starting-style {
      .perfume-disclosure[open]::details-content { block-size: 0; opacity: 0; }
    }
  }
  @supports not ((interpolate-size: allow-keywords) and selector(details::details-content)) {
    .perfume-disclosure[open] .fragrance-card {
      animation: fragrance-appear 240ms var(--ease) both;
    }
    @keyframes fragrance-appear {
      from { opacity: 0; transform: translateY(-4px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}
.fragrance-card {
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  margin-bottom: 12px; padding: clamp(10px, 2vw, 16px);
  color: var(--ink); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere;
}
.fragrance-main {
  display: grid; grid-template-columns: clamp(65px, 28%, 110px) minmax(0, 1fr);
  align-items: start; gap: clamp(9px, 2vw, 16px);
}
.fragrance-photo {
  display: grid; place-items: center; overflow: hidden; min-width: 0; aspect-ratio: 4 / 5;
  border: 1px solid var(--line); border-radius: 8px; background: var(--cream);
}
.fragrance-photo > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.fragrance-photo:has(> img[src^="/assets/fragrance-photos/"]) { background: #000; }
.fragrance-photo .bottle-icon { width: 65%; height: auto; aspect-ratio: 36 / 46; }
.fragrance-label {
  margin: 10px 0 3px; color: var(--muted); font-size: 10px;
  text-transform: uppercase; letter-spacing: .08em;
}
.fragrance-copy .fragrance-label:first-child { margin-top: 0; }
.fragrance-traits { display: flex; flex-wrap: wrap; gap: 5px 7px; }
.fragrance-traits > span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; }
@media (prefers-reduced-motion: reduce) {
  .perfume-disclosure summary::after { transition: none; }
}
.pending { color: var(--muted); padding-block: 12px; }
.product-order { width: 100%; }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(100%, 430px); height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 24px; border: 0; border-left: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.drawer#menu { inset: 0 auto 0 0; border-left: 0; border-right: 1px solid var(--line); }
.drawer::backdrop { background: #20191370; }
body:has(dialog[open]) { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.drawer-nav { display: grid; }
.drawer-nav a { padding: 15px 6px; border-bottom: 1px solid var(--line); }
.drawer-nav a:hover, .drawer-nav a[aria-current] { background: var(--cream); }
.drawer-body { padding-block: 18px; }
.drawer-body > .text-link { margin-top: 14px; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-items li { padding-block: 12px; border-bottom: 1px solid var(--line); }
.cart-item-summary, .cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cart-item-summary h3 { min-width: 0; overflow-wrap: anywhere; font-size: 21px; line-height: 1.16; }
.cart-item-summary span { flex: none; color: var(--muted); font-size: 13px; }
.product-checkout .cart-item-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 44px;
  align-items: center;
  gap: 6px;
}
.cart-line-remove { font-size: 25px; color: var(--muted); }
.cart-item-details, .cart-note { color: var(--muted); font: 13px/1.45 var(--sans); margin-top: 5px; }
.cart-controls { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.cart-controls .icon-button { border: 1px solid var(--line); height: 36px; width: 38px; }
.cart-controls .text-button { margin-left: 6px; font-size: 14px; }
.cart-total { margin-top: 14px; font-size: 18px; }
.cart-total strong { font-weight: 400; }
.cart-actions { display: grid; gap: 8px; margin-top: 14px; }
.telegram-action { position: relative; display: grid; }
.checkout-cat { width: 126px; justify-self: center; margin: -7px 0 -3px 64px; pointer-events: none; }
.cart-add { color: var(--ink); background: transparent; }
.cart-add:hover { background: var(--cream); }
.cart-add:disabled, .cart-controls button:disabled { cursor: default; opacity: .5; }
.order-status { font: 13px/1.45 var(--sans); margin-top: 8px; }
.text-button { display: block; min-height: 44px; padding: 0; text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; }
textarea { display: block; width: 100%; min-height: 100px; margin-block: 12px; padding: 8px; border: 1px solid var(--line); background: #fffaf3; }
@media (max-width: 1050px) {
  .hero-inner { min-height: 470px; }
  .hero-photo { width: 90%; }
  .product-copy { padding: 30px; }
}
@media (max-width: 730px) {
  .wrap, .header-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 58px; }
  .brand { gap: 5px; }
  .brand span { font-size: 18px; letter-spacing: .1em; }
  .brand small { font-size: 7px; }
  .hero-inner { min-height: clamp(255px, 58vw, 370px); padding-block: 24px; }
  .hero-photo { width: 100%; object-position: 75% 50%; }
  .hero::after { background: linear-gradient(90deg, #f1e5d4e6, #f1e5d4bd 33%, #f1e5d400 64%); }
  .hero h1 { font-size: clamp(31px, 7.45vw, 53px); letter-spacing: -.045em; line-height: .98; }
  .hero p { margin-block: 13px 14px; width: clamp(145px, 46vw, 260px); font-size: clamp(13px, 2.65vw, 17px); line-height: 1.35; }
  .button { min-height: 44px; gap: 8px; padding-inline: 12px; font-size: 13px; }
  .button svg { width: 15px; }
  .catalog { padding-block: 19px 26px; }
  .section-title { gap: 9px; font-size: 11px; letter-spacing: .12em; margin-bottom: 12px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { border-radius: 6px; }
  .card-copy { padding: 12px 12px 29px; }
  .card h3 { font-size: clamp(17px, 4.4vw, 28px); line-height: 1.05; letter-spacing: -.028em; }
  .card p { font-size: 12px; line-height: 1.34; margin-top: 6px; }
  .card-arrow { right: 11px; bottom: 8px; }
  .card-arrow svg { width: 16px; height: 16px; }
  .card-bold, .card-wide { display: grid; grid-template: 1fr / 48% 1fr; min-height: 117px; }
  .card-bold { grid-column: 1 / -1; }
  .card-bold .card-copy, .card-wide .card-copy { align-content: center; padding: 12px 13px 26px; }
  .card-wide .card-image img, .card-bold .card-image img { aspect-ratio: auto; }
  .season { margin-top: 19px; }
  .benefits { margin-top: 16px; padding-block: 12px; }
  .benefits li { flex-direction: column; justify-content: flex-start; text-align: center; gap: 6px; padding-inline: 6px; }
  .benefits svg { width: 22px; height: 22px; }
  .benefits strong { font-size: 12px; line-height: 1.2; }
  .benefits span { display: none; }
  .order-guide { grid-template-columns: 1fr; gap: 12px; font-size: 14px; }
  .order-guide h2 { font-size: 30px; }
  .order-illustration { width: min(100%, 320px); }
  .footer-inner { min-height: 78px; gap: 14px; }
  .footer .brand { width: 100%; justify-items: start; }
  .product { width: 100%; padding: 0 0 24px; }
  .back { padding-inline: 16px; margin-bottom: 0; font-size: 13px; }
  .product-layout { grid-template-columns: 1fr; border-radius: 0; border-width: 0; }
  .product-media { min-height: 0; }
  .product-media img { height: auto; aspect-ratio: 1.5; }
  .product-copy { padding: 19px 20px 27px; }
  .product .eyebrow { text-align: center; font-size: 10px; }
  .product h1 { font-size: clamp(29px, 7.7vw, 46px); }
  .product-description { font-size: 16px; margin-top: 8px; }
  .composition { margin-block: 16px 20px; padding-top: 12px; }
  .perfume-disclosure summary { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.wide-cards { display: grid; gap: 12px; }
.price { display: block; margin-top: 10px; font-weight: 400; }
.photo-empty { display: block; height: 100%; min-height: 130px; background: #dfd0be; }
.collection-empty { padding: 17px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }

.admin { padding-block: 26px 48px; }
.admin h1 { margin-block: 7px 9px; font-size: clamp(31px, 5vw, 54px); letter-spacing: -.04em; line-height: 1.05; }
.admin-toolbar, .admin-section-heading, .admin-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.admin-section-heading, .admin-card-actions { justify-content: space-between; }
.admin-section-heading { margin-bottom: 16px; }
.admin-section-heading h2 { font-size: clamp(25px, 4vw, 34px); line-height: 1.15; overflow-wrap: anywhere; }
.admin-sets, .admin > .admin-panel { margin-top: 24px; }
.admin-set-card { display: grid; grid-template-rows: 1fr auto; min-width: 0; background: #faf6ef; border: 1px solid var(--line); }
.admin-set-card .card { min-height: 0; height: 100%; border: 0; }
.admin-card-actions { padding: 4px 8px 4px 14px; border-top: 1px solid var(--line); }
.admin-panel { min-width: 0; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 8px; background: #faf6ef; }
.admin-panel h3 { font-size: 23px; margin-bottom: 5px; }
.admin-delete-link { flex: none; color: #8c372d; }
.admin-delete-link:hover { background: #f1ded9; }
.admin-delete { margin-block-end: 20px; border-color: #d7a69e; }
.admin-delete-button { background: #8c372d; border-color: #8c372d; }
.admin-delete-button:hover { background: #6e2b23; }
.admin-hint { font: 13px/1.45 var(--sans); color: var(--muted); }
.admin-panel form { display: grid; gap: 14px; }
.admin-panel label { display: grid; gap: 6px; min-width: 0; }
.admin-panel input:not([type="checkbox"]), .admin-panel select, .admin-panel textarea {
  min-width: 0; width: 100%; min-height: 44px; margin: 0; padding: 10px;
  border: 1px solid var(--line); border-radius: 3px; background: #fffaf3;
  color: var(--ink); font: 16px/1.35 var(--sans);
}
.admin-panel .button { justify-self: start; }
.admin-product-fields, .admin-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px 22px; }
.admin-panel fieldset { min-inline-size: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 4px; }
.admin-panel legend { padding-inline: 4px; font-weight: 700; }
.admin-perfume-row { display: grid; grid-template-columns: 30px minmax(0, 1.3fr) minmax(0, 1fr) 44px; gap: 8px; align-items: end; padding-block: 8px; }
.admin-perfume-row + .admin-perfume-row { border-top: 1px solid var(--line); }
.admin-perfume-row > .bottle-icon, .admin-icon-field > .bottle-icon { margin-bottom: 3px; }
.admin-secondary.button { color: var(--ink); border-color: var(--line); background: transparent; margin-top: 8px; }
.admin-secondary.button:hover { background: #f1e5d9; }
.admin-icon-field { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: end; }
.admin-fragrance-list { list-style: none; padding: 0; margin: 8px 0 0; max-height: 295px; overflow: auto; }
.admin-fragrance-list li:not([hidden]) { display: flex; align-items: center; gap: 9px; padding-block: 6px; border-bottom: 1px solid var(--line); }
.admin-fragrance-list a { display: flex; align-items: center; min-height: 28px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.admin-image { width: 140px; height: 94px; object-fit: cover; border-radius: 3px; }
.admin-success, .admin-form-status:not(:empty) { margin-top: 10px; padding: 9px 12px; border-radius: 4px; }
.admin-success { background: #e7eddf; }
.admin-form-status:not(:empty) { background: #f1e5d9; }
.admin :is(#sets-heading, #product-editor, #product-delete, #fragrance-library, #fragrance-form) { scroll-margin-top: 24px; }
@media (max-width: 730px) {
  .admin { padding-block: 12px 26px; }
  .admin .back { padding-inline: 0; }
  .admin-product-fields, .admin-library-grid { grid-template-columns: 1fr; }
  .admin-perfume-row { grid-template-columns: 30px minmax(0, 1fr) 44px; }
  .admin-perfume-row label:nth-of-type(2) { grid-area: 2 / 2; }
  .admin-perfume-row button { grid-area: 1 / 3; }
}
.admin-login { max-width: 440px; margin-top: 20px; }

.checkout-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 8px; padding-block: 8px; font: 14px/1.4 var(--sans); }
.checkout-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.checkout-consent a, .legal a:not(.back) { text-decoration: underline; text-underline-offset: 3px; }
[data-cart-checkout][aria-disabled="true"] { cursor: default; opacity: .55; }
.legal { max-width: 820px; padding-block: 28px 64px; }
.legal h1 { font-size: clamp(28px, 6vw, 56px); line-height: 1.06; margin-block: 12px 20px; }
.legal h2 { font-size: clamp(19px, 3vw, 26px); line-height: 1.2; margin-top: 24px; }
.legal p { margin-top: 12px; }

:root {
  --paper: #f8f0e6;
  --catalog-bg: #efddce;
  --order-bg: #f2e0df;
  --visit-bg: #e9eadb;
  --packaging-bg: #f2e5d6;
  --gift-blend: clamp(40px, 5vw, 80px);
  --gift-mid: color-mix(in srgb, var(--visit-bg), var(--packaging-bg));
  --footer-bg: #f0e8dd;
  --section-blend: clamp(16px, 2.5vw, 32px);
  --visit-inset: clamp(14px, 2vw, 26px);
  --cream: #f1e5d7;
  --ink: #161512;
  --muted: #514840;
  --line: #ded0c2;
}
.header { background: #28211d; color: #fff5e8; border: 0; }
.header-inner { grid-template-columns: auto 1fr 44px; min-height: 76px; gap: 20px; }
.header-inner > [data-open="menu"] { display: none; }
.header :focus-visible { outline-color: #ffc086; }
.header .icon-button:hover { background: #493b32; }
.header .bag-count { background: #ffae70; color: #28211d; }
.brand { justify-self: start; font-weight: 900; letter-spacing: -.055em; font-size: clamp(21px, 2.7vw, 31px); white-space: nowrap; }
.brand img { display: block; width: clamp(140px, 16vw, 208px); height: auto; }
.footer .brand img { width: 155px; }
.hero-brand { display: block; width: min(100%, 520px); height: auto; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 5.2vw, 74px); font-size: 15px; font-weight: 600; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero { background: var(--paper); overflow: visible; z-index: 1; }
.hero::after { content: none; }
.hero-inner { position: relative; display: grid; align-items: center; grid-template-columns: 41% 59%; min-height: auto; padding-block: 0; }
.hero-copy { position: relative; z-index: 1; padding-block: 46px; }
.hero .eyebrow, .collection-heading .eyebrow { width: auto; margin: 0 0 24px; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--ink); }
.hero h1 { font: 900 clamp(60px, 7.9vw, 119px)/.84 var(--sans); letter-spacing: -.075em; }
.hero p.hero-caption { width: auto; margin: 27px 0; font-size: clamp(17px, 2.05vw, 29px); font-weight: 600; }
.hero-art { position: relative; align-self: end; width: 107%; margin-left: -7%; }
.hero-photo { position: static; width: 100%; height: auto; object-fit: contain; }
.hero-tail {
  position: absolute;
  top: 84%;
  right: 8%;
  width: clamp(68px, 8.5vw, 106px);
  transform-origin: 78% 5%;
  pointer-events: none;
}
.hero-stool-crop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-stool {
  position: absolute;
  top: 95.3%;
  right: 1.7%;
  width: 27%;
  pointer-events: none;
}
.hero-cat-body { position: absolute; right: 1%; bottom: 1%; z-index: 1; width: 29%; transform-origin: 40% 98%; }
.hero-cat { position: relative; width: 100%; }
.hero-scents { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.hero-scents > path { fill: none; stroke: #a65023; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; opacity: 0; }
.hero-scents > path:nth-child(2) { stroke: #916233; }
.hero-scents > path:nth-child(3) { stroke: #b04736; }
.hero-choice { fill: #ec711d; opacity: 0; transform-box: fill-box; transform-origin: center; }
.button { border-radius: 0; font-weight: 700; }
.hero-button { min-height: 49px; padding-inline: 24px; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; gap: 24px; }
.catalog, .about-project, .order-band, .packaging-band { padding-block: var(--section-blend); }
.catalog {
  background: linear-gradient(to bottom, var(--paper), var(--catalog-bg) clamp(48px, 6vw, 82px));
  padding-top: 0;
}
.collection-heading { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin-bottom: 24px; }
.collection-heading .eyebrow { margin-bottom: 10px; }
.collection-heading h2 { font-size: clamp(35px, 5vw, 66px); font-weight: 900; letter-spacing: -.065em; text-transform: uppercase; line-height: .95; }
.collection-heading .text-link { flex: none; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: 12px; }
.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.card, .card-wide, .card-bold { grid-template: 1fr / minmax(0, 1fr) minmax(0, 1fr); grid-column: auto; min-height: 0; border-radius: 0; border-block: 1px solid #fffaf5; background: #fcf3e9; }
.card:hover { background: #fff9f2; }
.card-image { grid-column: 2; grid-row: 1; }
.card-image img, .card-wide .card-image img, .card-bold .card-image img { aspect-ratio: 1; height: auto; min-height: 100%; object-fit: cover; }
.card-copy, .card-wide .card-copy, .card-bold .card-copy { grid-column: 1; grid-row: 1; align-content: start; padding: 17px 12px 56px 12px; }
.card-number { margin-bottom: 9px; font-size: 13px; font-weight: 800; }
.card h3 { font-size: clamp(16px, 2.35vw, 32px); font-weight: 900; letter-spacing: -.055em; line-height: 1; text-transform: uppercase; }
.card p { color: var(--ink); margin-top: 10px; }
.card-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; margin-top: 10px; }
.card .price { margin: 0; font-size: 15px; font-weight: 800; }
.comparison-price { color: var(--muted); font-size: 12px; white-space: nowrap; }
.card-arrow { right: auto; left: 12px; bottom: 11px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%; }
.about-project {
  background: linear-gradient(to bottom, var(--packaging-bg), var(--visit-bg) var(--section-blend));
  scroll-margin-top: 18px;
}
.packaging-band { background: linear-gradient(to bottom, var(--gift-mid), var(--packaging-bg) var(--gift-blend)); }
.packaging-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  isolation: isolate;
}
.packaging-copy { justify-self: end; width: min(100%, 450px); }
.packaging-eyebrow { display: flex; align-items: center; gap: 8px; color: #76513a; }
.packaging-eyebrow svg { flex: none; width: 18px; height: 18px; }
.packaging-lead { max-width: 39ch; text-wrap: pretty; }
.packaging-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  max-width: 390px;
  margin: 20px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #c5a890;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.packaging-details li { display: flex; align-items: baseline; gap: 8px; }
.packaging-details li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: #a57550; }
.packaging-image {
  justify-self: start;
  width: min(100%, 450px);
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent, #000 8% 92%, transparent),
    linear-gradient(to bottom, transparent, #000 8% 92%, transparent);
  mask-composite: intersect;
}
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
}
.about-copy > p:last-child { max-width: 43ch; }
.about-city { align-self: end; margin: 0; text-align: center; }
.about-city > svg { width: 100%; height: auto; }
.catalog-intro { max-width: 720px; margin-bottom: 20px; }
.catalog-intro p + p { margin-top: 6px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .about-city.is-visible .city-roofline { stroke-dasharray: 1; animation: trace-city 2.1s ease-out both; }
  .about-city.is-visible .city-details { animation: reveal-city-details .7s ease 1.3s both; }
  .about-city.is-visible .city-birds { animation: reveal-city-details .7s ease 1.75s both; }
}
@keyframes trace-city { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes reveal-city-details { from { opacity: 0; } to { opacity: 1; } }
.about-city figcaption {
  color: var(--ink);
  font: italic 600 clamp(24px, 4vw, 44px)/1.1 Georgia, serif;
}
.about-project .benefits { border-color: #ccd0ba; }
.about-project .benefits li + li { border-color: #ccd0ba; }
.visit-band {
  background: linear-gradient(to bottom, var(--order-bg), var(--visit-bg) var(--visit-inset));
  padding-top: var(--visit-inset);
}
.pickup-card { border: 1px solid #ccd0ba; background: #f5f4e9; }
.pickup-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; }
.pickup-copy { padding: clamp(16px, 3vw, 32px); }
.pickup-card h3, .reviews-card h3 { margin: 0 0 8px; font-size: clamp(21px, 2.6vw, 31px); line-height: 1.12; }
.pickup-skyline { position: relative; margin-bottom: 13px; }
.pickup-skyline > svg { display: block; width: 100%; height: auto; }
.skyline-wheel { transform-origin: 300px 68px; }
.skyline-cabins rect { transform-box: fill-box; transform-origin: center; }
.pickup-copy address { margin: 0 0 8px; font-style: normal; font-weight: 700; }
.pickup-map { min-width: 0; align-self: stretch; display: grid; align-content: center; background: #eeebda; }
.pickup-apps summary { display: block; position: relative; cursor: pointer; list-style: none; }
.pickup-apps summary::-webkit-details-marker { display: none; }
.pickup-apps img { display: block; width: 100%; height: auto; }
.pickup-map-action {
  position: absolute; left: 12px; bottom: 10px; display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; color: var(--ink); background: #fffbef; border: 1px solid #ddceaf;
  font-size: 13px; font-weight: 700;
}
.pickup-map-action svg { width: 15px; height: 15px; }
.pickup-apps[open] .pickup-map-action svg { transform: rotate(-90deg); }
.pickup-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
.pickup-links .pickup-link-app { display: none; }
@media (hover: none) and (pointer: coarse) {
  .pickup-links .pickup-link-app { display: inline-flex; }
}
.map-attribution { justify-self: end; padding: 3px 7px; font-size: 11px; text-decoration: underline; }
.reviews-band {
  margin-top: clamp(8px, 1.5vw, 16px);
  padding-block: var(--section-blend);
  background: linear-gradient(to bottom, var(--visit-bg) calc(100% - var(--gift-blend)), var(--gift-mid));
}
.glass-panel, .catalog .card {
  border: 1px solid #5b504226;
  border-radius: 20px;
  background: #fffcf572;
  box-shadow: 0 8px 24px #392e2310, inset 0 1px #ffffffb0;
}
.glass-panel { padding: clamp(15px, 3vw, 38px); }
.glass-panel.packaging-layout { background: #f8ecdf; padding: clamp(18px, 3.5vw, 48px); }
.glass-panel.catalog-layout { padding-top: clamp(66px, 7vw, 92px); }
.catalog .card { border-radius: 14px; }
.catalog .card:hover { background: #fffaf2; }
.glass-panel.pickup-card, .glass-panel.product-layout { padding: 0; overflow: hidden; }
.glass-panel.product-layout { border: 1px solid #5b504226; border-radius: 20px; }
.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}
.reviews-copy { max-width: 420px; }
.reviews-copy .eyebrow { margin-bottom: 9px; }
.reviews-copy h3 { margin-bottom: 8px; font-size: clamp(21px, 2.6vw, 31px); line-height: 1.12; }
.reviews-copy .button { margin-top: 14px; }
.reviews-cat { justify-self: end; width: min(100%, 420px); }
.reviews-cat-frames { aspect-ratio: 2 / 1; overflow: hidden; transform: scaleX(-1); }
.reviews-cat-frames img { display: block; width: 200%; max-width: none; height: auto; }
@media (max-width: 680px) {
  .pickup-card, .about-intro, .reviews-layout, .packaging-layout { grid-template-columns: 1fr; }
  .packaging-copy, .packaging-image { justify-self: center; }
  .packaging-image { width: min(100%, 340px); }
  .reviews-cat { justify-self: center; width: min(88%, 360px); }
}
.order-band { background: linear-gradient(to bottom, var(--catalog-bg), var(--order-bg) var(--section-blend)); }
.about-project h2, .order-guide h2, .packaging-copy h2 { font-size: clamp(28px, 4vw, 45px); font-weight: 900; letter-spacing: -.045em; margin-block: 6px 10px; }
.product h1 { font-weight: 900; }
.product-layout { border-radius: 0; }
body:has(.about-project) > .footer {
  border-top: 0;
  background: linear-gradient(to bottom, var(--visit-bg), var(--footer-bg) 36px);
}
.footer .brand { font-size: 21px; }
.footer .brand:hover { text-decoration: none; }
@media (max-width: 900px) {
  .main-nav { gap: clamp(16px, 3vw, 26px); }
  .hero h1 { font-size: clamp(51px, 8.5vw, 86px); }
  .hero-copy { padding-block: 24px; }
  .hero .eyebrow { font-size: 10px; margin-bottom: 14px; }
  .hero p.hero-caption { margin-block: 18px; }
  .hero-button { font-size: 11px; gap: 14px; padding-inline: 14px; }
}
@media (max-width: 730px) {
  .header-inner { grid-template-columns: 44px 1fr 44px; min-height: 62px; gap: 6px; }
  .header-inner > [data-open="menu"] { display: grid; }
  .header-inner .brand { justify-self: center; font-size: 20px; }
  .main-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-block: 23px 4px; }
  .hero h1 { font-size: clamp(47px, 12vw, 88px); width: 100%; }
  .hero-brand { width: min(73vw, 100%); }
  .hero-art { width: 100%; margin: 0; }
  .product { width: calc(100% - 24px); }
  .hero p.hero-caption { margin-block: 15px; }
  .collection-heading { margin-bottom: 14px; }
  .collection-heading .eyebrow { font-size: 10px; }
  .collection-heading .text-link { font-size: 10px; gap: 4px; }
  .cards { grid-template-columns: 1fr; gap: 8px; }
  .card-copy, .card-wide .card-copy, .card-bold .card-copy { padding-top: 12px; }
  .card h3 { font-size: clamp(17px, 5vw, 28px); }
  .card-arrow { width: 32px; height: 32px; }
}
@media (max-width: 480px) {
  .catalog-layout { padding-inline: 12px; }
  .catalog .card { grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr); }
  .catalog .card h3 { font-size: clamp(15px, 4.6vw, 20px); overflow-wrap: anywhere; }
}
.hero-photo { mask-image: linear-gradient(90deg, transparent, #000 3%, #000 98%, transparent); }

@media (prefers-reduced-motion: no-preference) {
  .hero-art.is-visible .hero-tail { animation: tail-sway 2.2s ease-in-out infinite; }
  .hero-art.is-visible .hero-cat-body { animation: sniff-perfume 6s ease-in-out infinite; }
  .hero-art.is-visible .hero-scents > path { animation: show-scent 6s ease-out infinite; }
  .hero-art.is-visible .hero-scents > path:nth-child(2) { animation-delay: 1.3s; }
  .hero-art.is-visible .hero-scents > path:nth-child(3) { animation-delay: 2.6s; }
  .hero-art.is-visible .hero-choice { animation: choose-perfume 6s ease-out infinite; }
  .telegram-action.is-visible .checkout-cat { animation: cat-point 2.3s ease-in-out infinite; }
  .order-illustration.is-visible img { animation: admire-perfume 3.8s ease-in-out infinite; }
  .pickup-skyline.is-visible .skyline-wheel { animation: skyline-turn 32s linear infinite; }
  .pickup-skyline.is-visible .skyline-cabins rect { animation: skyline-turn 32s linear infinite reverse; }
  .reviews-cat.is-visible .reviews-cat-frames img { animation: reviews-cat-scratch 4.8s steps(1, end) infinite; }
}

@keyframes sniff-perfume {
  0%, 20%, 42%, 64%, 100% { transform: rotate(0); }
  10% { transform: rotate(-9deg) translateY(1%); }
  31% { transform: rotate(-7deg) translateY(1%); }
  52%, 59% { transform: rotate(-5deg) translateY(1%); }
  73% { transform: rotate(2deg) scaleY(1.025); }
}

@keyframes show-scent {
  0% { stroke-dashoffset: 1; opacity: 0; }
  5% { opacity: .8; }
  17% { stroke-dashoffset: 0; opacity: .8; }
  22%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes choose-perfume {
  0%, 61%, 100% { transform: scale(.3); opacity: 0; }
  69% { transform: scale(1.18); opacity: 1; }
  89% { transform: scale(.82); opacity: .9; }
}

@keyframes tail-sway {
  0%, 100% { transform: rotate(0); }
  28% { transform: rotate(12deg); }
  72% { transform: rotate(-11deg); }
}

@keyframes cat-point {
  0%, 66%, 100% { transform: rotate(0); }
  26%, 51% { transform: rotate(-4deg); }
  40% { transform: rotate(-1deg); }
}

@keyframes admire-perfume {
  0%, 100% { transform: rotate(0); }
  48% { transform: rotate(-4deg) translateY(-3px); }
}

/* The sheet has two columns and four rows, in the order of the scratch. */
@keyframes reviews-cat-scratch {
  0%, 76%, 100% { transform: translate(0, 0); }
  24%, 70% { transform: translate(-50%, 0); }
  29% { transform: translate(0, -25%); }
  33% { transform: translate(-50%, -25%); }
  37%, 54% { transform: translate(0, -50%); }
  41%, 58% { transform: translate(-50%, -50%); }
  45%, 62% { transform: translate(0, -75%); }
  49%, 66% { transform: translate(-50%, -75%); }
}

@keyframes skyline-turn { to { transform: rotate(360deg); } }

.set-sizes {
  min-width: 0;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.set-sizes legend {
  width: 100%;
  padding: 0;
  text-align: center;
  font: 11px/1.35 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.set-size-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 12px);
  margin-top: 12px;
}
.set-size { position: relative; cursor: pointer; }
.set-size input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.set-size-card {
  display: grid;
  height: 100%;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 8px 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7ef;
  font: 13px/1.25 var(--sans);
  text-align: center;
}
.set-size-card strong { font-size: clamp(20px, 3vw, 26px); }
.set-size-price { font-weight: 700; }
.set-size-unpriced { color: var(--muted); font-size: 11px; font-weight: 400; }
.set-size input:checked + .set-size-card { border-color: var(--ink); background: #f3e7d6; }
.set-size input:focus-visible + .set-size-card { outline: 2px solid #81533d; outline-offset: 2px; }
.set-size-summary {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
}
.set-size-summary strong { font-size: clamp(16px, 3vw, 23px); text-align: right; }
