/* ARNI Webshop — premium healthcare ecommerce
   Aligns with site tokens: teal / gold / paper / Playfair + Manrope */

:root {
  --ws-ink: var(--ink, #222222);
  --ws-mute: rgba(34, 34, 34, 0.68);
  --ws-line: var(--ip-border, rgba(34, 34, 34, 0.1));
  --ws-line-strong: var(--ip-border-strong, rgba(34, 34, 34, 0.16));
  --ws-gold: var(--gold, #c8a35c);
  --ws-gold-deep: var(--gold-deep, #a98435);
  --ws-teal: var(--teal, #008080);
  --ws-teal-deep: var(--teal-deep, #006666);
  --ws-bg: var(--paper, #f2f2ef);
  --ws-card: #ffffff;
  --ws-deep: #05403f;
  --ws-radius: var(--ip-r-lg, 22px);
  --ws-radius-md: var(--ip-r-md, 14px);
  --ws-radius-sm: var(--ip-r-sm, 8px);
  --ws-font: var(--font, "Manrope", system-ui, sans-serif);
  --ws-display: var(--display, "Playfair Display", Georgia, serif);
  --ws-ease: var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.ws-page {
  font-family: var(--ws-font);
  color: var(--ws-ink);
  background: var(--ws-bg);
  min-height: 70vh;
  padding-bottom: 88px;
}

.ws-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

/* —— Chrome / cart —— */
.ws-chrome {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  margin: 10px 12px 0;
  padding: 8px 12px 8px 14px;
  border-radius: 16px;
  background: rgba(5, 64, 63, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.ws-chrome-logo img {
  display: block;
  width: 92px;
  height: auto;
  filter: brightness(0) invert(1);
}

.ws-chrome-act {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ws-chrome .od-btn-book {
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.ws-chrome .od-btn-full { display: none; }
.ws-chrome .od-btn-short { display: inline; }

@media (min-width: 960px) {
  .ws-chrome { display: none; }
  .ws-wrap { padding-top: 100px; }
}

.ws-float-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(200, 163, 92, 0.45);
  background: rgba(200, 163, 92, 0.18);
  color: #fffcf7;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 0.2s var(--ws-ease), border-color 0.2s var(--ws-ease);
}

.ws-float-cart:hover,
.ws-float-cart:focus-visible {
  background: rgba(200, 163, 92, 0.32);
  border-color: var(--ws-gold);
  color: #fff;
}

.ws-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 0 0 28px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--ws-line);
}

.ws-subnav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ws-mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.ws-subnav a:hover,
.ws-subnav a.is-active {
  color: var(--ws-teal-deep);
}

.ws-cart-badge {
  background: var(--ws-teal);
  color: #fff;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.ws-float-cart .ws-cart-badge {
  background: var(--ws-gold);
  color: #1a1a1a;
}

.ws-cart-badge.is-pulse {
  animation: ws-badge-pulse 0.85s var(--ws-ease);
}

@keyframes ws-badge-pulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.18); }
}

/* —— Type —— */
.ws-eb {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ws-gold-deep);
}

.ws-h1 {
  margin: 0;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ws-ink);
}

.ws-h2 {
  margin: 0;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ws-lead {
  margin: 14px 0 0;
  max-width: 38rem;
  color: var(--ws-mute);
  line-height: 1.7;
  font-size: 16.5px;
}

.ws-flash {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--ws-radius-md);
  background: rgba(0, 128, 128, 0.08);
  border: 1px solid rgba(0, 128, 128, 0.18);
}

.ws-flash--error {
  background: rgba(180, 40, 40, 0.06);
  border-color: rgba(180, 40, 40, 0.2);
}

.ws-crumb {
  font-size: 13px;
  color: var(--ws-mute);
  margin-bottom: 18px;
}

.ws-crumb a {
  color: inherit;
  text-decoration: none;
}

.ws-crumb a:hover { color: var(--ws-teal-deep); }

.ws-section {
  margin-top: clamp(48px, 8vw, 88px);
}

.ws-section__head {
  margin-bottom: 28px;
  max-width: 40rem;
}

.ws-section__head .ws-lead { margin-top: 10px; }

/* —— Buttons —— */
.ws-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ws-font);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--ws-radius-md);
  padding: 13px 20px;
  min-height: 48px;
  transition: background 0.2s var(--ws-ease), border-color 0.2s var(--ws-ease), transform 0.2s var(--ws-ease), color 0.2s var(--ws-ease);
}

.ws-btn--sm {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13.5px;
}

