/* REFIDO Product Card v1.0.0 */
.refido-product-page {
  --refido-paper: #f7f3ed;
  --refido-card: #fffdf9;
  --refido-ink: #31342f;
  --refido-muted: #77766f;
  --refido-line: #ded7cc;
  --refido-clay: #a98f75;
  --refido-clay-dark: #806a56;
  --refido-sage: #7f8a72;
  background: var(--refido-paper);
  color: var(--refido-ink);
}

.refido-product-page .breadcrumbs { background: transparent; }
.refido-product-page .breadcrumbs__menu { opacity: .78; }
.refido-product-hero { padding: 18px 0 70px; }
.refido-product-shell { max-width: 1480px; padding-left: 38px; padding-right: 38px; }
.refido-product-grid { align-items: flex-start; margin-left: -22px; margin-right: -22px; }
.refido-product-media,
.refido-product-info { padding-left: 22px; padding-right: 22px; }
.refido-product-page .sku__gallery {
  margin: 0 !important;
  padding: 22px;
  background: var(--refido-card);
  border: 1px solid rgba(128,106,86,.12);
  border-radius: 2px;
  box-shadow: 0 18px 55px rgba(70,58,45,.06);
}
.refido-product-page .sku__slides { min-height: 610px; display: flex; align-items: center; justify-content: center; }
.refido-product-page .sku__slides-item { width: 100%; text-align: center; }
.refido-product-page .sku__slides-item img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 680px;
  object-fit: contain;
  margin: 0 auto;
}
.refido-product-page .sku__thumbs { margin-top: 18px; }
.refido-product-page .sku__thumbs-item {
  background: #fff;
  border: 1px solid var(--refido-line);
  border-radius: 0;
  padding: 5px;
}
.refido-product-card {
  position: sticky;
  top: 24px;
  background: var(--refido-card);
  border: 1px solid rgba(128,106,86,.13);
  box-shadow: 0 18px 55px rgba(70,58,45,.06);
  padding: 44px 46px 40px;
}
.refido-product-page .sku__panel,
.refido-product-page .sku__settings,
.refido-product-page .sku__group { border-color: var(--refido-line); }
.refido-product-page .sku__panel { padding-top: 0; }
.refido-product-eyebrow,
.refido-section-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--refido-sage);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}
.refido-product-page .sku__heading h1 {
  margin: 0;
  color: var(--refido-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 4vw, 62px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.035em;
}
.refido-product-page .sku__id,
.refido-product-page .sku__brand { color: var(--refido-muted); }
.refido-product-intro {
  margin: 20px 0 4px;
  color: #5f605a;
  font-size: 16px;
  line-height: 1.75;
}
.refido-product-page .sku__price {
  margin: 22px 0 18px;
  color: var(--refido-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 400;
}
.refido-product-page .ui-label { color: var(--refido-ink); font-weight: 600; letter-spacing: .02em; }
.refido-product-page .ui-select,
.refido-product-page .ui-input,
.refido-product-page .ui-number,
.refido-product-page .ui-size__btn {
  border-color: var(--refido-line);
  background: #fff;
  border-radius: 0;
}
.refido-product-page .ui-size__input:checked + .ui-size__btn,
.refido-product-page .ui-check__input:checked + .ui-check__radio { border-color: var(--refido-clay-dark); }
.refido-product-page .btn--cart {
  min-height: 56px;
  padding: 0 34px;
  border-radius: 0;
  border: 1px solid var(--refido-clay-dark);
  background: var(--refido-clay-dark);
  color: #fff;
  letter-spacing: .04em;
  box-shadow: none;
}
.refido-product-page .btn--cart:hover { background: #6f5b49; border-color: #6f5b49; }
.refido-product-page .btn--dashed {
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid var(--refido-clay-dark);
  border-radius: 0;
  color: var(--refido-clay-dark);
  background: transparent;
}
.refido-product-promises {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--refido-line);
}
.refido-product-promises div { display: flex; flex-direction: column; gap: 5px; }
.refido-product-promises strong { color: var(--refido-ink); font-size: 13px; }
.refido-product-promises span { color: var(--refido-muted); font-size: 12px; line-height: 1.55; }
.refido-product-story { padding: 82px 0 90px; background: #f0ebe3; }
.refido-product-story__container {
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
  gap: 80px;
  padding-left: 38px;
  padding-right: 38px;
}
.refido-product-story h2,
.refido-product-extra h2 {
  margin: 0 0 28px;
  color: var(--refido-ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.05;
  font-weight: 400;
}
.refido-product-description { color: #4f514c; font-size: 17px; line-height: 1.9; }
.refido-product-description p { margin-bottom: 1.3em; }
.refido-product-description h2,
.refido-product-description h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--refido-ink); }
.refido-product-facts {
  align-self: start;
  background: var(--refido-card);
  border: 1px solid rgba(128,106,86,.13);
  padding: 34px 34px 28px;
}
.refido-product-facts h2 { font-size: 34px; margin-bottom: 18px; }
.refido-product-facts__group + .refido-product-facts__group { margin-top: 26px; }
.refido-product-facts h3 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--refido-sage); }
.refido-product-facts dl { margin: 0; }
.refido-product-facts dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--refido-line); }
.refido-product-facts dt { color: var(--refido-muted); font-weight: 400; }
.refido-product-facts dd { margin: 0; color: var(--refido-ink); text-align: right; }
.refido-product-extra { padding: 70px 0; background: var(--refido-paper); }
.refido-product-extra .container-fluid { max-width: 1280px; padding-left: 38px; padding-right: 38px; }
.refido-product-extra__item { padding: 36px 0; border-bottom: 1px solid var(--refido-line); }
.refido-product-page .products--recomended { background: var(--refido-card); padding-top: 70px; }
.refido-product-page .products__heading { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
@media (max-width: 991px) {
  .refido-product-shell { padding-left: 20px; padding-right: 20px; }
  .refido-product-card { position: static; margin-top: 24px; padding: 34px 28px; }
  .refido-product-page .sku__slides { min-height: 430px; }
  .refido-product-story__container { grid-template-columns: 1fr; gap: 45px; padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 575px) {
  .refido-product-hero { padding-bottom: 45px; }
  .refido-product-shell { padding-left: 12px; padding-right: 12px; }
  .refido-product-grid { margin-left: -8px; margin-right: -8px; }
  .refido-product-media, .refido-product-info { padding-left: 8px; padding-right: 8px; }
  .refido-product-page .sku__gallery { padding: 10px; }
  .refido-product-page .sku__slides { min-height: 310px; }
  .refido-product-card { padding: 28px 20px; }
  .refido-product-page .sku__heading h1 { font-size: 42px; }
  .refido-product-promises { grid-template-columns: 1fr; }
  .refido-product-story { padding: 58px 0; }
  .refido-product-story__container { padding-left: 18px; padding-right: 18px; }
  .refido-product-facts { padding: 26px 22px; }
  .refido-product-page .sku__action .row { gap: 12px; }
}

/* ========================================================================== */
/* REFIDO Product Page 0.1.0 — Foundation + Hero Structure                    */
/* ========================================================================== */
.refido-product-page {
  --refido-container-product: 1420px;
  --refido-header-offset: 96px;
  --refido-focus: #5f6856;
  --refido-danger: #8a5f58;
  --refido-success: #6f7c65;
}

.refido-product-page .breadcrumbs__menu {
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.refido-product-page .breadcrumbs__menu::-webkit-scrollbar { display: none; }

.refido-product-shell {
  max-width: var(--refido-container-product);
}

.refido-product-page .refido-gallery {
  position: relative;
}
.refido-gallery__status {
  top: 20px;
  left: 20px;
  right: auto;
  z-index: 3;
}
.refido-product-page .refido-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(128, 106, 86, .18);
  border-radius: 0;
  background: rgba(255, 253, 249, .92);
  color: var(--refido-ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: none;
}
.refido-product-page .refido-status--muted { color: var(--refido-muted); }
.refido-product-page .products__item-discount,
.refido-product-page .sku__countdown { display: none !important; }
.refido-product-page .sku__buttons .btn--blog { display: none; }

.refido-product-card {
  top: var(--refido-header-offset);
  border-color: rgba(128, 106, 86, .10);
  box-shadow: 0 14px 42px rgba(70, 58, 45, .045);
}
.refido-product-page .refido-product-summary {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--refido-line);
}
.refido-product-eyebrow a { color: inherit; }
.refido-product-eyebrow a:hover { color: var(--refido-clay-dark); }
.refido-product-page .refido-product-title h1 {
  max-width: 12ch;
  font-size: clamp(40px, 3.35vw, 58px);
  line-height: 1.02;
}
.refido-product-intro {
  max-width: 42rem;
  margin: 20px 0 0;
}
.refido-product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--refido-muted);
  font-size: 13px;
}
.refido-product-price-block { margin-top: 28px; }
.refido-product-page .refido-product-price-block .sku__price {
  margin: 0;
}
.refido-product-page .sku__price u {
  margin-left: 10px;
  color: var(--refido-muted);
  font-size: .62em;
  font-weight: 400;
  text-decoration-thickness: 1px;
}
.refido-product-price-meta {
  margin-top: 9px;
  color: var(--refido-muted);
  font-size: 12px;
  line-height: 1.6;
}
.refido-product-availability { margin-top: 17px; }
.refido-product-availability p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
}
.refido-product-availability svg { display: none; }
.refido-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.refido-product-page .sku__status-success { color: var(--refido-success); }
.refido-product-page .sku__status-error { color: var(--refido-danger); }

