:root {
  --shop-navy: #0b1c39;
  --shop-navy-dark: #071630;
  --shop-navy-light: #1f3a6f;
  --shop-sand: #f4f6fb;
  --shop-cream: #ffffff;
  --shop-gray: #475569;
  --shop-sky: #5b8def;
  --shop-radius-lg: 26px;
  --shop-radius-md: 18px;
  --shop-shadow-lg: 0 32px 80px rgba(7, 22, 48, 0.16);
  --shop-shadow-md: 0 18px 42px rgba(7, 22, 48, 0.12);
  --shop-shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body.shop-body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--shop-sand);
  color: var(--shop-navy);
  line-height: 1.7;
}

a { color: var(--shop-navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ------------------------------------------------------------------
   Header / Navigation
------------------------------------------------------------------ */
.shop-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
}

.shop-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 6vw;
  font-size: 0.85rem;
  background: linear-gradient(90deg, var(--shop-navy) 0%, var(--shop-navy-light) 100%);
  color: #f1f5ff;
}
.shop-topbar a { color: #cbd8ff; }

.shop-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 40px rgba(7, 22, 48, 0.04);
}

.shop-navbar--auth {
  max-width: 1200px;
  margin: 0 auto;
}

.shop-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--shop-navy);
}
.shop-brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: contain;
  background: #f0f4ff;
  padding: 0.35rem;
}
.shop-brand__text {
  display: flex;
  flex-direction: column;
  font-size: 0.93rem;
  line-height: 1.2;
}
.shop-brand__text span { color: var(--shop-gray); font-weight: 500; }

.shop-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 0;
}
.shop-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--shop-navy);
  margin: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.shop-nav {
  margin-left: auto;
}
.shop-nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-nav__link {
  font-weight: 500;
  color: var(--shop-gray);
  transition: color 0.2s ease;
}
.shop-nav__link:hover { color: var(--shop-navy-light); }
.shop-nav__link.is-active { color: var(--shop-navy); font-weight: 600; }

.shop-nav__cta {
  margin-left: 2rem;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--shop-navy-light), var(--shop-navy));
  color: #ffffff;
  font-weight: 600;
  box-shadow: var(--shop-shadow-sm);
}
.shop-nav__cta:hover { text-decoration: none; }

.shop-data-saver-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 6vw;
  background: rgba(91, 141, 239, 0.12);
  color: var(--shop-gray);
  font-size: 0.85rem;
}
.shop-body--data-saver .shop-data-saver-banner {
  background: rgba(15, 23, 42, 0.08);
}
.shop-data-saver-toggle {
  border: 1px solid rgba(11, 28, 57, 0.3);
  background: #fff;
  color: var(--shop-navy);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.shop-data-saver-toggle:hover {
  background: var(--shop-navy);
  color: #fff;
}

/* ------------------------------------------------------------------
   Buttons & utilities
------------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--shop-navy-light), var(--shop-navy));
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shop-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shop-shadow-md);
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 28, 57, 0.18);
  color: var(--shop-navy);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.9); }

/* ------------------------------------------------------------------
   Layout
------------------------------------------------------------------ */
.shop-main {
  padding: 0 6vw 5rem;
}

.shop-main--auth {
  min-height: calc(100vh - 220px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-auth-links,
.shop-footer__auth-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.shop-auth-links a,
.shop-footer__auth-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 28, 57, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--shop-navy);
  font-weight: 600;
}

.shop-auth-links a:hover,
.shop-footer__auth-links a:hover {
  text-decoration: none;
  background: #fff;
}

.shop-section {
  margin: 4rem auto;
  max-width: 1200px;
}
.shop-section__header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}
.shop-section__header h2,
.shop-section__header h1 {
  margin-bottom: 0.75rem;
}
.shop-section__header p {
  color: var(--shop-gray);
}

.shop-section__eyebrow,
.shop-hero__eyebrow {
  display: inline-block;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--shop-sky);
  margin-bottom: 0.8rem;
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */
.shop-hero {
  max-width: 1200px;
  margin: 3rem auto 4.5rem;
  background: linear-gradient(135deg, rgba(11, 28, 57, 0.92), rgba(11, 58, 115, 0.82));
  color: #f8fbff;
  border-radius: var(--shop-radius-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 3.5rem;
  box-shadow: var(--shop-shadow-lg);
}
.shop-hero__content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}
.shop-hero__content p {
  color: #d9e3ff;
  margin: 0 0 1.75rem;
}
.shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.shop-hero__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #d0dcff;
}
.shop-hero__stats strong { color: #fff; }
.shop-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--shop-radius-md);
  box-shadow: var(--shop-shadow-md);
}

/* ------------------------------------------------------------------
   Feature cards
------------------------------------------------------------------ */
.shop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.shop-card {
  background: var(--shop-cream);
  border-radius: var(--shop-radius-md);
  overflow: hidden;
  box-shadow: var(--shop-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shop-shadow-md);
}
.shop-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.shop-card__body {
  padding: 1.85rem;
}
.shop-card__badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(91, 141, 239, 0.18);
  color: var(--shop-navy-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}
.shop-card__link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--shop-navy-light);
}

/* ------------------------------------------------------------------
   Lookbook / Story
------------------------------------------------------------------ */
.shop-lookbook {
  max-width: 1200px;
  margin: 4rem auto;
  background: var(--shop-cream);
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  overflow: hidden;
}
.shop-lookbook__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-lookbook__content {
  padding: 3rem;
}
.shop-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.shop-perks div {
  background: rgba(11, 28, 57, 0.05);
  padding: 1.4rem;
  border-radius: var(--shop-radius-md);
}

/* ------------------------------------------------------------------
   Testimonials
------------------------------------------------------------------ */
.shop-section--accent {
  background: linear-gradient(135deg, rgba(11, 28, 57, 0.95), rgba(11, 58, 115, 0.92));
  color: #f0f4ff;
  border-radius: var(--shop-radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shop-shadow-lg);
}
.shop-section--accent .shop-section__header p { color: #d4ddff; }
.shop-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.shop-testimonials blockquote {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.6rem;
  border-radius: var(--shop-radius-md);
  font-style: italic;
  box-shadow: 0 20px 40px rgba(7, 22, 48, 0.15);
}
.shop-testimonials cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-weight: 600;
  color: #cfe0ff;
}

/* ------------------------------------------------------------------
   Wholesale CTA
------------------------------------------------------------------ */
.shop-wholesale {
  background: var(--shop-cream);
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  overflow: hidden;
}
.shop-wholesale__content {
  padding: 3rem;
}
.shop-wholesale__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------------------------------
   Catalog product cards
------------------------------------------------------------------ */
.shop-collection {
  max-width: 1200px;
  margin: 4rem auto;
}
.shop-collection__header {
  margin-bottom: 2rem;
}
.shop-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 280px));
  gap: 2rem;
  justify-content: start;
}
.shop-product {
  background: var(--shop-cream);
  border-radius: var(--shop-radius-md);
  overflow: hidden;
  box-shadow: var(--shop-shadow-sm);
  display: flex;
  flex-direction: column;
}
.shop-product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.shop-product__body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.shop-product__meta {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--shop-navy);
}
.shop-product__details { color: var(--shop-gray); font-size: 0.9rem; }
.shop-product__cta {
  align-self: flex-start;
  display: inline-flex;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(11, 28, 57, 0.08);
  font-weight: 600;
  color: var(--shop-navy);
}