.ws-btn--primary {
  background: var(--ws-teal);
  color: #fff;
}

.ws-btn--primary:hover {
  background: var(--ws-teal-deep);
  transform: translateY(-1px);
}

.ws-btn--ghost {
  background: transparent;
  color: var(--ws-ink);
  border: 1px solid var(--ws-line-strong);
}

.ws-btn--ghost:hover {
  border-color: var(--ws-teal);
  color: var(--ws-teal-deep);
}

.ws-btn--gold {
  background: var(--ws-gold);
  color: #1a1a1a;
}

.ws-btn--gold:hover {
  background: #d4b36e;
  transform: translateY(-1px);
}

.ws-btn--block { width: 100%; }

.ws-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* —— Hero —— */
.ws-hero {
  display: grid;
  gap: 36px;
  align-items: center;
  padding: 8px 0 12px;
}

@media (min-width: 960px) {
  .ws-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    min-height: 380px;
  }
}

.ws-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--ws-mute);
}

.ws-hero__trust li {
  display: inline-flex;
  align-items: center;
}

.ws-hero__trust li:not(:last-child)::after {
  content: "·";
  margin: 0 10px;
  color: var(--ws-gold-deep);
}

.ws-hero__visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--ws-radius);
  background: linear-gradient(145deg, rgba(0, 128, 128, 0.1), rgba(5, 64, 63, 0.06) 55%, rgba(200, 163, 92, 0.12));
  overflow: hidden;
}

.ws-hero__collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 18px;
}

.ws-hero__shot {
  border-radius: var(--ws-radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px rgba(5, 64, 63, 0.08);
}

.ws-hero__shot:first-child {
  grid-row: 1 / -1;
}

.ws-hero__shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
  transition: transform 0.55s var(--ws-ease);
}

.ws-hero__visual:hover .ws-hero__shot img {
  transform: scale(1.03);
}

/* —— Quick paths —— */
.ws-paths {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

@media (min-width: 800px) {
  .ws-paths { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

.ws-path {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  border-radius: var(--ws-radius);
  background: var(--ws-card);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(34, 34, 34, 0.04);
  transition: transform 0.25s var(--ws-ease), border-color 0.25s var(--ws-ease), box-shadow 0.25s var(--ws-ease);
}

.ws-path:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 128, 128, 0.22);
  box-shadow: 0 14px 32px rgba(5, 64, 63, 0.08);
}

.ws-path__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 128, 128, 0.08);
  color: var(--ws-teal-deep);
}

.ws-path__icon svg { width: 20px; height: 20px; }

.ws-path__title {
  margin: 0;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
}

.ws-path__text {
  margin: 0;
  color: var(--ws-mute);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}

.ws-path__cta {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ws-teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ws-path__cta i {
  transition: transform 0.22s var(--ws-ease);
}

.ws-path:hover .ws-path__cta i {
  transform: translateX(3px);
}

/* —— Concern cards —— */
.ws-grid--concerns {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

@media (min-width: 700px) {
  .ws-grid--concerns { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (min-width: 1100px) {
  .ws-grid--concerns { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.ws-concern {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 22px;
  border-radius: var(--ws-radius);
  background: var(--ws-card);
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(34, 34, 34, 0.06);
  transition: transform 0.25s var(--ws-ease), border-color 0.25s var(--ws-ease), box-shadow 0.25s var(--ws-ease);
  min-height: 188px;
}

.ws-concern::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: transparent;
  transition: background 0.25s var(--ws-ease);
}

.ws-concern:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 128, 128, 0.2);
  box-shadow: 0 16px 36px rgba(5, 64, 63, 0.07);
}

.ws-concern:hover::before {
  background: linear-gradient(180deg, var(--ws-gold), var(--ws-teal));
}

.ws-concern__tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ws-gold-deep);
  background: rgba(200, 163, 92, 0.14);
  padding: 4px 9px;
  border-radius: 6px;
}

.ws-concern__title {
  margin: 0;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
}

.ws-concern__blurb {
  margin: 0;
  color: var(--ws-mute);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}

.ws-concern__meta {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(34, 34, 34, 0.55);
}

.ws-concern__dot { margin: 0 4px; color: var(--ws-gold-deep); }

.ws-concern__cta {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 650;
  color: var(--ws-teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ws-concern:hover .ws-concern__cta i {
  transform: translateX(3px);
}

.ws-concern__cta i {
  display: inline-block;
  transition: transform 0.22s var(--ws-ease);
}

/* —— Product cards —— */
.ws-grid--products {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

@media (min-width: 700px) {
  .ws-grid--products { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
}

.ws-product {
  display: flex;
  flex-direction: column;
  background: var(--ws-card);
  border-radius: var(--ws-radius);
  border: 1px solid rgba(34, 34, 34, 0.06);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s var(--ws-ease), box-shadow 0.25s var(--ws-ease), border-color 0.25s var(--ws-ease);
}

.ws-product:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 128, 128, 0.18);
  box-shadow: 0 16px 36px rgba(5, 64, 63, 0.08);
}

.ws-product__media {
  display: block;
  aspect-ratio: 1;
  background: linear-gradient(160deg, rgba(0, 128, 128, 0.06), rgba(242, 242, 239, 0.9));
  overflow: hidden;
}

.ws-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  display: block;
  transition: transform 0.5s var(--ws-ease);
}

.ws-product:hover .ws-product__media img {
  transform: scale(1.04);
}

.ws-product__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
  flex: 1;
}

.ws-product__title {
  margin: 0;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.25;
}

.ws-product__title a {
  color: inherit;
  text-decoration: none;
}

.ws-product__title a:hover { color: var(--ws-teal-deep); }

.ws-product__meta {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(34, 34, 34, 0.45);
}

.ws-product__benefit {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ws-mute);
  flex: 1;
}