.refido-product-page .sku__settings {
  padding-top: 28px;
  padding-bottom: 26px;
}
.refido-product-page .sku__settings > .row + .row { margin-top: 22px; }
.refido-product-page .ui-label { margin-bottom: 10px; }
.refido-product-page .ui-select,
.refido-product-page .ui-input,
.refido-product-page .ui-textarea,
.refido-product-page .ui-number,
.refido-product-page .ui-size__btn,
.refido-product-page .ui-check {
  min-height: 44px;
}
.refido-product-page .ui-select:focus,
.refido-product-page .ui-input:focus,
.refido-product-page .ui-textarea:focus,
.refido-product-page .ui-number:focus,
.refido-product-page a:focus-visible,
.refido-product-page button:focus-visible,
.refido-product-page input:focus-visible,
.refido-product-page select:focus-visible,
.refido-product-page textarea:focus-visible {
  outline: 2px solid var(--refido-focus);
  outline-offset: 3px;
}
.refido-product-page .is-error,
.refido-product-page .ui-field.is-error,
.refido-product-page [id^="input-option"].is-error {
  border-color: var(--refido-danger);
}
.refido-product-page .ui-error { color: var(--refido-danger); }

.refido-purchase-actions { padding-top: 28px; }
.refido-product-page .refido-purchase-actions .sku__action > .row {
  align-items: stretch;
}
.refido-product-page .refido-purchase-actions .sku__action-buttons,
.refido-product-page .refido-purchase-actions .sku__action-buttons > .row {
  height: 100%;
}
.refido-product-page .refido-purchase-actions .btn--cart,
.refido-product-page .refido-purchase-actions .btn--dashed {
  min-height: 56px;
}
.refido-product-page .btn--cart:disabled,
.refido-product-page .btn--cart[disabled] {
  border-color: var(--refido-line);
  background: #d8d3ca;
  color: #7b7973;
  cursor: not-allowed;
}
.refido-product-page .btn--cart.loading,
.refido-product-page .btn--cart:disabled { box-shadow: none; }

.refido-product-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--refido-line);
  color: var(--refido-muted);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.refido-product-meta__value { margin: 0 !important; text-align: right; }

@media (max-width: 1199px) {
  .refido-product-page { --refido-header-offset: 82px; }
  .refido-product-card { padding: 36px 34px 34px; }
  .refido-product-page .refido-product-title h1 { max-width: none; }
}

@media (max-width: 991px) {
  .refido-product-card { top: auto; }
}

