:root {
  --rt-accent: #d66a84;
  --rt-dark: #222222;
  --rt-muted: #777777;
  --rt-border: #e5e5e5;
  --rt-light: #f7f4f2;
  --rt-soft: #fbf1f3;
}

body {
  font-family: Jost, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: var(--rt-dark) !important;
  background: #fff !important;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }
.compact { padding-top: 22px !important; padding-bottom: 0 !important; }

.top-panel {
  border-bottom: 1px solid var(--rt-border);
  background: #fafafa;
  color: #555;
  font-size: 13px;
}
.header-row,
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.header-row { min-height: 38px; }
.rt-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--rt-border);
  backdrop-filter: blur(12px);
}
.header-main { min-height: 82px; }
.rt-logo {
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.rt-logo span { color: var(--rt-accent); }
.rt-menu {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rt-menu a:hover,
.cart-link:hover { color: var(--rt-accent); }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.bag-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 2px;
  display: inline-block;
}
.bag-icon:before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: -8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}
.cart-total {
  font-weight: 600;
}
.cart-link b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--rt-accent);
  color: #fff;
  font-size: 12px;
}
.mobile-menu-toggle,
.mobile-drawer,
.mobile-menu-backdrop,
.mobile-bottom-panel {
  display: none;
}

.button,
button {
  min-height: 42px;
  padding: 0 24px;
  border: 1px solid var(--rt-dark);
  border-radius: 0;
  background: var(--rt-dark);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .2s ease;
}
.button:hover,
button:hover,
.button.active {
  background: var(--rt-accent);
  border-color: var(--rt-accent);
  color: #fff;
}
.button.bordered,
.button.ghost {
  background: transparent;
  color: var(--rt-dark);
  border-color: var(--rt-border);
}
.button.bordered:hover,
.button.ghost:hover {
  border-color: var(--rt-dark);
  background: var(--rt-dark);
  color: #fff;
}

.xstore-hero {
  background: linear-gradient(90deg, #fbf2f3 0%, #fbf2f3 55%, #f7ebe5 55%, #f7ebe5 100%);
  min-height: 690px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--rt-border);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 54px;
}
.eyebrow {
  color: var(--rt-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-copy h1,
h2 {
  margin: 0;
  color: var(--rt-dark);
  font-weight: 600;
  letter-spacing: 0;
}
.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
}
.hero-copy p {
  max-width: 560px;
  margin: 22px 0 32px;
  color: #555;
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-media {
  position: relative;
  align-self: end;
}
.hero-media:before {
  content: "";
  position: absolute;
  inset: 9% 0 4% 7%;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.34);
}
.hero-media img {
  position: relative;
  width: 100%;
  max-height: 650px;
  object-fit: contain;
}

.service-strip {
  border-bottom: 1px solid var(--rt-border);
  background: #fff;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-grid div {
  padding: 24px 28px;
  border-left: 1px solid var(--rt-border);
}
.service-grid div:last-child { border-right: 1px solid var(--rt-border); }
.service-grid strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 5px;
}
.service-grid span,
.muted {
  color: var(--rt-muted);
  line-height: 1.65;
}

