/* Five canonical lines; flow layout keeps long Russian labels inside the page. */
.wm-home-hero, .wm-home-hero * { box-sizing: border-box; }
.wm-home-hero { background:#f7f7f5; color:#090a0c; font-family:var(--ux-text-font,Arial,sans-serif); padding:160px 24px 48px; }
.wm-home-hero__inner { max-width:1160px; margin:auto; display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:30px 24px; }
.wm-home-hero__copy { min-width:0; position:relative; z-index:1; }
.wm-test-design-cta { display:flex; align-items:center; justify-content:center; width:min(720px,100%); min-height:68px; margin:0 0 30px; padding:18px 28px; border:1px solid rgba(255,255,255,.42); border-radius:18px; color:#fff!important; background:linear-gradient(135deg,#ff3048 0%,#d70724 54%,#a90018 100%); box-shadow:0 16px 38px rgba(190,0,28,.3),inset 0 1px 0 rgba(255,255,255,.28); font-family:var(--ux-title-font,Arial,sans-serif); font-size:clamp(16px,1.5vw,21px); font-weight:900; line-height:1.2; text-align:center; text-decoration:none; transition:transform .22s ease,box-shadow .22s ease,filter .22s ease; }
.wm-test-design-cta:hover { transform:translateY(-2px); filter:brightness(1.08); box-shadow:0 20px 46px rgba(220,0,34,.4),inset 0 1px 0 rgba(255,255,255,.34); }
.wm-test-design-cta:active { transform:translateY(0); }
.wm-home-hero__intro, .wm-home-hero__subtitle { margin:0; font-family:var(--ux-title-font,Arial,sans-serif); font-weight:900; font-size:clamp(20px,2vw,28px); line-height:1.15; text-transform:uppercase; }
.wm-home-hero h1 { margin:6px 0; font-family:var(--ux-title-font,Arial,sans-serif); font-size:clamp(38px,4.2vw,60px); line-height:1.02; letter-spacing:-.035em; text-transform:uppercase; font-weight:900; }
.wm-home-hero__cta { display:flex; align-items:center; justify-content:center; width:min(424px,100%); min-height:48px; margin-top:30px; padding:12px 20px; color:white!important; background:#080a0d; border-radius:30px; font-size:13px; font-weight:700; text-transform:uppercase; text-decoration:none; }
.wm-home-hero__nav { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.wm-home-hero__nav a { display:flex; align-items:center; min-height:44px; padding:10px 14px; border-radius:24px; color:#101118!important; background:var(--wm-accent); font-size:14px; font-weight:600; text-decoration:none; }
.wm-home-hero__nav a::after { content:'↗'; margin-left:10px; }
.wm-test-design-cta:focus-visible, .wm-home-hero__nav a:focus-visible, .wm-home-hero__cta:focus-visible, .wm-line-card a:focus-visible { outline:3px solid #7763dd; outline-offset:4px; }
.wm-home-hero__about { max-width:640px; margin-top:30px; }
.wm-home-hero__about h2 { font-size:17px; line-height:1.35; font-weight:600; margin:0 0 12px; text-transform:uppercase; }
.wm-home-hero__about p { font-size:14px; line-height:1.55; margin:0; }
.wm-home-hero__visual { position:relative; min-width:0; align-self:center; aspect-ratio:1/1.2; }
.wm-home-hero__visual img { position:absolute; object-fit:contain; }
.wm-hero-emblem { width:95%; height:95%; left:2%; top:3%; opacity:.08; }
.wm-hero-pack { width:105%; height:95%; left:-10%; top:-7%; transform:rotate(-12deg); }
.wm-hero-bottle--one { width:32%; height:40%; right:0; top:0; transform:rotate(20deg); }
.wm-hero-bottle--two { width:34%; height:42%; left:0; bottom:0; transform:rotate(-20deg); }
.wm-hero-bottle--three { width:41%; height:49%; right:0; bottom:0; transform:rotate(14deg); }
.wm-home-hero__benefits { grid-column:1/-1; max-width:750px; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.wm-home-hero__benefits>div { position:relative; overflow:hidden; min-height:150px; padding:22px; border-radius:14px; color:white; background:#070a10 url('../images/media-0022.webp') center/cover; }
.wm-home-hero__benefits p { position:relative; z-index:1; max-width:240px; margin:0; font-size:14px; line-height:1.45; }
.wm-home-hero__benefits img { position:absolute; width:130px; height:90px; right:-25px; bottom:-10px; object-fit:contain; opacity:.5; }
.wm-line-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:40px 28px; }
.wm-line-card { grid-column:span 2; min-height:0; }
.wm-line-card:nth-last-child(2):nth-child(3n+1) { grid-column:2/span 2; }
.wm-line-card__visual-link { display:block; }
.wm-line-card__image, .wm-line-card__image img { min-height:0; height:300px; }
.wm-line-card__image img { filter:none; }
.wm-line-card__title { min-height:50px; font-size:22px; line-height:1.15; margin:8px 0 18px; }
.wm-line-card__count { color:var(--wm-accent); font-size:13px; margin:12px 0 0; }
.wm-line-card__link { min-height:44px; min-width:0; width:100%; }
.wm-catalog__count { margin:0 0 18px; font-size:13px; letter-spacing:.1em; color:rgba(255,255,255,.72); }
.wm-catalog__title { overflow-wrap:break-word; }
.wm-catalog__nav a { min-height:44px; display:flex; align-items:center; box-sizing:border-box; }
.wm-catalog__nav a:focus-visible { outline:3px solid var(--wm-accent); outline-offset:3px; }
body[data-wm-line='classic'] { --wm-cosmic-accent:#bd87ef; }
/* Explicit image boxes preserve the original tall cards without percentage
   heights resolving against an auto-sized grid track and clipping the pack. */
.wm-product-card.wm-cosmic-card .wm-product-card__visual { height:390px; min-height:0; flex:none; }
.wm-product-card.wm-cosmic-card .wm-product-card__visual img { width:90%; height:360px; max-width:100%; object-fit:contain; filter:none; }
/* Original four-column / two-column cards with diamond taste ratings. */
.wm-product-grid:has(.wm-product-card--legacy) { width:min(1160px,100%); grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px 20px; }
.wm-product-card--legacy.wm-cosmic-card { min-height:520px; }
.wm-product-card--legacy.wm-cosmic-card .wm-product-card__visual { height:auto; aspect-ratio:1; display:block; }
.wm-product-card--legacy.wm-cosmic-card .wm-product-card__visual img { position:absolute; inset:0; width:100%; height:100%; padding:14px; box-sizing:border-box; }
.wm-product-card--legacy.wm-cosmic-card .wm-product-card__body { min-height:225px; padding:25px 24px 64px; }
.wm-product-card--legacy .wm-product-card__name { font-size:clamp(20px,1.6vw,25px); font-weight:800; text-transform:none; }
.wm-product-card__legacy-description { margin-top:24px; color:var(--wm-card-muted); font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
.wm-product-card__legacy-description strong { display:inline-block; margin-bottom:5px; font-size:13px; }
.wm-product-card__legacy-description em { color:var(--wm-card-accent); font-size:10px; }
.wm-product-card--legacy .taste-rating { display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin-top:17px; }
.wm-product-card--legacy .taste-row { display:grid; grid-template-columns:72px auto; align-items:center; gap:8px; }
.wm-product-card--legacy .taste-label { font-size:14px; line-height:1; }
.wm-product-card--legacy .taste-icons { display:flex; gap:4px; }
.wm-product-card--legacy .taste-diamond { display:block; width:17px; height:14px; flex:none; color:var(--wm-card-accent); }
.wm-product-card--legacy .taste-diamond svg { display:block; width:100%; height:100%; }
.wm-product-card--legacy .wm-product-card__meta { display:none; }
.wm-product-card--legacy .wm-product-card__quote {
  margin:24px 0 0;
  color:var(--wm-card-muted);
  font-size:13px;
  line-height:1.45;
}
body[data-wm-line='super-sour'] .wm-product-card--legacy .wm-product-card__super-sour-profile,
body[data-wm-line='cocktail'] .wm-product-card--legacy .wm-product-card__cocktail-profile {
  display:inline-block;
  margin:5px 0 0;
  font-size:10px;
  line-height:1.25;
}
.wm-product-card__name { overflow-wrap:break-word; }
.wm-product-card__quote { overflow-wrap:anywhere; }
.wm-product-card__meta-row { flex-wrap:wrap; gap:8px; }
.wm-product-card__meta-row strong { flex:1; }
.wm-product-modal__dialog { min-height:0; max-height:calc(100dvh - 60px); }
.wm-product-modal { font-family:var(--ux-text-font,Arial,sans-serif); }
.wm-product-modal__media { min-height:0; }
.wm-product-modal__content { min-height:0; overscroll-behavior:contain; }
.wm-product-modal__image { filter:none; transform:none; max-height:calc(100dvh - 100px); }
.wm-product-modal__image.is-changing { transform:none; }
.wm-product-modal__dot { width:44px; height:44px; flex:none; background:radial-gradient(circle,rgba(255,255,255,.4) 0 4px,transparent 5px); }
.wm-product-modal__dot.is-active { width:44px; background:radial-gradient(circle,var(--wm-card-accent) 0 5px,transparent 6px); }
.wm-product-modal__nav { bottom:4px; gap:0; }
.wm-product-modal__flavors { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.wm-product-modal__flavors button { flex:1; min-height:44px; padding:10px; border:1px solid #ffffff33; border-radius:22px; color:#fff; background:#ffffff0d; font:inherit; font-size:13px; cursor:pointer; }
.wm-product-modal__flavors button:focus-visible { outline:3px solid var(--wm-card-accent); outline-offset:3px; }
.wm-product-modal__description { overflow-wrap:anywhere; }
/* Desktop keeps the export's compact spacing; touch targets below stay 44px. */
.bx035__link, .ux-menusub__link { box-sizing:border-box; }
.wm-mobile-lines { font-family:var(--ux-text-font,Arial,sans-serif); color:#fff; }
.wm-mobile-lines summary { cursor:pointer; min-height:44px; display:flex; align-items:center; justify-content:space-between; font-size:20px; list-style:none; }
.wm-mobile-lines summary::-webkit-details-marker { display:none; }
.wm-mobile-lines summary::after { content:'+'; font-size:23px; }
.wm-mobile-lines[open] summary::after { content:'−'; }
.wm-mobile-lines__list { margin:6px 0 0!important; padding:0!important; list-style:none; }
.wm-mobile-lines__list a { display:flex; align-items:center; min-height:44px; color:#fff!important; font-size:16px; line-height:1.3; text-decoration:none; }
.wm-mobile-lines summary:focus-visible, .wm-mobile-lines a:focus-visible { outline:2px solid #bd87ef; outline-offset:2px; }
.bx018__container { max-height:100dvh; overflow-y:auto; overscroll-behavior:contain; }
@media (min-width:640px) and (max-width:1199px) {
  .wm-product-card--legacy .taste-row { grid-template-columns:56px auto; gap:6px; }
  .wm-product-card--legacy .taste-label { font-size:12px; }
  .wm-product-card--legacy .taste-icons { gap:3px; }
  .wm-product-card--legacy .taste-diamond { width:13px; height:11px; }
}
@media (max-width:959px) {
  .wm-product-grid:has(.wm-product-card--legacy) { grid-template-columns:repeat(2,minmax(0,1fr)); }
  /* The exported header must not keep desktop coordinates after rotation. */
  #blk8551514151 .bx013__artboard { position:fixed!important; top:0!important; left:0!important; width:100%!important; height:90px!important; }
  #blk8551514151 .node-elem { display:none!important; zoom:1!important; transform:none!important; }
  #blk8551514151 [data-node-id='8804103121025'],
  #blk8551514151 [data-node-id='8913512501133'],
  #blk8551514151 [data-node-id='8151451510301011312'] { display:block!important; opacity:1!important; }
  #blk8551514151 .node-elem > .node-atom { display:block!important; width:100%!important; height:100%!important; }
  #blk8551514151 [data-node-id='8804103121025'] { left:12px!important; right:12px!important; top:12px!important; width:auto!important; height:64px!important; }
  #blk8551514151 [data-node-id='8804103121025'] .node-atom { background-image:url('../images/media-0036.webp')!important; }
  #blk8551514151 [data-node-id='8913512501133'] { left:26px!important; top:26px!important; width:118px!important; height:36px!important; }
  #blk8551514151 [data-node-id='8913512501133'] .node-atom { background-image:url('../images/media-0008.webp')!important; }
  #blk8551514151 [data-node-id='8151451510301011312'] { left:auto!important; right:22px!important; top:22px!important; width:44px!important; height:44px!important; }
  #blk8551514151 [data-node-id='8151451510301011312'] .node-atom { background-image:url('../images/media-0037.svg')!important; opacity:1!important; transform:none!important; }
  .wm-home-hero { padding-top:88px; }
  .wm-home-hero__inner { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); }
  .wm-home-hero__intro, .wm-home-hero__subtitle { font-size:20px; }
  .wm-home-hero h1 { font-size:42px; }
  .wm-line-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px 24px; }
  .wm-line-card, .wm-line-card:nth-last-child(2):nth-child(3n+1) { grid-column:auto; }
  .wm-line-card:last-child { grid-column:1/-1; width:calc(50% - 12px); justify-self:center; }
  .wm-product-modal__dialog { max-height:calc(100dvh - 36px); grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .wm-product-modal__media { min-height:0; }
  .wm-product-modal__content { padding:64px 24px 30px; }
}
@media (max-width:639px) {
  .wm-home-hero { padding:100px 20px 32px; }
  .wm-home-hero__inner { display:flex; flex-direction:column; gap:20px; }
  .wm-home-hero__intro, .wm-home-hero__subtitle { font-size:20px; }
  .wm-home-hero h1 { font-size:clamp(30px,9.5vw,56px); overflow-wrap:break-word; }
  .wm-home-hero__cta { margin-top:24px; width:100%; }
  .wm-home-hero__nav { gap:8px 6px; }
  .wm-home-hero__nav a { padding:10px 12px; font-size:13px; }
  .wm-home-hero__visual { width:min(330px,100%); aspect-ratio:1.2; align-self:center; }
  .wm-home-hero__about { margin-top:26px; }
  .wm-home-hero__about h2 { font-size:16px; }
  .wm-home-hero__benefits { width:100%; grid-template-columns:1fr; }
  .wm-home-hero__benefits>div { min-height:130px; }
  .wm-home-hero__benefits p { max-width:85%; }
  .wm-line-grid { grid-template-columns:1fr; gap:40px; }
  .wm-line-card, .wm-line-card:last-child { grid-column:auto; width:100%; max-width:370px; justify-self:center; }
  .wm-line-card__image, .wm-line-card__image img { height:310px; }
  .wm-line-card__title { min-height:0; }
  .wm-product-card.wm-cosmic-card .wm-product-card__visual { height:360px; }
  .wm-product-card.wm-cosmic-card .wm-product-card__visual img { height:330px; }
  .wm-product-grid:has(.wm-product-card--legacy) { gap:16px 10px; }
  .wm-catalog__products:has(.wm-product-card--legacy) { padding-left:20px; padding-right:20px; }
  .wm-product-card--legacy.wm-cosmic-card { min-height:0; border-radius:19px!important; }
  .wm-product-card--legacy.wm-cosmic-card .wm-product-card__visual { height:auto; }
  .wm-product-card--legacy.wm-cosmic-card .wm-product-card__visual img { height:100%; padding:7px; }
  .wm-product-card--legacy.wm-cosmic-card .wm-product-card__body { min-height:190px; padding:16px 14px 50px; }
  .wm-product-card--legacy .wm-product-card__name { font-size:16px; }
  .wm-product-card__legacy-description { margin-top:20px; font-size:10px; }
  .wm-product-card__legacy-description strong { font-size:10px; }
  .wm-product-card__legacy-description em { font-size:9px; }
  .wm-product-card--legacy .taste-rating { margin-top:11px; gap:5px; }
  .wm-product-card--legacy .taste-row { grid-template-columns:32px auto; gap:5px; }
  .wm-product-card--legacy .taste-label { font-size:10px; }
  .wm-product-card--legacy .taste-icons { gap:2px; }
  .wm-product-card--legacy .taste-diamond { width:10px; height:9px; }
  .wm-catalog__title { font-size:clamp(26px,8.4vw,42px); line-height:1.05; }
  .wm-product-modal__dialog { max-height:94dvh; grid-template-columns:1fr; grid-template-rows:minmax(240px,44dvh) auto; }
  .wm-product-modal__media { min-height:240px; }
  .wm-product-modal__content { min-height:auto; overflow:visible; padding:28px 22px calc(36px + env(safe-area-inset-bottom)); }
  .wm-product-modal__image { height:38dvh; max-height:380px; }
  .wm-product-modal__close { width:44px; height:44px; }
  .wm-product-modal__arrow { width:44px; height:44px; }
}
@media (max-height:500px) and (min-width:640px) {
  .wm-product-modal { padding:10px; }
  .wm-product-modal__dialog { height:calc(100dvh - 20px); max-height:calc(100dvh - 20px); }
  .wm-product-modal__image { height:calc(100dvh - 70px); }
  .wm-product-modal__title { font-size:32px; line-height:1.05; }
  .wm-product-modal__content { padding:62px 24px 30px; }
}
@media (hover:none), (pointer:coarse) {
  .wm-cosmic-card:hover, .wm-product-card:hover, .wm-cosmic-card:hover img, .wm-line-card:hover img { transform:none!important; }
}
@media (prefers-reduced-motion:reduce) {
  .wm-test-design-cta, .wm-line-card__image img, .wm-home-hero img { transition:none; animation:none; }
}