@media (max-width: 767px) {
  .refido-product-hero { padding-top: 8px; }
  .refido-product-page .sku__slides { min-height: 360px; }
  .refido-product-card { margin-top: 16px; }
  .refido-product-page .refido-product-title h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.04;
  }
  .refido-product-page .sku__price { font-size: 31px; }
  .refido-product-page .refido-purchase-actions .sku__action > .row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
  }
  .refido-product-page .refido-purchase-actions .sku__action > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
  }
  .refido-product-page .refido-purchase-actions .sku__action-buttons > .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
  }
  .refido-product-page .refido-purchase-actions .sku__action-buttons > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
  }
  .refido-product-page .refido-purchase-actions .btn--cart,
  .refido-product-page .refido-purchase-actions .btn--dashed {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .refido-gallery__status { top: 12px; left: 12px; }
  .refido-product-card { padding: 28px 20px 26px; }
  .refido-product-page .sku__slides { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .refido-product-page *,
  .refido-product-page *::before,
  .refido-product-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ========================================================================== */
/* REFIDO Product Page 0.1.1 — Layout correction from approved visual         */
/* ========================================================================== */
.refido-product-page {
  --refido-product-max: 1440px;
  --refido-product-gap: clamp(34px, 4vw, 68px);
  --refido-warm-white: #fbf8f3;
  --refido-canvas: #f4efe7;
  --refido-brown: #8f6c4d;
  --refido-brown-dark: #6f5038;
}

.refido-product-hero {
  padding: 22px 0 54px;
  background: var(--refido-warm-white);
}
.refido-product-shell {
  max-width: var(--refido-product-max);
  padding-left: clamp(18px, 3vw, 42px);
  padding-right: clamp(18px, 3vw, 42px);
}
.refido-product-grid {
  align-items: flex-start;
  margin-left: calc(var(--refido-product-gap) / -2);
  margin-right: calc(var(--refido-product-gap) / -2);
}
.refido-product-media,
.refido-product-info {
  padding-left: calc(var(--refido-product-gap) / 2);
  padding-right: calc(var(--refido-product-gap) / 2);
}

/* Gallery: do not interfere with the Technics slider initialization. */
.refido-product-page .sku__gallery {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.refido-product-page .sku__slides {
  display: block;
  min-height: 0;
  border: 1px solid rgba(111, 80, 56, .14);
  background: #f8f4ed;
  overflow: hidden;
}
.refido-product-page .sku__slides-item {
  width: 100%;
  min-height: 560px;
  background: #f8f4ed;
}
.refido-product-page .sku__slides-item > img,
.refido-product-page .sku__slides-item > a > img,
.refido-product-page .sku__slides-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 560px;
  max-height: 720px;
  object-fit: contain;
  margin: 0 auto;
}
.refido-product-page .sku__thumbs {
  display: flex;
  gap: 12px;
  margin: 12px 0 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.refido-product-page .sku__thumbs-item,
.refido-product-page .sku__thumbs-video {
  flex: 0 0 116px;
  width: 116px;
  height: 96px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(111, 80, 56, .14);
  background: #f8f4ed;
  overflow: hidden;
}
.refido-product-page .sku__thumbs-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.refido-product-page .sku__buttons {
  top: 18px;
  right: 18px;
  z-index: 6;
}
.refido-product-page .sku__buttons .btn--like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(111, 80, 56, .14);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
}

/* Product info: editorial column, not a marketplace card. */
.refido-product-card {
  position: sticky;
  top: var(--refido-header-offset, 96px);
  padding: 8px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.refido-product-page .refido-product-summary {
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(111, 80, 56, .18);
}
.refido-product-eyebrow {
  margin-bottom: 14px;
  color: var(--refido-sage);
  font-size: 11px;
  letter-spacing: .18em;
}
.refido-product-page .refido-product-title h1 {
  max-width: 640px;
  font-size: clamp(42px, 4.1vw, 66px);
  line-height: .98;
  letter-spacing: -.035em;
}
.refido-product-intro {
  max-width: 600px;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.65;
}
.refido-product-rating {
  display: inline-flex;
  margin-top: 14px;
}
.refido-product-price-block {
  margin-top: 24px;
}
.refido-product-page .sku__price {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}
.refido-product-availability {
  margin-top: 20px;
}
.refido-product-page .sku__settings {
  margin-top: 0;
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(111, 80, 56, .18);
}
.refido-product-page .sku__settings > .row + .row {
  margin-top: 20px;
}
.refido-product-page .ui-label {
  display: block;
  margin-bottom: 11px;
  font-size: 13px;
  font-weight: 500;
}
.refido-product-page .ui-group-size {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.refido-product-page .ui-size {
  margin: 0;
}
.refido-product-page .ui-size__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(111, 80, 56, .20);
  color: var(--refido-ink);
}
.refido-product-page .ui-size__input:checked + .ui-size__btn {
  border-color: var(--refido-brown);
  box-shadow: inset 0 0 0 1px var(--refido-brown);
}
.refido-purchase-actions {
  padding: 26px 0 22px;
  border-bottom: 1px solid rgba(111, 80, 56, .18);
}
.refido-product-page .refido-purchase-actions > .sku__action > .row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  margin: 0;
}
.refido-product-page .refido-purchase-actions > .sku__action > .row > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
}
.refido-product-page .ui-number {
  width: 100%;
  min-height: 56px;
  text-align: center;
}
.refido-product-page .sku__action-buttons > .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}
.refido-product-page .sku__action-buttons > .row > .col-auto {
  width: 100%;
  padding: 0;
}
.refido-product-page .btn--cart,
.refido-product-page .btn--dashed {
  width: 100%;
  min-height: 56px;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: .10em;
}
.refido-product-page .btn--cart {
  background: var(--refido-brown);
  border-color: var(--refido-brown);
}
.refido-product-page .btn--cart:hover {
  background: var(--refido-brown-dark);
  border-color: var(--refido-brown-dark);
}
.refido-product-page .btn--dashed {
  margin-top: 12px;
  color: var(--refido-brown-dark);
  border-color: rgba(111, 80, 56, .48);
}
.refido-product-meta {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}

/* Horizontal content navigation under the hero. */
.refido-product-sections {
  background: var(--refido-warm-white);
}
.refido-product-sections__inner {
  display: flex;
  gap: clamp(24px, 4vw, 58px);
  max-width: var(--refido-product-max);
  padding: 0 clamp(18px, 3vw, 42px) 18px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(111, 80, 56, .18);
  white-space: nowrap;
  scrollbar-width: none;
}
.refido-product-sections__inner::-webkit-scrollbar { display: none; }
.refido-product-sections__inner a {
  position: relative;
  padding: 14px 0 10px;
  color: #776653;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.refido-product-sections__inner a:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 2px;
  background: var(--refido-brown);
}

/* Description + facts: wide readable two-column composition. */
.refido-product-story {
  padding: 44px 0 76px;
  background: var(--refido-warm-white);
}
.refido-product-story__container {
  max-width: var(--refido-product-max);
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
  gap: clamp(46px, 6vw, 90px);
  padding-left: clamp(18px, 3vw, 42px);
  padding-right: clamp(18px, 3vw, 42px);
}
.refido-product-story__main,
.refido-product-story__main.editor {
  grid-column: 1;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  transform: none !important;
}
.refido-product-story__main > h2 {
  display: none;
}
.refido-product-description {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
}
.refido-product-description h2,
.refido-product-description h3 {
  margin-top: 38px;
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}
.refido-product-facts {
  grid-column: 2;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 28px 30px;
  float: none !important;
  border: 1px solid rgba(111, 80, 56, .16);
  background: rgba(255,255,255,.42);
  box-shadow: none;
}
.refido-product-facts > h2 {
  display: none;
}
.refido-product-facts dl > div {
  grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
}
.refido-product-facts dd {
  text-align: left;
}
.refido-product-extra {
  padding: 0 0 64px;
  background: var(--refido-warm-white);
}
.refido-product-extra .container-fluid {
  max-width: var(--refido-product-max);
  padding-left: clamp(18px, 3vw, 42px);
  padding-right: clamp(18px, 3vw, 42px);
}
.refido-product-extra__item,
.refido-product-extra__item.editor {
  width: auto !important;
  max-width: 920px !important;
  margin: 0 !important;
  padding: 42px 0;
  float: none !important;
  border-top: 1px solid rgba(111, 80, 56, .18);
  border-bottom: 0;
}

