/* Prevent horizontal layout shift when product grid reflows */
html { overflow-x: clip; }

/* Supplemental styles for the self-hosted storefront.
   Covers the parts the original store JS rendered client-side but we now
   render server-side: the store-card buy button, the grid layout fallback
   (no catalog JS), and hiding the now-dead header cart icon. */

/* --- product grid: 4 columns, 10px gaps --- */
.js-catalog-grid-cont {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.js-catalog-grid-cont .t-catalog__card {
  float: none;
  width: auto !important;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.js-catalog-grid-cont .t-catalog__grid-separator { display: none; }
.t-catalog__card__bgimg {
  background-size: cover;
  background-position: center;
  padding-bottom: 100%;
}
/* --- hover-to-swap card image: crossfade to the second gallery image --- */
.t-catalog__card__imgwrapper { position: relative; }
.rytm-card-hoverimg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.t-catalog__card:hover .rytm-card-hoverimg { opacity: 1; }
.t-catalog__card__title { margin-top: 0; }
.t-catalog__card__wrap_txt-and-btns { padding: 20px !important; }
.t-catalog__card__descr { margin-top: 8px; }
.t-catalog__card__price-wrapper { margin-top: 12px; }
.js-catalog-grid-cont .t-catalog__card { display: flex !important; flex-direction: column; }
.js-catalog-grid-cont .t-catalog__card__wrap_txt-and-btns { flex: 1; display: flex !important; flex-direction: column; justify-content: space-between; }

@media (max-width: 960px) {
  .js-catalog-grid-cont { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .js-catalog-grid-cont { grid-template-columns: repeat(1, 1fr) !important; }
}

/* --- buy button (replaces the original JS-injected add-to-cart) --- */
.rytm-controls { margin-top: 14px; }
.rytm-buy {
  display: inline-block;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #1a1a1a;
  border-radius: 5px;
  background: transparent;
  color: #1a1a1a;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}
.rytm-buy:hover { background: #1a1a1a; color: #fff; }
.rytm-buy.rytm-oos { border-color: #bbb; color: #bbb; cursor: not-allowed; }
.rytm-buy.rytm-oos:hover { background: transparent; }

.rytm-catalog-empty {
  grid-column: 1 / -1;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  opacity: 0.7;
}

/* --- dead store UI: the original store JS is stripped. Keep the header CART
   icon (wired to our widget in the widget JS). Search + wishlist icons are
   visible; their popups are still hidden so only our widget renders. --- */
.t706__cartwin,
.t706__sidebar,
.t1002 { display: none !important; }
.t-menuwidgeticons__link_cart,
.t706__carticon-wrapper { cursor: pointer; }

/* ── FILTER BAR (search + sort above grid) ─────────────────────── */
.rytm-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}
.rytm-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(16,14,52,0.12);
  border-radius: 5px;
  padding: 8px 14px;
  background: #F3F0EB;
  color: #100e34;
  max-width: 260px;
  flex: 1;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s;
}
.rytm-search-wrap:focus-within {
  border-color: rgba(79,72,236,0.4);
}
.rytm-search-input {
  border: none;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #100e34;
  background: transparent;
  width: 100%;
}
.rytm-search-input::placeholder { color: rgba(16,14,52,0.35); }
.rytm-sort-select {
  border: 1px solid rgba(16,14,52,0.12);
  border-radius: 5px;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #100e34;
  background: #F3F0EB;
  cursor: pointer;
  outline: none;
  appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23100e34' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.15s;
}
.rytm-sort-select:hover { border-color: rgba(16,14,52,0.25); }

/* ── CATEGORY TABS (mobile only — hidden on desktop) ────────────── */
@media (min-width: 961px) {
  .rytm-cat-tabs { display: none !important; }
}
.rytm-cat-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16,14,52,0.09);
  margin-bottom: 24px;
}
.rytm-cat-tabs::-webkit-scrollbar { display: none; }
.rytm-cat-tab {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(16,14,52,0.18);
  background: transparent;
  color: #100e34;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rytm-cat-tab:hover { border-color: #100e34; }
.rytm-cat-tab.active {
  background: #100e34;
  color: #f3f0eb;
  border-color: #100e34;
}

/* ── SIDEBAR ────────────────────────────────────────────────────── */
.rytm-sidebar {
  flex-shrink: 0;
  min-width: 0;
}
.rytm-filter-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e7e7e7;
}
.rytm-filter-section--first {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.rytm-filter-label {
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #333;
  opacity: 0.75;
  margin-bottom: 10px;
}
/* ── DUAL RANGE SLIDER (mask technique matching prod) ─────────── */
.rytm-range-wrap {
  position: relative;
  height: 34px;
  margin-bottom: 4px;
}
.rytm-range-bg {
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  top: 16px;
  background: #7DC3FE;
  border-radius: 2px;
  pointer-events: none;
}
.rytm-range-mask {
  position: absolute;
  height: 2px;
  top: 16px;
  background: #ddd;
  z-index: 1;
  pointer-events: none;
}
.rytm-range-mask-start { left: 0; }
.rytm-range-mask-end  { right: 0; }
.rytm-range {
  position: absolute;
  width: 100%;
  height: 34px;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 2;
  cursor: pointer;
}
.rytm-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #c0c0c0;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.rytm-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #c0c0c0;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.rytm-price-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.rytm-price-input {
  flex: 1;
  width: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 3px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #333;
  background: #fff;
  outline: none;
  text-align: left;
  box-sizing: border-box;
}
.rytm-price-input:focus { border-color: #aaa; }
.rytm-price-dash {
  color: #999;
  font-size: 14px;
  flex-shrink: 0;
}
/* Brand text links */
.rytm-brand-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.rytm-brand-link {
  display: block;
  padding: 4px 0;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #333333 !important;
  text-decoration: none;
  opacity: 1;
  line-height: 1.4;
  transition: opacity 0.15s;
}
.rytm-brand-link:hover { opacity: 0.6; }
.rytm-brand-link.active { font-weight: 600; }
/* Availability checkbox */
.rytm-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: #100e34;
  cursor: pointer;
  padding: 4px 0;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.rytm-check-label:hover { opacity: 1; }
.rytm-avail-cb { accent-color: #4F48EC; cursor: pointer; width: 14px; height: 14px; flex-shrink: 0; }

@media (max-width: 960px) {
  .rytm-sidebar { display: none !important; }
  .rytm-filter-bar { display: none !important; }
  .t-catalog__cont-wrapper { display: block !important; }
  .rytm-mob-bar { display: flex !important; }
  /* category tabs visible on mobile — compact height */
  .rytm-cat-tabs { padding-bottom: 12px; margin-bottom: 0; }
  /* 20px gap above filter/search section */
  .rytm-mob-bar { margin-top: 20px; }
  /* 20px gap below filter/search section before grid */
  .t-catalog__cont-wrapper { padding-top: 20px; }
}

/* ── MOBILE FILTER BAR ──────────────────────────────────────────── */
.rytm-mob-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(16,14,52,0.09);
  margin-bottom: 0;
}
.rytm-mob-filter-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #100e34;
}
.rytm-mob-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #100e34;
  display: flex;
  align-items: center;
}

/* ── MOBILE SEARCH BAR ───────────────────────────────────────────── */
.rytm-mob-search-bar { display: none; padding: 8px 20px; }
.rytm-mob-search-bar.is-open { display: block; }
.rytm-mob-search-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(16,14,52,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.7);
  color: rgba(16,14,52,0.4);
}
.rytm-mob-search-input {
  flex: 1; border: none; outline: none;
  font-family: 'Inter', sans-serif; font-size: 15px;
  color: #100e34; background: transparent;
}
.rytm-mob-search-input::placeholder { color: rgba(16,14,52,0.35); }