/* ------------------------------------------------------------------
   CTA Panel
------------------------------------------------------------------ */
.shop-section--guide {
  max-width: 1200px;
  margin: 4rem auto;
}
.shop-section--cta {
  max-width: 1200px;
  margin: 4rem auto;
}

.shop-cta-panel {
  background: linear-gradient(135deg, var(--shop-navy), var(--shop-navy-light));
  color: #f0f4ff;
  border-radius: var(--shop-radius-lg);
  padding: 2.8rem;
  box-shadow: var(--shop-shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.shop-cta-panel p { color: #dbe6ff; }

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.shop-footer {
  background: var(--shop-navy-dark);
  color: #d8e3ff;
  padding: 3.5rem 6vw 2.5rem;
}

.shop-footer--auth {
  background: transparent;
  color: var(--shop-gray);
  padding: 0 6vw 2.5rem;
}

.shop-footer__auth-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 28, 57, 0.08);
  box-shadow: var(--shop-shadow-sm);
  display: grid;
  gap: 1rem;
}
.shop-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.shop-footer__about img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem;
  margin-bottom: 1rem;
}
.shop-footer__column h4 { margin-top: 0; }
.shop-footer__column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.shop-footer__column a { color: #9ec5ff; }
.shop-footer__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.shop-footer__form input {
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  border: none;
  flex: 1 1 180px;
}
.shop-footer__form button {
  padding: 0.65rem 1.4rem;
  border-radius: 12px;
  border: none;
  background: var(--shop-sky);
  color: #0b1c39;
  font-weight: 600;
  cursor: pointer;
}
.shop-footer__copy {
  text-align: center;
  margin: 3rem auto 0;
  color: #9fb4d8;
  font-size: 0.85rem;
}

/* ------------------------------------------------------------------
   Responsive adjustments
------------------------------------------------------------------ */
@media (max-width: 992px) {
  .shop-nav__list { display: none; }
  .shop-nav__list.open { display: flex; }
  .shop-nav__list {
    position: absolute;
    top: calc(100% + 12px);
    right: 6vw;
    flex-direction: column;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--shop-radius-md);
    box-shadow: var(--shop-shadow-md);
  }
  .shop-nav__cta { display: none; }
  .shop-menu-toggle { display: inline-flex; }
  .shop-hero {
    padding: 2.5rem;
  }
  .shop-cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .shop-navbar { padding: 1rem 1.25rem; }
  .shop-topbar { padding: 0.35rem 1.25rem; font-size: 0.8rem; }
  .shop-main { padding: 0 1.25rem 4rem; }
  .shop-hero { margin: 2rem auto 3.5rem; padding: 2rem; }
  .shop-section { margin: 3rem auto; }
  .shop-hero__actions { flex-direction: column; align-items: stretch; }
  .shop-hero__stats { gap: 0.5rem; }
  .shop-products {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}
/* ------------------------------------------------------------------
   Flash Messages
------------------------------------------------------------------ */
.shop-flash-container {
  max-width: 960px;
  margin: 1.5rem auto;
  display: grid;
  gap: 0.75rem;
}
.shop-flash {
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-weight: 500;
  box-shadow: var(--shop-shadow-sm);
}
.shop-flash--success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}
.shop-flash--error {
  background: rgba(248, 113, 113, 0.16);
  color: #991b1b;
}
.shop-flash--info {
  background: rgba(59, 130, 246, 0.14);
  color: #1e3a8a;
}

.shop-reminder {
  position: fixed;
  top: 90px;
  right: 24px;
  width: min(320px, calc(100% - 2.5rem));
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shop-shadow-md);
  padding: 1rem 1.15rem;
  z-index: 140;
  animation: shopReminderIn 0.28s ease;
}
.shop-reminder__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--shop-navy);
}
.shop-reminder p {
  margin: 0 0 0.75rem;
  color: var(--shop-gray);
  font-size: 0.95rem;
}
.shop-reminder__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.shop-reminder__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--shop-navy-light), var(--shop-navy));
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shop-shadow-sm);
}
.shop-reminder__cta:hover {
  text-decoration: none;
  box-shadow: var(--shop-shadow-md);
}
.shop-reminder__close {
  border: none;
  background: transparent;
  color: var(--shop-gray);
  font-weight: 600;
  cursor: pointer;
}
@keyframes shopReminderIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .shop-reminder {
    top: 76px;
    right: 16px;
    left: 16px;
    width: auto;
  }
  .shop-reminder__actions {
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------------------------
   Forms & Auth
------------------------------------------------------------------ */
.shop-auth {
  display: flex;
  justify-content: center;
  padding: 4rem 0 5rem;
}
.shop-auth__panel {
  width: min(480px, 100%);
  background: #fff;
  padding: 2.75rem;
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
}
.shop-auth__panel h1 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.shop-auth__hint {
  margin-top: 1.5rem;
  color: var(--shop-gray);
}

.shop-auth__hint--compact {
  margin-top: 0.75rem;
}

.shop-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.shop-form--compact {
  margin-top: 0.75rem;
}
.shop-form__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.shop-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.shop-form__field label,
.shop-form__fieldset legend {
  font-weight: 600;
  color: var(--shop-navy);
}
.shop-form input,
.shop-form select,
.shop-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font-size: 1rem;
}
.shop-form textarea {
  resize: vertical;
}
.shop-form__fieldset {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
.shop-checkbox,
.shop-radio {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--shop-gray);
}

.shop-checkbox--compact {
  margin-top: 0.75rem;
}
.shop-checkbox input,
.shop-radio input {
  width: auto;
}
.shop-form-error {
  background: rgba(248, 113, 113, 0.14);
  color: #7f1d1d;
  border-radius: 14px;
  padding: 0.85rem 1.2rem;
  margin-bottom: 1rem;
}
.shop-form-error p {
  margin: 0;
}
.shop-field-error {
  color: #b91c1c;
  font-size: 0.85rem;
}
.shop-field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--shop-gray);
}

