/* Royal Smoke — pages 2: cart, checkout, auth, legal */
/* ——— Cart / checkout / auth ——— */
.rs-cart,
.rs-checkout,
.rs-auth,
.rs-service-page {
  padding-block: 28px 72px;
}

.rs-cart__summary,
.rs-checkout__summary {
  margin-top: 28px;
  padding: 22px;
  background: var(--rs-bark-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rs-cart__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.rs-cart__issues {
  list-style: none;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(201, 154, 68, 0.35);
  background: rgba(20, 17, 15, 0.55);
  color: var(--rs-seashell, #fcf2ee);
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
}

.rs-cart__issue + .rs-cart__issue {
  margin-top: 8px;
}

@media (max-width: 1024px) {
  .rs-cart__issues {
    margin-bottom: 16px;
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .rs-cart__issues {
    margin-bottom: 14px;
    padding: 12px;
    font-size: 13px;
  }
}

@supports (-webkit-touch-callout: none) {
  .rs-cart__issues {
    -webkit-text-size-adjust: 100%;
  }
}

.rs-cart__row--total {
  padding-top: 12px;
  border-top: 1px solid var(--rs-hairline);
  font-family: var(--rs-font-display);
  font-weight: var(--rs-weight-sub);
  font-size: 22px;
}

.rs-auth__card {
  max-width: 480px;
  margin-inline: auto;
}

.rs-auth__title {
  font-family: var(--rs-font-display);
  font-weight: var(--rs-weight-display);
  font-size: 32px;
  margin-bottom: 8px;
}

.rs-auth__switch {
  margin-top: 20px;
  color: var(--rs-text-muted);
  font-size: 14px;
}

.rs-auth__switch a {
  color: var(--rs-seashell);
  border-bottom: 1px solid var(--rs-gold);
}

.rs-cabinet__grid {
  display: grid;
  gap: 16px;
}

.rs-cabinet__item {
  padding: 20px;
  background: var(--rs-bark-light);
  border: 1px solid var(--rs-hairline);
}

.rs-cabinet__item h3 {
  font-family: var(--rs-font-display);
  font-weight: var(--rs-weight-sub);
  font-size: 20px;
  margin-bottom: 8px;
}

.rs-thank {
  text-align: center;
  padding: 64px var(--rs-pad-x);
}

.rs-thank h1 {
  font-family: var(--rs-font-display);
  font-weight: var(--rs-weight-display);
  font-size: 36px;
  margin-bottom: 14px;
}

.rs-thank p {
  color: var(--rs-text-muted);
  margin-bottom: 28px;
}

.rs-legal,
.rs-faq {
  max-width: 720px;
}

.rs-legal h2,
.rs-faq h2 {
  font-family: var(--rs-font-display);
  font-weight: var(--rs-weight-sub);
  font-size: 24px;
  margin: 28px 0 12px;
}

.rs-legal h2 {
  color: var(--rs-gold);
}

.rs-legal h3 {
  font-family: var(--rs-font-display);
  font-size: 18px;
  font-weight: var(--rs-weight-sub);
  margin: 20px 0 8px;
}

.rs-legal p,
.rs-faq p,
.rs-faq dd {
  color: var(--rs-text-muted);
  line-height: 1.65;
}

.rs-legal ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  color: var(--rs-text-muted);
  line-height: 1.65;
}

.rs-legal li + li {
  margin-top: 8px;
}

.rs-faq details {
  border-bottom: 1px solid var(--rs-hairline);
  padding: 16px 0;
}

.rs-faq summary {
  font-family: var(--rs-font-display);
  font-weight: var(--rs-weight-sub);
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}

.rs-faq summary::-webkit-details-marker {
  display: none;
}

.rs-faq details p {
  margin-top: 10px;
}

@media (max-width: 767px) {
  .rs-hero__thumb {
    --rs-thumb-size: 80px;
    --rs-thumb-peek: 0px;
    width: var(--rs-thumb-size);
    height: var(--rs-thumb-size);
    /* Same column as FAB (52px @ right 16px) — centered on stack */
    right: calc(16px + (52px - var(--rs-thumb-size)) / 2 + var(--rs-safe-r, 0px));
    /* Above call: chat 52 + gap 10 + call 52 + gap 12 */
    bottom: calc(16px + 52px + 10px + 52px + 12px + var(--rs-safe-b, 0px));
    border-width: 1.5px;
    box-shadow:
      0 8px 20px rgba(0, 0, 0, 0.38),
      inset 0 0 0 1px rgba(0, 0, 0, 0.18);
  }
}

@media (min-width: 768px) {
  .rs-hero {
    min-height: 640px;
    height: 100vh;
    height: 100dvh;
  }

  .rs-hero__thumb {
    --rs-thumb-size: 168px;
    width: var(--rs-thumb-size);
    height: var(--rs-thumb-size);
    right: calc(16px + 52px + 18px + var(--rs-safe-r, 0px));
    bottom: calc(16px + 52px + 10px + 52px + 16px + var(--rs-safe-b, 0px));
  }

  .rs-catalog {
    grid-template-columns: 240px 1fr;
    gap: 40px;
  }

  .rs-checkout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
  }

  .rs-checkout__summary {
    margin-top: 0;
    position: sticky;
    top: calc(88px + var(--rs-safe-t));
  }

  .rs-service-block {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }

  .rs-service {
    gap: 28px;
    padding-inline: var(--rs-pad-x-lg);
  }

  .rs-service-block--flip .rs-service-block__media {
    order: 2;
  }

  .rs-service-block__media,
  .rs-service-block__media img {
    min-height: 100%;
    height: 100%;
  }

  .rs-service-block__body {
    padding: 64px;
    justify-content: center;
  }

  .rs-cabinet__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .rs-hero {
    min-height: 720px;
    height: 100vh;
    height: 100dvh;
  }

  .rs-hero__content {
    padding: 0 var(--rs-pad-x-lg) 96px;
  }

  .rs-hero__title {
    font-size: 56px;
    max-width: 14ch;
  }

  .rs-hero__thumb {
    --rs-thumb-peek: 0px;
    --rs-thumb-size: 200px;
    width: var(--rs-thumb-size);
    height: var(--rs-thumb-size);
    right: calc(16px + 52px + 24px + var(--rs-safe-r, 0px));
    bottom: calc(16px + 52px + 10px + 52px + 18px + var(--rs-safe-b, 0px));
    transform: translate3d(var(--rs-thumb-peek), 0, 0);
    border-radius: 50%;
  }

  .rs-page-head {
    padding-inline: var(--rs-pad-x-lg);
  }

  .rs-service-block__media {
    max-height: 560px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rs-hero__slide,
  .rs-hero__title,
  .rs-hero__sub,
  .rs-hero__thumb.is-expanding,
  .rs-hero__expand,
  .rs-hero__expand-img,
  .rs-hero__expand-veil {
    transition: none;
  }
}

/* NP autocomplete + booking */
.rs-field:has(.rs-np-results) {
  position: relative;
  z-index: 1;
}

.rs-field:has(.rs-np-results:not(:empty)) {
  z-index: 5;
}

.rs-np-results {
  margin-top: 8px;
  position: relative;
  z-index: 6;
}

.rs-np-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rs-border-soft);
  background: var(--rs-slot);
  color: var(--rs-seashell);
  max-height: 220px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.rs-np-list__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  color: var(--rs-seashell);
  -webkit-tap-highlight-color: transparent;
}

.rs-np-list__item small {
  color: var(--rs-text-muted);
}

.rs-np-list__item:hover,
.rs-np-list__item:focus-visible {
  background: var(--rs-bark);
  outline: none;
}

.rs-np-empty {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--rs-gold);
  border: 1px solid var(--rs-border-soft);
  background: var(--rs-bark-light);
}

.rs-booking {
  padding-block: 28px 72px;
  max-width: 560px;
}

.rs-booking__form .rs-field input,
.rs-booking__form .rs-field select,
.rs-booking__form .rs-field textarea {
  font-size: 16px;
}

@media (min-width: 768px) {
  .rs-booking {
    padding-inline: var(--rs-pad-x-lg, 24px);
  }
}
