:root {
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Manrope", sans-serif;
  --bg: #f5f1e8;
  --surface: #fbf8f1;
  --surface-2: #eee4d0;
  --text: #1f2b22;
  --muted: #5f6d61;
  --forest: #1f5a3c;
  --forest-deep: #153b2a;
  --gold: #b08d46;
  --line: #d8cfbc;
  --shadow: 0 10px 25px rgba(24, 42, 31, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 0%, rgba(176, 141, 70, 0.08), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(31, 90, 60, 0.1), transparent 36%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.butterfly-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 8;
}

.butterfly {
  position: absolute;
  width: 78px;
  height: 62px;
  opacity: 0.88;
  filter: drop-shadow(0 7px 12px rgba(32, 37, 48, 0.22));
  will-change: transform;
}

.butterfly-svg {
  width: 100%;
  height: 100%;
}

.butterfly .wing {
  transform-box: fill-box;
  transform-origin: center;
}

.butterfly .wing-left {
  animation: wing-flap-left 520ms ease-in-out infinite alternate;
}

.butterfly .wing-right {
  animation: wing-flap-right 520ms ease-in-out infinite alternate;
}

.butterfly-one {
  animation: butterfly-fly-one 23s linear infinite;
}

.butterfly-two {
  width: 66px;
  height: 54px;
  opacity: 0.8;
  animation: butterfly-fly-two 28s linear infinite;
  animation-delay: -9s;
}

@keyframes wing-flap-left {
  0% {
    transform: rotate(-14deg) scale(1);
  }
  100% {
    transform: rotate(8deg) scale(1.03);
  }
}

@keyframes wing-flap-right {
  0% {
    transform: rotate(14deg) scale(1);
  }
  100% {
    transform: rotate(-8deg) scale(1.03);
  }
}

@keyframes butterfly-fly-one {
  0% {
    transform: translate(-12vw, 68vh) rotate(10deg) scale(0.95);
  }
  24% {
    transform: translate(22vw, 41vh) rotate(-6deg) scale(1);
  }
  47% {
    transform: translate(56vw, 56vh) rotate(4deg) scale(1.05);
  }
  71% {
    transform: translate(82vw, 32vh) rotate(-8deg) scale(0.94);
  }
  100% {
    transform: translate(108vw, 61vh) rotate(7deg) scale(0.98);
  }
}

@keyframes butterfly-fly-two {
  0% {
    transform: translate(104vw, 26vh) rotate(168deg) scale(0.95);
  }
  28% {
    transform: translate(73vw, 45vh) rotate(188deg) scale(1.02);
  }
  58% {
    transform: translate(39vw, 22vh) rotate(164deg) scale(0.92);
  }
  82% {
    transform: translate(7vw, 39vh) rotate(178deg) scale(1.03);
  }
  100% {
    transform: translate(-16vw, 18vh) rotate(166deg) scale(0.97);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.top-bar {
  background: rgba(251, 248, 241, 0.95);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 4.4rem;
  padding:
    0.8rem
    max(1rem, env(safe-area-inset-right))
    0.8rem
    max(1rem, env(safe-area-inset-left));
}

.top-bar > * {
  min-width: 0;
}

.logo {
  text-decoration: none;
  color: var(--forest-deep);
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.1vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  padding: 0.1rem 0;
}

.search-wrap input {
  width: 100%;
  border: 1px solid #d2c7b2;
  background: #fffdf8;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  font-size: 0.96rem;
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.search-wrap input:focus {
  outline: 2px solid rgba(31, 90, 60, 0.25);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #d8cdb7;
  border-radius: 999px;
  background: #fffaf0;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: transform 140ms ease, background-color 140ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background-color: #faf2de;
}

.icon-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--forest-deep);
}

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.menu-btn span {
  width: 1.08rem;
  height: 0.12rem;
  border-radius: 999px;
  background: var(--forest-deep);
}

.cart-count {
  position: absolute;
  top: -0.2rem;
  right: -0.1rem;
  min-width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding: 0 0.2rem;
}

.category-strip {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding:
    0.65rem
    max(1rem, env(safe-area-inset-right))
    0.65rem
    max(1rem, env(safe-area-inset-left));
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.store-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 15, 0.5);
  backdrop-filter: blur(2px);
  touch-action: pan-y;
  z-index: 28;
}

.store-menu-drawer {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 29;
  width: min(86vw, 360px);
  max-width: 100%;
  height: 100dvh;
  transform: translateX(100%);
  transition: transform 220ms ease;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -16px 0 30px rgba(15, 24, 20, 0.35);
  padding: 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  will-change: transform;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.15), transparent 35%),
    linear-gradient(160deg, #134436 0%, #1b5a45 45%, #10352a 100%);
}