/* ------------------------------------------------------------------
   Product detail
------------------------------------------------------------------ */
.shop-product-detail {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: start;
  margin: 4rem auto 5rem;
}
.shop-product-visual {
  display: grid;
  grid-template-columns: minmax(90px, 110px) minmax(0, 1fr);
  gap: 1.25rem;
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
}
.shop-product-visual__thumb-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.shop-product-visual__stage {
  position: relative;
}
.shop-product-visual__media {
  position: relative;
  padding-bottom: 120%;
  border-radius: var(--shop-radius-lg);
  overflow: hidden;
  background: #f5f7ff;
}
.shop-product-visual__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}
.shop-product-thumb {
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  box-shadow: var(--shop-shadow-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.shop-product-thumb img {
  display: block;
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 14px;
}
.shop-product-thumb:hover {
  transform: translateY(-2px);
}
.shop-product-thumb.is-active {
  border-color: var(--shop-navy);
  box-shadow: var(--shop-shadow-md);
}
.shop-product-visual__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shop-shadow-sm);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--shop-navy);
}
.shop-product-visual__nav:hover {
  background: #fff;
  box-shadow: var(--shop-shadow-md);
}
.shop-product-visual__nav--prev {
  left: 1rem;
}
.shop-product-visual__nav--next {
  right: 1rem;
}
.shop-product-visual__nav span {
  line-height: 1;
}
.shop-product-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.shop-product-panel__intro h1 {
  margin: 0.2rem 0;
}
.shop-product-rating-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--shop-gray);
  font-size: 0.95rem;
}
.shop-review-stars {
  color: #d4a017;
  letter-spacing: 0.06em;
  font-size: 1rem;
}
.shop-product-price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 1.9rem;
  font-weight: 600;
}
.shop-product-price__label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--shop-gray);
}
.shop-product-panel__description {
  background: #fff;
  border-radius: var(--shop-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shop-shadow-sm);
  color: var(--shop-gray);
}
.shop-product-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.5rem;
}
.shop-product-option {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.shop-product-option__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.shop-product-option__label {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--shop-gray);
}
.shop-product-option__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--shop-navy);
}
.shop-variant-picker {
  display: grid;
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.shop-variant-group__head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.shop-variant-group__title {
  font-weight: 700;
  color: var(--shop-navy);
  font-size: 1.05rem;
}
.shop-variant-group__hint {
  color: var(--shop-gray);
  font-size: 0.95rem;
}
.shop-variant-group__link {
  margin-left: auto;
  color: #2f6fe4;
  font-weight: 700;
  text-decoration: none;
}
.shop-variant-group__link:hover {
  text-decoration: underline;
}
.shop-color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.shop-color-swatch {
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  padding: 0;
  min-width: 30px;
}
.shop-color-swatch__circle {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1.5px solid rgba(17, 24, 39, 0.12);
  background: var(--swatch-color, #d1d5db);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.shop-color-swatch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-color-swatch.is-selected .shop-color-swatch__circle {
  border-color: #0b1c39;
  box-shadow: 0 0 0 2px #0b1c39;
}
.shop-color-swatch.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.shop-color-swatch.is-selected .shop-color-swatch__circle::after {
  content: '\2713';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b1c39;
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
}
.shop-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}
.shop-size-chip {
  width: 62px;
  height: 44px;
  padding: 0.15rem 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1.5px solid rgba(17, 24, 39, 0.18);
  background: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.shop-size-chip.is-selected {
  background: #fff;
  color: #0b1c39;
  border-color: #0b1c39;
  box-shadow: 0 0 0 2px #0b1c39;
}
.shop-size-chip.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.shop-size-chip:focus-visible {
  outline: 3px solid rgba(11, 28, 57, 0.25);
  outline-offset: 2px;
}
.shop-product-form.has-variant-picker select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.shop-product-form__quantity label {
  font-weight: 600;
  color: var(--shop-navy);
  font-size: 0.95rem;
}
.shop-product-form__quantity input {
  border-radius: 12px;
  border: 1px solid rgba(11, 28, 57, 0.2);
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
}
.shop-product-form__submit {
  width: 100%;
}
.shop-product-detail__assurance ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.5rem;
  color: var(--shop-gray);
}
.shop-product-assurance ul li {
  padding-left: 1.5rem;
  position: relative;
}
.shop-product-assurance ul li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--shop-navy);
  position: absolute;
  left: 0;
  top: 0.45rem;
}
.shop-product-reviews {
  max-width: 1200px;
  margin: 0 auto 5rem;
  display: grid;
  gap: 1.5rem;
}
.shop-product-reviews__header p {
  margin: 0.35rem 0 0;
  color: var(--shop-gray);
}
.shop-review-breakdown {
  background: #fff;
  border-radius: var(--shop-radius-md);
  box-shadow: var(--shop-shadow-sm);
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.55rem;
}
.shop-review-breakdown__row {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
}
.shop-review-breakdown__label {
  font-weight: 600;
  color: var(--shop-navy);
}
.shop-review-breakdown__bar {
  background: rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  height: 0.6rem;
  overflow: hidden;
}
.shop-review-breakdown__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f3c64a, #d4a017);
}
.shop-review-breakdown__count {
  min-width: 1.2rem;
  text-align: right;
  color: var(--shop-gray);
  font-variant-numeric: tabular-nums;
}
.shop-product-reviews__list {
  display: grid;
  gap: 1rem;
}
.shop-review-card {
  background: #fff;
  border-radius: var(--shop-radius-md);
  box-shadow: var(--shop-shadow-sm);
  padding: 1.25rem 1.35rem;
}
.shop-review-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.shop-review-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--shop-gray);
  font-size: 0.86rem;
  margin: 0.35rem 0 0.6rem;
}
.shop-review-card h3 {
  margin: 0.25rem 0 0.4rem;
  font-size: 1.02rem;
}
.shop-review-card p {
  margin: 0;
}
.shop-review-verified {
  background: rgba(16, 185, 129, 0.14);
  color: #065f46;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-weight: 600;
}
.shop-product-reviews__form {
  background: #fff;
  border-radius: var(--shop-radius-md);
  box-shadow: var(--shop-shadow-sm);
  padding: 1.2rem;
}

@media (max-width: 992px) {
  .shop-product-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-product-visual {
    grid-template-columns: minmax(0, 1fr);
  }
  .shop-product-visual__thumb-stack {
    flex-direction: row;
    max-height: none;
    overflow-y: visible;
    overflow-x: auto;
    order: 2;
    padding-right: 0;
  }
  .shop-product-visual__thumb-stack .shop-product-thumb {
    flex: 0 0 auto;
    width: 90px;
  }
  .shop-product-visual__stage {
    order: 1;
  }
}

/* ------------------------------------------------------------------
   Cart
------------------------------------------------------------------ */
.shop-cart__form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
}
.shop-cart__table {
  width: 100%;
  border-collapse: collapse;
}
.shop-cart__table th,
.shop-cart__table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.shop-cart__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.shop-cart__item img {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shop-shadow-sm);
}
.shop-cart__variant {
  font-size: 0.85rem;
  color: var(--shop-gray);
}
.shop-cart__form input[type="number"] {
  width: 80px;
  text-align: center;
}
.shop-cart__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
}
.shop-cart__remove,
.shop-cart__clear {
  background: transparent;
  border: none;
  color: var(--shop-navy);
  font-weight: 600;
  cursor: pointer;
}
.shop-cart__summary {
  margin-top: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
}
.shop-cart__summary dl {
  margin: 1.5rem 0;
  display: grid;
  gap: 0.5rem;
}
.shop-cart__summary dt {
  font-weight: 600;
}
.shop-cart__summary dd {
  margin: 0;
}
.shop-cart__note {
  color: var(--shop-gray);
  margin-bottom: 1.25rem;
}
.shop-cart__empty {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--shop-radius-lg);
  text-align: center;
  box-shadow: var(--shop-shadow-lg);
}