.ws-product__price {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ws-teal-deep);
}

.ws-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.ws-product__actions form { margin: 0; }

/* —— Package cards —— */
.ws-grid--packages {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .ws-grid--packages { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.ws-package {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border-radius: var(--ws-radius);
  background: var(--ws-deep);
  color: #fffcf7;
  text-decoration: none;
  min-height: 210px;
  transition: transform 0.25s var(--ws-ease), box-shadow 0.25s var(--ws-ease);
}

.ws-package:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(5, 64, 63, 0.28);
  color: #fffcf7;
}

.ws-package__eyebrow {
  margin: 0;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ws-gold);
}

.ws-package__title {
  margin: 0;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
}

.ws-package__for {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 252, 247, 0.72);
  flex: 1;
}

.ws-package__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ws-package__count {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 252, 247, 0.55);
}

.ws-package__price {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.ws-package__cta {
  font-size: 14px;
  font-weight: 650;
  color: var(--ws-gold);
  white-space: nowrap;
}

/* —— Trust —— */
.ws-trust {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .ws-trust { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}

.ws-trust__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 16px;
  border-radius: var(--ws-radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(34, 34, 34, 0.05);
}

.ws-trust__mark {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--ws-gold);
  box-shadow: 0 0 0 4px rgba(200, 163, 92, 0.18);
}

.ws-trust__item strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ws-trust__item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ws-mute);
}

/* —— FAQ —— */
.ws-faq .ip-acc {
  border-top: 1px solid var(--ws-line);
}

.ws-faq .ip-acc-item {
  border-bottom: 1px solid var(--ws-line);
}

.ws-faq .ip-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 650;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
  color: var(--ws-ink);
}

.ws-faq .ip-acc-panel {
  display: none;
  padding: 0 4px 18px;
  color: var(--ws-mute);
  line-height: 1.65;
  font-size: 15px;
  max-width: 40rem;
}

.ws-faq .ip-acc-item.is-open .ip-acc-panel { display: block; }

.ws-faq .ip-acc-ico {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.ws-faq .ip-acc-ico::before,
.ws-faq .ip-acc-ico::after {
  content: "";
  position: absolute;
  background: var(--ws-teal-deep);
  border-radius: 1px;
}

.ws-faq .ip-acc-ico::before {
  left: 0; right: 0; top: 8px; height: 2px;
}

.ws-faq .ip-acc-ico::after {
  top: 0; bottom: 0; left: 8px; width: 2px;
}

.ws-faq .ip-acc-item.is-open .ip-acc-ico::after { opacity: 0; }

/* —— Final CTA —— */
.ws-final {
  margin-top: clamp(48px, 8vw, 88px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--ws-radius);
  background: linear-gradient(135deg, var(--ws-deep), #0a5554 60%, #0d6563);
  color: #fffcf7;
}

.ws-final .ws-eb { color: var(--ws-gold); }
.ws-final .ws-h2 { color: #fff; }
.ws-final .ws-lead { color: rgba(255, 252, 247, 0.76); }
.ws-final .ws-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.ws-final .ws-btn--ghost:hover {
  border-color: var(--ws-gold);
  color: var(--ws-gold);
}

/* —— PLP toolbar —— */
.ws-plp-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 8px;
}

.ws-plp-count {
  margin: 0;
  font-size: 14px;
  color: var(--ws-mute);
  font-weight: 600;
}

.ws-plp-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

.ws-sort {
  appearance: none;
  border: 1px solid var(--ws-line);
  border-radius: 999px;
  padding: 9px 36px 9px 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23222' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  cursor: pointer;
}

.ws-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 22px;
}

.ws-chip {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ws-line);
  text-decoration: none;
  color: var(--ws-ink);
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  transition: border-color 0.2s var(--ws-ease), color 0.2s var(--ws-ease), background 0.2s var(--ws-ease);
}