/* ── MOBILE FILTER PANEL (bottom sheet) ─────────────────────────── */
.rytm-mob-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
}
.rytm-mob-panel.is-open { display: block; }
.rytm-mob-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16,14,52,0.4);
}
.rytm-mob-sheet {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  max-height: 88vh;
  background: #f5f4f1;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.rytm-mob-panel.is-open .rytm-mob-sheet { transform: translateY(0); }

.rytm-mob-sheet__hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 20px 16px;
  border-bottom: 1px solid rgba(16,14,52,0.09);
  flex-shrink: 0;
}
.rytm-mob-sheet__titles { display: flex; flex-direction: column; gap: 3px; }
.rytm-mob-sheet__title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #100e34;
}
.rytm-mob-sheet__count {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(16,14,52,0.45);
}
.rytm-mob-sheet__close {
  background: none; border: none; cursor: pointer;
  padding: 4px; color: rgba(16,14,52,0.5);
  display: flex; align-items: center;
  margin-top: 2px;
  transition: color 0.15s;
}
.rytm-mob-sheet__close:hover { color: #100e34; }

.rytm-mob-sheet__body {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Filter sections (accordion rows) */
.rytm-mob-section { border-bottom: 1px solid rgba(16,14,52,0.08); }
.rytm-mob-section__hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #100e34;
  cursor: pointer;
  text-align: left;
}
.rytm-mob-section__hdr svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: rgba(16,14,52,0.4);
}
.rytm-mob-section.is-open .rytm-mob-section__hdr svg { transform: rotate(90deg); }
.rytm-mob-section__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.rytm-mob-section.is-open .rytm-mob-section__body { max-height: 400px; }