.store-menu-drawer.open {
  transform: translateX(0);
}

.store-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.store-menu-head p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d5e5dc;
  font-weight: 700;
}

.store-menu-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #edf8f2;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.store-menu-drawer nav {
  display: grid;
  gap: 0.35rem;
}

.store-menu-drawer nav a {
  text-decoration: none;
  color: #f1faf5;
  font-size: 1.02rem;
  font-weight: 700;
  border: 1px solid transparent;
  border-radius: 0.78rem;
  padding: 0.58rem 0.65rem;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.store-menu-drawer nav a:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
}

.category-pill {
  border: 1px solid #d3c5ac;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--forest-deep);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.52rem 0.9rem;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.category-pill:hover {
  background: #fff8e8;
}

.category-pill.is-active {
  background: #f2e7d0;
  border-color: #bea16c;
  color: #3a2b14;
}

.content {
  width: min(1300px, 92%);
  margin: 1.2rem auto 2rem;
}

.hero-slider {
  margin: 0 0 1rem;
  border: 1px solid #dccfb7;
  border-radius: 1.1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: 220px;
  max-height: 420px;
  aspect-ratio: 16 / 6;
  background: linear-gradient(145deg, #efe3ce, #d8e2d7);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #121212;
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.hero-arrow:hover {
  color: #000;
}

.hero-arrow-left {
  left: 0.7rem;
}

.hero-arrow-right {
  right: 0.7rem;
}

.hero-arrow:disabled {
  opacity: 0.42;
  cursor: default;
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.7rem 0.65rem;
  border-top: 1px solid #e2d8c4;
}

.hero-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  border: 1px solid #c9b089;
  background: #eadfc8;
  cursor: pointer;
  padding: 0;
}

.hero-dot.is-active {
  background: var(--forest);
  border-color: var(--forest);
}

.store-sections {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.store-info-card {
  background: var(--surface);
  border: 1px solid #ddcfb7;
  border-radius: 1rem;
  padding: 0.9rem;
}

.store-info-card h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--forest-deep);
}

.store-info-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.store-info-card a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.store-page-main {
  width: min(900px, 92%);
}

.store-page-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px dashed #ccbfa6;
  border-radius: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.product-card {
  background: var(--surface);
  border: 1px solid #dfd3bd;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: #c6b189;
  box-shadow: 0 14px 26px rgba(24, 42, 31, 0.12);
}

.product-card:focus-visible {
  outline: 2px solid rgba(31, 90, 60, 0.35);
  outline-offset: 2px;
}

.product-image {
  position: relative;
  aspect-ratio: auto;
  height: clamp(180px, 24vw, 240px);
  background: linear-gradient(160deg, #fffaf0, #f0e6d5);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.product-content {
  padding: 0.9rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-grow: 1;
}

.product-content h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.42rem;
  line-height: 1.1;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating {
  color: #8f6f2f;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rating span {
  color: #5b4f3b;
  font-weight: 600;
  margin-left: 0.3rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.price {
  font-size: 1.28rem;
  color: var(--forest-deep);
}

.add-btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--forest), #2b7a53);
  color: #f7f7f2;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.62rem 0.98rem;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(21, 59, 42, 0.2);
  transition: transform 140ms ease, filter 140ms ease;
  white-space: nowrap;
}

.add-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.live-chat-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 26;
  display: grid;
  justify-items: end;
  gap: 0.65rem;
}