.ws-chip.is-active,
.ws-chip:hover {
  border-color: var(--ws-teal);
  color: var(--ws-teal-deep);
  background: rgba(0, 128, 128, 0.06);
}

.ws-empty {
  padding: 48px 24px;
  text-align: center;
  border-radius: var(--ws-radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed var(--ws-line);
}

.ws-empty p {
  margin: 0 0 16px;
  color: var(--ws-mute);
}

/* Mobile filter drawer */
.ws-drawer-bar {
  display: none;
}

@media (max-width: 799px) {
  .ws-drawer-bar {
    display: flex;
    position: sticky;
    bottom: 76px;
    z-index: 40;
    gap: 8px;
    justify-content: center;
    padding: 8px 0;
  }

  .ws-chips--desktop { display: none; }
  .ws-plp-tools .ws-sort { display: none; }
}

.ws-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 64, 63, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ws-ease), visibility 0.25s;
}

.ws-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ws-drawer__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 78vh;
  overflow: auto;
  background: var(--ws-bg);
  border-radius: 22px 22px 0 0;
  padding: 20px 20px 32px;
  transform: translateY(24px);
  transition: transform 0.28s var(--ws-ease);
}

.ws-drawer.is-open .ws-drawer__panel {
  transform: translateY(0);
}

.ws-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ws-drawer__top h2 {
  margin: 0;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: 22px;
}

body.ws-drawer-open { overflow: hidden; }

/* —— PDP —— */
.ws-pdp {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 860px) {
  .ws-pdp {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 48px;
  }
}

.ws-pdp__gallery {
  border-radius: var(--ws-radius);
  background: linear-gradient(160deg, rgba(0, 128, 128, 0.07), #fff);
  border: 1px solid rgba(34, 34, 34, 0.06);
  overflow: hidden;
  aspect-ratio: 1;
}

.ws-pdp__gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  display: block;
}

.ws-pdp__meta {
  margin: 8px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(34, 34, 34, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ws-pdp__price {
  margin: 14px 0 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--ws-teal-deep);
}

.ws-pdp__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.ws-cod-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: var(--ws-radius-md);
  background: rgba(200, 163, 92, 0.12);
  border: 1px solid rgba(200, 163, 92, 0.28);
  font-size: 14px;
  color: rgba(34, 34, 34, 0.78);
  line-height: 1.5;
}

.ws-prose {
  max-width: 44rem;
  line-height: 1.75;
  color: rgba(34, 34, 34, 0.82);
}

.ws-prose p { margin: 0 0 1em; }

.ws-detail-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--ws-line);
}

.ws-detail-block h2 {
  margin: 0 0 10px;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: 22px;
}

.ws-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ws-tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ws-teal-deep);
  background: rgba(0, 128, 128, 0.08);
  padding: 5px 9px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 650;
}

.ws-tag:hover { background: rgba(0, 128, 128, 0.14); }

.ws-sticky-cta {
  display: none;
}

@media (max-width: 859px) {
  .ws-sticky-cta {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 78px;
    z-index: 50;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--ws-line);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
  }

  .ws-sticky-cta .ws-btn { flex: 1; }
  .ws-sticky-cta .ws-sticky-cta__price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6px;
    font-weight: 700;
    color: var(--ws-teal-deep);
    white-space: nowrap;
  }
}

/* —— Qty —— */
.ws-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ws-line-strong);
  border-radius: var(--ws-radius-md);
  background: #fff;
  overflow: hidden;
}

.ws-qty__btn {
  width: 42px;
  height: 46px;
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  color: var(--ws-ink);
}

.ws-qty__btn:hover { background: rgba(0, 128, 128, 0.06); }

.ws-qty__input {
  width: 48px;
  height: 46px;
  border: 0;
  border-left: 1px solid var(--ws-line);
  border-right: 1px solid var(--ws-line);
  text-align: center;
  font: inherit;
  font-weight: 650;
  background: transparent;
  -moz-appearance: textfield;
}

