/**
 * Fashion Store Shop — Premium Shopping Experience V3
 * App-like · Apple/Nike/Zara energy · conversion-first
 * Scoped to body.shop-tpl-fashion.shop-fashion-v3
 */

body.shop-tpl-fashion.shop-fashion-v3 {
  --fx-ink: #111111;
  --fx-muted: #737373;
  --fx-line: rgba(17, 17, 17, 0.08);
  --fx-soft: #f5f5f4;
  --fx-card: #ffffff;
  --fx-radius: 16px;
  --fx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fx-nav-h: 56px;
  --fx-shadow: 0 6px 24px rgba(17, 17, 17, 0.06);
  --fx-shadow-lift: 0 16px 40px rgba(17, 17, 17, 0.12);
  background: #ffffff !important;
  color: var(--fx-ink);
  padding-top: var(--fx-nav-h) !important;
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav {
  height: var(--fx-nav-h) !important;
  padding: 0 0.85rem !important;
  gap: 0.5rem !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom: 1px solid var(--fx-line) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: none !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav > a.shop-nav-back {
  color: var(--fx-ink) !important;
  font-weight: 500;
  font-size: 0.8rem;
  opacity: 0.7;
  gap: 0.3rem;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav > a.shop-nav-back .track-txt { display: none; }
@media (min-width: 720px) {
  body.shop-tpl-fashion.shop-fashion-v3 .shop-nav > a.shop-nav-back .track-txt { display: inline; }
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-mid {
  flex: 1;
  min-width: 0;
  justify-content: flex-start !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--fx-soft);
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-logo--ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--fx-ink);
}

/* Clean premium store name — no decorative serif */
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav .brand,
body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__name {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif !important;
  font-weight: 650 !important;
  font-style: normal !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--fx-ink) !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav .brand {
  font-size: clamp(0.95rem, 2.6vw, 1.1rem) !important;
  max-width: min(46vw, 200px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-right { gap: 0.1rem !important; }
body.shop-tpl-fashion.shop-fashion-v3 .shop-search-field { max-width: 148px; margin-right: 0.15rem; }
@media (min-width: 768px) {
  body.shop-tpl-fashion.shop-fashion-v3 .shop-search-field { max-width: 200px; }
}
@media (max-width: 520px) {
  body.shop-tpl-fashion.shop-fashion-v3 .shop-search-field {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  }
  body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-right .shop-nav-icon--search-mobile {
    display: inline-flex !important;
  }
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-search {
  height: 34px !important;
  line-height: 34px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--fx-soft) !important;
  font-size: 0.78rem !important;
  padding-left: 32px !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-search:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(17,17,17,0.12);
  background: #fff !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-icon,
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav .cart-link {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  color: var(--fx-ink) !important;
  background: transparent;
  border: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  font-size: 0.95rem !important;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--fx-ease), transform 0.25s var(--fx-ease);
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-icon:hover,
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav .cart-link:hover {
  background: var(--fx-soft);
  opacity: 1;
  transform: none !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav-icon--search-mobile { display: none !important; }
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav .whatsapp-nav-btn { display: none !important; }
body.shop-tpl-fashion.shop-fashion-v3 .shop-nav .cart-badge {
  top: 2px !important;
  right: 2px !important;
  background: var(--fx-ink) !important;
  color: #fff !important;
  font-size: 0.55rem !important;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
}

/* ── Compact store brand ── */
body.shop-tpl-fashion.shop-fashion-v3 .shop-strip { display: none !important; }

body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border-bottom: 1px solid var(--fx-line);
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--fx-soft);
  box-shadow: var(--fx-shadow);
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__logo--ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__meta { flex: 1; min-width: 0; }
body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__name {
  font-size: 1.05rem !important;
  line-height: 1.2;
  margin: 0;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fx-ink);
  background: var(--fx-soft);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.7rem;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: var(--fx-muted);
  font-weight: 500;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__stats strong {
  color: var(--fx-ink);
  font-weight: 650;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__msg {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--fx-line);
  background: #fff;
  color: var(--fx-ink);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: background 0.25s var(--fx-ease), transform 0.25s var(--fx-ease);
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__msg:hover {
  background: var(--fx-soft);
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__msg span { display: none; }
  body.shop-tpl-fashion.shop-fashion-v3 .fx-store-brand__msg { width: 36px; padding: 0; }
}

/* ── Category chips ── */
body.shop-tpl-fashion.shop-fashion-v3 .shop-chips-sticky {
  background: rgba(255,255,255,0.94) !important;
  border-bottom: 1px solid var(--fx-line) !important;
  backdrop-filter: blur(10px);
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-chips {
  padding: 0.55rem 0.85rem !important;
  gap: 0.35rem !important;
  background: transparent !important;
  border: 0 !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-chip {
  border-radius: 999px !important;
  border: 1px solid var(--fx-line) !important;
  background: #fff !important;
  color: var(--fx-ink) !important;
  font-size: 0.74rem !important;
  font-weight: 550 !important;
  padding: 0.38rem 0.8rem !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-chip.active {
  background: var(--fx-ink) !important;
  border-color: var(--fx-ink) !important;
  color: #fff !important;
}

/* ── One-row toolbar (replaces SHOP THE DROP + sort + filter stacks) ── */
body.shop-tpl-fashion.shop-fashion-v3 .shop-catalog-header,
body.shop-tpl-fashion.shop-fashion-v3 .shop-mobile-filter-bar,
body.shop-tpl-fashion.shop-fashion-v3 .shop-header-chat-btn {
  display: none !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem 0.45rem;
  min-height: 44px;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar__count {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--fx-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar__count span {
  color: var(--fx-muted);
  font-weight: 500;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar .shop-catalog-sort {
  margin: 0;
  gap: 0;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar .shop-catalog-sort label { display: none; }
body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar .shop-catalog-sort select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  max-width: 118px;
  height: 34px;
  padding: 0 1.6rem 0 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--fx-line);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.55rem center;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--fx-ink);
  cursor: pointer;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar__filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--fx-line);
  background: #fff;
  color: var(--fx-ink);
  font-size: 0.74rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--fx-ease);
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-toolbar__filter:hover { background: var(--fx-soft); }

/* ── Product grid ── */
body.shop-tpl-fashion.shop-fashion-v3 .shop-main .shop-grid,
body.shop-tpl-fashion.shop-fashion-v3 #shopGrid.shop-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.85rem 0.75rem !important;
  padding: 0.5rem 0.85rem 6.5rem !important;
  align-items: stretch;
}
@media (min-width: 640px) {
  body.shop-tpl-fashion.shop-fashion-v3 .shop-main .shop-grid,
  body.shop-tpl-fashion.shop-fashion-v3 #shopGrid.shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
    padding: 0.65rem 1rem 6.5rem !important;
  }
}
@media (min-width: 1024px) {
  body.shop-tpl-fashion.shop-fashion-v3 .shop-main .shop-grid,
  body.shop-tpl-fashion.shop-fashion-v3 #shopGrid.shop-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1.15rem !important;
  }
}

/* ── Luxury cards — stable footprint (same size as classic fashion shop) ── */
body.shop-tpl-fashion.shop-fashion-v3 .shop-card {
  background: var(--fx-card) !important;
  border: 0 !important;
  border-radius: var(--fx-radius) !important;
  box-shadow: var(--fx-shadow) !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  transition: transform 0.4s var(--fx-ease), box-shadow 0.4s var(--fx-ease) !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card:hover,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card:active {
  transform: translateY(-5px) !important;
  box-shadow: var(--fx-shadow-lift) !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-card .img-wrap {
  aspect-ratio: 3 / 4 !important;
  background: var(--fx-soft) !important;
  border-radius: 0 !important;
  overflow: hidden;
  flex: 0 0 auto;
  width: 100%;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.65s var(--fx-ease) !important;
  transform: scale(1);
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card:hover .img-wrap img,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card:active .img-wrap img {
  transform: scale(1.05) !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-card-hover-cta,
body.shop-tpl-fashion.shop-fashion-v3 .shop-quick-hit {
  display: none !important;
}

/* Heart — back on the image (top right) */
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .img-wrap > .shop-wishlist {
  display: inline-flex !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 8;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--fx-ink) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  opacity: 1;
  transition: transform 0.3s var(--fx-ease), background 0.25s ease, color 0.25s ease !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .img-wrap > .shop-wishlist:hover {
  transform: scale(1.08);
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .img-wrap > .shop-wishlist.is-saved {
  color: #e11d48 !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .img-wrap > .shop-wishlist.is-saved i {
  transform: scale(1.06);
}

/* Floating + on image — AI shop style */
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 8;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--fx-ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.35s var(--fx-ease), background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus__icon {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus__icon::before,
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--fx-ease);
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus__icon::before {
  width: 12px;
  height: 1.75px;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus__icon::after {
  width: 1.75px;
  height: 12px;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card:hover .fx-card-plus,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card:focus-within .fx-card-plus {
  transform: scale(1.04);
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus:hover,
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus:active {
  background: var(--fx-ink);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.22);
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus.is-added {
  background: #166534;
  color: #fff;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus.is-added .fx-card-plus__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}
@media (hover: none) {
  body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus {
    opacity: 1;
  }
}

/* One elegant floating badge */
body.shop-tpl-fashion.shop-fashion-v3 .shop-card-badge-col {
  top: 10px !important;
  left: 10px !important;
  gap: 0 !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card-badge-col > *:nth-child(n+2) {
  display: none !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-pill-badge,
body.shop-tpl-fashion.shop-fashion-v3 .shop-urg-line,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card-badge-col .discount {
  font-size: 0.56rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0.32rem 0.58rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-pill-badge--hit,
body.shop-tpl-fashion.shop-fashion-v3 .shop-pill-badge--limited {
  background: rgba(17,17,17,0.88) !important;
  color: #fff !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-pill-badge--new,
body.shop-tpl-fashion.shop-fashion-v3 .shop-pill-badge--trend {
  background: rgba(255,255,255,0.94) !important;
  color: var(--fx-ink) !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-urg-line--stock {
  background: rgba(255,255,255,0.94) !important;
  color: #9a3412 !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-urg-line--hot,
body.shop-tpl-fashion.shop-fashion-v3 .shop-urg-line--view { display: none !important; }
body.shop-tpl-fashion.shop-fashion-v3 .shop-card-badge-col .discount {
  background: #dc2626 !important;
  color: #fff !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-urg-line::before { content: none !important; }

/* Card body — compact so overall card height stays stable */
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .body {
  padding: 0.55rem 0.65rem 0.7rem !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.12rem;
  min-height: 0;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .tagline,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .shop-price-stock-hint {
  display: none !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-card .name {
  font-weight: 650 !important;
  font-size: 0.8rem !important;
  line-height: 1.28 !important;
  letter-spacing: -0.01em;
  color: var(--fx-ink) !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-card-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  margin-top: 0.05rem;
  font-size: 0.62rem;
  color: var(--fx-muted);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-meta__stars {
  color: #111;
  letter-spacing: 0.01em;
  font-size: 0.55rem;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-meta__rating {
  font-weight: 650;
  color: var(--fx-ink);
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-meta__sold {
  opacity: 0.85;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-card .price {
  font-weight: 750 !important;
  font-size: 0.92rem !important;
  letter-spacing: -0.025em;
  color: var(--fx-ink) !important;
  margin: 0.1rem 0 0 !important;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .price--sale { color: #dc2626 !important; }
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .price--sale old {
  color: var(--fx-muted) !important;
  font-size: 0.74em !important;
  font-weight: 500 !important;
  opacity: 0.75;
  text-decoration: line-through;
}

/* View Product — clean full-width pill CTA */
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .actions {
  margin-top: auto !important;
  padding-top: 0.4rem;
  gap: 0 !important;
  align-items: stretch;
  display: flex !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .btn-chat-card,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .btn-wa,
body.shop-tpl-fashion.shop-fashion-v3 .fx-card-actions {
  display: none !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .shop-card .btn-add.btn-view,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card a.btn-view {
  flex: 1 !important;
  min-height: 40px !important;
  padding: 0.55rem 0.85rem !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--fx-ink) !important;
  border: 1px solid var(--fx-line) !important;
  box-shadow: none !important;
  font-weight: 650 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background 0.3s var(--fx-ease), color 0.3s var(--fx-ease), border-color 0.3s var(--fx-ease), transform 0.3s var(--fx-ease) !important;
  position: relative;
  overflow: hidden;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .btn-add.btn-view::before,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card a.btn-view::before {
  display: none !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .shop-card .btn-add.btn-view:hover,
body.shop-tpl-fashion.shop-fashion-v3 .shop-card a.btn-view:hover {
  background: var(--fx-ink) !important;
  color: #fff !important;
  border-color: var(--fx-ink) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.16) !important;
}

/* Legacy action-row styles unused — keep grid clean */

/* ── Premium glass sticky cart ── */
body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart {
  left: 12px !important;
  right: 12px !important;
  bottom: max(12px, env(safe-area-inset-bottom)) !important;
  width: auto !important;
  max-width: 420px;
  margin: 0 auto !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: var(--fx-ink) !important;
  box-shadow: 0 12px 40px rgba(17,17,17,0.14) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
  min-height: 56px;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem !important;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: translateY(120%);
  transition: transform 0.4s var(--fx-ease), opacity 0.35s ease !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart.show {
  transform: translateY(0) !important;
}

body.shop-tpl-fashion.shop-fashion-v3 .fx-sticky-cart__info {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-sticky-cart__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--fx-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-sticky-cart__copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-sticky-cart__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-muted);
}
body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart #stickyCartLabel,
body.shop-tpl-fashion.shop-fashion-v3 .fx-sticky-cart__meta {
  font-size: 0.82rem !important;
  font-weight: 650 !important;
  color: var(--fx-ink) !important;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart a.sticky-cart-cta {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 38px;
  padding: 0 0.95rem !important;
  background: var(--fx-ink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-decoration: none !important;
  transition: transform 0.25s var(--fx-ease), opacity 0.25s ease !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart a.sticky-cart-cta:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* Floating FABs */
body.shop-tpl-fashion.shop-fashion-v3 .floating-chat-btn,
body.shop-tpl-fashion.shop-fashion-v3 .floating-whatsapp-btn,
body.shop-tpl-fashion.shop-fashion-v3 .shop-wa-fab,
body.shop-tpl-fashion.shop-fashion-v3 .sg-store-chat-fab {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 22px rgba(17,17,17,0.14) !important;
  right: max(12px, env(safe-area-inset-right)) !important;
  bottom: calc(84px + env(safe-area-inset-bottom)) !important;
  font-size: 1rem !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .floating-chat-btn span,
body.shop-tpl-fashion.shop-fashion-v3 .floating-whatsapp-btn span,
body.shop-tpl-fashion.shop-fashion-v3 .sg-store-chat-fab-label {
  display: none !important;
}
body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart.show ~ .floating-chat-btn,
body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart.show ~ .floating-whatsapp-btn,
body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart.show ~ .shop-wa-fab {
  bottom: calc(92px + env(safe-area-inset-bottom)) !important;
}

/* Menu drawer */
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer__back {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.28);
  opacity: 0;
  transition: opacity 0.3s var(--fx-ease);
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer.is-open .fx-menu-drawer__back { opacity: 1; }
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 320px);
  height: 100%;
  background: #fff;
  padding: 1.15rem 1.15rem 2rem;
  transform: translateX(104%);
  transition: transform 0.4s var(--fx-ease);
  box-shadow: -12px 0 40px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer.is-open .fx-menu-drawer__panel { transform: translateX(0); }
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--fx-soft);
  cursor: pointer;
}
body.shop-tpl-fashion.shop-fashion-v3 .fx-menu-drawer a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.3rem;
  color: var(--fx-ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--fx-line);
}

@media (prefers-reduced-motion: reduce) {
  body.shop-tpl-fashion.shop-fashion-v3 .shop-card,
  body.shop-tpl-fashion.shop-fashion-v3 .shop-card .img-wrap img,
  body.shop-tpl-fashion.shop-fashion-v3 .fx-card-plus,
  body.shop-tpl-fashion.shop-fashion-v3 .sticky-cart {
    transition: none !important;
  }
}