/* ------------------------------------------------------------------
   Checkout
------------------------------------------------------------------ */
.shop-checkout__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}
.shop-checkout__panel {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
}
.shop-checkout__summary {
  background: var(--shop-navy);
  color: #e2e8ff;
  padding: 2.5rem;
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
}
.shop-checkout__items {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.85rem;
}
.shop-checkout__items li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.shop-checkout__items span {
  color: rgba(226, 232, 255, 0.8);
}
.shop-checkout__summary dl {
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.shop-checkout__summary dt {
  font-weight: 600;
}
.shop-checkout__summary dd {
  margin: 0;
}
.shop-checkout__note {
  margin-top: 1.5rem;
  color: rgba(226, 232, 255, 0.8);
}

/* ------------------------------------------------------------------
   Account dashboard
------------------------------------------------------------------ */
.shop-account__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.shop-account__grid {
  display: grid;
  gap: 2.5rem;
}
.shop-account__panel {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
}
.shop-account__panel h2 {
  margin-top: 0;
}
.shop-account__subheading {
  margin: 2rem 0 0.35rem;
  font-size: 1.1rem;
  color: var(--shop-navy);
}
.shop-account__panel dl {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}
.shop-account__panel dt {
  font-weight: 600;
}
.shop-account__panel dd {
  margin: 0;
  color: var(--shop-gray);
}
.shop-account__orders {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.shop-account__orders th,
.shop-account__orders td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  text-align: left;
}
.shop-account__link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--shop-navy);
  font-weight: 600;
}
.shop-account__passkeys {
  margin-top: 1rem;
}
.shop-account__passkey-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.shop-account__passkey-row:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.shop-account__passkey-row form {
  margin: 0 0 0 auto;
}

/* ------------------------------------------------------------------
   Order confirmation
------------------------------------------------------------------ */
.shop-confirm {
  display: flex;
  justify-content: center;
  padding: 4rem 0 5rem;
}
.shop-confirm__panel {
  max-width: 720px;
  width: 100%;
  background: #fff;
  padding: 3rem;
  border-radius: var(--shop-radius-lg);
  box-shadow: var(--shop-shadow-lg);
}
.shop-confirm__details {
  margin: 2rem 0;
}
.shop-confirm__details dl {
  display: grid;
  gap: 0.75rem;
}
.shop-confirm__details dt {
  font-weight: 600;
}
.shop-confirm__details dd {
  margin: 0;
  color: var(--shop-gray);
}
.shop-confirm__items {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.shop-confirm__items th,
.shop-confirm__items td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}
.shop-confirm__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.shop-confirm__panel h1 {
  margin-top: 0;
}
.shop-confirm__status-card {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(16, 35, 63, 0.12);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(245, 248, 255, 0.75) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.shop-confirm__status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.shop-confirm__status-head h2 {
  margin: 0;
  font-size: 1.08rem;
}
.shop-confirm__status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}
.shop-confirm__status-badge.is-awaiting {
  color: #7a4a00;
  background: rgba(255, 190, 73, 0.15);
  border-color: rgba(255, 190, 73, 0.4);
}
.shop-confirm__status-badge.is-production {
  color: #10346d;
  background: rgba(67, 125, 255, 0.14);
  border-color: rgba(67, 125, 255, 0.35);
}
.shop-confirm__status-badge.is-shipped {
  color: #00584d;
  background: rgba(57, 194, 163, 0.17);
  border-color: rgba(57, 194, 163, 0.38);
}
.shop-confirm__status-badge.is-delivered {
  color: #0a5f1f;
  background: rgba(116, 219, 136, 0.22);
  border-color: rgba(116, 219, 136, 0.4);
}
.shop-confirm__status-badge.is-issue {
  color: #7d1525;
  background: rgba(246, 89, 119, 0.14);
  border-color: rgba(246, 89, 119, 0.38);
}
.shop-confirm__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.shop-confirm__timeline li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 0.65rem;
  align-items: start;
  color: rgba(16, 35, 63, 0.7);
}
.shop-confirm__timeline li strong {
  display: block;
  font-size: 0.92rem;
}
.shop-confirm__timeline li span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.84rem;
}
.shop-confirm__timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 0.16rem;
  border: 2px solid rgba(16, 35, 63, 0.24);
  background: #fff;
}
.shop-confirm__timeline li.is-current {
  color: var(--shop-navy);
}
.shop-confirm__timeline li.is-current .shop-confirm__timeline-dot {
  border-color: var(--shop-navy);
  background: rgba(16, 35, 63, 0.18);
}
.shop-confirm__timeline li.is-complete {
  color: var(--shop-navy);
}
.shop-confirm__timeline li.is-complete .shop-confirm__timeline-dot {
  border-color: var(--shop-navy);
  background: var(--shop-navy);
}
.shop-confirm__timeline-note {
  margin: 0.95rem 0 0;
  font-size: 0.88rem;
  color: rgba(16, 35, 63, 0.72);
}
.shop-confirm__status-meta {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: rgba(16, 35, 63, 0.78);
}
.shop-confirm__status-meta strong {
  color: var(--shop-navy);
}
.shop-confirm__tracking-links {
  margin-top: 0.8rem;
}
.shop-confirm__tracking-links strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.45rem;
}
.shop-confirm__tracking-links ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.32rem;
}
.shop-confirm__tracking-links a {
  color: var(--shop-navy-light);
  font-weight: 600;
}

/* ------------------------------------------------------------------
   Responsive adjustments
------------------------------------------------------------------ */
@media (max-width: 768px) {
  .shop-navbar {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .shop-cart__actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .shop-checkout__grid {
    grid-template-columns: 1fr;
  }
  .shop-checkout__summary {
    order: -1;
  }
  .shop-auth__panel,
  .shop-confirm__panel,
  .shop-cart__form,
  .shop-cart__summary {
    padding: 1.75rem;
  }
  .shop-confirm__status-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------------
   Professional Redesign Overrides
------------------------------------------------------------------ */
:root {
  --shop-navy: #10233f;
  --shop-navy-dark: #09162b;
  --shop-navy-light: #1c3f73;
  --shop-sand: #f4f1ea;
  --shop-cream: #ffffff;
  --shop-gray: #495468;
  --shop-sky: #2f69b5;
  --shop-accent: #db8f39;
  --shop-radius-lg: 28px;
  --shop-radius-md: 18px;
  --shop-shadow-lg: 0 34px 80px rgba(9, 22, 43, 0.14);
  --shop-shadow-md: 0 22px 52px rgba(9, 22, 43, 0.12);
  --shop-shadow-sm: 0 12px 24px rgba(9, 22, 43, 0.08);
}

body.shop-body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  color: var(--shop-navy);
  background:
    radial-gradient(circle at 8% 0%, rgba(47, 105, 181, 0.15) 0%, rgba(244, 241, 234, 0) 42%),
    radial-gradient(circle at 95% 15%, rgba(219, 143, 57, 0.12) 0%, rgba(244, 241, 234, 0) 44%),
    linear-gradient(180deg, #fcfaf5 0%, #f4f1ea 62%, #efeae0 100%);
  min-height: 100vh;
}

h1,
h2,
h3,
h4 {
  font-family: 'Fraunces', Georgia, serif;
  letter-spacing: -0.015em;
}

a {
  color: var(--shop-navy-light);
}

.shop-main {
  padding-bottom: 6rem;
}

.shop-site-header {
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 35, 63, 0.08);
}

.shop-topbar {
  padding: 0.45rem 6vw;
  background: linear-gradient(100deg, #10233f, #1c3f73);
}
.shop-topbar p {
  margin: 0;
}
.shop-topbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.shop-data-saver-toggle {
  padding: 0.32rem 0.9rem;
  font-size: 0.78rem;
  border-radius: 999px;
}

.shop-navbar {
  padding: 1.05rem 6vw;
  background: rgba(255, 255, 255, 0.9);
}

.shop-nav__link {
  position: relative;
}
.shop-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--shop-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}
.shop-nav__link:hover::after,
.shop-nav__link.is-active::after {
  transform: scaleX(1);
}

.btn-primary {
  background: linear-gradient(120deg, #11305b 0%, #2a5da1 65%, #3f75ba 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  border-color: rgba(16, 35, 63, 0.2);
}

.btn-secondary--compact {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

.shop-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.shop-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.shop-home-hero {
  max-width: 1240px;
  margin: 2.3rem auto 4rem;
  background: linear-gradient(132deg, rgba(16, 35, 63, 0.98), rgba(28, 63, 115, 0.9));
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 2.8rem;
  padding: clamp(1.8rem, 4vw, 3.4rem);
  color: #f8fbff;
  box-shadow: var(--shop-shadow-lg);
  position: relative;
  overflow: hidden;
}

.shop-home-hero::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 143, 57, 0.26), rgba(219, 143, 57, 0));
  top: -110px;
  right: -110px;
  pointer-events: none;
}