.rytm-mob-price-wrap { padding: 4px 20px 20px; overflow: hidden; }
.rytm-mob-brand-wrap { padding: 4px 20px 8px; }
.rytm-mob-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  background: none; border: none;
  border-bottom: 1px solid rgba(16,14,52,0.06);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #100e34;
  cursor: pointer;
  text-align: left;
}
.rytm-mob-brand-row:last-child { border-bottom: none; }
.rytm-mob-brand-row svg { color: rgba(16,14,52,0.3); }
.rytm-mob-brand-row.active { font-weight: 600; }
.rytm-mob-avail-wrap { padding: 8px 20px 20px; }

/* Sort row */
.rytm-mob-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(16,14,52,0.08);
}
.rytm-mob-sort-label {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #100e34;
}
.rytm-mob-sort-sel {
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(16,14,52,0.55);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23100e34' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

/* Sheet footer */
.rytm-mob-sheet__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(16,14,52,0.09);
  background: #f5f4f1;
  flex-shrink: 0;
  gap: 12px;
}
.rytm-mob-sheet__remove {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(16,14,52,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}
.rytm-mob-sheet__apply {
  flex: 1;
  background: #100e34;
  color: #f3f0eb;
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.rytm-mob-sheet__apply:hover { opacity: 0.85; }

/* ── Search overlay (full screen) ───────────────────────────────────────── */
.rytm-search-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99999;
  flex-direction: column;
  background: #f5f3f0;
}
.rytm-search-overlay.is-open { display: flex; }

/* Header: search input row */
.rytm-search-overlay__header {
  background: #f3f0eb;
  border-bottom: 1px solid rgba(16,14,52,0.08);
  padding: 28px 0;
  flex-shrink: 0;
}
.rytm-search-overlay__row {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 66.67%;
  margin: 0 auto;
}
.rytm-search-overlay__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #100E34;
  border-radius: 10px;
  background: #f3f0eb;
  height: 60px;
  padding: 0 20px;
  overflow: hidden;
}
.rytm-search-overlay__icon { flex-shrink: 0; }
.rytm-search-overlay__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #100E34;
  outline: none;
  height: 100%;
  min-width: 0;
}
.rytm-search-overlay__input::placeholder { color: rgba(16,14,52,0.4); }
.rytm-search-overlay__input::-webkit-search-cancel-button { display: none; }
.rytm-search-overlay__clear {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(16,14,52,0.4);
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color 0.15s;
}
.rytm-search-overlay__clear:hover { color: #100E34; }
.rytm-search-overlay__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.rytm-search-overlay__close:hover { opacity: 1; }

/* Scrollable results area */
.rytm-search-overlay__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Results inner container — centered column */
.rytm-search__count {
  max-width: 66.67%;
  margin: 0 auto;
  padding: 24px 0 8px;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  color: rgba(16,14,52,0.45);
}
.rytm-search__grid {
  max-width: 66.67%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 32px;
}
.rytm-sr {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  text-decoration: none;
  color: #100E34;
  border-bottom: 1px solid rgba(16,14,52,0.07);
  transition: opacity 0.15s;
}
.rytm-sr:hover { opacity: 0.72; }
.rytm-sr__img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #e8e4de;
}
.rytm-sr__img--empty { display: block; }
.rytm-sr__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
  min-width: 0;
}
.rytm-sr__name {
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #100E34;
  line-height: 1.3;
}
.rytm-sr__name strong { font-weight: 700; }
.rytm-sr__desc {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  color: rgba(16,14,52,0.5);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rytm-sr__desc strong { font-weight: 600; color: rgba(16,14,52,0.7); }
.rytm-sr__price {
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #100E34;
}

/* Show more button */
.rytm-search__more-wrap {
  max-width: 66.67%;
  margin: 40px auto;
  display: flex;
  justify-content: center;
}
.rytm-search__more {
  background: #100E34;
  color: #f3f0eb;
  border: none;
  border-radius: 40px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 40px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.rytm-search__more:hover { opacity: 0.8; }

/* Pagination */
.rytm-search__pagination {
  max-width: 66.67%;
  margin: 0 auto 48px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.rytm-search__page {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(16,14,52,0.2);
  background: none;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #100E34;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.rytm-search__page:hover { border-color: #100E34; }
.rytm-search__page.is-active { background: #100E34; color: #f3f0eb; border-color: #100E34; }
.rytm-search__page--next { border-color: rgba(16,14,52,0.2); }

.rytm-search__empty {
  max-width: 66.67%;
  margin: 0 auto;
  padding: 40px 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  color: rgba(16,14,52,0.45);
}

@media (max-width: 1100px) {
  .rytm-search-overlay__row,
  .rytm-search__count,
  .rytm-search__grid,
  .rytm-search__more-wrap,
  .rytm-search__pagination,
  .rytm-search__empty { max-width: 85%; }
}
@media (max-width: 720px) {
  .rytm-search-overlay__header { padding: 20px 0; }
  .rytm-search-overlay__row,
  .rytm-search__count,
  .rytm-search__grid,
  .rytm-search__more-wrap,
  .rytm-search__pagination,
  .rytm-search__empty { max-width: calc(100% - 40px); }
  .rytm-search__grid { grid-template-columns: 1fr; }
  .rytm-search-overlay__input-wrap { height: 52px; }
}

/* ── Category carousel (home page) — equal-width cards, full container ──── */
#carousel_2202610581 {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  min-width: 0 !important;
}
#carousel_2202610581 .t1196__item {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
}
#carousel_2202610581,
#carousel_2202610581 .t1196__item,
#carousel_2202610581 .t1196__imgwrapper { cursor: default !important; }
#carousel_2202610581 a, #carousel_2202610581 a *,
#carousel_2202610581 button, #carousel_2202610581 button *,
#carousel_2202610581 .t-btn, #carousel_2202610581 .t-btn *,
#carousel_2202610581 .t-card__btn, #carousel_2202610581 .t-card__btn * { cursor: pointer !important; }
/* keep images from distorting — preserve aspect ratio via padding trick */
#carousel_2202610581 .t1196__imgwrapper {
  width: 100% !important;
}
/* hide carousel dots/arrows: grid doesn't need pagination */
.t1196__dots,
.t1196__arrow { display: none !important; }

/* ── Wishlist heart on product cards ────────────────────────────────────── */
.rytm-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(243,240,235,0.88);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  transition: background 0.15s, transform 0.1s;
  backdrop-filter: blur(2px);
}
.rytm-wish:hover { background: #f3f0eb; }
.rytm-wish:active { transform: scale(0.9); }
.rytm-wish svg path { transition: fill 0.15s; }
.rytm-wish.is-saved svg path { fill: #100E34; }

/* ── Wishlist panel (right drawer) ──────────────────────────────────────── */
.rytm-wish-panel__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 99997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.rytm-wish-panel.is-open .rytm-wish-panel__overlay {
  opacity: 1;
  pointer-events: all;
}
.rytm-wish-panel__drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: #f3f0eb;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -4px 0 32px rgba(16,14,52,0.1);
}
.rytm-wish-panel.is-open .rytm-wish-panel__drawer { transform: none; }

.rytm-wish-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px;
  border-bottom: 1px solid rgba(16,14,52,0.08);
  flex-shrink: 0;
}
.rytm-wish-panel__title {
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #100E34;
}
.rytm-wish-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  opacity: 0.55;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.rytm-wish-panel__close:hover { opacity: 1; }

.rytm-wish-panel__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.rytm-wish-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(16,14,52,0.07);
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.rytm-wish-item:hover { background: rgba(16,14,52,0.03); }
.rytm-wish-item__img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: #e8e4de;
  display: block;
}
.rytm-wish-item__img--empty { background: #e8e4de; }
.rytm-wish-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rytm-wish-item__name {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #100E34;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rytm-wish-item__sku {
  font-family: Inter, Arial, sans-serif;
  font-size: 11px;
  color: rgba(16,14,52,0.4);
}
.rytm-wish-item__price {
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #100E34;
  flex-shrink: 0;
  white-space: nowrap;
}
.rytm-wish-item__remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.45;
  transition: opacity 0.15s;
}
.rytm-wish-item__remove:hover { opacity: 1; }