@media (max-width: 991px) {
  .refido-product-card { position: static; padding-top: 30px; }
  .refido-product-page .sku__slides-item,
  .refido-product-page .sku__slides-item img { min-height: 440px; }
  .refido-product-story__container {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .refido-product-story__main,
  .refido-product-facts { grid-column: 1; }
}

@media (max-width: 575px) {
  .refido-product-hero { padding-top: 10px; }
  .refido-product-page .sku__slides-item,
  .refido-product-page .sku__slides-item img {
    min-height: 350px;
    max-height: 480px;
  }
  .refido-product-page .sku__thumbs-item,
  .refido-product-page .sku__thumbs-video {
    flex-basis: 84px;
    width: 84px;
    height: 72px;
  }
  .refido-product-page .refido-product-title h1 {
    font-size: clamp(34px, 11vw, 46px);
  }
  .refido-product-page .refido-purchase-actions > .sku__action > .row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
  }
  .refido-product-sections__inner {
    gap: 26px;
  }
  .refido-product-story {
    padding-top: 32px;
  }
  .refido-product-facts {
    padding: 22px 18px;
  }
  .refido-product-facts dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}


/* ==========================================================================\n   REFIDO Product Page 0.1.2 — tea variants and editorial type correction\n   ========================================================================== */
.refido-product-page .refido-product-title h1 {
  max-width: 560px;
  font-size: clamp(36px, 3.25vw, 52px);
  line-height: 1.02;
  letter-spacing: -.025em;
}