.shop-home-hero__content h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.12;
}

.shop-home-hero__content p {
  margin: 1rem 0 0;
  max-width: 640px;
  color: rgba(238, 245, 255, 0.9);
}

.shop-home-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 1rem;
}

.shop-home-hero__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.shop-home-hero__search input {
  border: none;
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
}
.shop-home-hero__search button {
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  background: var(--shop-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.shop-home-hero__stats {
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.shop-home-hero__stats li {
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.28rem;
}
.shop-home-hero__stats strong {
  font-size: 1.02rem;
}
.shop-home-hero__stats span {
  font-size: 0.82rem;
  color: rgba(238, 245, 255, 0.88);
}

.shop-home-hero__visual {
  align-self: stretch;
}
.shop-home-hero__visual-card {
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shop-shadow-md);
}
.shop-home-hero__visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 460px;
}

.shop-home-hero__floating-note {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--shop-navy);
  border-radius: 14px;
  padding: 0.7rem 0.82rem;
  max-width: 230px;
  box-shadow: var(--shop-shadow-sm);
  animation: shopFloatNote 3.8s ease-in-out infinite;
}
.shop-home-hero__floating-note p {
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
  color: var(--shop-gray);
}

.shop-section {
  max-width: 1240px;
}

.shop-section__header p {
  color: #4c5c77;
}

.shop-section--discovery {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 35, 63, 0.08);
  border-radius: 28px;
  padding: 2rem clamp(1rem, 3vw, 2.2rem);
  backdrop-filter: blur(6px);
}

.shop-discovery-toolbar {
  display: grid;
  gap: 0.95rem;
}

.shop-filter-pills {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.shop-filter-pill {
  border: 1px solid rgba(16, 35, 63, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--shop-navy);
  font-weight: 600;
  padding: 0.48rem 0.92rem;
  cursor: pointer;
  transition: all 0.22s ease;
}
.shop-filter-pill:hover,
.shop-filter-pill.is-active {
  background: var(--shop-navy);
  color: #fff;
  border-color: var(--shop-navy);
}

.shop-discovery-toolbar__controls {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(190px, 1fr) minmax(170px, 220px);
}
.shop-discovery-toolbar__controls input,
.shop-discovery-toolbar__controls select {
  border-radius: 12px;
  border: 1px solid rgba(16, 35, 63, 0.2);
  padding: 0.74rem 0.85rem;
  font-size: 0.94rem;
}

.shop-discovery-toolbar__meta {
  margin: 0.95rem 0 0;
  color: #51617b;
  font-size: 0.93rem;
}

.shop-cards {
  margin-top: 1.25rem;
}

.shop-card--premium {
  border: 1px solid rgba(16, 35, 63, 0.08);
}
.shop-card--premium .shop-card__media {
  overflow: hidden;
}
.shop-card--premium .shop-card__media img {
  transition: transform 0.45s ease;
}
.shop-card--premium:hover .shop-card__media img {
  transform: scale(1.05);
}
.shop-card__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}
.shop-card__price {
  color: var(--shop-navy);
  font-size: 0.95rem;
}
.shop-card__subtitle {
  margin: 0.45rem 0 0;
  color: var(--shop-gray);
  font-size: 0.91rem;
}
.shop-card__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.shop-card.is-hidden {
  display: none;
}

.shop-lookbook,
.shop-wholesale {
  border: 1px solid rgba(16, 35, 63, 0.08);
}

.shop-section--workflow {
  margin-top: 3.7rem;
}

.shop-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.shop-process__step {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  padding: 1.2rem 1.25rem;
  box-shadow: var(--shop-shadow-sm);
}
.shop-process__step span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #1c3f73, #2f69b5);
}
.shop-process__step h3 {
  margin: 0.8rem 0 0.55rem;
  font-size: 1.3rem;
}
.shop-process__step p {
  margin: 0;
  color: var(--shop-gray);
  font-size: 0.94rem;
}