.section { padding: 74px 0; }
.compact-section { padding-top: 18px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}
.view-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}
.category-filter {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.category-filter a {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--rt-border);
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.category-filter a:hover {
  border-color: var(--rt-dark);
  background: var(--rt-dark);
  color: #fff;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 22px;
}
.promo-banner {
  min-height: 300px;
  padding: 32px;
  background: linear-gradient(rgba(255,255,255,.76), rgba(255,255,255,.76)), url("../images/products/connie-awake-reborn.webp") center / cover;
  border: 1px solid var(--rt-border);
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: .25s ease;
}
.promo-banner.large {
  background-image: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.75)), url("../images/products/aurora-sleeping-reborn.webp");
}
.promo-banner.dark {
  background-image: linear-gradient(rgba(34,34,34,.32), rgba(34,34,34,.72)), url("../images/products/elodie-premium-set.webp");
  color: #fff;
}
.promo-banner:hover { transform: translateY(-4px); }
.promo-banner span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rt-accent);
}
.promo-banner.dark span { color: #fff; }
.promo-banner strong {
  max-width: 280px;
  margin-top: 6px;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 600;
}

.grid { display: grid; gap: 28px; }
.products { grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); }
.content-product.rt-product {
  text-align: center;
  background: #fff;
}
.product-image-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rt-border);
  background: var(--rt-light);
}
.product-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .45s ease;
}
.rt-product:hover .product-img { transform: scale(1.04); }
.quick-view {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  color: var(--rt-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(16px);
  opacity: 0;
  transition: .2s ease;
}
.rt-product:hover .quick-view {
  opacity: 1;
  transform: translateY(0);
}
.onsale {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  background: var(--rt-accent);
  color: #fff;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.product-details { padding: 18px 8px 0; }
.posted-in {
  display: block;
  color: var(--rt-muted);
  font-size: 12px;
  margin-bottom: 5px;
}
.product-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}
.rating-line {
  margin: 7px 0;
  color: #e3b14e;
  font-size: 11px;
  letter-spacing: .12em;
}
.price {
  color: var(--rt-dark);
  font-size: 18px;
  font-weight: 600;
  margin: 13px 0 16px;
}
.sale { color: var(--rt-accent); }
.old {
  color: var(--rt-muted);
  text-decoration: line-through;
  font-size: 14px;
  margin-left: 8px;
}

.lookbook {
  padding: 86px 0;
  background: #f7f7f7;
  border-top: 1px solid var(--rt-border);
  border-bottom: 1px solid var(--rt-border);
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.collection-card {
  position: relative;
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--rt-border);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  transition: .3s ease;
}
.collection-card:hover img {
  opacity: .32;
  transform: scale(1.04);
}
.collection-card span,
.collection-card strong,
.collection-card p {
  position: relative;
}
.collection-card span {
  color: var(--rt-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.collection-card strong {
  margin-top: 6px;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 600;
}
.collection-card p {
  max-width: 260px;
  margin: 12px 0 0;
  color: #666;
  line-height: 1.55;
}
.promise-band {
  padding: 44px 0;
  background: #202020;
  color: rgba(255,255,255,.76);
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.promise-grid div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: start;
}
.promise-grid span {
  grid-row: span 2;
  color: #f5a5b8;
  font-size: 13px;
  font-weight: 800;
}
.promise-grid strong {
  color: #fff;
  font-size: 18px;
}
.promise-grid p {
  margin: 0;
  line-height: 1.6;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.journal-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--rt-border);
  background: #fff;
}
.journal-card span {
  color: var(--rt-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.journal-card h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 600;
}
.journal-card p {
  margin: 0;
  color: #666;
  line-height: 1.65;
}
.lookbook-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  gap: 58px;
  align-items: center;
}
.lookbook-image {
  border: 1px solid var(--rt-border);
  background: #fff;
}
.lookbook-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.lookbook-copy p {
  margin: 18px 0 28px;
  color: #555;
  font-size: 17px;
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 34px;
  align-items: start;
}
.panel,
.card {
  background: #fff;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  box-shadow: none;
  padding: 26px;
}
.card-body { padding: 26px; }
label {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--rt-border);
  border-radius: 0;
  background: #fff;
  color: var(--rt-dark);
  font: inherit;
}
textarea { min-height: 102px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.full { grid-column: 1 / -1; }
.cart-row {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rt-border);
}
.cart-row img {
  width: 78px;
  height: 92px;
  object-fit: cover;
  border: 1px solid var(--rt-border);
}
.notice {
  padding: 14px 18px;
  border: 1px solid #cddfcb;
  background: #f0f8ef;
  color: #2d5c33;
}

.rt-footer {
  margin-top: 0;
  padding: 62px 0;
  background: #202020;
  color: rgba(255,255,255,.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr .9fr 1fr;
  gap: 36px;
}
.rt-footer h3,
.rt-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 600;
}
.rt-footer a,
.rt-footer button {
  display: block;
  padding: 0;
  min-height: 0;
  margin: 8px 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  margin-top: 15px;
}
.newsletter button {
  min-height: 44px;
  padding: 0 17px;
  background: var(--rt-accent);
  color: #fff;
}
.checkout-heading {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rt-border);
  font-size: 18px;
  font-weight: 600;
}

