:root {
  --ms-pink: #df508e;
  --ms-pink-dark: #c43d78;
  --ms-pink-soft: #f8e6ef;
  --ms-purple: #9b2d6a;
  --ms-text: #222;
  --ms-muted: #666;
  --ms-border: #e8e8e8;
  --ms-bg: #fff;
  --ms-nav: #df508e;
  --font: "Open Sans", "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ms-text);
  background: var(--ms-bg);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.hidden { display: none !important; }

/* Top campaign */
.ms-top-banner {
  background: var(--ms-pink);
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
}
.ms-announce {
  background: var(--ms-purple);
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
}
.ms-util {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--ms-border);
  font-size: 12px;
  color: var(--ms-muted);
  flex-wrap: wrap;
}
.ms-util a { color: var(--ms-muted); }
.ms-util a:hover { color: var(--ms-pink); }
.ms-util-right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.ms-header {
  display: grid;
  grid-template-columns: 180px minmax(280px, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 16px 24px;
}
.ms-logo img { height: 52px; width: auto; }
.ms-search {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 999px;
  overflow: hidden;
  background: #fafafa;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}
.ms-search input {
  flex: 1;
  border: 0;
  padding: 12px 18px;
  background: transparent;
  outline: none;
}
.ms-search button {
  border: 0;
  background: var(--ms-pink);
  color: #fff;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
}
.ms-actions { display: flex; gap: 16px; align-items: center; }
.ms-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #444;
  position: relative;
}
.ms-action:hover { color: var(--ms-pink); }
.ms-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--ms-pink);
  color: #fff;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.ms-badge-pulse {
  animation: ms-badge-pulse .7s cubic-bezier(.2, .9, .2, 1);
}
@keyframes ms-badge-pulse {
  0% { transform: scale(1); }
  30% { transform: scale(1.55); }
  55% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.ms-cart-flash {
  animation: ms-cart-flash .85s ease;
  color: var(--ms-pink-dark) !important;
}
@keyframes ms-cart-flash {
  0% { filter: none; transform: scale(1); }
  28% { filter: drop-shadow(0 0 10px rgba(223, 80, 142, .75)); transform: scale(1.1); }
  100% { filter: none; transform: scale(1); }
}

/* Nav redesign */
.ms-nav {
  background: linear-gradient(180deg, #e45a98 0%, var(--ms-nav) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 6px 18px rgba(155, 45, 106, .18);
}
.ms-nav-inner {
  display: flex;
  gap: 4px;
  padding: 6px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  max-width: 1400px;
  margin: 0 auto;
}
.ms-nav-wrap { position: relative; flex: 0 0 auto; }
.ms-nav-item {
  color: #fff;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ms-nav-item::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform .2s ease;
}
.ms-nav-item:hover, .ms-nav-item.active {
  background: rgba(255,255,255,.16);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.ms-nav-item:hover::after, .ms-nav-item.active::after { transform: scaleX(1); }
.ms-nav-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}
.ms-nav-badge--new { background: #ffe8f2; color: #b0185d; }
.ms-nav-badge--sale { background: #fff3c4; color: #8a5a00; }

.ms-util-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ms-util-dot { opacity: .45; }
.ms-util-support, .ms-footer-linkbtn {
  border: 0;
  background: transparent;
  color: var(--ms-pink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.ms-util-support:hover, .ms-footer-linkbtn:hover { text-decoration: underline; }
.ms-menu-toggle {
  display: none;
  border: 1px solid #eee;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
}

/* Bubbles */
.ms-bubble-ring {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd6e8, #f7b4d2 45%, #df508e);
  padding: 3px;
  box-shadow: 0 8px 18px rgba(223, 80, 142, .18);
  transition: transform .2s ease;
}
.ms-bubble:hover .ms-bubble-ring { transform: translateY(-3px) scale(1.04); }
.ms-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

.ms-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.ms-section-more {
  color: var(--ms-pink);
  font-size: 13px;
  font-weight: 700;
}
.ms-section-more:hover { text-decoration: underline; }

/* Cards + swatches */
.ms-card {
  border-radius: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ms-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(155, 45, 106, .12);
}
.ms-card-link { display: block; color: inherit; }
.ms-card-sku { font-size: 11px; color: #999; margin: -4px 0 8px; letter-spacing: .04em; }
.ms-card-price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.ms-card-foot { padding-top: 0 !important; }
.ms-card-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 8px;
}
.ms-card-size {
  font-size: 10px;
  font-weight: 700;
  color: #666;
  border: 1px solid #ececec;
  border-radius: 5px;
  padding: 2px 5px;
  background: #fafafa;
}
.ms-card-size.is-low { border-color: #f0c2a0; color: #b85d1a; }
.ms-card-size.is-out { opacity: .35; text-decoration: line-through; }
.ms-card-size.is-more { border-style: dashed; }

.ms-swatches { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
.ms-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sw, #ccc);
  border: 1.5px solid rgba(0,0,0,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  display: inline-block;
  flex: 0 0 auto;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ms-swatches--lg .ms-swatch { width: 22px; height: 22px; }
.ms-swatch.is-light { border-color: #d0d0d0; }
.ms-swatch.on, .ms-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ms-pink);
}
.ms-swatch-more { font-size: 11px; color: #888; font-weight: 700; }
.ms-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.ms-card-colors,
.ms-other-colors {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 8px;
}
.ms-card-color,
.ms-other-color {
  width: 34px;
  height: 46px;
  border-radius: 4px;
  background: #f0f0f0 center/cover no-repeat;
  border: 1px solid #e6e6e6;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ms-other-color {
  width: 56px;
  height: 74px;
  border-radius: 3px;
}
.ms-card-color:hover,
.ms-other-color:hover {
  border-color: var(--ms-pink);
  box-shadow: 0 0 0 1px var(--ms-pink);
  transform: translateY(-1px);
}
.ms-card-color--sw,
.ms-other-color--sw {
  background: var(--sw, #ccc);
  background-image: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.ms-other-color--sw { width: 28px; height: 28px; }
.ms-card-color-more,
.ms-other-color-more {
  font-size: 11px;
  font-weight: 700;
  color: #888;
}
.ms-other-colors-label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: .02em;
  color: #333;
}
.ms-card-title-link { color: inherit; display: block; }
.ms-card-title-link:hover .ms-card-title { color: var(--ms-pink); }
.ms-card-price-row { color: inherit; text-decoration: none; }

.ms-home-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 4px;
  padding: 18px 22px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .01em;
  background: linear-gradient(90deg, #c2185b, #e91e8c);
  box-shadow: 0 8px 22px rgba(194, 24, 91, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.ms-home-promo:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(194, 24, 91, .28);
  color: #fff;
}
.ms-home-promo--rose {
  background: linear-gradient(90deg, #ad1457, #f06292);
}
.ms-home-promo--coral {
  background: linear-gradient(90deg, #e65100, #ff8a65);
}
.ms-home-promo-cta {
  font-size: 13px;
  font-weight: 700;
  opacity: .95;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  padding: 7px 14px;
}
.ms-cat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ms-cat-tile {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ms-border);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ms-cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.1);
}
.ms-cat-tile-img {
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #f4f4f4;
}
.ms-cat-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.ms-cat-tile:hover .ms-cat-tile-img img { transform: scale(1.05); }
.ms-cat-tile-title {
  display: block;
  padding: 10px 12px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  text-align: center;
}
.ms-grid--home { gap: 14px; }

.ms-color-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ms-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ececec;
  border-radius: 999px;
  padding: 6px 10px 6px 7px;
  font-size: 12px;
  font-weight: 650;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.ms-color-chip:hover, .ms-color-chip.on {
  border-color: var(--ms-pink);
  box-shadow: 0 0 0 3px rgba(223, 80, 142, .12);
  color: var(--ms-pink-dark);
}
.ms-color-chip .ms-swatch { width: 18px; height: 18px; }

.ms-pdp-block { margin-top: 16px; }
.ms-pdp-price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; flex-wrap: wrap; }
.ms-pdp-disc {
  background: var(--ms-pink-soft);
  color: var(--ms-pink-dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}
.ms-pdp-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: stretch;
}
.ms-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0 4px;
}
.ms-meta-grid div {
  background: #faf7f9;
  border: 1px solid #f0e4eb;
  border-radius: 10px;
  padding: 10px 12px;
}
.ms-meta-grid dt { margin: 0; font-size: 11px; color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.ms-meta-grid dd { margin: 4px 0 0; font-size: 13px; color: #333; font-weight: 650; }
.ms-variants .ms-variant {
  position: relative;
  min-width: 44px;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
}
.ms-variants .ms-variant small { font-size: 9px; font-weight: 700; opacity: .75; }
.ms-variants .ms-variant.is-low { border-color: #e8a06a; }
.ms-variants .ms-variant.is-out {
  opacity: .45;
  text-decoration: line-through;
  cursor: not-allowed;
}
.ms-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ms-size-img { margin-top: 18px; }

/* Support widget */
.ms-support-panel {
  pointer-events: auto;
  width: min(320px, calc(100vw - 28px));
  margin-bottom: 12px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  overflow: hidden;
  border: 1px solid #efe4ea;
  animation: ms-support-in .22s ease;
}
@keyframes ms-support-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.ms-support-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: linear-gradient(120deg, #1f9f55, #25d366);
  color: #fff;
}
.ms-support-close {
  border: 0;
  background: rgba(255,255,255,.2);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.ms-support-panel-body { padding: 14px; }
.ms-support-panel-body p { margin: 0 0 12px; font-size: 13px; color: #555; }
.ms-support-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  background: #25d366;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 8px;
}
.ms-support-chat-btn {
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  cursor: pointer;
}
.ms-support-chat {
  margin-top: 10px;
  border: 1px solid #efe4ea;
  border-radius: 12px;
  overflow: hidden;
}
.ms-support-chat-head {
  background: var(--ms-pink-soft);
  color: var(--ms-pink-dark);
  font-weight: 800;
  font-size: 12px;
  padding: 8px 10px;
}
.ms-support-chat-body { padding: 10px; font-size: 13px; color: #555; }
.ms-support-chat-body .muted { color: #888; font-size: 12px; }
.ms-support-chat-form {
  display: flex;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid #f0e4eb;
}
.ms-support-chat-form input {
  flex: 1;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 8px 10px;
}
.ms-live-support {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.ms-mega {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  color: #333;
  border-bottom: 1px solid var(--ms-border);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 18px 24px;
  z-index: 50;
}
.ms-nav-wrap:hover .ms-mega { display: block; }
.ms-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px 18px;
  max-width: 1200px;
  margin: 0 auto;
}
.ms-mega a { display: block; padding: 6px 0; font-size: 13px; color: #444; }
.ms-mega a:hover { color: var(--ms-pink); }

.ms-bubbles {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 18px 16px;
  scrollbar-width: thin;
}
.ms-bubble {
  flex: 0 0 auto;
  width: 92px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #444;
}
.ms-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  margin: 0;
}

.ms-slider {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
}
.ms-slides { display: flex; transition: transform .45s ease; }
.ms-slide { min-width: 100%; }
.ms-slide img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.ms-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255,255,255,.85);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}
.ms-slider-btn.prev { left: 12px; }
.ms-slider-btn.next { right: 12px; }
.ms-dots {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  display: flex; justify-content: center; gap: 6px;
}
.ms-dots button {
  width: 9px; height: 9px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.6); cursor: pointer;
}
.ms-dots button.on { background: var(--ms-pink); }

.ms-wrap { width: min(1240px, calc(100% - 24px)); margin: 0 auto; }
.ms-section { padding: 24px 0; }
.ms-section h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--ms-pink-dark);
}
.ms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ms-card {
  background: #fff;
  border: 1px solid var(--ms-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
  position: relative;
}
.ms-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.ms-card-img {
  aspect-ratio: 3/4;
  background: #f4f4f4;
  overflow: hidden;
  position: relative;
}
.ms-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ms-card-body { padding: 10px 12px 14px; }
.ms-card-title {
  font-size: 13px;
  min-height: 38px;
  margin: 0 0 8px;
  color: #333;
}
.ms-price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 12px;
  margin-right: 6px;
}
.ms-price {
  color: var(--ms-pink);
  font-weight: 800;
  font-size: 15px;
}
.ms-discount-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--ms-pink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 4px;
}
.ms-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.ms-btn {
  border: 0;
  background: var(--ms-pink);
  color: #fff;
  border-radius: 6px;
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
}
.ms-btn:hover { background: var(--ms-pink-dark); }
.ms-btn-ghost {
  background: #fff;
  color: var(--ms-pink);
  border: 1px solid var(--ms-pink);
}
.ms-btn.ms-btn-cart {
  background: linear-gradient(180deg, #e85a9a 0%, var(--ms-pink) 55%, var(--ms-pink-dark) 100%);
  color: #fff;
  min-width: min(100%, 280px);
  flex: 1 1 220px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 0;
  box-shadow: 0 8px 20px rgba(223, 80, 142, .28);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.ms-btn.ms-btn-cart:hover {
  background: linear-gradient(180deg, #ef6aa6 0%, var(--ms-pink-dark) 100%);
  filter: brightness(1.02);
  box-shadow: 0 10px 24px rgba(196, 61, 120, .34);
  transform: translateY(-1px);
}
.ms-btn.ms-btn-cart:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(196, 61, 120, .25);
}
.ms-btn.ms-btn-cart:disabled,
.ms-btn.ms-btn-cart.is-disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: none;
}

/* Category layout */
.ms-cat-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 20px 0 40px;
}
.ms-filters {
  border: 1px solid var(--ms-border);
  border-radius: 8px;
  padding: 14px;
  height: fit-content;
  position: sticky;
  top: 70px;
}
.ms-filters h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--ms-pink-dark);
}
.ms-filter-group { margin: 0 0 16px; }
.ms-filter-group h4 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #888;
}
.ms-filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  margin: 0 -4px;
  border-radius: 6px;
  font-size: 13px;
  color: #333;
}
.ms-filter-link:hover,
.ms-filter-link.on {
  background: #fff0f6;
  color: var(--ms-pink-dark);
}
.ms-filter-link span {
  font-size: 11px;
  font-weight: 700;
  color: #999;
}
.ms-filter-count {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-size: 13px;
  font-weight: 700;
  color: #555;
}
.ms-filters label { display: block; font-size: 13px; margin: 6px 0; color: #444; }
.ms-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ms-toolbar select {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
}

/* Product detail */
.ms-pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  padding: 24px 0 40px;
}
.ms-gallery-main {
  border: 1px solid var(--ms-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fafafa;
  aspect-ratio: 3/4;
}
.ms-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.ms-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.ms-thumbs button {
  border: 1px solid var(--ms-border);
  padding: 0;
  background: #fff;
  width: 72px;
  height: 96px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}
.ms-thumbs button.on { border-color: var(--ms-pink); }
.ms-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ms-pdp h1 { margin: 0 0 10px; font-size: 22px; }
.ms-breadcrumbs { font-size: 12px; color: var(--ms-muted); margin-bottom: 10px; }
.ms-breadcrumbs a:hover { color: var(--ms-pink); }
.ms-variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.ms-variant {
  border: 1px solid #ccc;
  background: #fff;
  min-width: 44px;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.ms-variant.on { border-color: var(--ms-pink); color: var(--ms-pink); font-weight: 700; }
.ms-desc { margin-top: 28px; line-height: 1.6; font-size: 14px; }
.ms-desc h2, .ms-desc h3 { color: var(--ms-pink); }
.ms-size-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
.ms-size-table th, .ms-size-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
.ms-size-table th { background: #eee; }

/* Cart / auth / pages */
.ms-panel {
  border: 1px solid var(--ms-border);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}
.ms-cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--ms-border);
}
.ms-cart-row img { width: 80px; height: 100px; object-fit: cover; border-radius: 4px; }
.ms-form { display: grid; gap: 10px; max-width: 420px; }
.ms-form input, .ms-form textarea, .ms-form select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 11px 12px;
}
.ms-empty { padding: 40px 10px; text-align: center; color: var(--ms-muted); }

.ms-checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.ms-checkout-note { color: var(--ms-muted); font-size: 14px; margin: 0 0 14px; line-height: 1.5; }
.ms-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #444; }
.ms-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ms-border);
  font-size: 13px;
}
.ms-summary-total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 16px;
}
.ms-iban-box {
  border: 1px solid #f0c2d8;
  background: #fff7fb;
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 0;
}
.ms-pay-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 12px;
  align-items: center;
  padding: 11px 2px;
  border-bottom: 1px solid #f3d6e5;
  font-size: 14px;
}
.ms-iban-box > .ms-pay-row:last-child,
.ms-pay-highlight .ms-pay-row:last-of-type {
  border-bottom: 0;
}
.ms-pay-row > span {
  color: #888;
  font-weight: 600;
  font-size: 13px;
}
.ms-pay-row > strong,
.ms-pay-value strong {
  font-weight: 700;
  color: #222;
  word-break: break-word;
}
.ms-pay-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ms-pay-copy {
  padding: 6px 10px !important;
  flex: 0 0 auto;
  width: auto !important;
}
.ms-pay-highlight {
  margin-top: 6px;
  padding: 8px 10px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #f0c2d8;
}
.ms-pay-highlight .ms-pay-row {
  border-bottom-color: #f7e3ed;
}
.ms-pay-em {
  font-size: 20px !important;
  line-height: 1.25;
  letter-spacing: .3px;
  color: var(--ms-pink-dark) !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
}
.ms-ref-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #8a3a5c;
  background: #fff7fb;
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px dashed #f0c2d8;
  line-height: 1.45;
}
@media (max-width: 560px) {
  .ms-pay-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .ms-pay-em { font-size: 18px !important; }
}
.ms-maintenance { text-align: center; padding: 36px 22px; }
.ms-maintenance-badge {
  display: inline-block;
  background: var(--ms-pink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ms-maintenance h1 { margin: 0 0 10px; }
.ms-maintenance p { color: #555; line-height: 1.6; max-width: 520px; margin: 0 auto; }

.ms-login-wrap {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(194, 24, 91, 0.1), transparent 60%),
    linear-gradient(180deg, #f7f2f5, #faf7f9);
}
.ms-login-box {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(120, 40, 80, .12);
}
.ms-login-left {
  background:
    linear-gradient(160deg, rgba(233, 30, 140, 0.22), transparent 42%),
    #2a1420;
  color: #fff;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ms-login-logo {
  height: 42px;
  width: auto;
  margin-bottom: 28px;
  align-self: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}
.ms-login-left h2 { font-size: 28px; line-height: 1.25; margin: 0 0 14px; }
.ms-login-left h2 span { color: #f48fb1; }
.ms-login-left p {
  margin: 0;
  opacity: .86;
  line-height: 1.6;
  font-size: 15px;
  max-width: 30ch;
}
.ms-login-right {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ms-login-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ms-pink);
}
.ms-login-title {
  margin: 0 0 16px;
  font-size: 30px;
  color: #222;
}
.ms-login-note {
  background: #fff7fb;
  border: 1px solid #f3d0e2;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.ms-login-note-lead {
  margin: 0 0 8px;
  color: #444;
  line-height: 1.55;
  font-size: 14px;
}
.ms-login-note-thanks {
  margin: 0;
  color: #888;
  font-size: 13px;
}
.ms-login-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px 18px;
  font-size: 14px;
}
.ms-page-body { line-height: 1.7; color: #444; }
.ms-page-body p { margin: 0 0 12px; }
.ms-page-body ul { margin: 0 0 12px; padding-left: 18px; }
.ms-page-body li { margin: 0 0 6px; }

.ms-footer {
  background: #1f1f1f;
  color: #ddd;
  margin-top: 40px;
  padding: 36px 0 20px;
  font-size: 13px;
}
.ms-footer a { color: #ddd; }
.ms-footer a:hover { color: #fff; }
.ms-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ms-footer h4 { color: #fff; margin: 0 0 12px; font-size: 14px; }
.ms-footer ul { list-style: none; margin: 0; padding: 0; }
.ms-footer li { margin: 7px 0; }
.ms-copy {
  border-top: 1px solid #333;
  margin-top: 24px;
  padding-top: 14px;
  text-align: center;
  color: #999;
  font-size: 12px;
}

.ms-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 22px 0 8px;
  flex-wrap: wrap;
}
.ms-pager button:disabled { opacity: .45; cursor: not-allowed; }
.ms-variant { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

.ms-toast {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%) translateY(-18px);
  background: #222;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 200;
  max-width: min(420px, calc(100vw - 24px));
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}
.ms-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.ms-toast--cart {
  top: calc(14px + env(safe-area-inset-top, 0px));
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 12px;
  background: #c43d78;
  background: linear-gradient(135deg, #b8326c 0%, #df508e 58%, #e978ab 100%);
  border: 1px solid rgba(255,255,255,.34);
  pointer-events: auto;
  text-align: left;
  font-weight: 700;
  box-shadow:
    0 14px 36px rgba(196, 61, 120, .42),
    0 0 0 1px rgba(180, 50, 110, .18);
}
.ms-toast.show.ms-toast--pop {
  animation: ms-toast-pop .48s cubic-bezier(.2, .9, .2, 1);
}
@keyframes ms-toast-pop {
  0% { transform: translateX(-50%) translateY(-10px) scale(.94); opacity: 0; }
  55% { transform: translateX(-50%) translateY(2px) scale(1.02); opacity: 1; }
  100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
}
.ms-toast-ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.24);
  font-size: 15px;
  font-weight: 800;
}
.ms-toast-body {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.ms-toast-msg { font-size: 14px; line-height: 1.25; }
.ms-toast-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  color: #c43d78 !important;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  padding: 6px 10px;
  border-radius: 999px;
  line-height: 1;
}
.ms-toast-cta:hover { filter: brightness(1.03); }

.ms-fly-ghost {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 190;
  pointer-events: none;
  border-radius: 10px;
  background-color: #f8e6ef;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 22px rgba(196, 61, 120, .35);
  border: 2px solid rgba(255,255,255,.85);
  will-change: transform, opacity;
}

.ms-promo-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ms-border);
  display: grid;
  gap: 10px;
}
.ms-promo-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ms-promo-row input {
  flex: 1;
  min-width: 140px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 11px 12px;
}
.ms-promo-ok {
  margin: 0;
  color: #1a7f37;
  font-size: 13px;
  font-weight: 600;
  background: #eef9f1;
  border: 1px solid #c9ebd3;
  border-radius: 8px;
  padding: 10px 12px;
}
.ms-promo-hint {
  margin: 0;
  color: #888;
  font-size: 12px;
}
.ms-promo-banner {
  margin: 0 0 14px;
  padding: 11px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff0f6, #ffe8f2);
  border: 1px solid #f0c2d8;
  color: #8a3a5c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.ms-cart-price {
  display: grid;
  justify-items: end;
  gap: 2px;
  text-align: right;
  min-width: 96px;
}
.ms-line-disc {
  display: inline-block;
  margin-top: 2px;
  color: var(--ms-pink-dark);
  font-size: 11px;
  font-weight: 700;
}
.ms-summary-row--promo small.ms-line-disc {
  display: block;
  margin-top: 2px;
}
.ms-summary-row--promo .ms-price-old {
  margin-right: 6px;
  font-size: 12px;
}
.ms-summary-discount span,
.ms-summary-discount strong {
  color: var(--ms-pink-dark);
}
.ms-field-hint { color: #888; font-weight: 500; font-size: 12px; }
.ms-optional { color: #999; font-weight: 500; font-size: 12px; }
.ms-form-error {
  color: #b00020;
  background: #fff0f3;
  border: 1px solid #f3c2cd;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .ms-header {
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      "menu logo actions"
      "search search search";
    gap: 12px;
    padding: 12px 14px;
  }
  .ms-menu-toggle { display: inline-grid; place-items: center; grid-area: menu; }
  .ms-logo { grid-area: logo; }
  .ms-search { grid-area: search; }
  .ms-actions { grid-area: actions; justify-self: end; gap: 10px; }
  .ms-action-label { display: none; }
  .ms-logo img { height: 42px; }
  .ms-nav { display: none; }
  .ms-nav.is-open {
    display: block;
    position: sticky;
    top: 0;
  }
  .ms-nav-inner {
    flex-direction: column;
    padding: 10px;
    gap: 4px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
  }
  .ms-nav-item { width: 100%; justify-content: space-between; border-radius: 12px; }
  .ms-nav-item::after { display: none; }
  .ms-mega { position: static; display: none; box-shadow: none; border: 0; padding: 4px 8px 10px; }
  .ms-nav-wrap:hover .ms-mega,
  .ms-nav-wrap:focus-within .ms-mega { display: block; }
  .ms-slide img { max-height: 280px; }
  .ms-slider-btn { width: 34px; height: 34px; }
  .ms-bubbles { padding: 14px 10px; gap: 10px; }
  .ms-bubble { width: 78px; }
  .ms-bubble-ring { width: 68px; height: 68px; }
  .ms-panel { padding: 16px; }
  .ms-cart-row { grid-template-columns: 72px 1fr auto; gap: 10px; }
  .ms-top-banner { font-size: 12px; padding: 8px 10px; line-height: 1.35; }
  .ms-grid { grid-template-columns: repeat(2, 1fr); }
  .ms-cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .ms-home-promo { font-size: 15px; padding: 14px 16px; flex-wrap: wrap; }
  .ms-other-color { width: 48px; height: 64px; }
  .ms-btn-cart { width: 100%; }
  .ms-cat-layout { grid-template-columns: 1fr; }
  .ms-filters { position: static; }
  .ms-pdp { grid-template-columns: 1fr; }
  .ms-meta-grid { grid-template-columns: 1fr; }
  .ms-footer-grid { grid-template-columns: 1fr 1fr; }
  .ms-util { display: none; }
  .ms-login-box { grid-template-columns: 1fr; }
  .ms-login-left { display: none; }
  .ms-login-right { padding: 32px 22px; }
  .ms-login-title { font-size: 24px; }
  .ms-cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .ms-checkout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .ms-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ms-footer-grid { grid-template-columns: 1fr; }
  .ms-slide img { max-height: 200px; }
  .ms-search input { padding: 10px 14px; }
  .ms-search button { padding: 0 14px; }
  .ms-btn { width: 100%; text-align: center; }
  .ms-promo-row .ms-btn,
  .ms-iban-box .ms-btn { width: auto; }
  .ms-toast,
  .ms-toast--cart {
    left: 12px;
    right: 12px;
    transform: none;
    max-width: none;
    width: auto;
  }
  .ms-toast.show {
    transform: none;
  }
  .ms-toast.show.ms-toast--pop {
    animation: ms-toast-pop-mobile .48s cubic-bezier(.2, .9, .2, 1);
  }
  @keyframes ms-toast-pop-mobile {
    0% { transform: translateY(-10px) scale(.96); }
    60% { transform: translateY(2px) scale(1.01); }
    100% { transform: translateY(0) scale(1); }
  }
}

/* WhatsApp canlı destek — sabit FAB, yalnızca kendi alanına tıklanır */
.ms-live-support {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 120;
  pointer-events: none;
}
.ms-wa-fab {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(220px, calc(100vw - 32px));
  padding: 10px 14px 10px 10px;
  border: 0;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(18, 140, 70, .35);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.ms-wa-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(18, 140, 70, .42);
  color: #fff;
}
.ms-wa-fab-ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex: 0 0 auto;
}
.ms-wa-fab-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 4px;
}
@media (max-width: 560px) {
  .ms-live-support { right: 12px; bottom: 14px; }
  .ms-wa-fab { padding: 10px; gap: 0; }
  .ms-wa-fab-label { display: none; }
  .ms-wa-fab-ico { width: 34px; height: 34px; }
  .ms-wa-fab-ico svg { width: 20px; height: 20px; }
}
