.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .35rem .75rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
}

.cart-count {
  display: grid;
  min-width: 1.45rem;
  min-height: 1.45rem;
  padding: 0 .2rem;
  place-items: center;
  border-radius: 100px;
  background: #2a222e;
  color: #f4dfff;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}

.cart-offer {
  margin-top: clamp(1.05rem, 3vh, 1.65rem);
}

.extract-nav { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.5rem); }
.premiera-link { display: inline-flex; align-items: center; min-height: 44px; color: #f1cfa1; font-size: .8rem; }
body:has(.detail:not([hidden])) .premiera-link { display: none; }
.barista { --light: #f1cfa1; --pigment: 215 160 98; --art: url("assets/barista-ludek-ziarno.webp"); --art-axis: 69%; --art-width: 80%; --detail-art-axis: 68%; }
.barista .detail-heading h1 { font-size: clamp(2.65rem, 5.6vw, 5.3rem); margin: .65rem 0 .4rem; }
.barista-copy .eyebrow { color: var(--light); }
.premiera-tag { position: absolute; top: .25rem; right: .1rem; padding: .13rem .46rem; border: 1px solid #867059; border-radius: 50px; color: #f8d6a8; background: #211a16; font-size: .65rem; letter-spacing: .03em; }
.barista-benefit { margin-top: 1.3rem; font-weight: 650; }
.barista-price { display: flex; align-items: baseline; gap: .65rem; margin: .25rem 0 1.1rem; }
.barista-price strong { font: 500 2rem/1.2 var(--display); }
.barista-price span { font-size: .86rem; }
.barista-form { display: grid; gap: .45rem; }
.barista-form label { font-size: .86rem; font-weight: 580; }
.barista-form input[type=email] { padding: .65rem .8rem; background: #fff8ef; color: #281911; border: 1px solid #917e6a; border-radius: .5rem; min-height: 46px; font: inherit; }
.barista-consent { display: flex; align-items: center; min-height: 44px; gap: .65rem; cursor: pointer; }
.barista-form .barista-consent { font-size: .8rem; font-weight: 450; line-height: 1.4; }
.barista-consent input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--light); }
.barista-form button { justify-self: start; min-height: 46px; padding: .65rem 1rem; border: 0; border-radius: 2rem; font-weight: 650; background: var(--light); color: #281910; cursor: pointer; }
.barista-form-status { font-size: .85rem; font-weight: 550; }
.barista-local { margin: .5rem 0 0; color: var(--muted); font-size: .76rem; }
@media (min-width: 1200px) {
  .gallery { padding-top: clamp(1.4rem, 3.4vh, 3.2rem); }
  .gallery h1 { font-size: clamp(3.8rem, 4.55vw, 5.25rem); }
  .gallery-kicker { margin-bottom: .8rem; }
  .gallery .duet-picker { margin-top: clamp(.85rem, 2.3vh, 1.7rem); }
  .lineup {
    --display-height: clamp(205px, 29.5vh, 345px);
    grid-template-columns: repeat(8, minmax(0,1fr));
    padding-top: clamp(.9rem, 2.1vh, 1.6rem);
  }
}
@media (min-width: 731px) and (max-width: 1199px) { .lineup > :nth-child(5) { grid-column: span 2; } }
@media (max-width: 730px) { .lineup > :last-child { grid-column: auto; width: 100%; } }

.duet-picker,
.duet-return {
  --duet-accent: #ecd6e8;
  --duet-surface: #1e181e;
  --duet-border: #51434f;
}

.duet-picker {
  display: grid;
  width: min(100%, 560px);
  gap: .75rem;
  margin: clamp(1.25rem, 4vh, 2.4rem) auto 0;
  padding: .85rem;
  scroll-margin-top: 1rem;
  border: 1px solid var(--duet-border);
  border-radius: 1rem;
  background: var(--duet-surface);
}

.duet-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem .65rem;
}

.duet-heading h2 {
  margin: 0;
  font: 500 clamp(1.45rem, 4.9vw, 1.9rem)/1.08 var(--display);
  letter-spacing: -.03em;
}

#duet-step {
  color: var(--muted);
  font-size: .78rem;
  white-space: nowrap;
}

#duet-step span,
.duet-return span:last-child {
  color: var(--duet-accent);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.duet-slots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0fr);
  min-width: 0;
}