.live-chat-widget.is-open {
  z-index: 27;
}

.live-chat-toggle {
  border: none;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--forest), #2f7a56);
  color: #f6fbf8;
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.72rem 1rem;
  box-shadow: 0 12px 24px rgba(18, 51, 37, 0.3);
  cursor: pointer;
  transition: transform 140ms ease, filter 140ms ease;
}

.live-chat-toggle:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.live-chat-toggle-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #a4efbf;
  box-shadow: 0 0 0 0 rgba(164, 239, 191, 0.55);
  animation: chat-dot-pulse 1.8s ease-out infinite;
}

@keyframes chat-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(164, 239, 191, 0.52);
  }
  100% {
    box-shadow: 0 0 0 11px rgba(164, 239, 191, 0);
  }
}

.live-chat-panel {
  width: min(360px, calc(100vw - 1.4rem));
  border: 1px solid #d7c8ad;
  border-radius: 1rem;
  overflow: hidden;
  background: #fffaf1;
  box-shadow: 0 16px 34px rgba(18, 38, 29, 0.24);
}

.live-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.72rem;
  border-bottom: 1px solid #dfd1b6;
  background: linear-gradient(150deg, #f5e8cf, #e7efde);
}

.live-chat-head p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--forest-deep);
  line-height: 1;
}

.live-chat-head span {
  display: inline-block;
  margin-top: 0.26rem;
  font-size: 0.74rem;
  color: #4f5f55;
}

.live-chat-close {
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid #ccbda1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #274030;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.live-chat-messages {
  max-height: 230px;
  overflow-y: auto;
  padding: 0.72rem;
  display: grid;
  gap: 0.55rem;
  background: linear-gradient(170deg, rgba(245, 236, 221, 0.5), rgba(236, 242, 232, 0.7));
}

.chat-msg {
  display: flex;
}

.chat-msg p {
  margin: 0;
  max-width: 86%;
  border-radius: 0.82rem;
  padding: 0.55rem 0.68rem;
  font-size: 0.83rem;
  line-height: 1.35;
}

.chat-msg-agent {
  justify-content: flex-start;
}

.chat-msg-agent p {
  background: #fffdf8;
  color: var(--text);
  border: 1px solid #dcccb2;
}

.chat-msg-user {
  justify-content: flex-end;
}

