/* Rosamina R12.8.15. Original card with a scrollable story and persistent actions. */
:root {
  --rs-drawer-width: min(460px, calc(100% - 48px));
  --rs-tab-width: 44px;
  --rs-peach: #f1d4ba;
  --rs-cocoa: #4b3024;
}
html.rs-drawer-open { overflow: hidden; }
.rs-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  box-sizing: border-box;
  width: var(--rs-drawer-width);
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: var(--rs-cocoa);
  box-shadow: -10px 0 36px #1c100e24;
}
.rs-drawer::backdrop { background: #120b074f; }
.rs-drawer[open] { display: block; }
.rs-drawer:not([open]) { display: none; }
.rs-drawer__surface { position: absolute; inset: 0; overflow: hidden; background: var(--paper); }
.rs-drawer[data-active="winter"] .rs-drawer__surface { background: var(--rs-peach); }
.rs-drawer__viewport { height: 100%; overflow: auto; overscroll-behavior: contain; }
.rs-drawer__frame { display: block; width: 100%; height: 100%; border: 0; background: var(--paper); }
.rs-drawer__close {
  position: absolute; z-index: 3; top: max(12px, env(safe-area-inset-top)); right: 12px;
  width: 44px; height: 44px; padding: 10px; border: 0;
  background: transparent; color: currentColor;
}
.rs-drawer__close svg { display: block; width: 24px; height: 24px; }
.rs-drawer__close:hover { background: #ffffff33; }
.rs-rail {
  position: fixed; right: 0; z-index: 45;
  top: clamp(12px, 31svh, max(12px, calc(100svh - 312px)));
  width: var(--rs-tab-width); display: flex; flex-direction: column; align-items: stretch;
  filter: drop-shadow(-3px 2px 7px #34221618);
}
.rs-drawer > .rs-rail { position: absolute; right: 100%; }
.rs-tab {
  position: relative; z-index: 2; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center;
  width: var(--rs-tab-width); height: 142px; flex: 0 0 142px;
  padding: 12px 0 30px; border: 1px solid #bda995; border-right: 0;
  border-radius: 15px 0 0 15px; background: var(--paper); color: #29241f;
  font: 400 10.5px/1.2 var(--sans); letter-spacing: 1.4px;
  text-transform: uppercase; cursor: pointer; touch-action: manipulation;
}
.rs-tab--winter {
  z-index: 1; height: 164px; flex-basis: 164px; margin-top: -6px;
  background: var(--rs-peach); color: var(--rs-cocoa); border-color: #d6b497;
}
.rs-tab[aria-expanded="true"] { z-index: 3; }
.rs-drawer[open] .rs-tab[aria-expanded="false"] { visibility: hidden; pointer-events: none; }
.rs-tab__label { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; pointer-events: none; }
.rs-tab__arrow { position: absolute; bottom: 12px; left: 14px; width: 14px; height: 14px; pointer-events: none; }
.rs-tab[aria-expanded="true"] .rs-tab__arrow { transform: rotate(180deg); }
.rs-tab:focus-visible { outline: 2px solid #6f5038; outline-offset: -5px; }
.rs-tab:hover { filter: brightness(.975); }
html.shell-open .rosamina-voucher-host { display: none; }
.rs-drawer[data-active="winter"] .rs-drawer__viewport { overflow: hidden; }
.rs-drawer[data-active="winter"] .rs-drawer__close { background: var(--rs-peach); border-radius: 50%; }
.rs-winter { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--rs-peach); }
.rs-winter__scroll { position: relative; flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #9b775b var(--rs-peach); }
.rs-winter__actions { flex: 0 0 auto; padding: 0 30px max(12px, env(safe-area-inset-bottom)); background: var(--rs-peach); }
.rs-winter__actions .rs-winter__note { margin-bottom: 12px; }
.rs-winter__actions .rs-winter__contact { margin-top: 6px; }
.rs-winter__ingredients strong { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: #a88365; }
.rs-winter__media { height: 286px; overflow: hidden; position: relative; }
.rs-winter__media img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 43%; }
.rs-winter__media::after { content: ''; position: absolute; inset: auto 0 0; height: 86px; background: linear-gradient(transparent, var(--rs-peach)); }
.rs-winter__brand {
  position: absolute; z-index: 1; right: 66px; top: 25px; margin: 0;
  font: 500 10px/1.5 var(--sans); letter-spacing: 2px; color: var(--rs-cocoa);
}
.rs-winter__copy { padding: 0 30px max(30px, env(safe-area-inset-bottom)); }
.rs-winter__eyebrow { margin: 0 0 14px; font: 500 10px/1.5 var(--sans); letter-spacing: 1.6px; }
.rs-winter__title { margin: 0 0 19px; font: 400 45px/1.08 var(--serif); letter-spacing: -1.2px; }
.rs-winter__title span { display: block; }
.rs-winter__body { margin: 0 0 24px; font: 400 15px/1.6 var(--sans); }
.rs-winter__body--intro { margin-bottom: 12px; }
.rs-winter__price { display: flex; justify-content: space-between; gap: 12px; padding-top: 15px; margin: 0 0 7px; border-top: 1px solid #8a5c44; font: 400 20px/1.4 var(--sans); }
.rs-winter__price strong { font-weight: 600; }
.rs-winter__note { margin: 0 0 23px; font: 400 12px/1.55 var(--sans); }
.rs-winter__cta {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; min-height: 52px; padding: 15px 18px; border: 1px solid var(--rs-cocoa);
  background: var(--rs-cocoa); color: #fff7ef; text-decoration: none;
  font: 500 11px/1.5 var(--sans); letter-spacing: 1.3px;
}
.rs-winter__cta svg { width: 19px; height: 19px; flex: none; }
.rs-winter__contact { display: flex; justify-content: center; margin-top: 12px; }
.rs-winter__contact a { display: inline-flex; min-height: 44px; align-items: center; font: 400 13px/1.5 var(--sans); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 600px) {
  .rs-winter__media { height: clamp(180px, 27svh, 220px); }
  .rs-winter__brand { top: 23px; right: 60px; font-size: 9px; letter-spacing: 1.4px; }
  .rs-winter__copy, .rs-winter__actions { padding-inline: 24px; }
  .rs-winter__title { font-size: clamp(30px, 8.3vw, 38px); line-height: 1.12; letter-spacing: -.6px; margin-bottom: 18px; }
  .rs-winter__body { font-size: 14px; line-height: 1.6; margin-bottom: 22px; }
  .rs-winter__body--intro { margin-bottom: 12px; }
  .rs-winter__eyebrow { font-size: 9px; letter-spacing: 1.15px; }
  .rs-winter__price { font-size: 19px; }
  .rs-winter__note { font-size: 12px; margin-bottom: 22px; }
  .rs-winter__cta { font-size: 10px; letter-spacing: 1px; padding-inline: 14px; }
}
@media (max-width: 350px) {
  .rs-winter__copy, .rs-winter__actions { padding-inline: 20px; }
  .rs-winter__brand { right: 57px; font-size: 8px; letter-spacing: .8px; }
  .rs-winter__title { font-size: 28px; }
  .rs-winter__cta { letter-spacing: .6px; }
}
@media (max-height: 350px) {
  .rs-tab { height: 126px; flex-basis: 126px; }
  .rs-tab--winter { height: 148px; flex-basis: 148px; }
}
@media (prefers-reduced-motion: no-preference) {
  .rs-drawer[open] { animation: rs-enter 280ms cubic-bezier(.2,.7,.2,1); }
  .rs-drawer.rs-closing { animation: rs-leave 200ms ease-in both; }
  .rs-tab.rs-nudge { animation: rs-nudge 850ms ease-in-out; }
  @keyframes rs-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
  @keyframes rs-leave { to { transform: translateX(calc(100% + 48px)); } }
  @keyframes rs-nudge { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-8px); } }
}