.chat-fab {
  position: fixed;
  bottom: 20px;
  z-index: 35;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.chat-fab.left { left: 20px; background: #25d366; border-color: #25d366; }
.chat-fab.right { right: 20px; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.46);
}
.modal-backdrop.open { display: grid; }
.modal {
  width: min(460px, 100%);
  padding: 30px;
  background: #fff;
  border: 1px solid var(--rt-border);
}
.modal h3 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 600;
}

@media (max-width: 900px) {
  body { padding-bottom: 62px; }
  .top-panel { display: none; }
  .rt-header {
    background: #fff7f7;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
  }
  .header-main {
    min-height: 58px;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    padding: 0;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
  }
  .rt-logo {
    justify-self: center;
    font-size: 25px;
    letter-spacing: -.02em;
    text-transform: lowercase;
  }
  .rt-logo span { color: #111; }
  .rt-menu { display: none; }
  .cart-link {
    min-width: 70px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "bag count" "total total";
    justify-content: end;
    align-items: center;
    gap: 1px 7px;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
  }
  .cart-link .bag-icon { grid-area: bag; width: 17px; height: 17px; }
  .cart-link .cart-total { grid-area: total; font-size: 11px; line-height: 1; }
  .cart-link b {
    grid-area: count;
    min-width: 0;
    height: auto;
    background: transparent;
    color: #111;
    font-size: 13px;
    border-radius: 0;
  }
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 78;
    background: rgba(0,0,0,.42);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  .mobile-drawer {
    display: block;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 79;
    width: min(290px, 82vw);
    background: #fff;
    padding: 22px 28px;
    transform: translateX(-100%);
    transition: .25s ease;
    box-shadow: 8px 0 30px rgba(0,0,0,.18);
  }
  body.mobile-menu-open .mobile-menu-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  body.mobile-menu-open .mobile-drawer { transform: translateX(0); }
  .drawer-close {
    display: none;
    position: absolute;
    top: 18px;
    right: -45px;
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 24px;
    letter-spacing: 0;
  }
  body.mobile-menu-open .drawer-close { display: inline-flex; }
  .drawer-logo {
    display: block;
    margin: 0 0 18px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    text-transform: lowercase;
  }
  .drawer-logo span { color: #111; }
  .drawer-search {
    display: grid;
    grid-template-columns: 1fr 44px;
    margin-bottom: 18px;
  }
  .drawer-search input { border-right: 0; }
  .drawer-search button {
    min-height: 44px;
    padding: 0;
    border-color: var(--rt-border);
    background: transparent;
    color: #222;
    font-size: 22px;
    letter-spacing: 0;
  }
  .mobile-drawer nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--rt-border);
    color: #333;
    font-size: 15px;
    text-transform: uppercase;
  }
  .mobile-bottom-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 62px;
    background: #fff;
    border-top: 1px solid var(--rt-border);
    box-shadow: 0 -6px 18px rgba(0,0,0,.08);
  }
  .mobile-bottom-panel a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #222;
    font-size: 11px;
  }
  .mobile-bottom-panel span {
    font-size: 22px;
    line-height: 1;
  }
  .xstore-hero { min-height: auto; padding: 54px 0 0; }
  .hero-copy { text-align: center; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy p { font-size: 15px; }
  .hero-actions { justify-content: center; }
  .hero-grid,
  .service-grid,
  .banner-grid,
  .promise-grid,
  .lookbook-grid,
  .split,
  .footer-grid { grid-template-columns: 1fr; }
  .service-grid div,
  .service-grid div:last-child { border-right: 1px solid var(--rt-border); }
  .form-grid { grid-template-columns: 1fr; }
}