.chat-msg-user p {
  background: linear-gradient(145deg, #1d5e40, #2f8158);
  color: #f4f7f5;
  border: 1px solid rgba(17, 54, 37, 0.62);
}

.live-chat-actions {
  padding: 0.65rem 0.72rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.live-chat-actions a {
  text-decoration: none;
  color: var(--forest-deep);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 0.66rem;
  border: 1px solid #d4c5aa;
  background: #fffdf8;
  padding: 0.5rem 0.4rem;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.live-chat-actions a:hover {
  background: #f8f2e3;
  border-color: #c2b18f;
}

.live-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  padding: 0.72rem;
}

.live-chat-form input {
  width: 100%;
  border: 1px solid #d0c1a3;
  border-radius: 0.68rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  padding: 0.56rem 0.62rem;
  background: #fffefb;
  color: var(--text);
}

.live-chat-form input:focus {
  outline: 2px solid rgba(31, 90, 60, 0.25);
  outline-offset: 1px;
}

.live-chat-form button {
  border: none;
  border-radius: 0.68rem;
  background: var(--forest);
  color: #f7f7f0;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.56rem 0.8rem;
  cursor: pointer;
}

.live-chat-form button:hover {
  filter: brightness(1.04);
}

.live-chat-form button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  filter: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(242, 231, 208, 0.58);
  text-align: center;
  padding: 1rem;
  color: #4f5c53;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

body.store-menu-open {
  overflow: hidden;
}

body.header-compact .top-bar {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

body.layout-editorial .content {
  width: min(1160px, 90%);
}

body.layout-editorial .product-grid {
  gap: 1.35rem;
}

body.layout-editorial .product-card {
  border-radius: 1.25rem;
}

body.layout-editorial .product-image {
  aspect-ratio: 3 / 4;
}

body.layout-showcase .content {
  width: min(1380px, 95%);
}

body.layout-showcase .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

body.layout-showcase .product-content h3 {
  font-size: 1.6rem;
}

body.card-outline .product-card {
  box-shadow: none;
  border-width: 2px;
}

body.card-elevated .product-card {
  transform: translateY(0);
  transition: transform 170ms ease, box-shadow 170ms ease;
}

body.card-elevated .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(24, 42, 31, 0.14);
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .top-bar {
    grid-template-columns: 1fr auto;
    gap: 0.7rem;
  }

  .logo {
    grid-column: 1 / 2;
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  .header-actions {
    grid-column: 2 / 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }

  .header-actions .doula-link-btn {
    order: 1;
  }

  .header-actions .cart-btn {
    order: 2;
  }

  .header-actions .menu-btn {
    order: 3;
  }

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

  .store-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .butterfly {
    width: 62px;
    height: 50px;
  }

  .butterfly-two {
    width: 54px;
    height: 44px;
  }

  .content {
    width: min(96%, 620px);
    margin-top: 0.85rem;
  }

  .hero-slider {
    margin-bottom: 0.72rem;
    border-radius: 0.9rem;
  }

  .hero-stage {
    min-height: 0;
    max-height: none;
  }

  .hero-dots {
    display: none !important;
  }

  .hero-arrow {
    width: 2rem;
    height: 2rem;
    font-size: 0.92rem;
  }

  .hero-arrow-left {
    left: 0.45rem;
  }

  .hero-arrow-right {
    right: 0.45rem;
  }

  .top-bar {
    padding:
      0.72rem
      max(0.72rem, env(safe-area-inset-right))
      0.72rem
      max(0.72rem, env(safe-area-inset-left));
  }

  .category-strip {
    padding:
      0.6rem
      max(0.7rem, env(safe-area-inset-right))
      0.6rem
      max(0.7rem, env(safe-area-inset-left));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
  }

  .product-image,
  body.layout-editorial .product-image {
    aspect-ratio: auto;
    height: 150px;
  }

  .product-content {
    padding: 0.68rem 0.68rem 0.75rem;
    gap: 0.34rem;
  }

  .product-content h3 {
    font-size: 1.18rem;
  }

  .product-content p {
    font-size: 0.8rem;
  }

  .rating {
    font-size: 0.74rem;
  }

  .price {
    font-size: 1.12rem;
  }

  .add-btn {
    font-size: 0.76rem;
    padding: 0.5rem 0.78rem;
  }

  .search-wrap input {
    padding: 0.8rem 0.95rem;
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .doula-link-btn {
    display: grid;
  }

  .store-menu-drawer {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
    box-shadow: none;
    padding:
      max(0.8rem, env(safe-area-inset-top))
      max(0.9rem, env(safe-area-inset-right))
      1.05rem
      max(0.9rem, env(safe-area-inset-left));
  }

  .live-chat-widget {
    left: max(0.72rem, env(safe-area-inset-left));
    right: max(0.72rem, env(safe-area-inset-right));
    bottom: max(0.72rem, env(safe-area-inset-bottom));
  }

  .live-chat-toggle {
    justify-self: end;
  }

  .live-chat-panel {
    width: 100%;
  }

  .live-chat-messages {
    max-height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .butterfly-ambient {
    display: none;
  }

  .live-chat-toggle-dot {
    animation: none;
  }
}

@media (max-width: 430px) {
  .content {
    width: 95%;
  }

  .icon-btn {
    width: 2.35rem;
    height: 2.35rem;
  }

  .category-pill {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }

  .product-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 393px) {
  .top-bar {
    gap: 0.55rem;
  }

  .logo {
    font-size: 1.32rem;
    letter-spacing: 0.01em;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .search-wrap input {
    font-size: 0.86rem;
    padding: 0.75rem 0.85rem;
  }
}

@media (max-width: 390px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image,
  body.layout-editorial .product-image {
    height: 180px;
  }
}
