/* Only the publication-specific contact overlay; the approved page styles are unchanged. */
body.abc-round-experience { margin: 0; }
/* Keep consent logic and the first-visit choice, but hide only the persistent
   "Настройки cookie" footer button on this single product card. */
body.abc-round-experience .abc-privacy-footer { display: none !important; }
/* Keep the published card in the approved local Onest type system. */
body.abc-round-experience :is(.orbit-journey,.price-section,.round-specs,.round-content,.round-gallery,.round-related,.closing-cta,.page-end),
body.abc-round-experience :is(.orbit-journey,.price-section,.round-specs,.round-content,.round-gallery,.round-related,.closing-cta,.page-end) * { font-family: Onest, Arial, sans-serif !important; }
/* Isolate the approved Onest art direction from the site's Cormorant theme. */
body.abc-round-experience .experience,
body.abc-round-experience .experience *,
body.abc-round-experience .round-contact,
body.abc-round-experience .round-contact *,
body.abc-round-experience .round-specs__dialog,
body.abc-round-experience .round-specs__dialog * { font-family: Onest, Arial, sans-serif !important; }
body.abc-round-experience .hero__content h1.eyebrow { margin: 0 0 33px; font-size: 11px; font-weight: 680; line-height: 1.2; letter-spacing: .17em; text-transform: uppercase; }
body.abc-round-experience .hero-title--architecture { margin: 0 0 24px; font-weight: 440; text-wrap: balance; }
/* The site-wide link enhancer replaces literal arrows with its own dark icon.
   Draw this approved hero arrow in CSS so it keeps the local style and motion. */