.shop-section--accent {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-testimonials blockquote {
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(3px);
}

.shop-footer {
  margin-top: 2.4rem;
  position: relative;
}

.shop-sticky-actions {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 130;
  display: grid;
  gap: 0.45rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.shop-sticky-actions.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.shop-sticky-actions__link,
.shop-sticky-actions__button {
  border: none;
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  font-weight: 700;
  box-shadow: var(--shop-shadow-sm);
  text-align: center;
}
.shop-sticky-actions__link {
  background: #fff;
  border: 1px solid rgba(16, 35, 63, 0.16);
  color: var(--shop-navy);
  text-decoration: none;
}
.shop-sticky-actions__button {
  background: var(--shop-navy);
  color: #fff;
  cursor: pointer;
}

.shop-cart__form,
.shop-cart__summary,
.shop-auth__panel,
.shop-confirm__panel,
.shop-checkout__panel,
.shop-product-visual {
  border: 1px solid rgba(16, 35, 63, 0.08);
}

.shop-checkout__summary {
  background: linear-gradient(160deg, #10233f 0%, #1c3f73 100%);
}

@keyframes shopFloatNote {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@media (max-width: 1080px) {
  .shop-home-hero {
    grid-template-columns: 1fr;
  }
  .shop-home-hero__visual-card img {
    min-height: 360px;
  }
  .shop-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .shop-topbar {
    padding: 0.45rem 1rem;
    display: grid;
    gap: 0.4rem;
  }
  .shop-topbar__actions {
    justify-content: space-between;
  }
  .shop-navbar {
    padding: 0.9rem 1rem;
  }
  .shop-main {
    padding: 0 1rem 5.2rem;
  }
  .shop-home-hero {
    margin-top: 1.35rem;
    border-radius: 24px;
    gap: 1.55rem;
    padding: 1.35rem;
  }
  .shop-home-hero__stats {
    grid-template-columns: 1fr;
  }
  .shop-home-hero__search {
    grid-template-columns: 1fr;
  }
  .shop-discovery-toolbar__controls {
    grid-template-columns: 1fr;
  }
  .shop-process {
    grid-template-columns: 1fr;
  }
  .shop-sticky-actions {
    right: 0.8rem;
    bottom: 0.9rem;
  }
  .shop-nav__list {
    right: 1rem;
  }
}

/* ------------------------------------------------------------------
   Catalog + Product Conversion Features
------------------------------------------------------------------ */
.btn-primary--compact {
  padding: 0.62rem 1.05rem;
  font-size: 0.9rem;
}

.shop-catalog-hero {
  max-width: 1240px;
  margin: 2rem auto 2.2rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.shop-catalog-hero__content {
  background: linear-gradient(145deg, rgba(16, 35, 63, 0.98), rgba(28, 63, 115, 0.92));
  border-radius: 24px;
  padding: clamp(1.3rem, 3vw, 2rem);
  color: #f4f8ff;
  box-shadow: var(--shop-shadow-lg);
}
.shop-catalog-hero__content p {
  color: rgba(236, 243, 255, 0.9);
}

.shop-catalog-hero__stats {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.shop-catalog-hero__stats li {
  background: rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  padding: 0.7rem;
  display: grid;
  gap: 0.25rem;
}
.shop-catalog-hero__stats strong {
  font-size: 1.02rem;
}
.shop-catalog-hero__stats span {
  color: rgba(236, 243, 255, 0.87);
  font-size: 0.8rem;
}

.shop-catalog-filters {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  box-shadow: var(--shop-shadow-md);
  padding: 1.2rem;
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.shop-catalog-filters__actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.shop-wishlist-shelf,
.shop-recently-viewed {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  border: 1px solid rgba(16, 35, 63, 0.08);
  padding: 1.25rem;
}

.shop-products--compact {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.shop-products--catalog {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  justify-content: stretch;
}

.shop-product--catalog-card {
  border: 1px solid rgba(16, 35, 63, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.shop-product--catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shop-shadow-md);
}

.shop-product__media-wrap {
  position: relative;
}
.shop-product__media-wrap img {
  display: block;
}

.shop-wishlist-form {
  margin: 0;
}

.shop-wishlist-toggle {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(16, 35, 63, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #7a869f;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shop-shadow-sm);
}
.shop-wishlist-toggle.is-active {
  color: #c13b57;
  border-color: rgba(193, 59, 87, 0.35);
  background: #fff3f7;
}
.shop-wishlist-toggle--large {
  position: static;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
}

.shop-product__category {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5f7191;
  font-weight: 700;
}

.shop-product__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.shop-product__quick {
  margin: 0;
}

.shop-product--saved {
  border: 1px solid rgba(16, 35, 63, 0.08);
}

.shop-pagination {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.shop-product-panel__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.shop-product-panel__title-row h1 {
  margin: 0.2rem 0;
}

.shop-product-form__minor-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.shop-product-recommendations {
  margin-top: 0.3rem;
}

@media (max-width: 1024px) {
  .shop-catalog-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shop-catalog-hero {
    margin-top: 1.2rem;
  }
  .shop-catalog-hero__stats {
    grid-template-columns: 1fr;
  }
  .shop-products--catalog,
  .shop-products--compact {
    grid-template-columns: 1fr;
  }
  .shop-product__actions {
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------------------------
   Ecommerce Experience Upgrade
------------------------------------------------------------------ */
.shop-home-hero__visual-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}
.shop-home-hero__visual-card.is-interactive {
  will-change: transform;
}

.shop-live-band {
  max-width: 1240px;
  margin: 0 auto 2.7rem;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shop-shadow-sm);
}
.shop-live-band__viewport {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  padding: 0.7rem 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.shop-live-band__track {
  list-style: none;
  margin: 0;
  padding: 0 0.8rem;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  animation: shopMarquee 28s linear infinite;
}
.shop-live-band__track li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2f405d;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.shop-live-band__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shop-accent);
  box-shadow: 0 0 0 6px rgba(219, 143, 57, 0.12);
}
.shop-live-band:hover .shop-live-band__track {
  animation-play-state: paused;
}

.shop-section--intent {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}
.shop-drop-panel {
  background:
    radial-gradient(circle at 90% 10%, rgba(219, 143, 57, 0.22), rgba(219, 143, 57, 0)),
    linear-gradient(145deg, #10233f, #1c3f73 65%, #285897);
  color: #f5f8ff;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shop-shadow-lg);
  padding: clamp(1.15rem, 3vw, 2rem);
}
.shop-drop-panel p {
  color: rgba(237, 243, 255, 0.9);
}
.shop-drop-panel__meta {
  margin: 0.7rem 0 1.25rem;
  color: rgba(237, 243, 255, 0.82);
  font-size: 0.88rem;
}
.shop-drop-countdown {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}
.shop-drop-countdown div {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.6rem 0.55rem;
  display: grid;
  text-align: center;
  gap: 0.2rem;
}
.shop-drop-countdown strong {
  font-size: clamp(1.1rem, 2.7vw, 1.6rem);
  font-variant-numeric: tabular-nums;
}
.shop-drop-countdown span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(230, 239, 255, 0.86);
}

.shop-intent-grid {
  display: grid;
  gap: 0.85rem;
}
.shop-intent-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 35, 63, 0.1);
  box-shadow: var(--shop-shadow-sm);
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.45rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.shop-intent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shop-shadow-md);
  border-color: rgba(16, 35, 63, 0.18);
}
.shop-intent-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(140deg, #1c3f73, #2f69b5);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}
.shop-intent-card__eyebrow {
  margin: 0.2rem 0 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #607290;
  font-weight: 700;
}
.shop-intent-card h3 {
  margin: 0;
  font-size: 1.16rem;
}
.shop-intent-card p {
  margin: 0;
  color: #4a5a74;
  font-size: 0.91rem;
}
.shop-intent-card__foot {
  margin-top: 0.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.shop-intent-card__foot span {
  color: #2d3d58;
  font-size: 0.86rem;
  font-weight: 700;
}
.shop-intent-card__foot a {
  font-weight: 700;
  text-decoration: none;
}
.shop-intent-card__foot a:hover {
  text-decoration: underline;
}

.shop-catalog-utility {
  max-width: 1240px;
  margin: 1.4rem auto 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}
.shop-cart-progress,
.shop-catalog-ops {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 35, 63, 0.1);
  box-shadow: var(--shop-shadow-md);
  padding: 1.3rem 1.35rem;
}
.shop-cart-progress__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}
.shop-cart-progress__head strong {
  color: #354a69;
  font-size: 0.92rem;
}
.shop-cart-progress h2 {
  margin: 0.4rem 0 0.5rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}
.shop-cart-progress p {
  margin: 0;
  color: #4f607c;
}
.shop-cart-progress__meter {
  margin-top: 1rem;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.14);
  overflow: hidden;
}
.shop-cart-progress__meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(120deg, #db8f39, #f3b263);
  box-shadow: 0 0 24px rgba(219, 143, 57, 0.35);
  transition: width 0.8s ease;
}
.shop-cart-progress__foot {
  margin-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
}
.shop-cart-progress__foot a {
  font-weight: 700;
  text-decoration: none;
}
.shop-cart-progress__foot a:hover {
  text-decoration: underline;
}

.shop-catalog-ops h3 {
  margin: 0.2rem 0 0.6rem;
}
.shop-catalog-ops ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.shop-catalog-ops li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #4a5a74;
  font-size: 0.9rem;
}
.shop-catalog-ops li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #db8f39;
  margin-top: 0.32rem;
  flex: 0 0 auto;
}

.shop-catalog-quick-cats {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.shop-catalog-quick-cats span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 240, 255, 0.85);
}
.shop-catalog-quick-cats button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #eef4ff;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.shop-catalog-quick-cats button:hover,
.shop-catalog-quick-cats button.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #18335d;
}

@keyframes shopMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 1rem));
  }
}