.duet-slots-paired {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: .5rem;
}

.duet-slot-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 72px;
  gap: .55rem;
  padding: .45rem;
  border: 1px dashed #847184;
  border-radius: .72rem;
  background: #241e25;
  text-align: start;
}

.duet-slot-choice[data-filled="true"] {
  border-style: solid;
  border-color: #705e70;
  background: #2e2430;
}

.duet-slot-visual {
  display: grid;
  flex: 0 0 1.75rem;
  height: 48px;
  place-items: center;
}

.duet-slot-visual img {
  width: 100%;
  height: 48px;
  object-fit: contain;
}

.duet-slot-outline {
  display: block;
  color: #b4b4b4;
}

.duet-slot-outline svg {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .duet-slots {
    transition: grid-template-columns 240ms cubic-bezier(.2, 0, 0, 1), column-gap 240ms cubic-bezier(.2, 0, 0, 1);
  }

  .duet-slot-choice:last-child {
    overflow: clip;
    transition: opacity 220ms ease-out;
  }

  @starting-style {
    .duet-slot-choice:last-child:not([hidden]) { opacity: 0; }
  }
}

.duet-slot-copy {
  display: grid;
  min-width: 0;
  gap: .2rem;
  line-height: 1.13;
}

.duet-slot-label {
  overflow-wrap: anywhere;
  font-size: clamp(.77rem, 3.52vw, .95rem);
  font-weight: 615;
}

.duet-slot-action {
  color: var(--duet-accent);
  font-size: .74rem;
}

.duet-slot-choice,
#duet-submit,
.duet-return,
.duet-dialog button {
  cursor: pointer;
  touch-action: manipulation;
}

.duet-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .35rem;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

#duet-price-current strong {
  color: var(--ivory);
  font-size: .97rem;
  font-weight: 650;
  white-space: nowrap;
}

#duet-benefit { white-space: nowrap; }
.duet-limit { color: #ffd6b2; font-size: .81rem; }

#duet-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 46px;
  padding: .55rem .85rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  background: var(--duet-accent);
  color: #261526;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.15;
}

#duet-submit span {
  flex: none;
  font-variant-numeric: tabular-nums;
}