.rytm-wish-empty {
  padding: 40px 20px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  color: rgba(16,14,52,0.4);
  text-align: center;
  line-height: 1.6;
}
.rytm-wish-loading {
  padding: 40px 20px;
  text-align: center;
  color: rgba(16,14,52,0.25);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}

/* ── Toast notification ─────────────────────────────────────────────────── */
.rytm-wish-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #100E34;
  color: #f3f0eb;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  padding: 12px 18px;
  border-radius: 10px;
  z-index: 100000;
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.rytm-wish-toast.is-visible {
  transform: none;
  opacity: 1;
}

/* ── Category section — mobile horizontal swipe slider ── */
@media (max-width: 760px) {
  #rec2202610581 .t1196__slider {
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
  }
  #rec2202610581 .t1196__slider::-webkit-scrollbar { display: none; }
  #rec2202610581 .t1196__item {
    min-width: 82% !important;
    width: 82% !important;
    max-width: 82% !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
  }
}

/* ── Blog section (Our blog) — empty, no content, hide both title and feed ── */
#rec2211507971,
#rec2211524381 { display: none !important; }

/* ── Testimonials section — center title, add proper top spacing ── */
#rec2232769281 .t-section__title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#rec2232769281 { padding-top: 90px !important; }

/* ── Footer: hide RYTM brand name text ── */
#rec2211597071 .tn-elem[data-elem-id="1764597036881"] { display: none !important; }

/* ── Footer: stretch content groups to full artboard width ── */
#rec2211597071 .tn-group[data-group-id="1769600704689000004"],
#rec2211597071 .tn-group[data-group-id="1769525254658000006"] {
  width: calc(100% - 80px) !important;
}
#rec2211597071 .tn-group[data-group-id="1769525569152000003"],
#rec2211597071 .tn-group[data-group-id="1769600411147000005"] {
  width: 100% !important;
}
#rec2211597071 .tn-group[data-group-id="1769525216065000005"],
#rec2211597071 .tn-group[data-group-id="1769525175609000003"] {
  flex: 1 !important;
}