@media (max-width: 1024px) {
  .shop-section--intent {
    grid-template-columns: 1fr;
  }
  .shop-catalog-utility {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shop-live-band {
    margin-bottom: 2rem;
  }
  .shop-drop-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-cart-progress__head,
  .shop-cart-progress__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------------
   Marketplace (SHEIN-style) Theme Override
------------------------------------------------------------------ */
:root {
  --shop-bg: #f5f5f7;
  --shop-text: #111111;
  --shop-muted: #666c7a;
  --shop-line: #e4e7ee;
  --shop-red: #ff365f;
  --shop-red-dark: #e92b52;
}

body.shop-body {
  background: var(--shop-bg);
  color: var(--shop-text);
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  letter-spacing: 0;
}

a {
  color: #1f2a44;
}

.shop-main {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.1rem 5.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #09162b, #10233f);
  border: none;
  color: #fff;
  box-shadow: 0 8px 20px rgba(9, 22, 43, 0.32);
}

.btn-primary:hover {
  box-shadow: 0 12px 24px rgba(9, 22, 43, 0.38);
}

.btn-secondary {
  background: #fff;
  border-color: #d6dbe8;
  color: #1c2742;
}

.shop-site-header--market {
  position: sticky;
  top: 0;
  z-index: 150;
  background: #fff;
  border-bottom: 1px solid var(--shop-line);
  backdrop-filter: none;
}

.shop-topbar--market {
  background: #131722;
  color: #eef1f8;
  font-size: 0.78rem;
  padding: 0.45rem 1.15rem;
}

.shop-topbar--market a {
  color: #d1d8ec;
}

.shop-navbar--market {
  padding: 0.8rem 1.15rem;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto;
  gap: 0.9rem;
  align-items: center;
  background: #fff;
  box-shadow: none;
}

.shop-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f3f5fb;
}

.shop-brand__text strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.shop-brand__text span {
  font-size: 0.75rem;
  color: #6a7387;
}

.shop-market-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 2px solid #1a2236;
  border-radius: 999px;
  overflow: hidden;
  min-height: 44px;
}

.shop-market-search input {
  border: none;
  padding: 0 0.95rem;
  font-size: 0.92rem;
  min-width: 0;
}

.shop-market-search button {
  border: none;
  padding: 0 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  background: #1a2236;
  color: #fff;
  cursor: pointer;
}

.shop-market-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shop-market-action {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1f2a44;
  border: 1px solid var(--shop-line);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  white-space: nowrap;
}

.shop-market-action.is-active,
.shop-market-action:hover {
  border-color: #aeb8cc;
  background: #f2f5fb;
  text-decoration: none;
}

.shop-account-menu {
  position: relative;
}

.shop-account-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  background: #fff;
  cursor: pointer;
}

.shop-account-menu__toggle::after {
  content: '\25BE';
  font-size: 0.66rem;
  opacity: 0.75;
}

.shop-account-menu.is-open .shop-account-menu__toggle::after {
  transform: rotate(180deg);
}

.shop-account-menu__dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 210px;
  border: 1px solid #d8ddec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(12, 19, 33, 0.16);
  padding: 0.38rem;
  display: none;
  z-index: 210;
}

.shop-account-menu.is-open .shop-account-menu__dropdown {
  display: grid;
  gap: 0.2rem;
}

.shop-account-menu__dropdown a {
  display: block;
  border-radius: 9px;
  padding: 0.52rem 0.6rem;
  color: #22304b;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.shop-account-menu__dropdown a:hover {
  background: #f3f6fc;
}

.shop-nav--market {
  border-top: 1px solid var(--shop-line);
  background: #fff;
}

.shop-nav--market .shop-nav__list {
  margin: 0;
  padding: 0.55rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
}

.shop-nav--market .shop-nav__link {
  color: #222b3d;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.25rem 0;
}

.shop-nav--market .shop-nav__link::after {
  bottom: -0.18rem;
  height: 2px;
  background: var(--shop-red);
}

.shop-market-hero {
  margin: 1.2rem 0 1rem;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 18px;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 1rem;
}

.shop-market-hero__content {
  background: linear-gradient(125deg, #131722 0%, #242c43 100%);
  border-radius: 14px;
  padding: clamp(1rem, 3vw, 1.8rem);
  color: #fff;
}

.shop-market-hero__badge {
  margin: 0 0 0.6rem;
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 54, 95, 0.18);
  color: #ffd2dc;
  border: 1px solid rgba(255, 54, 95, 0.42);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 0.62rem;
}

.shop-market-hero__content h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.shop-market-hero__content p {
  color: #dbe0ef;
}

.shop-market-hero__showcase {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.shop-market-mini-card {
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
}

.shop-market-mini-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.shop-market-mini-card div {
  padding: 0.55rem 0.75rem;
}

.shop-market-mini-card h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
}

.shop-market-mini-card p {
  margin: 0.45rem 0 0;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.shop-market-mini-card strong {
  color: var(--shop-red-dark);
  font-size: 0.96rem;
}

.shop-market-mini-card span {
  text-decoration: line-through;
  color: #8a93a8;
  font-size: 0.83rem;
}

.shop-market-categories {
  margin-top: 1rem;
}

.shop-market-categories .shop-section__header--left {
  margin: 0 0 0.75rem;
  text-align: left;
}

.shop-market-categories__row {
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  padding: 0.75rem;
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  white-space: nowrap;
}

.shop-market-categories__row a {
  display: inline-flex;
  padding: 0.52rem 0.82rem;
  border-radius: 999px;
  background: #f6f8fc;
  border: 1px solid #d9deea;
  color: #2a344b;
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
}

.shop-market-categories__row a:hover {
  border-color: #b7c0d3;
}

.shop-market-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 0.8rem;
}

.shop-market-section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
}

.shop-market-section-head a {
  font-size: 0.88rem;
  font-weight: 700;
}