.duet-return {
  position: fixed;
  z-index: 3;
  inset: auto auto max(.75rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .4rem .75rem;
  border: 1px solid #847184;
  border-radius: 99px;
  background: var(--duet-surface);
  color: var(--ivory);
  box-shadow: 0 3px 20px rgb(0 0 0 / .45);
  font-size: .8rem;
  font-weight: 650;
}

@media (max-width: 400px) {
  body:has(.feedback) .duet-return {
    bottom: calc(max(.75rem, env(safe-area-inset-bottom)) + 3.25rem);
  }
}

html.duet-open { overflow: hidden; }

.duet-dialog {
  position: fixed;
  inset: auto 0 0;
  width: 100%;
  max-width: none;
  max-height: 87vh;
  max-height: 87dvh;
  margin: 0 auto;
  padding: 0;
  overscroll-behavior: contain;
  border: 1px solid var(--duet-border);
  border-radius: 1.2rem 1.2rem 0 0;
  background: var(--duet-surface);
  color: var(--ivory);
}

.duet-dialog::backdrop { background: rgb(9 6 9 / .7); }

.duet-sheet {
  padding: 0 max(.85rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(.85rem, env(safe-area-inset-left));
}

.duet-sheet-heading {
  position: sticky;
  z-index: 1;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  gap: .4rem;
  padding-block: 1.1rem .85rem;
  background: var(--duet-surface);
}

.duet-sheet-heading h2 {
  margin: 0;
  font: 500 clamp(1.55rem, 5.8vw, 2.25rem)/1.1 var(--display);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.duet-sheet-heading p {
  margin-top: .3rem;
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.4;
}

.duet-close {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--duet-border);
  border-radius: 50%;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
}

.duet-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.duet-option {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .4rem;
  width: 100%;
  min-height: 69px;
  padding: .37rem;
  border: 1px solid #584b58;
  border-radius: .65rem;
  background: #282028;
  color: var(--ivory);
  text-align: left;
}

.duet-option-image {
  display: grid;
  height: 48px;
  place-items: center;
  border-radius: .35rem;
  background: rgb(var(--pigment) / .15);
}

.duet-option-image img { width: 100%; height: 44px; object-fit: contain; }
.duet-option-copy { display: grid; gap: .16rem; min-width: 0; }
.duet-option-name { overflow-wrap: anywhere; font-size: .825rem; font-weight: 620; line-height: 1.15; }
.duet-option-state:empty { display: none; }
.duet-option-state { color: var(--muted); font-size: .73rem; line-height: 1.2; }
.duet-option-mark { color: var(--light); line-height: 1; }
.duet-option[aria-pressed="true"] { border-color: var(--light); background: #352b35; }
.duet-option:disabled { opacity: .63; cursor: default; }

.duet-remove {
  min-height: 44px;
  margin-top: .5rem;
  padding: .4rem 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.duet-picker :is(button, summary, input):focus-visible,
.duet-return:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 2px;
}

#duet-dialog-title:focus { outline: none; }

@media (hover: hover) {
  .duet-slot-choice:hover,
  .duet-close:hover,
  .duet-option:hover:enabled,
  .duet-return:hover { background: #382d37; }

  #duet-submit:hover { background: #f6e4f4; }
}

@media (max-width: 370px) {
  .duet-option { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .duet-option-mark { display: none; }
  .duet-slot-choice { gap: .35rem; padding-inline: .4rem; }
}

@media (min-width: 731px) {
  .duet-picker {
    width: min(100%, 900px);
    grid-template-columns: minmax(9.5rem, max-content) minmax(0, 1fr) minmax(11.25rem, max-content);
    align-items: center;
    gap: .25rem clamp(.75rem, 2vw, 1.35rem);
    padding: .75rem 1rem;
  }

  .duet-heading { grid-column: 1; grid-row: 1 / 3; }
  .duet-heading h2 { font-size: 1.6rem; }
  .duet-slots { grid-column: 2; grid-row: 1 / 3; }
  .duet-slot-choice { min-height: 76px; padding-inline: .62rem; }
  .duet-price { grid-column: 3; grid-row: 1 / 3; }
  .duet-picker:has(#duet-submit:not([hidden])) .duet-price { grid-row: 1; }
  .duet-limit { grid-column: 1 / -1; grid-row: 3; }
  #duet-submit { grid-column: 3; grid-row: 2; font-size: .835rem; }

  .duet-dialog {
    inset: 0;
    width: min(calc(100% - 2rem), 37rem);
    margin: auto;
    border-radius: 1.2rem;
  }

  .duet-sheet { padding-inline: 1.25rem; }
  .duet-option { min-height: 75px; padding-inline: .65rem; }
  .duet-option-name { font-size: .9rem; }
}

.lineup .product { height: auto; }
.lineup .duet-selected .product-caption { border-color: var(--light); }
.gallery-duet-state {
  color: var(--light, var(--ivory));
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.2;
}
.product:disabled,
.bottle-strip-item:disabled { cursor: default; }
.product:disabled .gallery-duet-state,
.bottle-strip-item:disabled .gallery-duet-state { color: var(--muted); }
.product-info {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: .35rem;
  padding-inline: clamp(.3rem, .52vw, .65rem);
  border-radius: .3rem;
  color: var(--ivory);
  font-size: .8rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.product-info:focus-visible {
  color: var(--light, var(--ivory));
  outline-offset: -2px;
}
@media (hover: hover) and (pointer: fine) {
  .product-info:hover { color: var(--light, var(--ivory)); }
}

.cart-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .12rem .75rem;
  color: var(--muted);
  font-size: .83rem;
}

.cart-offer-price strong {
  color: var(--ivory);
  font: 500 2rem/1.06 var(--display);
  white-space: nowrap;
}

.cart-offer-note {
  margin-top: .32rem;
  color: var(--muted);
  font-size: .82rem;
}

.cart-add {
  min-height: 48px;
  margin-top: .8rem;
  padding: .6rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 100px;
  background: var(--light);
  color: var(--night);
  font-weight: 700;
  font-size: .87rem;
  cursor: pointer;
}

.cart-offer:not([hidden]) + .detail-link {
  justify-content: flex-start;
  margin-top: .45rem;
  padding: .4rem 0;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.cart-offer:not([hidden]) + .detail-link:hover {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: .22em;
}

.cart-offer:not([hidden]) ~ .detail-disclosures {
  margin-top: .45rem;
}

html.cart-open {
  overflow: hidden;
}

.cart-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 30rem);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-inline-start: 1px solid var(--line);
  background: #181317;
  color: var(--ivory);
  box-shadow: -12px 0 56px rgb(0 0 0 / .24);
}

.cart-dialog::backdrop {
  background: rgb(9 6 9 / .68);
}

.cart-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.cart-header,
.cart-body,
.cart-footer {
  padding-inline: clamp(1.05rem, 5vw, 1.85rem);
}

.cart-header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: max(1rem, env(safe-area-inset-top)) 1rem;
  border-bottom: 1px solid var(--line);
  background: #181317;
}

.cart-kicker {
  margin-bottom: .23rem;
  color: #e6c9f6;
  font-size: .72rem;
  font-weight: 625;
}

.cart-header h2 {
  margin: 0;
  font: 500 clamp(1.75rem, 7vw, 2.45rem)/1.05 var(--display);
  letter-spacing: -.04em;
}

.cart-close,
.cart-stepper button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.cart-close {
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}

.cart-body {
  flex: 1;
  padding-block: 1rem 1.25rem;
}

.cart-description,
.cart-empty {
  font-size: .86rem;
}

.cart-description,
.cart-item-meta,
.cart-item-price del {
  color: var(--muted);
}

.cart-empty {
  margin-top: 1rem;
  padding-block: 1.35rem;
  border-block: 1px solid var(--line);
}

.cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 3.35rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .35rem .75rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  display: grid;
  grid-row: span 2;
  height: 5rem;
  place-items: center;
  border-radius: .45rem;
  background: rgb(var(--pigment, 183 159 219) / .12);
}

.cart-item-image img {
  width: 85%;
  height: 4.15rem;
  object-fit: contain;
}

.cart-item-info h3 {
  margin: 0;
  font-size: .92rem;
  line-height: 1.25;
}

.cart-item-meta,
.cart-item-promo,
.cart-item-price del {
  font-size: .77rem;
}

.cart-item-promo {
  color: var(--light, #e6c9f6);
}

.cart-item-price {
  display: grid;
  gap: .03rem;
  max-width: 100%;
  justify-items: end;
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.cart-item-actions {
  display: flex;
  grid-column: 2 / -1;
  align-items: center;
  justify-content: space-between;
  gap: .25rem;
  flex-wrap: wrap;
}

.cart-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
}

.cart-stepper > span {
  min-width: 1.25rem;
  text-align: center;
}

.cart-stepper button {
  border: 0;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
}

.cart-stepper button:disabled {
  opacity: .42;
  cursor: default;
}

.cart-remove,
.cart-clear {
  min-height: 44px;
  padding: .3rem .15rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: .78rem;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.cart-footer {
  padding-block: 1.12rem max(.55rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #211921;
}

.cart-totals {
  display: grid;
  gap: .4rem;
  margin: 0;
  font-size: .9rem;
}

.cart-totals > div {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
}

.cart-totals dd {
  margin: 0;
  font-weight: 630;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cart-totals > :nth-child(2) dd {
  color: #e6c9f6;
}

.cart-totals > :last-child {
  margin-top: .25rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
  font-weight: 700;
}

.cart-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cart-dialog :focus-visible {
  outline-offset: 2px;
}

@media (hover: hover) {
  .cart-trigger:hover,
  .cart-close:hover,
  .cart-stepper button:hover:not(:disabled) {
    border-color: rgb(253 250 244 / .36);
    background: rgb(253 250 244 / .08);
  }

  .cart-add:hover {
    background: var(--ivory);
  }

  .cart-remove:hover,
  .cart-clear:hover {
    color: var(--ivory);
  }
}

@media (max-width: 480px) {
  .cart-offer {
    margin-top: 1.2rem;
  }

  .cart-add {
    width: 100%;
  }

  .cart-dialog {
    border-inline-start: 0;
  }
}