.refido-product-page .refido-product-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}
.refido-product-page .refido-price-for-weight {
  color: var(--refido-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* Weight is a choice, not a generic system select. The original select remains
   in the form for OpenCart validation and cart compatibility. */
.refido-product-page .refido-weight-option .ui-field {
  overflow: visible;
}
.refido-product-page .refido-weight-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.refido-weight-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  max-width: 500px;
}
.refido-weight-choice {
  display: flex;
  min-width: 0;
  min-height: 58px;
  padding: 9px 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(111, 80, 56, .20);
  background: rgba(255,255,255,.34);
  color: var(--refido-ink);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.refido-weight-choice:hover {
  border-color: rgba(111, 80, 56, .52);
}
.refido-weight-choice.is-selected {
  border-color: var(--refido-brown);
  background: rgba(160, 120, 84, .08);
  box-shadow: inset 0 0 0 1px var(--refido-brown);
}
.refido-weight-choice:focus-visible {
  outline: 2px solid var(--refido-focus, #806a56);
  outline-offset: 3px;
}
.refido-weight-choice__name {
  font-size: 14px;
  line-height: 1.2;
}
.refido-weight-choice__price {
  color: var(--refido-muted);
  font-size: 11px;
  line-height: 1.2;
}

/* Purchase controls should support the page rather than dominate it. */
.refido-product-page .refido-purchase-actions > .sku__action > .row {
  grid-template-columns: 108px minmax(210px, 276px);
  justify-content: start;
  gap: 12px;
}
.refido-product-page .ui-number,
.refido-product-page .btn--cart,
.refido-product-page .btn--dashed {
  min-height: 50px;
}
.refido-product-page .btn--cart,
.refido-product-page .btn--dashed {
  width: 100%;
  padding-left: 22px;
  padding-right: 22px;
  letter-spacing: .075em;
}
.refido-product-page .btn--dashed {
  margin-top: 9px;
}

/* The model/SEO slug is intentionally not displayed in the purchase panel. */
.refido-product-page .refido-product-meta {
  display: none !important;
}

/* Description hierarchy: the story introduction has presence; internal
   headings remain editorial but no longer overpower the text. */
.refido-product-description {
  font-size: 16.5px;
  line-height: 1.78;
}
.refido-product-description > p:first-child,
.refido-product-description > p:first-child strong,
.refido-product-description > strong:first-child {
  font-size: 18px;
  line-height: 1.65;
}
.refido-product-description h2,
.refido-product-description h3 {
  margin-top: 32px;
  margin-bottom: 14px;
  font-size: clamp(25px, 2.15vw, 32px);
  line-height: 1.18;
  letter-spacing: -.015em;
}

@media (max-width: 767px) {
  .refido-weight-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .refido-product-page .refido-purchase-actions > .sku__action > .row {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .refido-product-page .refido-product-title h1 {
    font-size: clamp(32px, 10vw, 40px);
  }
}


/* ==========================================================================\n   REFIDO Product Page 0.1.3 — option stock, typography and action alignment\n   ========================================================================== */
.refido-product-page .refido-product-title h1 {
  max-width: 520px;
  font-size: clamp(32px, 2.55vw, 44px);
  line-height: 1.04;
  letter-spacing: -.022em;
}
.refido-product-description {
  font-size: 15.5px;
  line-height: 1.76;
}
.refido-product-description > p:first-child,
.refido-product-description > p:first-child strong,
.refido-product-description > strong:first-child {
  font-size: 16.5px;
  line-height: 1.68;
}
.refido-product-description h2,
.refido-product-description h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: clamp(22px, 1.8vw, 27px);
  line-height: 1.2;
}
.refido-weight-choice {
  min-height: 68px;
}
.refido-weight-choice__stock {
  color: var(--refido-sage);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}
.refido-weight-choice.is-unavailable {
  opacity: .48;
  cursor: not-allowed;
  text-decoration: none;
}
.refido-weight-choice.is-unavailable .refido-weight-choice__stock {
  color: var(--refido-muted);
}
.refido-product-page .refido-purchase-actions .sku__action-buttons > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin: 0;
}
.refido-product-page .refido-purchase-actions .sku__action-buttons > .row > .col-auto {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
}
.refido-product-page .refido-purchase-actions .btn--cart,
.refido-product-page .refido-purchase-actions .btn--dashed {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}
.refido-product-page .refido-purchase-actions .btn--dashed {
  margin-top: 0;
}
@media (max-width: 767px) {
  .refido-product-page .refido-product-title h1 {
    font-size: clamp(30px, 9vw, 38px);
  }
  .refido-product-description {
    font-size: 15px;
  }
}

/* ==========================================================================\n   REFIDO Product Page 0.1.4 — unified typography\n   ========================================================================== */
/* One typeface across the complete product page. The page inherits the same
   sans-serif family used by the introductory product sentence; hierarchy is
   created only through size, weight and spacing. */
.refido-product-page,
.refido-product-page button,
.refido-product-page input,
.refido-product-page select,
.refido-product-page textarea {
  font-family: inherit !important;
}

.refido-product-page h1,
.refido-product-page h2,
.refido-product-page h3,
.refido-product-page h4,
.refido-product-page h5,
.refido-product-page h6,
.refido-product-page .sku__price,
.refido-product-page .products__heading,
.refido-product-page .refido-product-story h2,
.refido-product-page .refido-product-extra h2,
.refido-product-page .refido-product-description h2,
.refido-product-page .refido-product-description h3 {
  font-family: inherit !important;
}

.refido-product-page .refido-product-title h1,
.refido-product-page .sku__heading h1 {
  max-width: 540px;
  font-size: clamp(30px, 2.25vw, 38px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -.018em;
}

.refido-product-page .sku__price {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.012em;
}

.refido-product-description,
.refido-product-facts,
.refido-product-extra {
  font-family: inherit !important;
}

.refido-product-description {
  font-size: 15.5px;
  line-height: 1.76;
  font-weight: 400;
}

.refido-product-description > p:first-child,
.refido-product-description > p:first-child strong,
.refido-product-description > strong:first-child {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}

.refido-product-description h2,
.refido-product-description h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0;
}

.refido-product-facts h2,
.refido-product-facts h3,
.refido-product-extra h2,
.refido-product-extra h3 {
  font-family: inherit !important;
  font-weight: 600;
  letter-spacing: 0;
}

.refido-product-page .refido-product-eyebrow,
.refido-product-page .refido-section-kicker,
.refido-product-page .ui-label,
.refido-product-page .btn,
.refido-product-page .refido-weight-choice {
  font-family: inherit !important;
}

@media (max-width: 575px) {
  .refido-product-page .refido-product-title h1,
  .refido-product-page .sku__heading h1 {
    font-size: clamp(28px, 8vw, 34px);
  }
}

/* ==========================================================================\n   REFIDO Product Page 0.1.5 — equal section heading size\n   ========================================================================== */
/* The introductory product line and all content section headings use exactly
   the same size, line height and weight. */
.refido-product-page .refido-product-description > p:first-child,
.refido-product-page .refido-product-description > p:first-child strong,
.refido-product-page .refido-product-description > strong:first-child,
.refido-product-page .refido-product-description h2,
.refido-product-page .refido-product-description h3 {
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.refido-product-page .refido-product-description h2,
.refido-product-page .refido-product-description h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

/* ==========================================================================\n   REFIDO Product Page 0.1.6 — editorial content composition\n   ========================================================================== */
/* The former pseudo-tabs are removed from Twig. Product details remain visible
   immediately, so no inactive navigation element can confuse the customer. */
.refido-product-page .refido-product-sections {
  display: none !important;
}

.refido-product-page .refido-product-story {
  padding-top: 64px;
}

.refido-product-page .refido-product-story__main {
  min-width: 0;
}

.refido-product-page .refido-description-layout {
  display: block;
}

.refido-product-page .refido-story-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.refido-product-page .refido-story-intro > :first-child {
  margin-top: 0;
}

.refido-product-page .refido-story-intro > :last-child {
  margin-bottom: 0;
}

.refido-product-page .refido-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 34px;
  padding-top: 30px;
  border-top: 1px solid var(--refido-line);
}

.refido-product-page .refido-story-card {
  min-width: 0;
  padding: 0 0 26px;
}

.refido-product-page .refido-story-card h2,
.refido-product-page .refido-story-card h3,
.refido-product-page .refido-story-card h4 {
  position: relative;
  margin: 0 0 13px;
  padding-left: 22px;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.refido-product-page .refido-story-card h2::before,
.refido-product-page .refido-story-card h3::before,
.refido-product-page .refido-story-card h4::before {
  content: '';
  position: absolute;
  top: .42em;
  left: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--refido-clay-dark);
  border-radius: 50%;
  opacity: .72;
}

.refido-product-page .refido-story-card p,
.refido-product-page .refido-story-card li {
  font-size: 15px;
  line-height: 1.72;
}

.refido-product-page .refido-story-card p {
  margin: 0 0 10px;
}

.refido-product-page .refido-story-card p:last-child,
.refido-product-page .refido-story-card ul:last-child,
.refido-product-page .refido-story-card ol:last-child {
  margin-bottom: 0;
}

.refido-product-page .refido-story-card--occasion {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--refido-line);
}

.refido-product-page .refido-story-card--occasion p,
.refido-product-page .refido-story-card--occasion ul,
.refido-product-page .refido-story-card--occasion ol {
  max-width: 760px;
}

/* The facts panel is already visible alongside the description; it no longer
   needs a separate large "Характеристики" heading. */
.refido-product-page .refido-product-facts > h2 {
  display: none;
}

@media (max-width: 1199px) {
  .refido-product-page .refido-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .refido-product-page .refido-story-card--occasion {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .refido-product-page .refido-product-story {
    padding-top: 44px;
  }

  .refido-product-page .refido-story-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 24px;
  }

  .refido-product-page .refido-story-card,
  .refido-product-page .refido-story-card--occasion {
    grid-column: auto;
    padding: 0 0 22px;
    margin: 0 0 22px;
    border-top: 0;
    border-bottom: 1px solid var(--refido-line);
  }

  .refido-product-page .refido-story-card:last-child {
    margin-bottom: 0;
    border-bottom: 0;
  }
}


/* ==========================================================================
   REFIDO Product Page 0.1.7 — visual ingredient composition
   ========================================================================== */
.refido-product-page .refido-story-card--composition {
  overflow: visible;
}

.refido-product-page .refido-story-card--composition .refido-composition-copy {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.refido-product-page .refido-ingredients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
  margin-top: 2px;
}

.refido-product-page .refido-ingredient {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.refido-product-page .refido-ingredient__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #efe4d2;
  border: 1px solid rgba(128, 106, 86, .14);
}

.refido-product-page .refido-ingredient__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refido-product-page .refido-ingredient__name {
  margin-top: 8px;
  color: var(--refido-ink);
  font-family: inherit !important;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
}

@media (max-width: 1199px) {
  .refido-product-page .refido-story-card--composition .refido-ingredients {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .refido-product-page .refido-story-card--composition .refido-ingredients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .refido-product-page .refido-ingredient__name {
    font-size: 11px;
  }
}


/* ==========================================================================\n   REFIDO Product Page 0.1.8 — ingredient cards and ingredient navigation\n   ========================================================================== */
@media (min-width: 1200px) {
  .refido-product-page .refido-story-grid {
    grid-template-columns: minmax(0, .95fr) minmax(250px, 1.2fr) minmax(0, .95fr);
  }
}

.refido-product-page .refido-story-card--composition h2,
.refido-product-page .refido-story-card--composition h3,
.refido-product-page .refido-story-card--composition h4 {
  margin-bottom: 16px;
}

.refido-product-page .refido-ingredients {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 0;
}

.refido-product-page .refido-ingredient {
  display: block;
  min-width: 0;
  color: inherit;
  text-align: center;
  text-decoration: none !important;
  outline: none;
}

.refido-product-page .refido-ingredient__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 124px;
  margin: 0 auto;
  padding: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #efe4d2;
  border: 1px solid rgba(128, 106, 86, .14);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}

.refido-product-page .refido-ingredient__image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.refido-product-page .refido-ingredient__name {
  display: block;
  min-height: 2.7em;
  margin-top: 10px;
  color: var(--refido-ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  transition: color .22s ease;
}

.refido-product-page .refido-ingredient:hover .refido-ingredient__image,
.refido-product-page .refido-ingredient:focus-visible .refido-ingredient__image {
  transform: translateY(-3px);
  background: #f5ecde;
  border-color: rgba(128, 106, 86, .34);
  box-shadow: 0 12px 28px rgba(70, 58, 45, .10);
}

.refido-product-page .refido-ingredient:hover .refido-ingredient__name,
.refido-product-page .refido-ingredient:focus-visible .refido-ingredient__name {
  color: var(--refido-clay-dark);
}

.refido-product-page .refido-ingredient:focus-visible {
  outline: 2px solid var(--refido-clay-dark);
  outline-offset: 5px;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .refido-product-page .refido-story-card--composition .refido-ingredients {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .refido-product-page .refido-ingredient__image {
    max-width: 118px;
  }
}

@media (max-width: 575px) {
  .refido-product-page .refido-story-card--composition .refido-ingredients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .refido-product-page .refido-ingredient__image {
    max-width: 132px;
  }

  .refido-product-page .refido-ingredient__name {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refido-product-page .refido-ingredient__image,
  .refido-product-page .refido-ingredient__name {
    transition: none;
  }
}


/* ==========================================================================
   REFIDO Product Page 0.1.9 — editorial section headings
   ========================================================================== */

/* Заголовки смысловых блоков оформлены как в спокойной журнальной верстке:
   без кружков, чек-маркеров и декоративных пиктограмм. */
.refido-product-page .refido-story-card h2,
.refido-product-page .refido-story-card h3,
.refido-product-page .refido-story-card h4 {
  position: relative;
  margin: 0 0 18px;
  padding: 0 0 11px;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: var(--refido-ink);
}

.refido-product-page .refido-story-card h2::before,
.refido-product-page .refido-story-card h3::before,
.refido-product-page .refido-story-card h4::before {
  content: none !important;
  display: none !important;
}

.refido-product-page .refido-story-card h2::after,
.refido-product-page .refido-story-card h3::after,
.refido-product-page .refido-story-card h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 1px;
  background: var(--refido-clay-dark);
  opacity: .72;
}

.refido-product-page .refido-story-card--occasion {
  padding-top: 28px;
}

.refido-product-page .refido-story-card--occasion h2,
.refido-product-page .refido-story-card--occasion h3,
.refido-product-page .refido-story-card--occasion h4 {
  max-width: 760px;
}

@media (max-width: 767px) {
  .refido-product-page .refido-story-card h2,
  .refido-product-page .refido-story-card h3,
  .refido-product-page .refido-story-card h4 {
    margin-bottom: 15px;
    padding-bottom: 9px;
  }
}


/* ==========================================================================
   REFIDO Product Page 0.2.0 — Hero refinement and stock-aware quantity
   ========================================================================== */
.refido-product-page .refido-product-card {
  padding-top: 30px;
}
.refido-product-page .sku__heading h1 {
  max-width: 520px;
  font-size: clamp(28px, 2.35vw, 38px) !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
  letter-spacing: -.025em !important;
}
.refido-product-page .refido-product-price-block {
  margin-top: 22px;
}
.refido-product-page .sku__price {
  font-size: clamp(25px, 2vw, 31px) !important;
  line-height: 1.1;
}
.refido-product-page .refido-price-for-weight {
  margin-left: 10px;
  font-size: 11px;
}
.refido-product-page .refido-product-availability {
  margin-top: 14px;
}
.refido-product-page .sku__settings {
  margin-top: 25px;
  padding-top: 25px;
}
.refido-product-page .refido-weight-picker {
  gap: 7px;
}
.refido-product-page .refido-weight-choice {
  min-height: 58px;
  padding: 8px 7px;
}
.refido-product-page .refido-purchase-actions {
  margin-top: 24px;
  padding-top: 24px;
}
.refido-product-page [data-refido-quantity] {
  max-width: 82px;
}
.refido-product-page .jq-number__spin.is-disabled {
  opacity: .28;
  cursor: not-allowed;
  pointer-events: none;
}
.refido-product-page [data-refido-quantity]:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.refido-product-page .refido-purchase-actions .btn--cart,
.refido-product-page .refido-purchase-actions .btn--dashed {
  min-height: 48px;
}

@media (max-width: 575px) {
  .refido-product-page .sku__heading h1 {
    font-size: clamp(27px, 8.2vw, 34px) !important;
  }
  .refido-product-page .refido-weight-choice {
    min-height: 56px;
  }
}


/* ==========================================================================
   REFIDO Product Gallery 0.3.0
   Editorial product gallery while preserving Technics slider functionality.
   ========================================================================== */

.refido-product-page .refido-gallery {
  position: relative;
  isolation: isolate;
}

/* Main image is presented as a photograph, not as a marketplace card. */
.refido-product-page .refido-gallery .sku__slides {
  position: relative;
  border: 0;
  background: #f4efe7;
  box-shadow: none;
}

.refido-product-page .refido-gallery .sku__slides-item {
  position: relative;
  overflow: hidden;
  background: #f4efe7;
}

.refido-product-page .refido-gallery .sku__slides-item img {
  transition: transform 900ms cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* Existing Technics actions remain in the top-right corner. */
.refido-product-page .refido-gallery .sku__buttons {
  top: 18px;
  right: 18px;
  z-index: 8;
}

.refido-product-page .refido-gallery .btn--blog {
  display: none !important;
}

.refido-product-page .refido-gallery .btn--like {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Calm slide counter. */
.refido-gallery-counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 7;
  min-width: 54px;
  padding: 8px 11px;
  border: 1px solid rgba(111, 80, 56, .14);
  background: rgba(251, 248, 243, .88);
  color: var(--refido-ink);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .08em;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.refido-gallery-counter[hidden] {
  display: none !important;
}

/* Desktop: vertical film strip to the left of the main photograph. */
@media (min-width: 992px) {
  .refido-product-page .refido-gallery {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
  }

  .refido-product-page .refido-gallery .sku__slides {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }

  .refido-product-page .refido-gallery .sku__slides-item,
  .refido-product-page .refido-gallery .sku__slides-item img {
    min-height: clamp(540px, 52vw, 710px);
  }

  .refido-product-page .refido-gallery .sku__thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex !important;
    flex-direction: column;
    align-self: stretch;
    gap: 10px;
    width: 82px;
    max-height: 710px;
    margin: 0;
    padding: 0 3px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(111, 80, 56, .28) transparent;
  }

  /* Technics initialises thumbnails as Slick. On desktop we use the same
     slides as a scrollable vertical film strip without breaking click sync. */
  .refido-product-page .refido-gallery .sku__thumbs.slick-initialized .slick-list {
    height: auto !important;
    overflow: visible;
  }

  .refido-product-page .refido-gallery .sku__thumbs.slick-initialized .slick-track {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .refido-product-page .refido-gallery .sku__thumbs.slick-initialized .slick-slide {
    display: block;
    float: none;
    width: 78px !important;
    height: 88px;
  }

  .refido-product-page .refido-gallery .sku__thumbs-item,
  .refido-product-page .refido-gallery .sku__thumbs-video {
    flex: 0 0 88px;
    width: 78px;
    height: 88px;
    border-color: transparent;
    background: #f4efe7;
    cursor: pointer;
    opacity: .68;
    transition:
      opacity 220ms ease,
      border-color 220ms ease,
      transform 220ms ease;
  }

  .refido-product-page .refido-gallery .sku__thumbs-item:hover,
  .refido-product-page .refido-gallery .sku__thumbs-video:hover,
  .refido-product-page .refido-gallery .slick-current .sku__thumbs-item,
  .refido-product-page .refido-gallery .slick-current.sku__thumbs-item,
  .refido-product-page .refido-gallery .slick-active.slick-current {
    opacity: 1;
    border-color: var(--refido-clay-dark);
  }

  .refido-product-page .refido-gallery .sku__thumbs-item:focus-visible,
  .refido-product-page .refido-gallery .sku__thumbs-video:focus-visible {
    outline: 2px solid var(--refido-focus, #806a56);
    outline-offset: 2px;
  }

  .refido-product-page .refido-gallery .sku__stickers {
    left: 100px;
  }

  .refido-product-page .refido-gallery .sku__buttons {
    right: 18px;
  }

  .refido-product-page .refido-gallery .refido-gallery-counter {
    right: 18px;
  }
}

/* A very restrained hover movement on devices that actually support hover.
   EzPlus items are excluded to avoid interfering with its zoom lens. */
@media (hover: hover) and (pointer: fine) {
  .refido-product-page .refido-gallery
  .sku__slides-item:not(.sku__slides-item--ezplus):hover img {
    transform: scale(1.018);
  }
}

/* Tablet/mobile: thumbnails return to a horizontal swipeable rail. */
@media (max-width: 991px) {
  .refido-product-page .refido-gallery {
    display: block;
  }

  .refido-product-page .refido-gallery .sku__thumbs {
    display: flex !important;
    flex-direction: row;
    gap: 10px;
    margin-top: 12px;
    padding-bottom: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
  }

  .refido-product-page .refido-gallery .sku__thumbs-item,
  .refido-product-page .refido-gallery .sku__thumbs-video {
    scroll-snap-align: start;
    opacity: .82;
  }
}

@media (max-width: 575px) {
  .refido-gallery-counter {
    right: 12px;
    bottom: 12px;
    padding: 7px 9px;
  }

  .refido-product-page .refido-gallery .sku__buttons {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refido-product-page .refido-gallery .sku__slides-item img,
  .refido-product-page .refido-gallery .sku__thumbs-item,
  .refido-product-page .refido-gallery .sku__thumbs-video {
    transition: none !important;
  }
}


/* ==========================================================================
   REFIDO Product Page 0.3.1 — structured two-line product title
   ========================================================================== */

.refido-product-page .refido-product-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 560px;
  margin: 0 0 20px;
  font-family: inherit !important;
  color: var(--refido-ink);
  letter-spacing: 0;
}

.refido-product-page .refido-product-title__type,
.refido-product-page .refido-product-title__name {
  display: block;
  max-width: 100%;
  font-family: inherit !important;
  overflow-wrap: anywhere;
}

.refido-product-page .refido-product-title__type {
  font-size: clamp(28px, 2.35vw, 38px);
  line-height: 1.08;
  font-weight: 600;
}

.refido-product-page .refido-product-title__name {
  font-size: clamp(27px, 2.2vw, 36px);
  line-height: 1.08;
  font-weight: 500;
}

.refido-product-page .refido-product-title--single .refido-product-title__type {
  font-size: clamp(28px, 2.35vw, 38px);
}

/* Disable legacy heading rules so the new controlled layout wins. */
.refido-product-page .sku__heading h1.refido-product-title {
  display: flex !important;
  margin-bottom: 20px !important;
  font-size: inherit !important;
  line-height: normal !important;
}

@media (max-width: 991px) {
  .refido-product-page .refido-product-title {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .refido-product-page .refido-product-title__type {
    font-size: clamp(27px, 5vw, 34px);
  }

  .refido-product-page .refido-product-title__name {
    font-size: clamp(26px, 4.8vw, 33px);
  }
}

@media (max-width: 575px) {
  .refido-product-page .refido-product-title {
    gap: 3px;
    margin-bottom: 16px;
  }

  .refido-product-page .refido-product-title__type {
    font-size: clamp(25px, 8vw, 31px);
  }

  .refido-product-page .refido-product-title__name {
    font-size: clamp(24px, 7.6vw, 30px);
  }
}


/* ==========================================================================
   REFIDO Product Editor 1.0.0 — universal product content
   ========================================================================== */

.refido-product-page .refido-product-subtitle {
  max-width: 520px;
  margin: -8px 0 22px;
  color: var(--refido-muted);
  font-size: 15px;
  line-height: 1.65;
}

.refido-product-editor-content {
  grid-column: 1 / -1;
  margin-bottom: 54px;
}

.refido-editor-story-grid {
  display: grid;
  gap: 36px;
}

.refido-editor-story-block {
  display: grid;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--refido-line);
}

.refido-editor-story-block--image-left,
.refido-editor-story-block--image-right {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
}

.refido-editor-story-block--image-right .refido-editor-story-block__image {
  order: 2;
}

.refido-editor-story-block__image {
  overflow: hidden;
  background: #f0e9de;
}

.refido-editor-story-block__image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
}

.refido-editor-story-block h2,
.refido-editor-elements h2 {
  margin: 0 0 16px;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 600;
}

.refido-editor-story-block__text {
  color: var(--refido-ink);
  font-size: 15px;
  line-height: 1.8;
}

.refido-editor-story-block__text > :last-child {
  margin-bottom: 0;
}

.refido-editor-elements {
  padding-top: 32px;
  border-top: 1px solid var(--refido-line);
}

.refido-editor-elements__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 18px;
}

.refido-editor-element {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.refido-editor-element__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--refido-line);
  background: #efe6d7;
}

.refido-editor-element__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.refido-editor-element__name {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.refido-editor-element__description {
  margin-top: 4px;
  color: var(--refido-muted);
  font-size: 12px;
  line-height: 1.5;
}

a.refido-editor-element:hover {
  color: var(--refido-clay-dark);
}

@media (max-width: 767px) {
  .refido-editor-story-block--image-left,
  .refido-editor-story-block--image-right {
    grid-template-columns: 1fr;
  }

  .refido-editor-story-block--image-right .refido-editor-story-block__image {
    order: 0;
  }

  .refido-editor-elements__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================================
   REFIDO Product Editor 4.0.8 — editorial product content
   ========================================================================== */
.refido-product-story__container:has(.refido-product-editor-content) {
  align-items: start;
}
.refido-product-editor-content {
  grid-column: 1;
  min-width: 0;
  margin: 0;
}
.refido-product-editor-content + .refido-product-facts {
  grid-column: 2;
  position: sticky;
  top: calc(var(--refido-header-offset, 96px) + 20px);
}
.refido-editor-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 34px;
  border-top: 1px solid var(--refido-line);
}
.refido-editor-story-block {
  display: block;
  min-width: 0;
  padding: 26px 0 30px;
  border-top: 0;
  border-bottom: 1px solid var(--refido-line);
}
.refido-editor-story-block:nth-child(4),
.refido-editor-story-block--image-left,
.refido-editor-story-block--image-right {
  grid-column: 1 / -1;
}
.refido-editor-story-block:nth-child(4) {
  padding-top: 28px;
}
.refido-editor-story-block--image-left,
.refido-editor-story-block--image-right {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: center;
}
.refido-editor-story-block h2,
.refido-editor-elements h2 {
  position: relative;
  margin: 0 0 17px;
  padding-bottom: 12px;
  font-family: inherit;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 650;
}
.refido-editor-story-block h2::after,
.refido-editor-elements h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: var(--refido-clay-dark);
}
.refido-editor-story-block__text {
  max-width: 660px;
  font-size: 15px;
  line-height: 1.78;
}
.refido-editor-story-block__text {
  white-space: pre-line;
}
.refido-editor-elements {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--refido-line);
}
.refido-editor-elements__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.refido-editor-element__image {
  margin-bottom: 12px;
  border: 0;
  background: #efe6d7;
}
.refido-editor-element__name {
  font-size: 13px;
}
.refido-editor-element__description {
  max-width: 240px;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 1199px) {
  .refido-editor-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refido-editor-story-block:nth-child(4) { grid-column: 1 / -1; }
  .refido-editor-elements__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .refido-product-editor-content { grid-column: 1; }
  .refido-product-editor-content + .refido-product-facts {
    grid-column: 1;
    position: static;
  }
}
@media (max-width: 767px) {
  .refido-editor-story-grid { grid-template-columns: 1fr; gap: 0; }
  .refido-editor-story-block,
  .refido-editor-story-block:nth-child(4) { grid-column: 1; }
  .refido-editor-story-block--image-left,
  .refido-editor-story-block--image-right { grid-template-columns: 1fr; gap: 20px; }
  .refido-editor-elements__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}


/* ==========================================================================
   REFIDO Product Editor 4.0.9 — ingredient order and quiet gallery cards
   ========================================================================== */
.refido-product-page .refido-editor-story-grid--main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}
.refido-product-page .refido-editor-story-grid--occasion {
  display: block;
  margin-top: 44px;
  border-top: 1px solid var(--refido-line);
}
.refido-product-page .refido-editor-story-block--occasion {
  max-width: 760px;
  padding-top: 30px;
  border-bottom: 0;
}
.refido-product-page .refido-editor-elements--ingredients {
  margin-top: 44px;
  padding: 32px 0 38px;
  border-top: 1px solid var(--refido-line);
  border-bottom: 1px solid var(--refido-line);
}
.refido-product-page .refido-editor-elements--ingredients .refido-editor-elements__grid {
  grid-template-columns: repeat(4, minmax(0, 154px));
  justify-content: start;
  gap: 24px 20px;
}
.refido-product-page .refido-editor-elements--ingredients .refido-editor-element {
  min-width: 0;
}
.refido-product-page .refido-editor-elements--ingredients .refido-editor-element__image {
  width: 100%;
  max-width: 154px;
  margin: 0 0 13px;
  padding: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(128, 106, 86, .22);
  background: #f1e8da;
  box-shadow: none;
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.refido-product-page .refido-editor-elements--ingredients .refido-editor-element__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.refido-product-page .refido-editor-elements--ingredients .refido-editor-element:hover .refido-editor-element__image {
  transform: translateY(-2px);
  border-color: rgba(128, 106, 86, .42);
  box-shadow: 0 12px 28px rgba(70, 58, 45, .09);
}
.refido-product-page .refido-editor-elements--ingredients .refido-editor-element:hover .refido-editor-element__image img {
  transform: scale(1.075);
}
.refido-product-page .refido-editor-elements--ingredients .refido-editor-element__name {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}
.refido-product-page .refido-editor-elements--ingredients .refido-editor-element__description {
  display: block;
  max-width: 154px;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.48;
}
@media (max-width: 1199px) {
  .refido-product-page .refido-editor-elements--ingredients .refido-editor-elements__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .refido-product-page .refido-editor-story-grid--main { grid-template-columns: 1fr; gap: 0; }
  .refido-product-page .refido-editor-elements--ingredients { margin-top: 28px; padding: 28px 0 32px; }
  .refido-product-page .refido-editor-elements--ingredients .refido-editor-elements__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }
  .refido-product-page .refido-editor-elements--ingredients .refido-editor-element__image,
  .refido-product-page .refido-editor-elements--ingredients .refido-editor-element__description {
    max-width: none;
  }
  .refido-product-page .refido-editor-story-grid--occasion { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .refido-product-page .refido-editor-elements--ingredients .refido-editor-element__image,
  .refido-product-page .refido-editor-elements--ingredients .refido-editor-element__image img {
    transition: none;
  }
}

/* ==========================================================================
   REFIDO Product Gallery 0.3.3
   Remove the artificial frame around 4:5 product photography. The image keeps
   its natural proportions and the slide follows the image height.
   ========================================================================== */

.refido-product-page .refido-gallery .sku__slides,
.refido-product-page .refido-gallery .sku__slides-item,
.refido-product-page .refido-gallery .sku__slides-item > img,
.refido-product-page .refido-gallery .sku__slides-item > a > img,
.refido-product-page .refido-gallery .sku__slides-item img {
  min-height: 0 !important;
  background: transparent !important;
}

.refido-product-page .refido-gallery .sku__slides {
  height: auto !important;
  border: 0 !important;
  box-shadow: none !important;
}

.refido-product-page .refido-gallery .sku__slides .slick-list,
.refido-product-page .refido-gallery .sku__slides .slick-track,
.refido-product-page .refido-gallery .sku__slides .slick-slide,
.refido-product-page .refido-gallery .sku__slides .slick-slide > div {
  height: auto !important;
  min-height: 0 !important;
}

.refido-product-page .refido-gallery .sku__slides-item img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  margin: 0 !important;
}

.refido-product-page .refido-gallery .sku__thumbs-item.is-active,
.refido-product-page .refido-gallery .sku__thumbs-video.is-active {
  opacity: 1;
  border-color: var(--refido-clay-dark);
}