.shop-market-deals,
.shop-market-trending,
.shop-catalog-market-summary,
.shop-wishlist-shelf {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  padding: 0.95rem;
}

.shop-market-deals__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 210px);
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scroll-snap-type: x mandatory;
}

.shop-deal-card {
  border: 1px solid #e5e8ef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  scroll-snap-align: start;
}

.shop-deal-card__image {
  position: relative;
  display: block;
}

.shop-deal-card__image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.shop-deal-card__badge {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  border-radius: 999px;
  background: var(--shop-red);
  color: #fff;
  padding: 0.22rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 2;
}

.shop-deal-card__body {
  padding: 0.6rem 0.65rem 0.75rem;
}

.shop-deal-card__body h3 {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  min-height: 2.3em;
}

.shop-deal-card__body p {
  margin: 0.42rem 0;
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.shop-deal-card__body strong {
  color: var(--shop-red-dark);
}

.shop-deal-card__body span {
  font-size: 0.78rem;
  color: #8d95a7;
  text-decoration: line-through;
}

.shop-deal-card__body a {
  font-size: 0.8rem;
  font-weight: 700;
}

.shop-market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.75rem;
}

.shop-market-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.shop-market-product-card {
  border: 1px solid #e2e6ef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-market-product-card:hover {
  box-shadow: 0 10px 20px rgba(20, 30, 50, 0.08);
  transform: translateY(-2px);
}

.shop-market-product-card__media-wrap {
  position: relative;
}

.shop-market-product-card__media {
  display: block;
}

.shop-market-product-card__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.shop-market-product-card__body {
  padding: 0.62rem 0.68rem 0.72rem;
}

.shop-market-product-card__body h3 {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  min-height: 2.3em;
}

.shop-market-product-card__body h3 a {
  text-decoration: none;
  color: #1b2740;
}

.shop-market-product-card__body h3 a:hover {
  text-decoration: underline;
}

.shop-market-product-card__price {
  margin: 0.45rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.shop-market-product-card__price strong {
  color: var(--shop-red-dark);
  font-size: 0.97rem;
}

.shop-market-product-card__price span {
  font-size: 0.79rem;
  text-decoration: line-through;
  color: #8b94a7;
}

.shop-market-product-card__meta {
  margin: 0.3rem 0 0;
  font-size: 0.76rem;
  color: #7b8599;
}

.shop-market-product-card__actions {
  margin-top: 0.55rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.shop-market-product-card__actions .btn-primary,
.shop-market-product-card__actions .btn-secondary {
  padding: 0.54rem 0.4rem;
  font-size: 0.78rem;
}

.shop-catalog-market-hero {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 0.8rem;
}

.shop-catalog-market-hero__content {
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.shop-catalog-market-hero__content p {
  color: #5e677b;
  margin: 0.5rem 0 0.75rem;
}

.shop-catalog-market-filters {
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  padding: 0.95rem;
  display: grid;
  gap: 0.62rem;
}

.shop-catalog-market-summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-catalog-market-summary strong {
  font-size: 0.95rem;
}

.shop-catalog-market-summary p {
  margin: 0.25rem 0 0;
  color: #6d7690;
  font-size: 0.84rem;
}

.shop-catalog-quick-cats {
  margin-top: 0.65rem;
  gap: 0.35rem;
}

.shop-catalog-quick-cats span {
  color: #6c7488;
}

.shop-catalog-quick-cats button {
  color: #25314b;
  border: 1px solid #d7deed;
  background: #f6f8fd;
}

.shop-catalog-quick-cats button.is-active,
.shop-catalog-quick-cats button:hover {
  color: #fff;
  background: #1f2a44;
  border-color: #1f2a44;
}

.shop-wishlist-toggle {
  width: 34px;
  height: 34px;
  top: 0.45rem;
  right: 0.45rem;
  background: rgba(255, 255, 255, 0.95);
}

.shop-section--guide {
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  padding: 0.95rem;
}

.shop-section--guide .shop-section__header {
  margin-bottom: 1rem;
}

.shop-perks {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.shop-perks div {
  background: #f8f9fc;
  border: 1px solid #e0e5f0;
  padding: 0.9rem;
}

.shop-account__panel {
  scroll-margin-top: 140px;
}

.shop-account__panel h3 {
  margin: 0.35rem 0 0.65rem;
}

.shop-account-tabs {
  margin-top: 0.85rem;
  display: inline-flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.shop-account-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid #d6dceb;
  border-radius: 999px;
  padding: 0.4rem 0.78rem;
  color: #24324e;
  font-size: 0.84rem;
  font-weight: 700;
  background: #fff;
}

.shop-account-tabs a:hover {
  background: #f2f5fb;
}

.shop-account-tabs a.is-active {
  background: #0f223e;
  border-color: #0f223e;
  color: #fff;
}

.shop-account__panel.is-hidden {
  display: none;
}

@media (max-width: 1180px) {
  .shop-navbar--market {
    grid-template-columns: auto minmax(220px, 1fr) auto;
  }
  .shop-market-actions {
    display: none;
  }
}

@media (max-width: 980px) {
  .shop-market-hero {
    grid-template-columns: 1fr;
  }
  .shop-catalog-market-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .shop-topbar--market {
    font-size: 0.73rem;
    padding: 0.45rem 0.7rem;
  }
  .shop-navbar--market {
    grid-template-columns: 1fr auto;
    padding: 0.65rem 0.7rem;
    gap: 0.6rem;
  }
  .shop-brand {
    grid-column: 1 / 2;
  }
  .shop-market-search {
    grid-column: 1 / 3;
    order: 3;
  }
  .shop-nav--market .shop-nav__list {
    padding: 0.45rem 0.7rem;
  }
  .shop-nav__list.open {
    position: static;
    box-shadow: none;
    padding: 0.65rem 0.7rem;
  }
  .shop-market-grid,
  .shop-market-grid--catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-catalog-market-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shop-main {
    padding: 0 0.6rem 5rem;
  }
  .shop-market-grid,
  .shop-market-grid--catalog {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
  .shop-market-product-card__actions {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------
   Mobile Nav Fix
------------------------------------------------------------------ */
@media (max-width: 992px) {
  .shop-menu-toggle {
    display: inline-flex;
  }

  .shop-nav--market {
    position: relative;
  }

  .shop-nav--market::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 16, 30, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 250;
  }

  .shop-nav--market.is-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .shop-nav--market .shop-nav__list {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84vw, 320px);
    margin: 0;
    padding: 1rem 0.9rem 1.4rem;
    background: #ffffff;
    box-shadow: 22px 0 46px rgba(10, 16, 30, 0.2);
    border-right: 1px solid #e1e5ef;
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    white-space: normal;
    z-index: 260;
  }

  .shop-nav--market .shop-nav__list.open {
    display: flex;
  }

  .shop-nav--market .shop-nav__list li {
    width: 100%;
  }

  .shop-nav--market .shop-nav__link {
    display: block;
    width: 100%;
    padding: 0.58rem 0.22rem;
  }

  .shop-nav--market .shop-nav__link::after {
    display: none;
  }

  body.shop-nav-open {
    overflow: hidden;
  }
}