body.abc-round-experience .hero-size__order-arrow::before {
  content: ""; display: block; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 16 16 4M7 4h9v9' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 16 16 4M7 4h9v9' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.abc-round-experience .hero-size__order-arrow { color: #f4f1e8; }
body.abc-round-experience .hero-size__order:hover .hero-size__order-arrow { color: #ffcf9a; }
body.abc-round-experience span[aria-hidden="true"] > svg { display:inline-block; width:1.1em; height:1.1em; vertical-align:-.13em; }
body.abc-round-experience .film-link__icon > svg { display:block; width:11px; height:11px; vertical-align:middle; }
/* The return arrow remains at the lower edge on every mobile panel. */
@media (max-width:700px) {
  body.abc-round-experience .back-to-top,
  body.abc-round-experience .back-to-top.is-over-specs {
    top:auto !important;
    bottom:max(18px,env(safe-area-inset-bottom) + 14px) !important;
  }
}
@media (min-width: 701px) {
  body.abc-round-experience .hero__content { width: min(690px, 53vw); }
}
/* The legacy product stylesheet paints the A5 table cream and hides its old
   tabs; restore only the approved Round table and specs within this template. */
body.abc-round-experience .source-prices .abc-a5-size-table,
body.abc-round-experience .source-prices table,
body.abc-round-experience .source-prices tbody tr { background: transparent; color: #f2f0e9; }
body.abc-round-experience .source-prices h2 { color: #f2f0e9; }
body.abc-round-experience .source-prices .abc-a5-size-table__model-cell,
body.abc-round-experience .source-prices .abc-a5-size-table__burner-cell,
body.abc-round-experience .source-prices .abc-a5-size-table__price-cell { box-sizing:border-box; }
body.abc-round-experience .round-specs__list .card__contents-item { display: block !important; }
/* Preserve the old site's internal navigation in a restrained footer disclosure. */
body.abc-round-experience .page-end__site-links { color: #bcbab4; border-top: 1px solid rgba(255,255,255,.16); }
body.abc-round-experience .page-end__site-links summary { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 13px; cursor: pointer; list-style: none; }
body.abc-round-experience .page-end__site-links summary::-webkit-details-marker { display: none; }
body.abc-round-experience .page-end__site-links summary span { color: #c6a36c; }
body.abc-round-experience .page-end__site-links nav { display: grid; grid-template-columns: repeat(auto-fit,minmax(205px,1fr)); gap: 8px 22px; padding: 5px 0 20px; }
body.abc-round-experience .page-end__site-links a { color: #bcbab4; font-size: 12px; text-decoration: none; }
body.abc-round-experience .page-end__site-links a:hover { color: #e9be83; }
/* BreadcrumbList JSON-LD is retained; the fixed legacy visual bar is not part
   of the approved full-screen composition. Footer/category links remain. */
body.abc-round-experience #abc-visible-breadcrumbs { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; }
.round-contact { width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid rgba(213,184,120,.55); background: #171816; color: #f5f1ea; box-shadow: 0 26px 90px #000b; }
body.abc-round-experience dialog.round-contact { position: fixed; inset: auto; top: 50%; left: 50%; width: min(680px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); margin: 0; transform: translate(-50%,-50%); overflow: hidden; }
.round-contact::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(10px); }
.round-contact__panel { position: relative; max-height: calc(100dvh - 34px); overflow: auto; overscroll-behavior: contain; padding: clamp(24px, 5vw, 48px); }
.round-contact__panel h2 { margin: 12px 0 10px; font: 500 clamp(32px,5vw,54px)/1.05 Onest,Arial,sans-serif; letter-spacing: -.04em; color: #f5f1ea; }
.round-contact__panel > p:not(.model-kicker) { margin: 0 0 22px; color: #cfcac0; }
.round-contact__close { position: fixed; z-index:2; right: 14px; top: 12px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; background:transparent; color:#f4c693; cursor:pointer; transition:transform 160ms cubic-bezier(.23,1,.32,1),color 160ms ease; }
.round-contact__close svg { display:block; width:21px; height:21px; }
.round-contact__close:active { transform:scale(.94); }
.round-contact .round-contact__close:focus-visible { outline:none; color:#ffe2b9; }
.round-contact .round-contact__close:focus-visible::after { content:""; position:absolute; right:12px; bottom:3px; left:12px; height:1px; background:currentColor; }
.round-contact .wpcf7 { color: #f5f1ea; }
.round-contact .wpcf7 :is(input,textarea,select) { max-width: 100%; }
.round-contact :is(button,a,input,textarea,select):focus-visible { outline: 2px solid #e9be83; outline-offset: 3px; }
.round-contact .abc-form-consent-link { margin:10px 0 0 !important; font-size:12px; line-height:1.4; }
.round-contact .abc-form-consent-link a { color:#cfcac0; text-underline-offset:3px; }
@media (max-width:700px) { .round-contact__panel { padding: 50px 20px 22px; } }

/* Mobile Safari changes the visible viewport as its browser bars retract.
   Match that live height so a resting panel never exposes the next one. */
@media (max-width:700px) {
  .orbit-journey,
  .orbit-journey .experience { height:100dvh; min-height:100dvh; }
  .orbit-journey .experience { position:relative; top:auto; }
  .price-section,.round-specs,.round-gallery,.closing-cta,.page-end,
  .round-content .acs-feature-grid,.round-content .acs-refill,
  .round-content .round-video-stage,.round-content .round-designer-stage,
  .round-content .acs-details,.round-content .acs-next,
  .round-content .acs-media-item,
  .round-content .acs-intro>div:first-child,
  .round-content .acs-intro>div:nth-child(2),
  .round-related .abc-related-hub { min-height:100dvh; }
  .round-related .abc-related-hub,.round-related .round-choice,
  .round-content .acs-details { height:100dvh; }
  .round-specs { height:auto; }
}

/* Each mobile screen follows the visible Safari viewport. 100lvh is the
   expanded-browser height and exposes neighbouring screens while the bars
   are visible; never use it as a minimum for snap panels. */
@media (max-width:700px) {
  html,body.abc-round-experience { overscroll-behavior-y:none; }
  body.abc-round-experience { overflow-anchor:none; }
  .orbit-journey,.orbit-journey .experience,
  .price-section,.round-specs,.round-gallery,.closing-cta,.page-end,
  .round-content .acs-feature-grid,.round-content .acs-refill,
  .round-content .round-video-stage,.round-content .round-designer-stage,
  .round-content .acs-details,.round-content .acs-next,
  .round-content .acs-media-item,.round-content .acs-intro.round-lounge,.round-content .acs-intro>div:first-child,
  .round-content .acs-intro>div:nth-child(2),
  .round-related .abc-related-hub,.round-related .round-choice {
    height:var(--round-mobile-screen-height,100dvh);
    min-height:var(--round-mobile-screen-height,100dvh);
  }
  .round-specs__media { height:min(48dvh,460px); }
  /* The application screens fill the former blank space above the table.
     Their image is intentionally wider than the viewport and pans sideways. */
  body.abc-round-experience .round-specs .round-specs__media {
    height:clamp(355px,calc(100dvh - 350px),600px);
  }
  body.abc-round-experience .round-specs__body {
    justify-content:flex-start;
  }
  .round-gallery { height:var(--round-mobile-screen-height,100dvh); min-height:var(--round-mobile-screen-height,100dvh); }
  .source-prices tbody tr { display:grid !important; grid-template-columns:minmax(0,1fr) max-content !important; align-items:center; column-gap:12px !important; }
  .source-prices td:first-child { grid-column:1/-1; width:auto !important; }
  .source-prices .abc-a5-size-table__burner-cell { grid-column:1; display:inline-flex !important; justify-content:flex-start !important; align-items:baseline; gap:4px; width:auto !important; white-space:nowrap; }
  .source-prices .abc-a5-size-table__price-cell { grid-column:2; display:inline-flex !important; justify-content:flex-end !important; align-items:baseline; gap:4px; width:auto !important; white-space:nowrap; }
  .source-prices .abc-a5-size-table__mobile-label { flex:none; }
  .hero-size__order span { animation:order-arrow-hint 2.2s ease-in-out infinite; }
}

/* The extra iOS toolbar reserve must not push the dense price footer below
   the expanded Safari bar. Keep its approved content at the same top offset. */
@media (max-width:700px) {
  @supports (-webkit-touch-callout: none) {
    body.abc-round-experience .price-section { justify-content:flex-start; padding-top:32px; }
    body.abc-round-experience .round-content .acs-feature-grid { padding-bottom:54px; }
    body.abc-round-experience .round-content .acs-refill>.section-actions { padding-bottom:70px; }
    body.abc-round-experience .round-gallery { padding-bottom:44px; }
    /* Keep the film's own play/link control above Safari's floating toolbar. */
    body.abc-round-experience .round-content .round-video-stage__film {
      width:min(100%,27.5625dvh);
      height:min(49dvh,460px);
    }
  }
}
@media (max-width:700px) and (min-height:721px) {
  body.abc-round-experience .round-content .acs-feature-grid__visual { height:47svh; }
  body.abc-round-experience .round-content .acs-feature-grid { padding-bottom:72px; }
}

/* Single mobile screen contract. Only sections registered by the existing
   pager receive this attribute; overlays, media figures and carousels do not.
   The explicit height authority prevents later component min-heights from
   silently creating a second geometry model. Padding remains inside the box. */
@media (max-width:700px) {
  body.abc-round-experience [data-abc-product-screen] {
    box-sizing:border-box;
    height:var(--round-mobile-screen-height,100dvh) !important;
    min-height:var(--round-mobile-screen-height,100dvh) !important;
    max-height:var(--round-mobile-screen-height,100dvh) !important;
    margin-block:0;
    flex-shrink:0;
    scroll-margin-block:0;
  }
  /* Preserve all content at short heights/text zoom. Nested native scrolling
     is detected by the existing pager before a screen-changing gesture. */
  body.abc-round-experience [data-abc-product-screen]:not(.orbit-journey):not(.round-lounge) {
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
  }
}

/* Local refinement: the embedded film owns its controls and outbound link. */
body.abc-round-experience .round-content .round-video-stage__film iframe{pointer-events:auto}
body.abc-round-experience .round-video-stage__inline-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;display:grid;place-items:center;width:52px;height:52px;min-height:44px;padding:0;border:1px solid #b8c1b9;border-radius:50%;background:#090c0b;color:#f3f1eb;cursor:pointer}
body.abc-round-experience .round-video-stage__inline-play[hidden]{display:none}
body.abc-round-experience .round-video-stage__inline-play:focus-visible{outline:2px solid #d9b779;outline-offset:4px}
body.abc-round-experience .round-video-stage__alternative{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:#b8c1b9;font-size:13px;text-decoration:underline;text-underline-offset:5px}
body.abc-round-experience .round-video-stage__alternative svg{width:16px;height:16px}