.ws-qty__input::-webkit-outer-spin-button,
.ws-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* —— Program —— */
.ws-step {
  display: grid;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid var(--ws-line);
}

@media (min-width: 800px) {
  .ws-step {
    grid-template-columns: 72px 1fr auto;
    align-items: start;
    gap: 20px;
  }
}

.ws-step__num {
  font-family: var(--ws-display);
  font-size: 28px;
  color: rgba(169, 132, 53, 0.75);
  line-height: 1;
}

.ws-step h3 {
  margin: 0 0 8px;
  font-family: var(--ws-display);
  font-weight: 400;
  font-size: 22px;
}

.ws-step p {
  margin: 0 0 8px;
  color: var(--ws-mute);
  line-height: 1.6;
  font-size: 15px;
}

.ws-bundle {
  margin-top: 32px;
  padding: clamp(22px, 4vw, 32px);
  border-radius: var(--ws-radius);
  background: #fff;
  border: 1px solid rgba(200, 163, 92, 0.35);
  box-shadow: 0 10px 28px rgba(200, 163, 92, 0.08);
}

.ws-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--ws-gold);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 var(--ws-radius-sm) var(--ws-radius-sm) 0;
  color: var(--ws-mute);
  font-size: 14px;
  line-height: 1.65;
}

/* —— Cart —— */
.ws-cart-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.ws-cart-row {
  display: grid;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--ws-radius-md);
  background: var(--ws-card);
  border: 1px solid rgba(34, 34, 34, 0.06);
}

@media (min-width: 700px) {
  .ws-cart-row {
    grid-template-columns: 72px 1fr auto auto auto;
  }
}

.ws-cart-row__img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 128, 128, 0.05);
}

.ws-cart-row__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.ws-cart-row__name {
  margin: 0;
  font-weight: 650;
  font-size: 15.5px;
}

.ws-cart-row__name a {
  color: inherit;
  text-decoration: none;
}

.ws-cart-row__name a:hover { color: var(--ws-teal-deep); }

.ws-cart-row__unit {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ws-mute);
}

.ws-cart-row__line {
  font-weight: 700;
  color: var(--ws-teal-deep);
  white-space: nowrap;
}

.ws-cart-layout {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .ws-cart-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
    align-items: start;
  }
}

.ws-totals {
  padding: 20px;
  border-radius: var(--ws-radius);
  background: var(--ws-card);
  border: 1px solid rgba(34, 34, 34, 0.06);
}

.ws-totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 15px;
}

.ws-totals .ws-grand {
  font-weight: 700;
  font-size: 18px;
  border-top: 1px solid var(--ws-line);
  margin-top: 8px;
  padding-top: 14px;
}

.ws-table {
  width: 100%;
  border-collapse: collapse;
}

.ws-table th,
.ws-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--ws-line);
  vertical-align: middle;
}

/* —— Checkout —— */
.ws-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ws-mute);
}

.ws-steps li.is-done { color: var(--ws-teal-deep); }
.ws-steps li.is-current { color: var(--ws-ink); }

.ws-steps li:not(:last-child)::after {
  content: "→";
  margin-left: 18px;
  color: rgba(34, 34, 34, 0.28);
  font-weight: 400;
}

.ws-checkout {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .ws-checkout {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.75fr);
    align-items: start;
  }
}

.ws-form {
  display: grid;
  gap: 14px;
}

.ws-field label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 6px;
}

.ws-field input,
.ws-field textarea {
  width: 100%;
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius-md);
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  min-height: 48px;
}

.ws-field input:focus,
.ws-field textarea:focus {
  outline: 2px solid rgba(0, 128, 128, 0.28);
  border-color: var(--ws-teal);
}

.ws-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
}

.ws-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* —— Legacy grid helpers still used —— */
.ws-grid { display: grid; gap: 16px; }
.ws-grid--programs {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 28px;
}

.ws-media {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 128, 128, 0.05);
}

.ws-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ws-price {
  font-weight: 700;
  color: var(--ws-teal-deep);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ws-card {
  background: var(--ws-card);
  border: 1px solid var(--ws-line);
  border-radius: var(--ws-radius);
  padding: 18px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .ws-product,
  .ws-concern,
  .ws-package,
  .ws-path,
  .ws-product__media img,
  .ws-hero__shot img,
  .ws-btn {
    transition: none !important;
  }

  .ws-product:hover,
  .ws-concern:hover,
  .ws-package:hover,
  .ws-path:hover {
    transform: none;
  }

  .ws-cart-badge.is-pulse { animation: none; }
}
