/* S2 Spa — sub-pages like the reference (product.css, collection.css, article.css, search/cart parts of theme.css):
   single product, product category, single post, cart, checkout, my account, search.
   Markup: woocommerce/content-single-product.php, woocommerce/taxonomy-product_cat.php,
   woocommerce/cart/cart-empty.php, woocommerce/myaccount/form-login.php, template-parts/s2/*.php, inc/subpages.php. */

.s2-sub {
  --bed-champagne: #C5A059;
  --bed-deep-soft: #6D3825;
  --bed-control-size: 2.5rem;
  --bed-space-heading: clamp(1.5rem, 2.5vw, 2.5rem);
  --bed-space-layout: clamp(1.5rem, 2.8vw, 3rem);
  --bed-space-section: clamp(2.5rem, 3.5vw, 3.75rem);
  --bed-space-section-sm: clamp(2rem, 3vw, 3rem);
  --bed-space-section-lg: clamp(3rem, 4vw, 4.5rem);
  --bg-overlay: rgba(20, 28, 24, 0.52);
}
.s2-sub #main, .s2-sub #wrapper { background: #FFFDF9; }
.s2-sub .shop-container { padding: 0; }
.s2-wrap {
  width: 100%;
  max-width: var(--container-max, 90rem);
  margin: 0 auto;
  padding-left: var(--bed-gutter);
  padding-right: var(--bed-gutter);
  box-sizing: border-box;
}
.s2-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.s2-sub .s2-ico { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.s2-sub button { text-transform: none; letter-spacing: normal; margin: 0; }

/* ---- Breadcrumb band ---- */
.s2-crumbs.section-breadcrumbs {
  padding: 0.875rem 0;
  border-bottom: 1px solid #E2D9CC;
  background: #EBECE4;
  color: #6C746E;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}
.s2-crumbs .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; list-style: none; padding: 0; margin: 0; }
.s2-crumbs .breadcrumb li { display: flex; align-items: center; margin: 0; }
.s2-crumbs .breadcrumb__link { color: #6C746E; text-decoration: none; }
.s2-crumbs .breadcrumb__link:hover { color: #8E4C35; }
.s2-crumbs .breadcrumb__separator { margin: 0 0.625rem; color: #C9C2B6; }
@media (max-width: 767px) {
  .s2-crumbs .breadcrumb__separator { margin: 0 0.25rem; }
}

/* ---- Shared section heading (eyebrow + serif title + gold rule) ---- */
.s2-sub .bed-section-heading { position: relative; margin-bottom: 2rem; }
.s2-sub .bed-section-heading .spa-eyebrow-gold { display: block; margin: 0 0 0.75rem; }
.s2-sub .bed-section-heading h2 {
  margin: 0;
  padding-bottom: 1rem;
  position: relative;
  color: #8E4C35;
  font-family: var(--font-family-heading);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.s2-sub .bed-section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4.5rem;
  height: 2px;
  background: linear-gradient(90deg, #C5A059, rgba(197, 160, 89, 0));
}
.s2-sub .bed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #8E4C35;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.s2-sub .bed-eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }

/* ---- Buttons (product.css values) ---- */
.s2-sub .spa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-family-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.s2-sub .spa-btn--primary { background: linear-gradient(135deg, #8E4C35 0%, #743B28 100%); color: #fff; border: 1px solid #8E4C35; box-shadow: 0 8px 20px rgba(142, 76, 53, 0.22); }
.s2-sub .spa-btn--primary:hover { background: linear-gradient(135deg, #C5A059 0%, #8E4C35 100%); color: #fff; transform: translateY(-2px); }
.s2-sub .spa-btn--outline { background: #fff; color: #8E4C35; border: 1.5px solid #8E4C35; }
.s2-sub .spa-btn--outline:hover { background: #8E4C35; color: #fff; }
.s2-sub .spa-btn--outline-sm {
  min-height: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1px solid #8E4C35;
  color: #8E4C35;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
}
.s2-sub .spa-icon-btn {
  width: 3.25rem;
  height: 3.25rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #E2D9CC;
  border-radius: 50%;
  background: #FAF7F2;
  color: #8E4C35;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.s2-sub .spa-icon-btn:hover, .s2-sub .spa-icon-btn.is-active, .s2-sub .spa-icon-btn[aria-pressed="true"] { background: #8E4C35; color: #fff; border-color: #8E4C35; }

/* ---- Share buttons ---- */
.s2-sub .share-buttons__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.s2-sub .share-buttons__items { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.s2-sub .share-buttons__item a,
.s2-sub .share-buttons__item button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #E2D9CC;
  border-radius: 10px;
  background: transparent;
  color: #8E4C35;
  transition: all 0.2s ease;
}
.s2-sub .share-buttons__item a:hover, .s2-sub .share-buttons__item button:hover { background: #8E4C35; border-color: #8E4C35; color: #fff; }
.s2-sub .share-buttons__icon { display: inline-flex; }
.s2-sub-toast {
  position: fixed; left: 50%; bottom: 2rem; z-index: 100000;
  padding: 0.75rem 1.25rem; border-radius: 999px; background: #1F1A17; color: #FAF7F2;
  font-size: 0.875rem; transform: translate(-50%, 1rem); opacity: 0; transition: all 0.3s ease;
}
.s2-sub-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   Single product (product.css)
   ===================================================================== */
.s2-pdp { background: #FFFDF9; color: #1F1A17; }
.s2-pdp__notices:empty { display: none; }
.s2-pdp__notices .woocommerce-message, .s2-pdp__notices .woocommerce-error, .s2-pdp__notices .woocommerce-info { margin: 1rem 0 0; }
.bed-product__main { padding: var(--bed-space-section-sm) 0 var(--bed-space-section-lg); }
.bed-product__layout { display: grid; grid-template-columns: 1.18fr 0.82fr; align-items: start; gap: var(--bed-space-layout); }
.bed-product__media { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) {
  .bed-product__media { position: sticky; top: calc(4.75rem + 1.5rem); align-self: start; z-index: 2; }
}
/* Flatsome gallery as the reference's slider: rounded square frame, white square arrows, thumbnails below */
.s2-pdp .product-gallery .product-images { margin-bottom: 0; }
.s2-pdp .product-gallery .woocommerce-product-gallery__wrapper { margin: 0; border: 1px solid #E2D9CC; border-radius: 16px; overflow: hidden; background: #FAF7F2; }
.s2-pdp .product-gallery .woocommerce-product-gallery__image,
.s2-pdp .product-gallery .woocommerce-product-gallery__image a { display: block; aspect-ratio: 1 / 1; }
.s2-pdp .product-gallery .woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s2-pdp .product-gallery .flickity-prev-next-button {
  width: 2.75rem; height: 2.75rem; top: 50%; border: 1px solid #E2D9CC; border-radius: 0;
  background: #fff; color: #8E4C35; opacity: 1; transform: translateY(-50%); box-shadow: 0 2px 8px rgba(31, 26, 23, 0.06);
}
.s2-pdp .product-gallery .flickity-prev-next-button.previous { left: 0.625rem; }
.s2-pdp .product-gallery .flickity-prev-next-button.next { right: 0.625rem; }
.s2-pdp .product-gallery .flickity-prev-next-button svg { padding: 0.75rem; }
.s2-pdp .product-gallery .image-tools { display: none; }
.s2-pdp .product-thumbnails { margin: 0.25rem 0 0; padding: 0; }
.s2-pdp .product-thumbnails .col { padding: 0 1rem 0 0 !important; }
.s2-pdp .product-thumbnails a {
  display: block; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid #E2D9CC; border-radius: 8px;
  background: #FAF7F2; opacity: 0.7; transform: none !important;
}
.s2-pdp .product-thumbnails .is-nav-selected a { border-color: #8E4C35; opacity: 1; }
.s2-pdp .product-thumbnails img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; opacity: 1 !important; }
.s2-pdp .badge-container { display: none; }

.bed-product__info { min-width: 0; padding: 0; }
.bed-product__intro { margin: 0; }
.s2-pdp .bed-eyebrow { margin-top: 0.5rem; }
.s2-pdp .product-template__title {
  margin: 1rem 0 0; padding: 0; color: #8E4C35; font-family: var(--font-family-heading);
  font-size: clamp(2rem, 2.8vw, 2.75rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em;
}
.s2-pdp .product-template__title::after { display: none; }
.bed-product__summary { margin: 1.5rem 0 0; color: #6C746E; font-size: 1rem; line-height: 1.75; }
.product-template__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1.5rem 0 0; padding: 1rem 0;
  border-top: 1px solid #E2D9CC; border-bottom: 1px solid #E2D9CC; list-style: none;
}
.s2-pdp ul.product-template__meta { margin-left: 0; padding-left: 0; }
.s2-pdp ul.product-template__meta > li { margin-left: 0; list-style: none; }
.product-template__meta-item { display: flex; align-items: center; gap: 0.375rem; margin: 0; color: #6C746E; font-size: 0.75rem; }
.product-template__meta-label { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.product-template__meta-item strong { color: #8E4C35; font-weight: 600; }
.product-template__meta-item .product-template__status--available { color: #287451; }
.product-template__meta-item .product-template__status--unavailable { color: #8E4C35; }
.product-template__price-box {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.625rem 1rem; margin-top: 1.75rem;
  padding-bottom: 1.75rem; border-bottom: 1px solid #E2D9CC;
}
.product-template__price-current { color: #8E4C35; font-family: var(--font-family-heading); font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1; }
.product-template__price-compare { color: #6C746E; font-size: 1rem; text-decoration: line-through; }

.product-template__actions { margin-top: 1.75rem; }
.product-template__actions form.cart { margin: 0; padding: 0; border: 0; }
/* Packages (variations) as the reference's pills */
.s2-pdp form.variations_form table.variations { margin: 0 0 1.75rem; border: 0; }
.s2-pdp form.variations_form table.variations tr { display: block; }
.s2-pdp form.variations_form table.variations th,
.s2-pdp form.variations_form table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.s2-pdp form.variations_form table.variations th.label { margin-bottom: 0.75rem; }
.s2-pdp form.variations_form table.variations th.label label {
  color: #8E4C35; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 0;
}
.s2-pdp form.variations_form table.variations th.label label::after { content: ":"; }
.s2-pdp form.variations_form .reset_variations { display: none !important; }
.s2-pdp .variant-picker__items { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.s2-pdp .variant-picker__item-label {
  min-width: 3.25rem; min-height: 2.875rem; margin: 0; padding: 0.5rem 0.875rem; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #E2D9CC; border-radius: 8px; background: #fff; color: #1F1A17; font-family: var(--font-family-body);
  font-size: 0.8125rem; font-weight: 400; line-height: 1.2; cursor: pointer; transition: all 0.2s ease;
}
.s2-pdp .variant-picker__item-label:hover { border-color: #8E4C35; }
.s2-pdp .variant-picker__item-label.is-active { border-color: #8E4C35; background: #8E4C35; color: #fff; }
.s2-pdp .single_variation_wrap .woocommerce-variation { margin: 0; }
.s2-pdp .single_variation_wrap .woocommerce-variation-price { display: none; }
.s2-pdp .single_variation_wrap .woocommerce-variation-availability p { margin: 0 0 0.75rem; font-size: 0.8125rem; }
.s2-pdp .woocommerce-variation-add-to-cart { display: block; }

.product-template__quantity-group {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.5rem;
}
.product-template__quantity-label { font-family: var(--font-family-heading); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.16em; color: #8E4C35; text-transform: uppercase; }
.s2-pdp .product-template__quantity-group .quantity {
  display: inline-flex; align-items: center; margin: 0; padding: 0.2rem 0.4rem; border: 1px solid #E2D9CC; border-radius: 999px;
  background: #EFEAE1; box-shadow: inset 0 1px 3px rgba(31, 26, 23, 0.05); opacity: 1;
}
.s2-pdp .product-template__quantity-group .quantity .button,
.s2-pdp .product-template__quantity-group .quantity input[type="button"] {
  width: 2.25rem; height: 2.25rem; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: #fff;
  color: #8E4C35; font-size: 1.125rem; font-weight: 500; line-height: 1; box-shadow: 0 2px 4px rgba(31, 26, 23, 0.06);
}
.s2-pdp .product-template__quantity-group .quantity .button:hover,
.s2-pdp .product-template__quantity-group .quantity input[type="button"]:hover { background: #8E4C35; color: #fff; }
.s2-pdp .product-template__quantity-group .quantity input.qty {
  width: 3rem; height: 2.25rem; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none;
  color: #1F1A17; font-size: 1rem; font-weight: 700; text-align: center;
}
.product-template__buttons { display: grid; grid-template-columns: 1.2fr 1fr 3.25rem; gap: 0.75rem; align-items: center; margin: 0 0 2rem; }
.s2-pdp .product-template__buttons .single_add_to_cart_button {
  width: 100%; min-height: 3.25rem; margin: 0; padding: 0.875rem 1rem; border: 1.5px solid #8E4C35; border-radius: 10px;
  background: #fff !important; color: #8E4C35 !important; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; line-height: 1.2;
  text-transform: uppercase; box-shadow: none; opacity: 1;
}
.s2-pdp .product-template__buttons .single_add_to_cart_button::before {
  content: ""; display: inline-block; width: 1.125rem; height: 1.125rem; margin-right: 0.5rem; vertical-align: -0.2rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 13H6z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.s2-pdp .product-template__buttons .single_add_to_cart_button:hover { background: #8E4C35 !important; color: #fff !important; }
.s2-pdp .product-template__buttons .single_add_to_cart_button.disabled { opacity: 0.55; }
.s2-pdp .product-template__buy-btn { width: 100%; }
.s2-pdp .product-template__booking-btn { grid-column: 1 / -1; width: 100%; }

.s2-pdp .spa-bought-together { display: block; margin: 0 0 2rem; padding: 1.5rem; background: #FAF7F2; border: 1px solid #E2D9CC; border-radius: 1rem; }
.s2-pdp .spa-bought-together__heading { margin-bottom: 1.125rem; }
.s2-pdp .spa-bought-together__title { margin: 0; padding: 0; font-family: var(--font-family-heading); font-size: 1.25rem; font-weight: 600; color: #8E4C35; line-height: 1.3; }
.s2-pdp .spa-bought-together__list { display: flex; flex-direction: column; gap: 0.75rem; }
.s2-pdp .spa-bought-together__item { display: flex; align-items: center; gap: 0.875rem; padding: 0.75rem; background: #fff; border: 1px solid #EFEAE1; border-radius: 0.75rem; }
.s2-pdp .spa-bought-together__check-label { display: inline-flex; align-items: center; position: relative; margin: 0; cursor: pointer; }
.s2-pdp .spa-bought-together__checkbox { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.s2-pdp .spa-bought-together__checkmark {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1.5px solid #6C746E;
  border-radius: 4px; background: #fff; color: #fff;
}
.s2-pdp .spa-bought-together__checkmark svg { opacity: 0; }
.s2-pdp .spa-bought-together__checkbox:checked + .spa-bought-together__checkmark { background: #8E4C35; border-color: #8E4C35; }
.s2-pdp .spa-bought-together__checkbox:checked + .spa-bought-together__checkmark svg { opacity: 1; }
.s2-pdp .spa-bought-together__checkbox:focus-visible + .spa-bought-together__checkmark { outline: 2px solid #8E4C35; outline-offset: 2px; }
.s2-pdp .spa-bought-together__thumb-wrap { flex-shrink: 0; width: 64px; height: 64px; border-radius: 0.5rem; overflow: hidden; background: #EFEAE1; display: block; }
.s2-pdp .spa-bought-together__thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.s2-pdp .spa-bought-together__details { flex: 1; min-width: 0; }
.s2-pdp .spa-bought-together__item-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.875rem; font-weight: 500; color: #8E4C35; line-height: 1.4; }
.s2-pdp .spa-bought-together__item-price-wrap { display: flex; gap: 0.5rem; margin-top: 0.25rem; }
.s2-pdp .spa-bought-together__item-price { font-size: 0.875rem; font-weight: 700; color: #8E4C35; }
.s2-pdp .spa-bought-together__footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 1.25rem; padding-top: 1.125rem; border-top: 1px dashed #E2D9CC;
}
.s2-pdp .spa-bought-together__total-block { display: flex; flex-direction: column; }
.s2-pdp .spa-bought-together__total-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: #667068; font-weight: 500; }
.s2-pdp .spa-bought-together__total-price { font-size: 1.25rem; font-weight: 700; color: #8E4C35; line-height: 1.2; margin-top: 2px; }
.s2-pdp .spa-bought-together__submit { min-width: 160px; min-height: 0; padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; border-radius: 0.75rem; }
.s2-pdp .spa-bought-together__submit .button-content { display: inline-flex; align-items: center; gap: 0.5rem; }
.s2-pdp .spa-bought-together__submit.loading { opacity: 0.7; pointer-events: none; }
.s2-pdp .spa-bought-together__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.s2-pdp .spa-commitments-card {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 2rem; background: #E2D9CC; border: 1px solid #E2D9CC;
  border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(31, 26, 23, 0.04);
}
.s2-pdp .product-template__commitment-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: #EFEAE1; }
.s2-pdp .spa-commitment-icon {
  width: 38px; height: 38px; min-width: 38px; border-radius: 50%; background: #FAF7F2; border: 1px solid #C5A059;
  color: #C5A059; display: flex; align-items: center; justify-content: center;
}
.s2-pdp .spa-commitment-text span { font-size: 0.8125rem; color: #4B554E; line-height: 1.5; }
.s2-pdp .spa-product-sharing { display: flex; align-items: center; gap: 1.25rem; padding-top: 1.25rem; border-top: 1px solid #E2D9CC; }
.s2-pdp .spa-product-sharing .share-buttons__label {
  position: static; width: auto; height: auto; clip: auto; overflow: visible; font-size: 0.9375rem; font-weight: 700; color: #1F1A17;
}
.s2-pdp .spa-product-sharing .share-buttons__items { gap: 1rem; }
.s2-pdp .spa-product-sharing .share-buttons__item a, .s2-pdp .spa-product-sharing .share-buttons__item button { border: 0; width: 2.25rem; height: 2.25rem; color: #1F1A17; }

/* Details: tabs */
.bed-product__details { padding: var(--bed-space-section-lg) 0; border-top: 1px solid #E2D9CC; background: #FFFDF9; }
.bed-product__details-head { max-width: 56rem; margin-bottom: var(--bed-space-heading); }
.product-template__tabs { display: grid; grid-template-columns: 16rem 1fr; gap: var(--bed-space-layout); padding-top: 2.5rem; border-top: 1px solid #E2D9CC; }
.product-template__tabs-nav { display: flex; flex-direction: column; align-items: stretch; }
.s2-pdp .product-template__tab-btn {
  min-height: 3.5rem; margin: 0; padding: 0.875rem 0; border: 0; border-bottom: 1px solid #E2D9CC; border-radius: 0; background: transparent;
  color: #6C746E; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-align: left; text-transform: uppercase; line-height: 1.4;
}
.s2-pdp .product-template__tab-btn.active { padding-left: 1rem; border-left: 3px solid #8E4C35; color: #8E4C35; }
.product-template__tab-panel { display: none; }
.product-template__tab-panel.active { display: block; }
.product-template__description-wrapper { position: relative; }
.product-template__description-content { color: #6C746E; font-size: 1rem; line-height: 1.8; }
.product-template__description-content.is-collapsed { max-height: 18.75rem; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%); mask-image: linear-gradient(to bottom, #000 68%, transparent 100%); }
.product-template__description-content > :first-child { margin-top: 0; }
.product-template__description-content p { margin: 0 0 1rem; color: inherit; font-size: inherit; line-height: inherit; }
.product-template__description-content h2, .product-template__description-content h3, .product-template__description-content h4 {
  color: #8E4C35; font-family: var(--font-family-heading); font-weight: 400; line-height: 1.25; margin: 1.5rem 0 1rem;
}
.product-template__description-content h2 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); }
.product-template__description-content h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.product-template__description-content strong { color: #4B554E; }
.product-template__description-content ul, .product-template__description-content ol { margin: 0 0 1rem 1.25rem; padding: 0; }
.product-template__description-content li { margin: 0 0 0.5rem; }
.product-template__description-content img { max-width: 100%; height: auto; border-radius: 12px; }
.product-template__description-content table { width: 100%; border-collapse: collapse; }
.product-template__description-content th, .product-template__description-content td { padding: 0.875rem; border: 1px solid #E2D9CC; text-align: left; }
.product-template__description-content blockquote { margin: 1.5rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-left: 3px solid #C5A059; font-style: italic; }
.s2-pdp .product-template__description-toggle {
  min-height: 2.5rem; margin: 1.5rem 0 0; padding: 0 0.25rem; border: 0; background: transparent; color: #8E4C35; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.08em; text-decoration: underline; text-underline-offset: 0.3rem; text-transform: uppercase;
}

/* Related */
.bed-product__related { padding: var(--bed-space-section-lg) 0; background: #FAF7F2; border-top: 1px solid #E2D9CC; }
.s2-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.s2-related-grid > .product-small.col,
.collection-template__products > .product-small.col { width: auto; max-width: none; flex: none; padding: 0; margin: 0; }
.s2-related-grid > .product-small.col > .col-inner,
.collection-template__products > .product-small.col > .col-inner { height: 100%; }

/* Sticky add bar */
.product-sticky-add {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; padding: 0.75rem 0; border-top: 1px solid #E2D9CC;
  background: rgba(250, 247, 242, 0.97); box-shadow: 0 -0.75rem 2rem rgba(31, 26, 23, 0.08);
  transform: translateY(105%); visibility: hidden; transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 350ms;
}
.product-sticky-add.is-visible { transform: translateY(0); visibility: visible; transition-delay: 0s; }
.product-sticky-add__container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-right: 5rem; }
.product-sticky-add__product { min-width: 0; display: flex; align-items: center; gap: 0.875rem; }
.product-sticky-add__image { width: 3.75rem; height: 3.75rem; object-fit: cover; border-radius: 6px; }
.product-sticky-add__info { min-width: 0; }
.product-sticky-add__title { max-width: 26rem; margin: 0; padding: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.125rem; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-sticky-add__variant { margin-top: 0.125rem; color: #6C746E; font-size: 0.75rem; }
.product-sticky-add__price { margin-top: 0.25rem; color: #8E4C35; font-size: 0.875rem; font-weight: 700; }
.product-sticky-add__actions { display: flex; gap: 0.625rem; }
.s2-pdp .product-sticky-add__btn { min-width: 10rem; min-height: 2.75rem; padding: 0.625rem 1.25rem; }

@media (max-width: 1199px) {
  .bed-product__layout { grid-template-columns: 1fr 0.9fr; gap: 2.5rem; }
  .s2-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .bed-product__layout { grid-template-columns: 1fr; }
  .product-template__tabs { grid-template-columns: 1fr; gap: 2rem; }
  .product-template__tabs-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .s2-pdp .product-template__tab-btn { flex: 0 0 auto; padding: 0.875rem 1rem; border-left: 0; }
  .s2-pdp .product-template__tab-btn.active { padding-left: 1rem; border-left: 0; border-bottom: 2px solid #8E4C35; }
  .s2-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bed-product__main { padding: 0.75rem 0 1.75rem; }
  .bed-product__layout { gap: 1.5rem; }
  .bed-product__info { display: flex; flex-direction: column; }
  .bed-product__intro { order: 1; }
  .bed-product__summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5; }
  .product-template__price-box { order: 2; margin-top: 0.75rem; padding-bottom: 0.75rem; }
  .product-template__meta { order: 3; margin-top: 0.75rem; padding: 0.625rem 0; gap: 0.5rem 1rem; }
  .product-template__actions { order: 5; margin-top: 1rem; }
  .s2-pdp .spa-bought-together { order: 7; }
  .s2-pdp .spa-commitments-card { order: 8; grid-template-columns: 1fr; }
  .s2-pdp .spa-product-sharing { order: 9; gap: 0.75rem; }
  .s2-pdp .spa-product-sharing .share-buttons__label { white-space: nowrap; }
  .s2-pdp .spa-product-sharing .share-buttons__items { gap: 0.25rem; flex-wrap: nowrap; }
  .s2-pdp .product-template__title { font-size: clamp(1.5rem, 5.5vw, 1.875rem); }
  .s2-pdp .product-gallery .flickity-prev-next-button { display: none; }
  .product-template__buttons { grid-template-columns: 1fr 3.25rem; gap: 0.5rem; }
  .s2-pdp .product-template__buttons .single_add_to_cart_button { grid-column: 1; grid-row: 1; padding: 14px 12px; font-size: 0.8125rem; letter-spacing: 0.08em; white-space: nowrap; }
  .s2-pdp .product-template__wishlist-btn { grid-column: 2; grid-row: 1; }
  .s2-pdp .product-template__buy-btn { grid-column: 1 / -1; grid-row: 2; }
  .s2-pdp .product-template__booking-btn { grid-row: 3; }
  .bed-product__details, .bed-product__related { padding: 2rem 0; }
  .product-template__tabs { padding-top: 1.5rem; }
  .s2-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; }
  .s2-pdp .s2-related-grid .spa-treatment-card { padding: 0; }
  .s2-pdp .s2-related-grid .spa-treatment-card__footer { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .product-sticky-add { padding: 0.5rem 0; }
  .product-sticky-add__product { display: none; }
  .product-sticky-add__container { padding-right: 4.25rem; }
  .product-sticky-add__actions { width: 100%; }
  .s2-pdp .product-sticky-add__btn { min-width: 0; flex: 1; padding: 0.5rem; font-size: 0.75rem; }
}
@media (max-width: 575px) {
  .s2-pdp .spa-bought-together { padding: 1.125rem; }
  .s2-pdp .spa-bought-together__footer { flex-direction: column; align-items: stretch; }
  .s2-pdp .spa-bought-together__submit { width: 100%; }
}

/* =====================================================================
   Product category (collection.css)
   ===================================================================== */
.spa-collection-page { background: #FAF7F2; }
.spa-collection-hero {
  padding: 3.5rem 0 2.25rem;
  background: radial-gradient(ellipse at 85% 15%, rgba(197, 160, 89, 0.14) 0%, transparent 65%), #EFEAE1;
  border-bottom: 1px solid #E2D9CC;
}
.spa-collection-hero__inner { max-width: 64rem; }
.spa-collection-hero .spa-eyebrow-gold { margin: 0; }
.spa-collection-hero__title {
  margin: 0.5rem 0 1rem; padding: 0; color: #8E4C35; font-family: var(--font-family-heading);
  font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em;
}
.spa-collection-hero__desc { max-width: 54rem; margin: 0 0 1.25rem; color: #4B554E; font-size: 1.0625rem; line-height: 1.7; }
.spa-collection-hero__count {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3125rem 0.875rem; border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 999px; background: rgba(197, 160, 89, 0.16); color: #8E4C35; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.spa-collection-hero__count-dot { width: 6px; height: 6px; border-radius: 50%; background: #C5A059; display: inline-block; }
.spa-collection-catalog, .spa-search-catalog { padding: 2.5rem 0 4rem; }
.spa-collection-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 2rem; padding: 1rem 0;
  border-top: 1px solid #E2D9CC; border-bottom: 1px solid #E2D9CC;
}
.spa-collection-bar__left { display: flex; align-items: center; gap: 1rem; flex: 1 1 auto; }
.spa-collection-bar__center { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.spa-collection-bar__right { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; }
.spa-collection-bar__summary { font-size: 0.875rem; color: #6C746E; white-space: nowrap; }
.spa-collection-bar__summary strong { color: #8E4C35; }
.s2-sub .collection-sort__filter-btn {
  display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: 0.5rem; height: 2.375rem; padding: 0.4rem 1rem;
  border: 1px solid #8E4C35; border-radius: 6px; background: transparent; color: #8E4C35; font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.s2-sub .collection-sort__filter-btn:hover { background: #8E4C35; color: #fff; }
.spa-layout-switcher { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.25rem; border: 1px solid #E2D9CC; border-radius: 8px; background: #fff; box-shadow: 0 1px 3px rgba(31, 26, 23, 0.04); }
.s2-sub .spa-layout-switcher__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; min-height: 0; margin: 0; padding: 0;
  border: 0; border-radius: 6px; background: transparent; color: #8C827A; cursor: pointer;
}
.s2-sub .spa-layout-switcher__btn:hover { color: #8E4C35; background: #FAF7F2; }
.s2-sub .spa-layout-switcher__btn.is-active { color: #fff; background: #8E4C35; }
.s2-sort { display: flex; align-items: center; margin: 0; }
.spa-sort-label { margin: 0 0.5rem 0 0; color: #1F1A17; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.s2-sub select.spa-sort-select {
  width: auto; min-width: 12rem; height: 2.5rem; margin: 0; padding: 0.5rem 2rem 0.5rem 1rem; border: 1px solid #E2D9CC; border-radius: 6px;
  background-color: #fff; color: #1F1A17; font-size: 0.875rem; box-shadow: none;
}
.spa-home-treatments__grid.collection-template__products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.collection-template__products .spa-treatment-card { padding: 0.85rem; }
.collection-template__products .spa-treatment-card__media { border-radius: 12px; }
.collection-template__products.spa-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.collection-template__products.spa-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.collection-template__products.spa-grid--4 .spa-treatment-card { padding: 1rem; }
.collection-template__products.spa-grid--list { grid-template-columns: 1fr; gap: 1.5rem; }
.collection-template__products.spa-grid--list .spa-treatment-card { flex-direction: row; align-items: flex-start; gap: 1.75rem; height: auto; }
.collection-template__products.spa-grid--list .spa-treatment-card__media-wrap { flex: 0 0 200px; width: 200px; margin-bottom: 0; }
.collection-template__products.spa-grid--list .spa-treatment-card__content { flex: 1 1 auto; min-width: 0; }
.spa-pagination-wrap { margin-top: 3rem; text-align: center; }
.spa-pagination-wrap:empty { display: none; }
.spa-pagination-wrap .container { padding: 0; }
.spa-pagination-wrap .page-numbers { display: inline-flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.spa-pagination-wrap .page-numbers li { margin: 0; }
.spa-pagination-wrap .page-number, .spa-pagination-wrap .page-numbers a, .spa-pagination-wrap .page-numbers span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; border: 1px solid #E2D9CC; border-radius: 8px;
  background: #fff; color: #8E4C35; font-weight: 600;
}
.spa-pagination-wrap .current { background: #8E4C35 !important; color: #fff !important; border-color: #8E4C35 !important; }
.s2-sub .spa-empty-state { max-width: 44rem; margin: 0 auto; padding: 3.5rem 1rem; text-align: center; }
.s2-sub .spa-empty-state h2 { margin: 0 0 0.75rem; padding: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.75rem; font-weight: 600; line-height: 1.25; }
.s2-sub .spa-empty-state p { margin: 0 0 1.5rem; color: #4B554E; font-size: 1rem; line-height: 1.6; }
.s2-sub .spa-empty-state .spa-btn { min-height: 2.875rem; padding: 0.75rem 1.5rem; font-size: 0.875rem; letter-spacing: 0.06em; border-radius: 6px; box-shadow: none; background: #8E4C35; }
.bed-collection__description {
  display: grid; grid-template-columns: 0.35fr 0.65fr; gap: var(--bed-space-layout); margin-top: var(--bed-space-section); padding-top: 2rem;
  border-top: 1px solid #E2D9CC;
}
.bed-collection__description > h2 { margin: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.15; }
.collection-template__description-content { color: #6C746E; line-height: 1.8; }

/* Filter drawer */
.bed-filter-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100001; width: 100%; max-width: 28rem; display: flex; flex-direction: column;
  background: #FAF7F2; border-left: 1px solid #E2D9CC; box-shadow: -1rem 0 3rem rgba(31, 26, 23, 0.12);
  transform: translateX(105%); visibility: hidden; transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 420ms;
}
.bed-filter-drawer.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.bed-filter-drawer__header { min-height: 6.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 2rem; border-bottom: 1px solid #E2D9CC; background: #EFEAE1; }
.bed-filter-drawer__header h2 { margin: 0.25rem 0 0; padding: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: 2rem; font-weight: 400; line-height: 1.15; }
.s2-sub .bed-drawer__close { width: 2.5rem; height: 2.5rem; min-height: 0; margin: 0; padding: 0; border: 1px solid #E2D9CC; border-radius: 50%; background: #fff; color: #8E4C35; display: inline-flex; align-items: center; justify-content: center; }
.bed-filter-drawer__content { flex: 1; padding: 0 2rem 2rem; overflow-y: auto; }
.collection-facet-filter__actions { padding: 1.25rem 0; border-bottom: 1px solid #E2D9CC; }
.collection-facet-filter__clear-all { color: #C5A059; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-decoration: underline; text-underline-offset: 0.25rem; text-transform: uppercase; }
.facet-filter { display: block; padding: 1.5rem 0; border-bottom: 1px solid #E2D9CC; }
.facet-filter__title { margin-bottom: 1rem; }
.facet-filter__title-text { color: #8E4C35; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.facet-filter__content-list { display: grid; gap: 0.75rem; }
.s2-sub .facet-filter-item__label { min-height: 2.5rem; margin: 0; display: flex; align-items: center; gap: 0.75rem; color: #6C746E; font-size: 0.9375rem; font-weight: 400; cursor: pointer; }
.s2-sub .facet-filter-item__label input { width: 1.125rem; height: 1.125rem; margin: 0; accent-color: #8E4C35; }
.facet-filter-item__label input:checked + span { color: #8E4C35; font-weight: 700; }
.bed-filter-drawer__apply { padding-top: 1.5rem; }
.bed-filter-drawer__apply .spa-btn { width: 100%; }
.collection-template__filter-overlay {
  position: fixed; inset: 0; z-index: 100000; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: rgba(20, 28, 24, 0.52); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.collection-template__filter-overlay.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
html.s2-drawer-open { overflow: hidden; }

@media (max-width: 1199px) {
  .collection-template__products.spa-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .bed-collection__description { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 991px) {
  .spa-collection-bar { flex-wrap: wrap; row-gap: 1rem; }
  .spa-collection-bar__left { order: 1; }
  .spa-collection-bar__center { order: 2; }
  .spa-collection-bar__right { order: 3; flex: 1 0 100%; justify-content: flex-start; padding-top: 0.5rem; border-top: 1px dashed #E2D9CC; }
  .spa-home-treatments__grid.collection-template__products,
  .collection-template__products.spa-grid--3,
  .collection-template__products.spa-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (max-width: 767px) {
  .spa-collection-hero { padding: 2rem 0 1.5rem; }
  .spa-home-treatments__grid.collection-template__products:not(.spa-grid--list) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; }
  .collection-template__products:not(.spa-grid--list) .spa-treatment-card { padding: 0; }
  .collection-template__products:not(.spa-grid--list) .spa-treatment-card__title { font-size: 1.05rem; }
  .collection-template__products:not(.spa-grid--list) .spa-treatment-card__footer { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .s2-sub .spa-layout-switcher__btn[data-layout="3"], .s2-sub .spa-layout-switcher__btn[data-layout="4"] { display: none; }
  .collection-template__products.spa-grid--list .spa-treatment-card { gap: 1rem; padding: 0.75rem; }
  .collection-template__products.spa-grid--list .spa-treatment-card__media-wrap { flex-basis: 110px; width: 110px; }
  .s2-sub select.spa-sort-select { min-width: 0; flex: 1; }
  .s2-sort { flex: 1; }
  .bed-filter-drawer { max-width: 100%; }
  .bed-filter-drawer__header { padding: 1.25rem; min-height: 0; }
  .bed-filter-drawer__content { padding: 0 1.25rem 1.5rem; }
}
@media (max-width: 575px) {
  .spa-collection-bar__summary { white-space: normal; min-width: 0; }
}

/* =====================================================================
   Single post (article.css)
   ===================================================================== */
.s2-article { background: #FFFDF9; color: #1F1A17; }
.bed-article__hero { padding: var(--bed-space-section-lg) 0 var(--bed-space-section-sm); background: linear-gradient(180deg, #EBECE4, #FFFDF9); }
.s2-article .bed-page-heading { display: grid; gap: 1.25rem; padding-inline-start: clamp(1rem, 2.2vw, 1.75rem); border-inline-start: 1px solid #8E4C35; color: #8E4C35; }
.s2-article .bed-page-heading h1 { margin: 0; padding: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.bed-article__meta, .bed-article__byline { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem 1.25rem; color: #6C746E; font-size: 0.8125rem; }
.bed-article__byline strong { color: #4B554E; }
.bed-article__lead-image { width: 100%; height: auto; display: block; border-radius: 12px; }
.bed-article__body { padding: var(--bed-space-section-lg) 0; }
.bed-article__layout { display: grid; grid-template-columns: minmax(15rem, 0.32fr) minmax(0, 0.68fr); align-items: start; gap: var(--bed-space-layout); max-width: 78rem; margin: 0 auto; }
.bed-article__aside { position: sticky; top: calc(4.75rem + 2rem); }
.s2-article .bed-toc { display: block; padding: 1.25rem; border: 1px solid #E2D9CC; border-radius: 12px; background: #EFEAE1; }
.s2-article .toc__title {
  display: flex; align-items: center; width: 100%; min-height: 0; margin: 0; padding: 0.5rem 0; border: 0; background: transparent;
  color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.75rem; font-weight: 600; line-height: 1.2; text-align: left; cursor: pointer;
}
.s2-article .toc__title::after { content: "▼"; margin-left: auto; font-size: 0.75rem; transition: transform 0.15s linear; }
.s2-article .toc.collapsed .toc__title::after { transform: rotate(-90deg); }
.s2-article .toc.collapsed .toc__list { display: none; }
.s2-article .toc__list { list-style: none; margin: 0.75rem 0 0; padding: 0; max-height: 300px; overflow-y: auto; }
.s2-article .toc__item { margin: 0 0 0.25rem; }
.s2-article .toc__item--h3 { margin-left: 1.25rem; }
.s2-article .toc__link { display: block; padding: 0.25rem 0.5rem; border-radius: 6px; color: #6C746E; font-size: 0.875rem; line-height: 1.45; text-decoration: none; }
.s2-article .toc__link:hover, .s2-article .toc__item.active .toc__link { color: #8E4C35; background: rgba(38, 23, 12, 0.08); }
.bed-article__share-label { margin-top: 2rem; color: #8E4C35; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bed-article__aside .share-buttons__items { margin-top: 0.75rem; }
.bed-article__main { min-width: 0; width: 100%; }
.bed-article__content { min-width: 0; color: #1F1A17; font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.9; }
.bed-article__content > :first-child { margin-top: 0 !important; }
.bed-article__content p, .bed-article__content li { margin: 0 0 1rem; color: inherit; font-size: 1rem; line-height: 1.6; }
.bed-article__content h2, .bed-article__content h3 {
  scroll-margin-top: 7rem; color: #8E4C35; font-family: var(--font-family-heading); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em;
}
.bed-article__content h2 { margin: 3.5rem 0 1.25rem; font-size: clamp(2.25rem, 4.5vw, 4rem); }
.bed-article__content h3 { margin: 2.5rem 0 1rem; font-size: clamp(1.75rem, 3vw, 2.75rem); }
.bed-article__content ul, .bed-article__content ol { margin: 0 0 1.25rem 1.25rem; padding: 0; }
.bed-article__content ul { list-style: disc; }
.bed-article__content ol { list-style: decimal; }
.bed-article__content li { margin: 0 0 0.5rem; }
.bed-article__content img { width: 100%; height: auto; margin: 2.5rem 0; border-radius: 12px; }
.bed-article__content figure { margin: 2.5rem 0; }
.bed-article__content figure img { margin: 0; }
.bed-article__content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9375rem; }
.bed-article__content th, .bed-article__content td { padding: 0.75rem; border: 1px solid #E2D9CC; text-align: left; }
.bed-article__content blockquote {
  position: relative; margin: 2.5rem 0; padding: 2rem 2.5rem 2rem 3rem; border-left: 4px solid #C5A059; border-radius: 0 8px 8px 0;
  background: linear-gradient(135deg, rgba(235, 236, 228, 0.5) 0%, rgba(245, 242, 236, 0.7) 100%); color: #8E4C35;
  font-family: var(--font-family-heading); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-style: italic; line-height: 1.5;
}
.bed-article__content blockquote p { margin: 0; }
.spa-article-meta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid #D9DED7; border-bottom: 1px solid #D9DED7; }
.spa-article-share { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.spa-article-share__label { font-size: 0.875rem; font-weight: 600; color: #6C746E; }
.spa-article-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #D9DED7; }
.spa-article-nav__col { display: flex; }
.spa-article-nav__col--next { justify-content: flex-end; }
.spa-article-nav__link { display: flex; flex-direction: column; gap: 0.375rem; width: 100%; padding: 1.25rem 1.5rem; border: 1px solid #D9DED7; border-radius: 8px; background: #fff; text-decoration: none; transition: all 0.28s ease; }
.spa-article-nav__link:hover { border-color: #C5A059; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(31, 46, 41, 0.06); }
.spa-article-nav__link--next { text-align: right; align-items: flex-end; }
.spa-article-nav__sub { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; color: #6C746E; text-transform: uppercase; letter-spacing: 0.08em; }
.spa-article-nav__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
.bed-article__related { padding: var(--bed-space-section-lg) 0; background: #EBECE4; }
.s2-article-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.s2-sub .spa-article-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid #E2D9CC; border-radius: 16px; background: #fff; }
.s2-sub .spa-article-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.s2-sub .spa-article-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s2-sub .spa-article-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.s2-sub .spa-article-card__meta { color: #6C746E; font-size: 0.75rem; letter-spacing: 0.06em; }
.s2-sub .spa-article-card__title { margin: 0.5rem 0 0.75rem; padding: 0; font-family: var(--font-family-heading); font-size: 1.375rem; font-weight: 400; line-height: 1.3; }
.s2-sub .spa-article-card__title a { color: #8E4C35; }
.s2-sub .spa-article-card__summary { margin: 0 0 1.25rem; color: #4B554E; font-size: 0.9375rem; line-height: 1.6; flex: 1; }
.s2-sub .spa-link-gold { color: #826424; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.05em; }
@media (max-width: 1023px) {
  .bed-article__layout { grid-template-columns: 1fr; }
  .bed-article__aside { position: static; }
  .s2-article-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .bed-article__content { font-size: 1rem; }
  .bed-article__content blockquote { padding: 1.5rem 1.25rem 1.5rem 1.5rem; }
  .spa-article-meta-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .spa-article-nav { grid-template-columns: 1fr; gap: 1rem; }
  .spa-article-nav__link--next { text-align: left; align-items: flex-start; }
  .spa-article-nav__link--next .spa-article-nav__sub { flex-direction: row-reverse; }
  .s2-article-related { grid-template-columns: 1fr; }
}

/* =====================================================================
   Search (search.css)
   ===================================================================== */
.spa-search-hero { padding: 3.5rem 0 2.5rem; background: #EFEAE1; border-bottom: 1px solid #E2D9CC; text-align: center; }
.spa-search-hero .spa-eyebrow-gold { margin: 0; }
.spa-search-hero__title { margin: 0.5rem 0 1.5rem; padding: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: clamp(1.625rem, 2.8vw, 2.25rem); font-weight: 400; line-height: 1.2; }
.spa-search-hero__form { display: flex; gap: 0.75rem; max-width: 40rem; margin: 0 auto 1.25rem; }
.s2-sub .spa-search-hero__form input[type="search"] {
  flex: 1; height: 3.125rem; margin: 0; padding: 0 1rem; border: 1px solid #E2D9CC; border-radius: 6px; background: #fff; box-shadow: none;
  color: #1F1A17; font-size: 0.9375rem;
}
.s2-sub .spa-search-hero__form .spa-btn { min-height: 3.125rem; padding: 0 1.75rem; border-radius: 6px; box-shadow: none; letter-spacing: 0.06em; background: #8E4C35; }
.spa-search-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; }
.spa-search-tabs__link {
  display: inline-flex; align-items: center; padding: 0.625rem 1.25rem; border: 1px solid #E2D9CC; border-radius: 999px; background: #fff;
  color: #1F1A17; font-size: 0.875rem; font-weight: 600; text-decoration: none;
}
.spa-search-tabs__link:hover { border-color: #C5A059; color: #8E4C35; }
.spa-search-tabs__link.is-active { background: #8E4C35; border-color: #8E4C35; color: #fff; }
.spa-search-empty { padding: 4rem 1rem; }
@media (max-width: 767px) {
  .spa-search-hero { padding: 2.25rem 0 1.75rem; }
  .spa-search-hero__form { flex-direction: column; }
  .s2-sub .spa-search-hero__form input[type="search"] { flex: none; width: 100%; }
}

/* =====================================================================
   Cart, checkout, account (theme.css cart + the reference's sign-in card)
   ===================================================================== */
.s2-commerce { background: #FFFDF9; }
.s2-hero .spa-eyebrow-gold { margin: 0; }
.s2-hero .spa-cart-hero__title { margin: 0.5rem 0 1rem; padding: 0; line-height: 1.2; }
.s2-commerce__main.spa-cart-main { padding: 3.5rem 0; }
.s2-commerce .woocommerce-notices-wrapper:empty { display: none; }

/* Empty cart card */
.spa-cart-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2.5rem; }
.spa-cart-sidebar { padding: 2rem; border: 1px solid #E2D9CC; border-radius: 16px; background: #fff; }
.spa-cart-empty { padding: 2rem 0; text-align: center; }
.spa-cart-empty .cart-empty, .spa-cart-empty .wc-empty-cart-message { display: none; }
.spa-cart-empty .spa-eyebrow-gold { margin: 0; }
.spa-cart-empty h2 { margin: 0.5rem 0 1rem; padding: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.75rem; font-weight: 600; line-height: 1.25; }
.spa-cart-empty p { margin: 0 0 1rem; color: #1F1A17; font-size: 1rem; line-height: 1.6; }
.spa-cart-empty .spa-btn { min-height: 2.75rem; padding: 0.625rem 1.25rem; border-radius: 8px; font-size: 0.8125rem; letter-spacing: 0.06em; box-shadow: none; background: #8E4C35; }
.spa-cart-trust { display: grid; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #E2D9CC; }
.spa-cart-trust__item { display: flex; align-items: center; gap: 0.75rem; }
.spa-cart-trust__icon { display: inline-flex; align-items: center; justify-content: center; width: 1.625rem; height: 1.625rem; border: 1px solid #C5A059; border-radius: 50%; color: #8E4C35; background: #FAF7F2; }
.spa-cart-trust__text { color: #1F1A17; font-size: 0.875rem; font-weight: 500; }

/* Cart with products: table left, summary card right */
.s2-commerce--cart .woocommerce.row { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2.5rem; margin: 0; max-width: none; }
.s2-commerce--cart .woocommerce.row::before, .s2-commerce--cart .woocommerce.row::after { display: none; }
.s2-commerce--cart .woocommerce.row > .col { width: auto; max-width: none; flex: none; padding: 0; border: 0; }
.s2-commerce--cart .woocommerce.row > .col::after { display: none; }
.s2-commerce--cart .cart-wrapper { padding: 1.5rem; border: 1px solid #E2D9CC; border-radius: 16px; background: #fff; }
.s2-commerce--cart table.shop_table { margin: 0; border: 0; }
.s2-commerce--cart table.shop_table th {
  padding: 0 0.5rem 0.875rem; border-bottom: 1px solid #E2D9CC; color: #6C746E; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.s2-commerce--cart table.shop_table td { padding: 1.25rem 0.5rem; border-bottom: 1px solid #EFEAE1; vertical-align: middle; }
.s2-commerce--cart td.product-thumbnail img { width: 5rem; height: 5rem; object-fit: cover; border-radius: 10px; }
.s2-commerce--cart td.product-name a { color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.125rem; }
.s2-commerce--cart td.product-price, .s2-commerce--cart td.product-subtotal { color: #1F1A17; font-weight: 600; }
.s2-commerce--cart td.product-subtotal { color: #8E4C35; }
.s2-commerce--cart td.product-remove a.remove { border-color: #E2D9CC; color: #8E4C35 !important; }
.s2-commerce--cart td.product-remove a.remove:hover { background: #8E4C35; color: #fff !important; }
.s2-commerce .quantity { opacity: 1; }
.s2-commerce .quantity .button, .s2-commerce .quantity input[type="button"] { border-color: #E2D9CC; background: #FAF7F2; color: #8E4C35; box-shadow: none; }
.s2-commerce .quantity input.qty { border-color: #E2D9CC; box-shadow: none; }
.s2-commerce--cart td.actions { padding-top: 1.25rem; border: 0; }
.s2-commerce--cart td.actions .button[name="update_cart"] {
  margin: 0; border: 1px solid #8E4C35; border-radius: 8px; background: transparent; color: #8E4C35; font-size: 0.75rem; letter-spacing: 0.06em;
}
.s2-commerce--cart td.actions .continue-shopping { display: none; }
.s2-commerce--cart .cart-sidebar { padding: 2rem; border: 1px solid #E2D9CC; border-radius: 16px; background: #fff; }
.s2-commerce--cart .cart_totals table thead { display: none; }
.s2-commerce--cart .cart_totals th, .s2-commerce--cart .cart_totals td { text-transform: none !important; letter-spacing: 0 !important; }
.s2-commerce .message-wrapper { margin: 0 0 1.5rem; padding: 0.875rem 1.25rem; border: 1px solid #E2D9CC; border-radius: 10px; background: #FAF7F2; outline: none; }
.s2-commerce .message-wrapper:focus { outline: none; }
.s2-commerce .message-wrapper .message-container { max-width: none; padding: 0; color: #287451; font-size: 0.9375rem; text-align: left; }
.s2-commerce .message-wrapper .button { display: none; }
.s2-commerce--cart .cart_totals .bed-eyebrow { margin-bottom: 0.5rem; }
.s2-commerce .cart-total__title { margin: 0.5rem 0 1.25rem; padding: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.75rem; font-weight: 600; line-height: 1.2; }
.s2-commerce--cart .cart_totals table { margin: 0 0 1rem; border: 0; }
.s2-commerce--cart .cart_totals th, .s2-commerce--cart .cart_totals td { padding: 0.75rem 0; border-bottom: 1px solid #EFEAE1; font-size: 0.9375rem; text-transform: none; letter-spacing: 0; }
.s2-commerce--cart .cart_totals th { color: #6C746E; font-weight: 500; }
.s2-commerce--cart .cart_totals .order-total th, .s2-commerce--cart .cart_totals .order-total td { border-bottom: 0; color: #8E4C35; font-size: 1.125rem; font-weight: 700; }
.s2-commerce .wc-proceed-to-checkout { display: grid; gap: 0.75rem; padding: 0.5rem 0 0; }
.s2-commerce .wc-proceed-to-checkout .checkout-button {
  display: flex; align-items: center; justify-content: center; line-height: 1.2;
  width: 100%; margin: 0; min-height: 3.25rem; border-radius: 10px; background: linear-gradient(135deg, #8E4C35 0%, #743B28 100%);
  font-size: 0.875rem; letter-spacing: 0.08em; box-shadow: 0 8px 20px rgba(142, 76, 53, 0.22);
}
.s2-commerce .s2-cart-continue { width: 100%; min-height: 3rem; font-size: 0.8125rem; letter-spacing: 0.06em; }
.s2-commerce--cart .ux-cart-coupon { margin-top: 1.5rem; }
.s2-commerce--cart .ux-cart-coupon .widget-title { color: #8E4C35; font-size: 0.8125rem; letter-spacing: 0.06em; }
.s2-commerce--cart .ux-cart-coupon input { border-color: #E2D9CC; border-radius: 8px; box-shadow: none; }
.s2-commerce--cart .ux-cart-coupon .button { border-radius: 8px; border-color: #8E4C35; color: #8E4C35; }
.s2-commerce--cart .cross-sells { display: none; }

/* Checkout */
.s2-commerce--checkout form.checkout > .row,
.s2-commerce--checkout .woocommerce > .row { margin: 0; max-width: none; }
.s2-commerce--checkout .checkout .large-7, .s2-commerce--checkout .checkout .large-5 { padding: 0 1.25rem; }
.s2-commerce--checkout #customer_details, .s2-commerce--checkout .checkout-sidebar, .s2-commerce--checkout .col-inner.has-border {
  padding: 2rem; border: 1px solid #E2D9CC; border-radius: 16px; background: #fff;
}
.s2-commerce--checkout .col-inner.has-border .checkout-sidebar { padding: 0; border: 0; }
.s2-commerce--checkout .woocommerce-billing-fields, .s2-commerce--checkout .woocommerce-shipping-fields, .s2-commerce--checkout .woocommerce-additional-fields { padding-top: 0; border-top: 0; }
.s2-commerce--checkout .woocommerce-privacy-policy-text p { margin: 1rem 0 0; color: #6C746E; font-size: 0.8125rem; line-height: 1.6; }
.s2-commerce--checkout h3, .s2-commerce--checkout #order_review_heading {
  margin: 0 0 1.25rem; padding: 0; color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.5rem; font-weight: 600; text-transform: none; letter-spacing: 0;
}
.s2-commerce label { color: #1F1A17; font-size: 0.8125rem; font-weight: 600; }
.s2-commerce .input-text, .s2-commerce select, .s2-commerce textarea, .s2-commerce .select2-container .select2-selection--single {
  min-height: 2.875rem; border: 1px solid #E2D9CC; border-radius: 8px; background: #fff; box-shadow: none; font-size: 0.9375rem;
}
.s2-commerce textarea { min-height: 7rem; padding-top: 0.75rem; }
.s2-commerce .input-text:focus, .s2-commerce select:focus, .s2-commerce textarea:focus { border-color: #C5A059; box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15); }
.s2-commerce--checkout table.shop_table th, .s2-commerce--checkout table.shop_table td { padding: 0.75rem 0; border-color: #EFEAE1; }
.s2-commerce--checkout table.shop_table .order-total td, .s2-commerce--checkout table.shop_table .order-total th { color: #8E4C35; font-size: 1.125rem; }
.s2-commerce--checkout #payment { padding: 0; background: transparent; }
.s2-commerce--checkout #payment ul.payment_methods { padding: 0; border: 0; }
.s2-commerce--checkout #payment ul.payment_methods li { padding: 0.875rem 1rem; margin: 0 0 0.5rem; border: 1px solid #E2D9CC; border-radius: 10px; background: #FAF7F2; list-style: none; }
.s2-commerce--checkout #payment div.payment_box { margin: 0.5rem 0 0; padding: 0.75rem 1rem; border-radius: 8px; background: #fff; color: #4B554E; font-size: 0.875rem; }
.s2-commerce--checkout #payment div.payment_box::before { display: none; }
.s2-commerce--checkout #place_order {
  width: 100%; min-height: 3.25rem; margin: 0.5rem 0 0; border-radius: 10px; background: linear-gradient(135deg, #8E4C35 0%, #743B28 100%);
  color: #fff; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; box-shadow: 0 8px 20px rgba(142, 76, 53, 0.22);
}
.s2-commerce .woocommerce-info, .s2-commerce .woocommerce-message, .s2-commerce .woocommerce-error {
  border-radius: 10px; border: 1px solid #E2D9CC; background: #FAF7F2; color: #1F1A17;
}
.s2-commerce .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 1.5rem; }

/* Account: the reference's centred sign-in card */
.s2-auth { display: flex; justify-content: center; }
.s2-auth__card {
  width: 100%; max-width: 30rem; padding: 2.5rem 2.5rem 2rem; border: 1px solid #E2D9CC; border-radius: 24px; background: #fff;
  box-shadow: 0 20px 40px -15px rgba(31, 26, 23, 0.08); text-align: left;
}
.s2-auth__brand { margin: 0 0 1.5rem; color: #8E4C35; font-family: var(--font-family-heading); font-size: 1.75rem; font-weight: 600; text-align: center; }
.s2-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; margin: 0 0 1.5rem; padding: 0.25rem; border-radius: 999px; background: #EFEAE1; }
.s2-commerce .s2-auth__tab {
  min-height: 2.5rem; margin: 0; padding: 0 1rem; border: 0; border-radius: 999px; background: transparent; color: #6C746E;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; text-transform: none;
}
.s2-commerce .s2-auth__tab.is-active { background: #fff; color: #8E4C35; box-shadow: 0 2px 6px rgba(31, 26, 23, 0.08); }
.s2-auth__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.s2-auth .form-row { margin: 0 0 1rem; padding: 0; }
.s2-auth .input-text { width: 100%; height: 3rem; padding: 0 0.875rem; }
.s2-auth .s2-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.s2-auth .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-weight: 500; }
.s2-auth .woocommerce-form-login__rememberme input { margin: 0; }
.s2-auth__lost { color: #8E4C35; font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 0.2rem; }
.s2-commerce .s2-auth__submit {
  width: 100%; min-height: 3rem; margin: 0; border-radius: 8px; background: #8E4C35; color: #fff; font-size: 0.9375rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: none;
}
.s2-commerce .s2-auth__submit:hover { background: #6D3825; }
.s2-auth__note { margin: 0 0 1rem; color: #6C746E; font-size: 0.875rem; }
.s2-auth .woocommerce-privacy-policy-text p { margin: 0 0 1rem; color: #6C746E; font-size: 0.8125rem; }
.s2-auth__back { display: block; margin-top: 1.25rem; color: #6C746E; font-size: 0.875rem; text-align: center; text-decoration: underline; text-underline-offset: 0.2rem; }
.s2-auth__back:hover { color: #8E4C35; }
.s2-commerce--account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 1rem; border: 1px solid #E2D9CC; border-radius: 16px; background: #fff; list-style: none; }
.s2-commerce--account .woocommerce-MyAccount-navigation li a { color: #1F1A17; }
.s2-commerce--account .woocommerce-MyAccount-navigation li.is-active a { color: #8E4C35; font-weight: 700; }

@media (max-width: 991px) {
  .spa-cart-layout, .s2-commerce--cart .woocommerce.row { grid-template-columns: 1fr; }
  .s2-commerce--checkout .checkout .large-7, .s2-commerce--checkout .checkout .large-5 { padding: 0; }
  .s2-commerce--checkout .checkout .large-5 { margin-top: 1.5rem; }
}
@media (max-width: 767px) {
  .s2-commerce__main.spa-cart-main { padding: 2rem 0; }
  .spa-cart-sidebar, .s2-commerce--cart .cart-sidebar, .s2-commerce--cart .cart-wrapper { padding: 1.25rem; }
  .s2-commerce--checkout #customer_details, .s2-commerce--checkout .col-inner.has-border { padding: 1.25rem; }
  .s2-auth__card { padding: 1.75rem 1.25rem 1.5rem; border-radius: 18px; }
}
