:root {
  --mizhan-font-family: Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mizhan-container-max: 1600px;
  --container: 1600px;
  --font: Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Reset theme conflicts on Stitch pages */
body.stitch-page {
  display: block !important;
  min-height: 100vh;
  margin: 0;
  font-family: var(--mizhan-font-family) !important;
  -webkit-font-smoothing: antialiased;
  color: #181c1e;
  background: #f7fafc;
}

body.stitch-page *,
body.stitch-page *::before,
body.stitch-page *::after {
  box-sizing: border-box;
}

body.stitch-page a {
  color: inherit;
  text-decoration: none;
}

body.stitch-page button,
body.stitch-page input,
body.stitch-page select,
body.stitch-page textarea {
  font: inherit;
}

body.stitch-page button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.stitch-page button.stitch-gallery-thumb {
  display: block;
  width: 100%;
  background: #fff;
  border-style: solid;
}

body.stitch-page .stitch-newsletter-submit,
body.has-stitch-header .stitch-newsletter-submit {
  padding: 12px 32px;
  border: 0;
  border-radius: 4px;
  background: #fe6500;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
}

body.stitch-page .stitch-newsletter-submit:hover,
body.has-stitch-header .stitch-newsletter-submit:hover {
  filter: brightness(1.1);
  color: #fff;
}

body.stitch-page button.stitch-gallery-thumb.is-active {
  border-width: 2px;
  border-color: #001e40;
}

body.stitch-page button.stitch-gallery-thumb:not(.is-active) {
  border-width: 1px;
  border-color: #c3c6d1;
}

body.stitch-page button.stitch-gallery-thumb:not(.is-active):hover {
  border-color: #001e40;
}

body.stitch-page .stitch-pdp-gallery__inner {
  width: 100%;
  max-width: 100%;
}

body.stitch-page .stitch-pdp-gallery__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.stitch-page .stitch-pdp-gallery__main.is-wheel-enabled {
  cursor: zoom-in;
}

body.stitch-page .stitch-pdp-gallery__main-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

body.stitch-page .stitch-pdp-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body.stitch-page .stitch-pdp-gallery__wheel-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 30, 64, 0.08);
}

body.stitch-page .stitch-pdp-gallery__wheel-hint .material-symbols-outlined {
  font-size: 16px;
}

body.stitch-page .stitch-pdp-gallery__main.is-wheel-enabled:hover .stitch-pdp-gallery__wheel-hint,
body.stitch-page .stitch-pdp-gallery__main.is-wheel-enabled:focus-within .stitch-pdp-gallery__wheel-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.stitch-page .stitch-pdp-gallery__main.is-wheel-scrolling .stitch-pdp-gallery__wheel-hint {
  opacity: 1;
}

body.stitch-page .stitch-gallery-zoom-trigger {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  cursor: zoom-in;
  box-shadow: 0 2px 8px rgba(0, 30, 64, 0.08);
}

body.stitch-page .stitch-gallery-zoom-trigger .material-symbols-outlined {
  font-size: 20px;
}

body.stitch-page .stitch-gallery-zoom-trigger:hover {
  border-color: #001e40;
  color: #001e40;
}

body.stitch-page .product-gallery-lightbox[hidden] {
  display: none;
}

body.stitch-page .product-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

body.stitch-page .product-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.72);
}

body.stitch-page .product-gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, var(--gallery-stage-height, calc(100vh - 128px)));
  width: min(calc(100vw - 48px), 1200px, calc((100vh - 128px) * var(--gallery-image-ratio, 1)));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

body.stitch-page .product-gallery-lightbox__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 10px 14px 10px 18px;
  border-bottom: 1px solid #e6e8ec;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

body.stitch-page .product-gallery-lightbox__tools {
  display: flex;
  gap: 8px;
  align-items: center;
}

body.stitch-page .product-gallery-lightbox__tools button,
body.stitch-page .product-gallery-lightbox__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  background: #fff;
  color: #111;
  font-weight: 800;
  cursor: pointer;
}

body.stitch-page .product-gallery-lightbox__tools button {
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
}

body.stitch-page .product-gallery-lightbox__figure {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
  overflow: auto;
  background: #fff;
}

body.stitch-page .product-gallery-lightbox__figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.15s ease;
}

body.stitch-page .product-gallery-lightbox.is-zoomed .product-gallery-lightbox__figure {
  cursor: zoom-out;
}

body.stitch-page .product-gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

body.stitch-page .product-gallery-lightbox__nav--prev {
  left: 10px;
}

body.stitch-page .product-gallery-lightbox__nav--next {
  right: 10px;
}

body.stitch-page.product-gallery-lightbox-open {
  overflow: hidden;
}

body.stitch-page.mizhan-product-page {
  background: #ffffff;
}

body.stitch-page .stitch-pdp-page {
  width: min(100%, 1600px);
  padding-top: 28px;
  padding-bottom: 56px;
}

body.stitch-page .stitch-pdp-hero {
  align-items: flex-start;
}

body.stitch-page .stitch-pdp-gallery__main {
  aspect-ratio: 1.06 / 1 !important;
  border-radius: 8px;
  background: #f8f9fa;
}

body.stitch-page .stitch-pdp-gallery__main-img {
  padding: 0;
  filter: saturate(0.98);
}

body.stitch-page .stitch-gallery-zoom-trigger {
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}

body.stitch-page .stitch-pdp-gallery__thumb-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

body.stitch-page .stitch-pdp-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(96px, 118px);
  grid-template-columns: none;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

body.stitch-page .stitch-pdp-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

body.stitch-page .stitch-pdp-gallery__thumb-nav {
  display: inline-flex;
  width: 30px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #374151;
}

body.stitch-page .stitch-pdp-gallery__thumb-nav .material-symbols-outlined {
  font-size: 28px;
}

body.stitch-page button.stitch-gallery-thumb {
  width: 100%;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  scroll-snap-align: start;
}

body.stitch-page button.stitch-gallery-thumb.is-active {
  border: 2px solid #fe6500;
}

body.stitch-page button.stitch-gallery-thumb:not(.is-active):hover {
  border-color: #fe6500;
}

body.stitch-page .stitch-pdp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 0;
}

body.stitch-page .stitch-pdp-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid #ffd8c2;
  border-radius: 5px;
  background: #fff7f2;
  color: #fe6500;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

body.stitch-page .stitch-pdp-sidebar h1 {
  margin: 8px 0 0;
  color: #0f172a;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

body.stitch-page .stitch-pdp-sidebar .text-on-surface-variant {
  color: #5b6472;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  body.stitch-page .stitch-pdp-gallery__inner {
    max-width: 100%;
  }

  body.stitch-page .stitch-pdp-gallery__wheel-hint {
    display: none;
  }
}

@media (min-width: 1024px) {
  body.stitch-page .stitch-pdp-hero {
    display: grid !important;
    grid-template-columns: minmax(460px, 600px) minmax(560px, 1fr) !important;
    gap: 52px !important;
  }

  body.stitch-page .stitch-pdp-hero > .stitch-pdp-gallery,
  body.stitch-page .stitch-pdp-hero > .stitch-pdp-sidebar {
    grid-column: auto !important;
  }

  body.stitch-page .stitch-pdp-gallery {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

body.stitch-page .container {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.has-stitch-header:not(.stitch-page) .container,
body.mizhan-acc-page .container,
body.woocommerce-account .container {
  width: min(100%, var(--mizhan-container-max, 1600px));
  max-width: var(--mizhan-container-max, 1600px);
  margin-inline: auto;
}

@media (min-width: 1536px) {
  body.has-stitch-header:not(.stitch-page) .container,
  body.mizhan-acc-page .container,
  body.woocommerce-account .container {
    max-width: var(--mizhan-container-max, 1600px) !important;
  }
}

body.stitch-page .line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.stitch-page .line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.stitch-page main {
  flex: none !important;
}

body.stitch-page img:not(.stitch-brand-logo__img) {
  max-width: 100%;
  height: auto;
}

body.stitch-page .woocommerce-ordering select,
body.stitch-page .woocommerce-result-count {
  font-family: var(--mizhan-font-family);
  font-size: 14px;
}

body.stitch-page .woocommerce-ordering select,
body.stitch-page .stitch-shop-ordering select {
  background: #fff;
  border: 1px solid #c3c6d1;
  padding: 4px 12px;
  color: #001e40;
  font-family: var(--mizhan-font-family);
  font-size: 14px;
}

body.stitch-page .woocommerce-pagination ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.stitch-page .woocommerce-pagination ul li a,
body.stitch-page .woocommerce-pagination ul li span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c3c6d1;
  background: #f7fafc;
  font-size: 12px;
}

body.stitch-page .woocommerce-pagination ul li span.current {
  background: #001e40;
  color: #fff;
  border-color: #001e40;
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.htl-logistics-section {
  width: min(var(--mizhan-container-max), 100%);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 116px) clamp(16px, 4vw, 32px);
}

.htl-logistics-section__shell {
  display: grid;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.htl-logistics-section__copy {
  max-width: 660px;
}

.htl-logistics-section__kicker {
  margin: 0 0 16px;
  color: #fe6500;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.htl-logistics-section__title {
  margin: 0;
  color: #000511;
  font-family: var(--mizhan-font-family);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.htl-logistics-section__description {
  max-width: 62ch;
  margin: 24px 0 0;
  color: #323842;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.8;
  text-wrap: pretty;
}

.htl-logistics-section__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
}

.htl-logistics-section__facts div {
  min-width: min(220px, 100%);
  padding: 15px 16px;
  border: 1px solid rgba(0, 5, 17, 0.12);
  border-radius: 12px;
  background: #ffffff;
}

.htl-logistics-section__facts dt {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.4;
}

.htl-logistics-section__facts dd {
  margin: 8px 0 0;
  color: #000511;
  font-family: var(--mizhan-font-family);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.1;
}

.htl-logistics-board {
  position: relative;
  padding: 0;
}

.htl-logistics-board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: #000511;
  font-size: 15px;
  font-weight: 800;
}

.htl-logistics-board__header > span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.htl-logistics-board__header .material-symbols-outlined {
  color: #fe6500;
  font-size: 18px;
}

.htl-logistics-board__media {
  aspect-ratio: 16 / 8;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f4f6;
}

.htl-logistics-board__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.htl-logistics-board__hubs {
  border-top: 1px solid rgba(0, 5, 17, 0.12);
  border-bottom: 1px solid rgba(0, 5, 17, 0.12);
}

.htl-logistics-board__hub {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 5, 17, 0.08);
}

.htl-logistics-board__hub:last-child {
  border-bottom: 0;
}

.htl-logistics-board__index {
  color: #fe6500;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.htl-logistics-board__hub h3 {
  margin: 0;
  color: #000511;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.htl-logistics-board__hub p {
  margin: 5px 0 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}

.htl-logistics-board__hub > .material-symbols-outlined {
  color: #fe6500;
  font-size: 24px;
}

.htl-logistics-board__features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.htl-logistics-board__features > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0;
  color: #000511;
  font-size: 14px;
  font-weight: 700;
}

.htl-logistics-board__features .material-symbols-outlined {
  color: #fe6500;
  font-size: 18px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-grid .md\:col-span-2 {
    grid-column: span 1 !important;
  }

  .bento-grid .md\:row-span-2 {
    grid-row: span 1 !important;
  }
}

@media (min-width: 768px) {
  .htl-logistics-section__shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  }
}

@media (max-width: 767px) {
  .htl-logistics-section {
    padding-block: 64px;
  }

  .htl-logistics-section__facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .htl-logistics-board__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .htl-logistics-board__hub {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .htl-logistics-board__hub > .material-symbols-outlined {
    display: none;
  }
}

@media (min-width: 768px) {
  .bento-grid .md\:col-span-2 {
    grid-column: span 2;
  }

  .bento-grid .md\:row-span-2 {
    grid-row: span 2;
  }
}

.glass-overlay {
  backdrop-filter: blur(12px);
  background: rgba(247, 250, 252, 0.1);
}

.product-card-hover:hover {
  border-color: #001e40;
  box-shadow: 0 4px 12px rgba(0, 51, 102, 0.05);
}

/* WooCommerce cart drawer on Stitch pages */
body.stitch-page .cart-drawer,
body.stitch-page .cart-drawer-panel,
body.has-stitch-header .cart-drawer,
body.has-stitch-header .cart-drawer-panel {
  font-family: var(--mizhan-font-family);
}

body.stitch-page .header-cart-badge,
body.has-stitch-header .header-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #fe6500;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

body.stitch-page .header-cart-badge.is-empty,
body.has-stitch-header .header-cart-badge.is-empty {
  display: none;
}

body.stitch-page .header-message-badge,
body.has-stitch-header .header-message-badge,
body.stitch-page .header-favorites-badge,
body.has-stitch-header .header-favorites-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

body.stitch-page .header-message-badge,
body.has-stitch-header .header-message-badge {
  background: #ef4444;
}

body.stitch-page .header-favorites-badge,
body.has-stitch-header .header-favorites-badge {
  background: #fe6500;
}

body.stitch-page .header-message-badge.is-empty,
body.has-stitch-header .header-message-badge.is-empty,
body.stitch-page .header-favorites-badge.is-empty,
body.has-stitch-header .header-favorites-badge.is-empty {
  display: none;
}

body.stitch-page .stitch-mobile-nav,
body.has-stitch-header .stitch-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 5, 17, 0.45);
}

body.stitch-page .stitch-mobile-nav[hidden],
body.has-stitch-header .stitch-mobile-nav[hidden] {
  display: none !important;
}

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

body.stitch-page .stitch-mobile-nav__panel,
body.has-stitch-header .stitch-mobile-nav__panel {
  width: min(360px, 88vw);
  height: 100%;
  margin-left: auto;
  background: #fff;
  padding: 24px;
  overflow-y: auto;
}

body.has-stitch-header [data-stitch-header] {
  font-family: var(--mizhan-font-family);
}

.stitch-brand-logo {
  line-height: 0;
  max-height: var(--stitch-logo-height, 40px);
}

.stitch-brand-logo__img {
  display: block;
  width: auto !important;
  height: var(--stitch-logo-height, 40px) !important;
  max-height: var(--stitch-logo-height, 40px) !important;
  max-width: var(--stitch-logo-max-width, 200px) !important;
  object-fit: contain;
  object-position: left center;
}

body.stitch-page .stitch-brand-logo__img,
body.has-stitch-header .stitch-brand-logo__img {
  width: auto !important;
  height: var(--stitch-logo-height, 40px) !important;
  max-height: var(--stitch-logo-height, 40px) !important;
  max-width: var(--stitch-logo-max-width, 200px) !important;
}

.stitch-brand-logo__img--footer,
.stitch-brand-logo--footer {
  --stitch-logo-height: 32px;
  --stitch-logo-max-width: 160px;
}

.stitch-brand-logo__img--mobile,
.stitch-brand-logo--mobile {
  --stitch-logo-height: 32px;
  --stitch-logo-max-width: 140px;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f4f6;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #c3c6d1;
  border-radius: 3px;
}

/* Cart drawer (from shared theme component) */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  display: none;
  background: rgba(0, 0, 0, 0.22);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 92;
  width: min(92vw, 430px);
  height: 100vh;
  height: 100dvh;
  background: #fff;
  border-left: 1px solid #ebedf0;
  transform: translateX(102%);
  transition: transform 240ms ease;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.08);
}

.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer-open .cart-drawer-overlay {
  display: block;
}

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

.cart-drawer-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  min-height: 0;
}

.cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid #f0f1f3;
}

.cart-drawer-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.cart-drawer-close {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #eaedf0;
  border-radius: 999px;
  background: #fbfbfc;
}

.cart-drawer-items {
  padding: 16px 22px;
  overflow-y: auto;
  min-height: 0;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f2f4;
}

.cart-drawer-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-drawer-summary {
  padding: 16px 22px 20px;
  border-top: 1px solid #f0f1f3;
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

body.stitch-page .cart-drawer-button,
body.has-stitch-header .cart-drawer-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #c3c6d1;
  border-radius: 6px;
  background: #fff;
  color: #001e40;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.stitch-page .cart-drawer-button:hover,
body.stitch-page .cart-drawer-button:focus-visible,
body.has-stitch-header .cart-drawer-button:hover,
body.has-stitch-header .cart-drawer-button:focus-visible {
  border-color: #001e40;
  background: #f7fafc;
  color: #001e40;
}

body.stitch-page .cart-drawer-button--primary,
body.has-stitch-header .cart-drawer-button--primary {
  border-color: #fe6500;
  background: #fe6500;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

body.stitch-page .cart-drawer-button--primary:hover,
body.stitch-page .cart-drawer-button--primary:focus-visible,
body.has-stitch-header .cart-drawer-button--primary:hover,
body.has-stitch-header .cart-drawer-button--primary:focus-visible {
  border-color: #e85a00;
  background: #e85a00;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.zebra-table tr:nth-child(even) {
  background-color: #f4f7f9;
}

.industrial-bg {
  background-image: radial-gradient(#dde3e9 0.5px, transparent 0.5px);
  background-size: 24px 24px;
}

.form-focus:focus {
  outline: none;
  border-color: #001e40;
  box-shadow: 0 0 0 1px #001e40;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

body.stitch-page a.ajax_add_to_cart.added {
  opacity: 0.85;
}

body.stitch-page a.stitch-product-card__cta.button.add_to_cart_button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none !important;
  border-radius: 4px;
  background-color: #fe6500 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  box-shadow: none;
}

body.stitch-page a.stitch-product-card__cta.button.add_to_cart_button:hover,
body.stitch-page a.stitch-product-card__cta.button.add_to_cart_button:focus-visible {
  filter: brightness(1.1);
  color: #ffffff !important;
  background-color: #fe6500 !important;
}

body.stitch-page a.stitch-product-card__cta.button.add_to_cart_button:active {
  transform: scale(0.95);
}

/* Stitch PDP price stack */
body.stitch-page .product-template .product-price .mizhan-price-stack {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

body.stitch-page .product-template .product-price .mizhan-price-main {
  color: #fe6500;
  font-size: clamp(28px, 2vw, 36px);
  font-weight: 700;
  line-height: 1;
}

body.stitch-page .product-template .product-price .mizhan-price-main .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body.stitch-page .product-template .product-price .mizhan-price-original {
  color: #8a94a6;
  font-size: 16px;
  font-weight: 500;
  text-decoration: line-through;
}

body.stitch-page .product-template .product-price .mizhan-price-discount {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff1f2;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

body.stitch-page .stitch-line-total__amount .woocommerce-Price-amount,
body.stitch-page .stitch-pricing-summary__value .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body.stitch-page .stitch-pricing-summary {
  overflow: hidden;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 30, 64, 0.06);
}

body.stitch-page .stitch-pricing-summary__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid #e5e9eb;
  background: linear-gradient(180deg, #f7fafc 0%, #eef1f3 100%);
  color: #001e40;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.stitch-page .stitch-pricing-summary__header .material-symbols-outlined {
  font-size: 18px;
  color: #fe6500;
}

body.stitch-page .stitch-pricing-summary__body {
  padding: 4px 0 0;
}

body.stitch-page .stitch-pricing-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}

body.stitch-page .stitch-pricing-summary__row--original {
  background: #fafbfc;
  border-bottom: 1px dashed #e0e3e5;
}

body.stitch-page .stitch-pricing-summary__row--final {
  padding-top: 14px;
  padding-bottom: 14px;
}

body.stitch-page .stitch-pricing-summary__label-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

body.stitch-page .stitch-pricing-summary__label {
  color: #737780;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

body.stitch-page .stitch-pricing-summary__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff1f2;
  color: #dc2626;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

body.stitch-page .stitch-pricing-summary__value {
  text-align: right;
  white-space: nowrap;
}

body.stitch-page .stitch-pricing-summary__value--original {
  color: #8a94a6;
  font-size: 15px;
  font-weight: 500;
  text-decoration: line-through;
}

body.stitch-page .stitch-pricing-summary__value--original .woocommerce-Price-amount {
  text-decoration: line-through;
}

body.stitch-page .stitch-pricing-summary__value--final {
  color: #fe6500;
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

body.stitch-page .stitch-pricing-summary__savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid #bbf7d0;
  background: linear-gradient(90deg, #f0fdf4 0%, #ecfdf5 100%);
  color: #15803d;
}

body.stitch-page .stitch-pricing-summary__savings-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

body.stitch-page .stitch-pricing-summary__savings-copy .material-symbols-outlined {
  font-size: 18px;
}

body.stitch-page .stitch-pricing-summary__savings strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

body.stitch-page .stitch-pricing-summary--discounted .stitch-pricing-summary__row--final {
  background: linear-gradient(90deg, rgba(254, 101, 0, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
}

body.stitch-page .stitch-pricing-summary:not(.stitch-pricing-summary--discounted) .stitch-pricing-summary__row--final {
  border-bottom: 0;
}

body.stitch-page [data-stitch-original-total-row][hidden],
body.stitch-page [data-stitch-qty-savings][hidden],
body.stitch-page [data-stitch-discount-badge][hidden] {
  display: none !important;
}

body.stitch-page .stitch-pdp-info-panel {
  border: 1px solid #e5e9eb;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

body.stitch-page .stitch-pricing-summary--compact {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

body.stitch-page .stitch-pricing-summary--compact .stitch-pricing-summary__body {
  padding: 0;
}

body.stitch-page .stitch-pricing-summary--compact .stitch-pricing-summary__row {
  padding: 14px 16px 12px;
}

body.stitch-page .stitch-pricing-summary--compact .stitch-pricing-summary__row--final {
  border-bottom: 0;
}

body.stitch-page .stitch-pricing-summary--compact .stitch-pricing-summary__value--final {
  font-size: clamp(24px, 2vw, 30px);
}

body.stitch-page .stitch-pricing-summary--compact .stitch-pricing-summary__savings {
  padding: 8px 16px;
  margin: 0;
}

body.stitch-page .stitch-pricing-summary--compact.stitch-pricing-summary--discounted .stitch-pricing-summary__row--final {
  background: transparent;
}

body.stitch-page .stitch-pdp-tier-table {
  padding: 0 16px 12px;
  border-top: 1px solid #eef1f3;
}

body.stitch-page .stitch-pdp-tier-table__title {
  margin: 0 0 8px;
  padding-top: 12px;
  color: #5f6b7a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

body.stitch-page .stitch-pdp-tier-table__table {
  border-collapse: collapse;
  font-size: 14px;
}

body.stitch-page .stitch-pdp-tier-table__table th,
body.stitch-page .stitch-pdp-tier-table__table td {
  padding: 8px 0;
  border-bottom: 1px solid #f1f4f7;
}

body.stitch-page .stitch-pdp-tier-table__table th {
  color: #8a94a6;
  font-size: 12px;
  font-weight: 500;
}

body.stitch-page .stitch-pdp-tier-table__table tr:last-child td {
  border-bottom: 0;
}

body.stitch-page .stitch-pdp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 16px 12px;
  border-top: 1px solid #eef1f3;
  background: #fafbfc;
}

body.stitch-page .stitch-pdp-badges--solo {
  border: 1px solid #e5e9eb;
  border-radius: 10px;
}

body.stitch-page .stitch-pdp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #334155;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}

body.stitch-page .stitch-pdp-badge .material-symbols-outlined {
  font-size: 16px;
  color: #001e40;
}

body.stitch-page .stitch-pdp-sidebar .stitch-purchase-panel.purchase-actions {
  margin-top: 0;
}

/* Stitch purchase panel */
body.stitch-page .stitch-purchase-panel.purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  width: 100%;
  margin-top: 4px;
}

body.stitch-page .stitch-purchase-panel .purchase-form-shell {
  grid-column: 1 / -1;
  width: 100%;
}

body.stitch-page .stitch-purchase-panel .purchase-form-shell form.cart {
  display: block;
  margin: 0;
}

body.stitch-page .stitch-purchase-panel form.cart .quantity,
body.stitch-page .stitch-purchase-panel form.cart .single_add_to_cart_button {
  display: none !important;
}

body.stitch-page .stitch-purchase-panel .quantity-control {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  width: min(100%, 160px);
  min-height: 48px;
  border: 1px solid #c3c6d1;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

body.stitch-page .stitch-purchase-panel .qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: #f7fafc;
  color: #001e40;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

body.stitch-page .stitch-purchase-panel .qty-btn:hover {
  background: #eef1f3;
}

body.stitch-page .stitch-purchase-panel .qty-input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-left: 1px solid #c3c6d1;
  border-right: 1px solid #c3c6d1;
  padding: 0 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #001e40;
  background: #fff;
  -moz-appearance: textfield;
}

body.stitch-page .stitch-purchase-panel .qty-input::-webkit-outer-spin-button,
body.stitch-page .stitch-purchase-panel .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 4px;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn__main {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn__sub {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
  opacity: 0.95;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--buy-now {
  grid-column: 1;
  background: #fff;
  color: #001e40;
  border: 1px solid #001e40;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--buy-now:hover {
  background: #eef1f3;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--add-cart {
  grid-column: 2;
  background: #fe6500;
  color: #fff;
  border: 0;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--add-cart:hover {
  filter: brightness(1.08);
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn.is-success {
  filter: brightness(1.05);
}

body.stitch-page .stitch-purchase-panel .stitch-purchase-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

body.stitch-page .stitch-purchase-panel .product-stock-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #4e5560;
}

body.stitch-page .stitch-purchase-panel .product-stock-inline.is-instock {
  color: #15803d;
}

body.stitch-page .stitch-purchase-panel .product-stock-inline.is-outofstock {
  color: #dc2626;
}

body.stitch-page .stitch-purchase-panel .product-stock-inline.is-onbackorder {
  color: #b45309;
}

body.stitch-page .stitch-purchase-panel .variations {
  width: 100%;
  margin-bottom: 8px;
}

body.stitch-page .stitch-purchase-panel .variations td,
body.stitch-page .stitch-purchase-panel .variations th {
  padding: 6px 0;
  vertical-align: middle;
}

body.stitch-page .stitch-purchase-panel .variations select {
  width: 100%;
  border: 1px solid #c3c6d1;
  padding: 8px 10px;
  background: #fff;
}

body.stitch-page .stitch-purchase-panel .reset_variations {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: #001e40;
  text-decoration: underline;
}

body.stitch-page .stitch-purchase-panel .woocommerce-variation-price,
body.stitch-page .stitch-purchase-panel .woocommerce-variation-availability {
  display: none;
}

@media (max-width: 640px) {
  body.stitch-page .stitch-purchase-panel.purchase-actions {
    grid-template-columns: 1fr;
  }

  body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--buy-now,
  body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--add-cart {
    grid-column: 1 / -1;
  }
}

body.stitch-page [data-stitch-tier-rows] tr.is-active {
  background: #eef6ff;
}

body.stitch-page [data-stitch-tier-rows] tr.is-active td {
  color: #001e40;
}

body.stitch-page .stitch-qty-savings[hidden] {
  display: none !important;
}

body.stitch-page [data-stitch-original-total-row][hidden] {
  display: none !important;
}

body.stitch-page [data-qty-discount-mini-table] .qty-discount-mini-table__price .woocommerce-Price-amount {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body.stitch-page [data-qty-discount-mini-table] .amount {
  white-space: nowrap;
}

/* Reference-style product detail purchase area */
body.stitch-page .stitch-pdp-sidebar .product-price-row {
  margin: 0;
}

body.stitch-page .stitch-pdp-sidebar .product-price .mizhan-price-main {
  color: #fe6500;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
}

body.stitch-page .stitch-pdp-sidebar .product-price .mizhan-price-original,
body.stitch-page .stitch-pdp-sidebar .product-price .mizhan-price-discount {
  display: none;
}

body.stitch-page .stitch-pdp-info-panel {
  overflow: hidden;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  background: #ffffff;
}

body.stitch-page .stitch-pdp-tier-table {
  padding: 10px 18px 0;
  border-top: 0;
}

body.stitch-page .stitch-pdp-tier-table__title {
  margin: 0 0 8px;
  padding: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

body.stitch-page .stitch-pdp-tier-table__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

body.stitch-page .stitch-pdp-tier-table__table th,
body.stitch-page .stitch-pdp-tier-table__table td {
  padding: 7px 0;
  border-bottom: 1px solid #e8ebef;
}

body.stitch-page .stitch-pdp-tier-table__table th {
  color: #525b68;
  font-size: 12px;
  font-weight: 500;
}

body.stitch-page .stitch-pdp-tier-table__table td {
  color: #0f172a;
  font-weight: 700;
}

body.stitch-page .stitch-pdp-tier-table__table td:nth-child(2) {
  color: #fe6500;
  font-weight: 800;
}

body.stitch-page [data-stitch-tier-rows] tr.is-active {
  background: #f8fafc;
}

body.stitch-page [data-stitch-tier-rows] tr.is-active td {
  color: #0f172a;
}

body.stitch-page [data-stitch-tier-rows] tr.is-active td:nth-child(2) {
  color: #fe6500;
}

body.stitch-page .stitch-pdp-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 8px 0;
  border-top: 1px solid #e8ebef;
  background: #ffffff;
}

body.stitch-page .stitch-pdp-badge {
  display: grid;
  grid-template-columns: auto minmax(0, max-content);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-right: 1px solid #e8ebef;
  color: #0f172a;
  white-space: normal;
}

body.stitch-page .stitch-pdp-badge:last-child {
  border-right: 0;
}

body.stitch-page .stitch-pdp-badge .material-symbols-outlined {
  grid-row: 1 / span 2;
  color: #fe6500;
  font-size: 22px;
}

body.stitch-page .stitch-pdp-badge strong {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

body.stitch-page .stitch-pdp-badge small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.2;
}

body.stitch-page .stitch-pdp-delivery-panel {
  display: grid;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid #e3e7ee;
  border-radius: 7px;
  background: #fbfcfe;
  color: #111827;
  font-size: 13px;
}

body.stitch-page .stitch-pdp-delivery-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  line-height: 1.45;
}

body.stitch-page .stitch-pdp-delivery-row > .material-symbols-outlined {
  color: #374151;
  font-size: 18px;
}

body.stitch-page .stitch-pdp-delivery-row strong {
  font-weight: 800;
}

body.stitch-page .stitch-pdp-delivery-row a {
  color: #fe6500;
  font-weight: 700;
}

body.stitch-page .stitch-pdp-delivery-row__chevron {
  margin-left: -10px;
  color: #6b7280 !important;
  font-size: 18px !important;
}

body.stitch-page .stitch-pdp-delivery-row__stock {
  color: #16a34a;
  font-weight: 700;
}

body.stitch-page .stitch-purchase-panel.purchase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 0;
}

body.stitch-page .stitch-purchase-panel .purchase-form-shell {
  grid-column: 1 / -1;
}

body.stitch-page .stitch-purchase-panel .mwdh-delivery-hint {
  display: none !important;
}

body.stitch-page .stitch-purchase-panel__quantity-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.stitch-page .stitch-purchase-panel__quantity-label,
body.stitch-page .stitch-purchase-panel__quantity-unit {
  color: #111827;
  font-size: 13px;
  font-weight: 600;
}

body.stitch-page .stitch-order-summary {
  grid-column: 1 / -1;
  overflow: hidden;
  border-bottom: 1px solid #e8ebef;
  border-radius: 0;
  background: #ffffff;
}

body.stitch-page .stitch-order-summary__header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 18px;
  border-bottom: 1px solid #e8ebef;
  background: #f6f8fa;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

body.stitch-page .stitch-order-summary__header .material-symbols-outlined {
  color: #fe6500;
  font-size: 18px;
}

body.stitch-page .stitch-order-summary__body {
  display: grid;
}

body.stitch-page .stitch-order-summary__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 18px;
  color: #525b68;
  font-size: 13px;
}

body.stitch-page .stitch-order-summary__row--original {
  border-bottom: 1px dashed #e1e5eb;
}

body.stitch-page .stitch-order-summary__original {
  color: #7c8594;
  font-size: 14px;
  font-weight: 800;
  text-decoration: line-through;
}

body.stitch-page .stitch-order-summary__row--final {
  grid-template-columns: auto auto minmax(0, 1fr);
  background: #ffffff;
}

body.stitch-page .stitch-pricing-summary--discounted .stitch-order-summary__row--final {
  background: #fff9f5;
}

body.stitch-page .stitch-order-summary__discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff0e8;
  color: #fe6500;
  font-size: 11px;
  font-weight: 800;
}

body.stitch-page .stitch-order-summary__total {
  justify-self: end;
  color: #fe6500;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

body.stitch-page .stitch-order-summary__row--savings {
  border-top: 1px solid #bbf7d0;
  background: #f0fdf6;
  color: #047857;
  font-weight: 800;
}

body.stitch-page .stitch-order-summary__row--savings > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.stitch-page .stitch-order-summary__row--savings .material-symbols-outlined {
  color: #047857;
  font-size: 17px;
}

body.stitch-page .stitch-order-summary__row--savings strong {
  color: #047857;
  font-size: 14px;
}

body.stitch-page .stitch-purchase-panel .quantity-control {
  display: grid;
  grid-template-columns: 42px 64px 42px;
  width: auto;
  min-height: 34px;
  border: 1px solid #d8dee6;
  border-radius: 5px;
  background: #ffffff;
}

body.stitch-page .stitch-purchase-panel .qty-btn {
  min-height: 34px;
  background: #ffffff;
  color: #0f172a;
  font-size: 17px;
}

body.stitch-page .stitch-purchase-panel .qty-input {
  min-height: 34px;
  border-left: 1px solid #e1e5eb;
  border-right: 1px solid #e1e5eb;
  color: #0f172a;
  font-size: 13px;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn {
  min-height: 46px;
  border-radius: 5px;
  font-size: 15px;
  transition: background 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn__main {
  font-size: 15px;
  font-weight: 800;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn__sub {
  display: none;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--buy-now {
  grid-column: 1;
  border: 1px solid #fe6500;
  background: #ffffff;
  color: #0f172a;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--buy-now:hover {
  background: #fff7ed;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--add-cart {
  grid-column: 2;
  flex-direction: row;
  gap: 9px;
  border: 1px solid #fe6500;
  background: #fe6500;
  color: #ffffff;
}

body.stitch-page .stitch-purchase-panel .stitch-pdp-btn--add-cart .material-symbols-outlined {
  font-size: 20px;
}

@media (max-width: 1023px) {
  body.stitch-page .stitch-pdp-page {
    padding-top: 18px;
  }

  body.stitch-page .stitch-pdp-sidebar h1 {
    font-size: 28px;
  }

  body.stitch-page .stitch-pdp-badges {
    grid-template-columns: 1fr;
  }

  body.stitch-page .stitch-pdp-badge {
    justify-content: start;
    border-right: 0;
    border-bottom: 1px solid #e8ebef;
  }

  body.stitch-page .stitch-pdp-badge:last-child {
    border-bottom: 0;
  }
}

/* Product detail tabs */
body.stitch-page .stitch-product-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
}

body.stitch-page .stitch-product-tabs__nav {
  display: flex;
  gap: 0;
  min-height: 46px;
  border: 1px solid #e3e7ee;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f6f8fa;
  overflow-x: auto;
  scrollbar-width: none;
}

body.stitch-page .stitch-product-tabs__nav::-webkit-scrollbar {
  display: none;
}

body.stitch-page .stitch-product-tabs__btn {
  flex: 0 0 auto;
  min-width: 112px;
  padding: 0 22px;
  border: 0;
  border-right: 1px solid #e3e7ee;
  border-bottom: 2px solid transparent;
  margin-bottom: 0;
  background: transparent;
  color: #525b68;
  font-family: var(--mizhan-font-family);
  font-size: 14px;
  font-weight: 700;
  line-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body.stitch-page .stitch-product-tabs__btn:hover {
  color: #0f172a;
  background: #ffffff;
}

body.stitch-page .stitch-product-tabs__btn.is-active,
body.stitch-page .stitch-product-tabs__btn[aria-selected="true"] {
  color: #0f172a;
  border-bottom-color: #fe6500;
  background: #ffffff;
}

body.stitch-page .stitch-product-tabs__panels {
  background: #ffffff;
  border: 1px solid #e3e7ee;
  border-radius: 0 0 8px 8px;
  padding: 22px;
  box-shadow: none;
}

body.stitch-page .stitch-product-tabs__panel.hidden {
  display: none !important;
}

body.stitch-page .stitch-product-tabs__panel.is-active:not(.hidden) {
  display: block;
}

body.stitch-page .stitch-product-tabs__panel > .grid {
  gap: 22px !important;
  align-items: start;
}

body.stitch-page .stitch-product-tabs__panel h3,
body.stitch-page .stitch-product-tabs__panel h4 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

body.stitch-page .stitch-product-tabs__panel .entry-content,
body.stitch-page .stitch-product-tabs__panel p {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.75;
}

body.stitch-page .stitch-product-tabs__panel .entry-content p {
  margin: 0 0 10px;
}

body.stitch-page .stitch-product-tabs__panel .rounded-xl {
  border-radius: 8px !important;
  border-color: #e3e7ee !important;
}

body.stitch-page .stitch-product-tabs__panel img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

body.stitch-page .stitch-product-tabs__panel .flex.justify-between {
  min-height: 36px;
  align-items: center;
  border-color: #e8ebef !important;
  padding-block: 8px !important;
  color: #111827;
  font-size: 13px;
}

body.stitch-page .stitch-product-tabs__panel .flex.justify-between span:first-child {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

body.stitch-page .stitch-product-tabs__panel .bg-surface-container-low {
  padding: 0 !important;
  border-left: 0 !important;
  background: transparent !important;
}

body.stitch-page .stitch-product-tabs__panel .bg-surface-container-low p {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
}

body.stitch-page .stitch-pdp-shipping-compliance {
  display: grid;
  gap: 20px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

body.stitch-page .stitch-pdp-shipping-compliance__block {
  display: grid;
  gap: 8px;
}

body.stitch-page .stitch-pdp-shipping-compliance__title {
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

body.stitch-page .stitch-pdp-shipping-compliance__title::before {
  content: "【";
}

body.stitch-page .stitch-pdp-shipping-compliance__title::after {
  content: "】";
}

body.stitch-page .stitch-pdp-shipping-compliance__text,
body.stitch-page .stitch-pdp-shipping-compliance__list {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.75;
}

body.stitch-page .stitch-pdp-shipping-compliance__list {
  padding-left: 1.25rem;
}

body.stitch-page .stitch-pdp-shipping-compliance__list li + li {
  margin-top: 8px;
}

body.stitch-page .stitch-pdp-support {
  width: 100%;
  margin-top: 12px;
}

body.stitch-page .stitch-pdp-support__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  text-align: left;
}

body.stitch-page .stitch-pdp-support__head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

body.stitch-page .stitch-pdp-support__head .h-1 {
  display: none;
}

body.stitch-page .stitch-pdp-support__grid {
  width: 100%;
  gap: 0 !important;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

body.stitch-page .stitch-pdp-support__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  min-height: 96px;
  padding: 16px !important;
  border-color: #e3e7ee !important;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

body.stitch-page .stitch-pdp-support__icon {
  grid-row: 1 / span 2;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #ffd8c2;
  border-radius: 7px !important;
  background: #fff7f2 !important;
  color: #fe6500 !important;
}

body.stitch-page .stitch-pdp-support__icon .material-symbols-outlined {
  color: #fe6500;
  font-size: 20px;
}

body.stitch-page .stitch-pdp-support__item h4 {
  margin: 0 !important;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

body.stitch-page .stitch-pdp-support__item p {
  margin: 0;
  color: #5b6472;
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  body.stitch-page .stitch-product-tabs__btn {
    min-width: auto;
    padding: 0 16px;
    font-size: 13px;
    line-height: 42px;
  }

  body.stitch-page .stitch-product-tabs__panels {
    padding: 16px;
  }

  body.stitch-page .stitch-pdp-support__head {
    display: block;
  }

  body.stitch-page .stitch-pdp-support__item {
    min-height: 0;
  }
}

/* Product detail: reduce card-heavy presentation */
body.stitch-page .stitch-pdp-gallery__main {
  border-radius: 5px;
  background: #f7f8fa;
  box-shadow: none;
}

body.stitch-page button.stitch-gallery-thumb {
  border-radius: 4px;
  box-shadow: none;
}

body.stitch-page .stitch-gallery-zoom-trigger {
  box-shadow: none;
}

body.stitch-page .stitch-pdp-info-panel {
  overflow: visible;
  border: 0;
  border-top: 1px solid #e4e8ee;
  border-bottom: 1px solid #e4e8ee;
  border-radius: 0;
  background: transparent;
}

body.stitch-page .stitch-order-summary {
  border: 0;
  border-bottom: 1px solid #e4e8ee;
  background: transparent;
  box-shadow: none;
}

body.stitch-page .stitch-pricing-summary.stitch-order-summary--compact {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.stitch-page .stitch-order-summary__header {
  min-height: 28px;
  padding: 0;
  border-bottom: 0;
  background: transparent;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

body.stitch-page .stitch-order-summary__row {
  min-height: 0;
  padding: 0;
  color: #5b6472;
  font-size: 13px;
}

body.stitch-page .stitch-order-summary__body {
  row-gap: 5px;
  padding-bottom: 12px;
}

body.stitch-page .stitch-order-summary__row--original {
  border-bottom: 0;
  color: #6b7280;
  font-size: 12px;
}

body.stitch-page .stitch-order-summary__original {
  color: #8792a2;
  font-size: 13px;
  font-weight: 700;
  text-decoration-thickness: 1px;
}

body.stitch-page .stitch-order-summary__row--final {
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: baseline;
  background: transparent;
}

body.stitch-page .stitch-pricing-summary--discounted .stitch-order-summary__row--final {
  background: transparent;
}

body.stitch-page .stitch-order-summary__discount-badge {
  min-height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  background: #fff1e8;
  color: #e95400;
  font-size: 11px;
  font-weight: 800;
}

body.stitch-page .stitch-order-summary__total {
  color: #fe6500;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

body.stitch-page .stitch-order-summary__row--savings {
  grid-template-columns: auto auto;
  justify-content: end;
  gap: 8px;
  margin-top: 4px;
  border-top: 0;
  background: transparent;
  color: #047857;
  font-size: 12px;
  font-weight: 700;
}

body.stitch-page .stitch-order-summary__row--savings > span {
  gap: 4px;
}

body.stitch-page .stitch-order-summary__row--savings .material-symbols-outlined {
  font-size: 15px;
}

body.stitch-page .stitch-order-summary__row--savings strong {
  color: #047857;
  font-size: 13px;
  font-weight: 800;
}

body.stitch-page .stitch-pdp-tier-table {
  padding-inline: 0;
}

body.stitch-page .stitch-pdp-badges {
  padding: 9px 0;
  background: transparent;
}

body.stitch-page .stitch-pdp-delivery-panel {
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #e4e8ee;
  border-radius: 0;
  background: transparent;
}

body.stitch-page .stitch-product-tabs {
  margin-top: 6px;
}

body.stitch-page .stitch-product-tabs__nav {
  min-height: 42px;
  border: 0;
  border-bottom: 1px solid #e4e8ee;
  border-radius: 0;
  background: transparent;
}

body.stitch-page .stitch-product-tabs__btn {
  min-width: 96px;
  padding: 0 18px;
  border-right: 0;
  line-height: 40px;
}

body.stitch-page .stitch-product-tabs__btn:hover,
body.stitch-page .stitch-product-tabs__btn.is-active,
body.stitch-page .stitch-product-tabs__btn[aria-selected="true"] {
  background: transparent;
}

body.stitch-page .stitch-product-tabs__panels {
  border: 0;
  border-bottom: 1px solid #e4e8ee;
  border-radius: 0;
  padding: 20px 0;
  background: transparent;
}

body.stitch-page .stitch-product-tabs__panel .rounded-xl {
  border-radius: 5px !important;
  box-shadow: none !important;
}

body.stitch-page .stitch-pdp-support {
  padding-top: 2px;
}

@media (min-width: 768px) {
  body.stitch-page .stitch-pdp-support__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.stitch-page .stitch-pdp-support__grid {
  border-top: 1px solid #e4e8ee;
  border-bottom: 1px solid #e4e8ee;
}

body.stitch-page .stitch-pdp-support__item {
  min-height: 88px;
  padding: 16px 20px !important;
  border: 0 !important;
  border-right: 1px solid #e8ebef !important;
  border-radius: 0;
  background: transparent;
}

body.stitch-page .stitch-pdp-support__item:last-child {
  border-right: 0 !important;
}

body.stitch-page .stitch-pdp-support__icon {
  border: 0;
  background: transparent !important;
}

@media (max-width: 1023px) {
  body.stitch-page .stitch-pdp-support__item {
    border-right: 0 !important;
    border-bottom: 1px solid #e8ebef !important;
  }

  body.stitch-page .stitch-pdp-support__item:last-child {
    border-bottom: 0 !important;
  }
}

@media (max-width: 767px) {
  body.stitch-page .stitch-product-tabs__panels {
    padding: 16px 0;
  }

  body.stitch-page .stitch-pdp-support__item {
    padding-inline: 0 !important;
  }
}

body.stitch-page .stitch-pdp-related {
  width: 100%;
  margin-top: 32px;
}

body.stitch-page .stitch-pdp-related__head {
  width: 100%;
}

body.stitch-page .stitch-pdp-related__head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

body.stitch-page .stitch-pdp-related__all {
  color: #fe6500;
  text-decoration: none;
}

body.stitch-page .stitch-pdp-related__all:hover {
  text-decoration: underline;
}

body.stitch-page .stitch-pdp-related__grid {
  width: 100%;
}

.mizhan-card-qty-discount {
  border-radius: 8px;
  overflow: hidden;
}

/* Trust strip — home / about */
.stitch-trust-strip {
  padding: 22px 0;
  background: transparent;
}

.stitch-trust-strip__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stitch-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 8px;
}

.stitch-trust-strip__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid #e0e3e5;
  color: #001e40;
}

.stitch-trust-strip__icon .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.stitch-trust-strip__label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #43474f;
}

@media (min-width: 768px) {
  .stitch-trust-strip {
    padding: 24px 0;
  }

  .stitch-trust-strip__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .stitch-trust-strip__item {
    justify-content: center;
    min-height: 56px;
    padding: 8px 20px;
    border-right: 1px solid #e0e3e5;
  }

  .stitch-trust-strip__item:last-child {
    border-right: 0;
  }
}

@media (min-width: 1024px) {
  .stitch-trust-strip {
    padding: 28px 0;
  }

  .stitch-trust-strip__item {
    min-height: 60px;
    padding: 10px 24px;
  }

  .stitch-trust-strip__label {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .stitch-trust-strip {
    padding: 16px 0;
  }

  .stitch-trust-strip__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stitch-trust-strip__item {
    min-height: 48px;
    padding: 6px 0;
  }

  .stitch-trust-strip__item:nth-child(odd) {
    padding-right: 0;
  }

  .stitch-trust-strip__item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .stitch-trust-strip__icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .stitch-trust-strip__label {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  body.stitch-contact-page,
  body.stitch-about-page {
    overflow-x: hidden;
  }

  body.stitch-contact-page h1,
  body.stitch-contact-page h2,
  body.stitch-contact-page h3,
  body.stitch-about-page h1,
  body.stitch-about-page h2,
  body.stitch-about-page h3 {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  body.stitch-contact-page p,
  body.stitch-contact-page a,
  body.stitch-contact-page span,
  body.stitch-contact-page li,
  body.stitch-about-page p,
  body.stitch-about-page a,
  body.stitch-about-page span,
  body.stitch-about-page li {
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  body.stitch-contact-page input,
  body.stitch-contact-page select,
  body.stitch-contact-page textarea {
    min-height: 46px;
    width: 100%;
  }
}

/* Featured products carousel — home */
.stitch-featured-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 4);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.stitch-featured-carousel__track::-webkit-scrollbar {
  display: none;
}

.stitch-featured-carousel__card {
  scroll-snap-align: start;
  min-width: 0;
}

.stitch-featured-carousel__card .product-card-hover:hover {
  box-shadow: none;
}

.stitch-featured-carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 1023px) {
  .stitch-featured-carousel__track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 639px) {
  .stitch-featured-carousel__track {
    grid-auto-columns: min(100%, 320px);
  }
}

/* Site footer */
.stitch-footer {
  --stitch-footer-accent: #1a4d3a;
  --stitch-footer-accent-soft: #e8f0ec;
  --stitch-footer-ink: #111827;
  --stitch-footer-muted: #6b7280;
  --stitch-footer-line: #e5e7eb;
  --stitch-footer-shell: min(100%, 1600px);
  --stitch-footer-gutter: clamp(16px, 4vw, 40px);
  margin-top: auto;
  color: var(--stitch-footer-ink);
  font-family: Roboto, "Helvetica Neue", Helvetica, Tahoma, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.stitch-footer a {
  color: inherit;
  text-decoration: none;
}

.stitch-footer__shell {
  width: var(--stitch-footer-shell);
  margin: 0 auto;
  padding-inline: var(--stitch-footer-gutter);
}

.stitch-footer__perks {
  background: linear-gradient(180deg, #f3f5f7 0%, #eef1f4 100%);
  border-top: 1px solid var(--stitch-footer-line);
  border-bottom: 1px solid var(--stitch-footer-line);
}

.stitch-footer__perks-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stitch-footer__perk {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 18px 20px;
}

.stitch-footer__perk-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--stitch-footer-accent-soft);
  color: var(--stitch-footer-accent);
}

.stitch-footer__perk-icon .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.stitch-footer__perk-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.stitch-footer__perk-copy strong {
  color: var(--stitch-footer-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.stitch-footer__perk-copy span {
  color: var(--stitch-footer-muted);
  font-size: 13px;
  line-height: 1.45;
}

.stitch-footer__main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 100%, rgba(26, 77, 58, 0.04), transparent 34%),
    radial-gradient(circle at 100% 100%, rgba(26, 77, 58, 0.04), transparent 34%),
    #ffffff;
}

.stitch-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: 36px 40px;
  padding: 56px 0 48px;
}

.stitch-footer__logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.stitch-footer__logo-text {
  color: var(--stitch-footer-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.stitch-footer__desc {
  max-width: 340px;
  margin: 0 0 22px;
  color: var(--stitch-footer-muted);
  font-size: 14px;
  line-height: 1.75;
}

.stitch-footer__contact {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.stitch-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #374151;
  font-size: 14px;
  line-height: 1.55;
}

.stitch-footer__contact .material-symbols-outlined {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--stitch-footer-accent);
  font-size: 18px;
}

.stitch-footer__contact a:hover {
  color: var(--stitch-footer-accent);
}

.stitch-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stitch-footer__social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stitch-footer-line);
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.stitch-footer__social a:hover {
  border-color: rgba(26, 77, 58, 0.28);
  background: var(--stitch-footer-accent-soft);
  color: var(--stitch-footer-accent);
}

.stitch-footer__social-svg {
  width: 16px;
  height: 16px;
}

.stitch-footer__col h2,
.stitch-footer__subscribe h2 {
  margin: 0 0 18px;
  color: var(--stitch-footer-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.stitch-footer__col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stitch-footer__col a {
  color: var(--stitch-footer-muted);
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.stitch-footer__col a:hover {
  color: var(--stitch-footer-ink);
}

.stitch-footer__subscribe p {
  margin: 0 0 16px;
  color: var(--stitch-footer-muted);
  font-size: 14px;
  line-height: 1.65;
}

.stitch-footer__subscribe-form {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  margin-bottom: 12px;
  border: 1px solid var(--stitch-footer-line);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.stitch-footer__subscribe-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: var(--stitch-footer-ink);
  font-size: 14px;
  outline: none;
}

.stitch-footer__subscribe-form input::placeholder {
  color: #9ca3af;
}

.stitch-footer__subscribe-form button,
body.stitch-page .stitch-footer__subscribe-form button,
body.has-stitch-header .stitch-footer__subscribe-form button,
.stitch-footer__subscribe-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: #fe6500 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, filter 0.2s ease;
}

.stitch-footer__subscribe-form button:hover,
body.stitch-page .stitch-footer__subscribe-form button:hover,
body.has-stitch-header .stitch-footer__subscribe-form button:hover,
.stitch-footer__subscribe-btn:hover {
  background: #fe6500 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
  filter: brightness(1.08);
}

.stitch-footer__subscribe-form button .material-symbols-outlined {
  font-size: 20px;
}

.stitch-footer__privacy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #9ca3af;
  font-size: 12px;
}

.stitch-footer__privacy .material-symbols-outlined {
  font-size: 14px;
}

.stitch-footer__bar {
  border-top: 1px solid var(--stitch-footer-line);
  background: #ffffff;
}

.stitch-footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding-block: 18px;
}

.stitch-footer__copyright {
  margin: 0;
  color: var(--stitch-footer-muted);
  font-size: 13px;
  line-height: 1.5;
}

.stitch-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.stitch-footer__payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--stitch-footer-line);
  border-radius: 6px;
  background: #f9fafb;
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

@media (min-width: 768px) {
  .stitch-footer__perks-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stitch-footer__perk {
    min-height: 96px;
    padding: 22px 28px;
    border-right: 1px solid rgba(17, 24, 39, 0.08);
  }

  .stitch-footer__perk:last-child {
    border-right: 0;
  }
}

@media (max-width: 1180px) {
  .stitch-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
    padding-top: 44px;
    padding-bottom: 40px;
  }

  .stitch-footer__brand {
    grid-column: 1 / -1;
  }

  .stitch-footer__subscribe {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 767px) {
  .stitch-footer {
    --stitch-footer-gutter: 18px;
  }

  .stitch-footer__main {
    background: #f7f9fb;
  }

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

  .stitch-footer__perk {
    min-height: 0;
    gap: 8px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  }

  .stitch-footer__perk:nth-child(odd) {
    border-right: 1px solid rgba(17, 24, 39, 0.06);
  }

  .stitch-footer__perk:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .stitch-footer__perk-icon {
    width: 34px;
    height: 34px;
  }

  .stitch-footer__perk-icon .material-symbols-outlined {
    font-size: 18px;
  }

  .stitch-footer__perk-copy strong {
    font-size: 13px;
  }

  .stitch-footer__perk-copy span {
    display: none;
  }

  .stitch-footer__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0 20px;
  }

  .stitch-footer__brand,
  .stitch-footer__col,
  .stitch-footer__subscribe {
    padding: 16px;
    border: 1px solid #e8edf2;
    border-radius: 10px;
    background: #ffffff;
  }

  .stitch-footer__brand {
    padding-top: 18px;
  }

  .stitch-footer__logo-link {
    margin-bottom: 12px;
  }

  .stitch-footer .stitch-brand-logo,
  .stitch-footer .stitch-brand-logo__img {
    --stitch-logo-height: 28px !important;
    --stitch-logo-max-width: 142px !important;
  }

  .stitch-footer__desc {
    max-width: none;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
  }

  .stitch-footer__contact {
    gap: 10px;
    margin-bottom: 16px;
  }

  .stitch-footer__contact li {
    gap: 9px;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
  }

  .stitch-footer__contact .material-symbols-outlined {
    font-size: 16px;
  }

  .stitch-footer__social {
    gap: 8px;
    margin-bottom: 0;
  }

  .stitch-footer__social a {
    width: 32px;
    height: 32px;
  }

  .stitch-footer__social-svg {
    width: 14px;
    height: 14px;
  }

  .stitch-footer__col h2,
  .stitch-footer__subscribe h2 {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .stitch-footer__col ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .stitch-footer__col a {
    display: block;
    font-size: 13px;
    line-height: 1.35;
  }

  .stitch-footer__subscribe p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.5;
  }

  .stitch-footer__subscribe-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 10px;
    border: 0;
    border-radius: 8px;
    overflow: visible;
    background: transparent;
  }

  .stitch-footer__subscribe-form input {
    padding: 10px 12px;
    border: 1px solid var(--stitch-footer-line);
    border-radius: 8px;
    background: #ffffff;
    font-size: 13px;
  }

  .stitch-footer__subscribe-form button,
  body.stitch-page .stitch-footer__subscribe-form button,
  body.has-stitch-header .stitch-footer__subscribe-form button,
  .stitch-footer__subscribe-btn {
    width: 100%;
    min-height: 40px;
    min-width: 78px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 12px;
  }

  .stitch-footer__privacy {
    font-size: 11px;
  }

  .stitch-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
    padding-block: 16px 76px;
  }

  .stitch-footer__payments {
    justify-content: flex-start;
    gap: 6px;
  }

  .stitch-footer__payment {
    min-width: 44px;
    min-height: 24px;
    padding-inline: 8px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stitch-footer__social a,
  .stitch-footer__col a,
  .stitch-footer__subscribe-form button {
    transition: none;
  }
}

/* Site header */
.stitch-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: #111827;
}

body.stitch-page .stitch-site-header a,
body.has-stitch-header .stitch-site-header a {
  text-decoration: none;
}

body.stitch-page .stitch-site-header button,
body.has-stitch-header .stitch-site-header button {
  font: inherit;
  cursor: pointer;
}

body.stitch-page .stitch-site-header .stitch-site-header__utility,
body.has-stitch-header .stitch-site-header .stitch-site-header__utility {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #374151;
}

body.stitch-page .stitch-site-header .stitch-site-header__menu-toggle,
body.has-stitch-header .stitch-site-header .stitch-site-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
}

body.stitch-page .stitch-site-header .stitch-site-header__search-submit,
body.has-stitch-header .stitch-site-header .stitch-site-header__search-submit {
  min-height: 100%;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: #fe6500 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

body.stitch-page .stitch-site-header a.stitch-site-header__cta,
body.has-stitch-header .stitch-site-header a.stitch-site-header__cta,
body.stitch-page .stitch-site-header a.stitch-site-header__cta--mobile,
body.has-stitch-header .stitch-site-header a.stitch-site-header__cta--mobile {
  color: #ffffff !important;
  background: #fe6500 !important;
  -webkit-text-fill-color: #ffffff;
}

.stitch-site-header__shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.stitch-site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  min-height: 76px;
}

.stitch-site-header__start {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  flex: 0 0 auto;
}

.stitch-site-header__search {
  display: none;
  align-items: stretch;
  min-width: 0;
  flex: 1 1 320px;
  max-width: 460px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.stitch-site-header__utilities {
  display: none;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.stitch-site-header__cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: #fe6500 !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background-color 0.2s ease, transform 0.2s ease;
  -webkit-text-fill-color: #ffffff;
}

.stitch-site-header__menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  flex: 0 0 auto;
}

.stitch-site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.stitch-site-header__logo-text {
  color: #111827;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.stitch-site-header__nav {
  display: none;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.stitch-site-header__nav-link {
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.stitch-site-header__nav-link:hover,
.stitch-site-header__nav-link.is-active {
  color: #111827;
}

.stitch-site-header__nav-link.is-active {
  font-weight: 700;
}

.stitch-site-header__search--mobile {
  display: flex;
  margin-bottom: 20px;
}

.stitch-site-header__search-icon {
  display: none;
  flex-shrink: 0;
  align-self: center;
  margin-left: 16px;
  color: #9ca3af;
  font-size: 20px;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  pointer-events: none;
}

.stitch-site-header__search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  color: #111827;
  font-size: 14px;
  outline: none;
}

.stitch-site-header__search-input::placeholder {
  color: #9ca3af;
}

.stitch-site-header__search-submit {
  flex-shrink: 0;
  min-height: 100%;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: #fe6500;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  -webkit-text-fill-color: #ffffff;
}

.stitch-site-header__search-submit:hover {
  background: #e85a00;
  color: #ffffff !important;
}

.stitch-site-header__utilities {
  display: none;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.stitch-site-header__utility {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #374151;
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.stitch-site-header__utility:hover {
  color: #111827;
}

.stitch-site-header__utility-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.stitch-site-header__utility-icon .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
  color: #4b5563;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  transition: color 0.2s ease;
}

.stitch-site-header__utility:hover .stitch-site-header__utility-icon .material-symbols-outlined {
  color: #111827;
}

.stitch-site-header__utility-label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.stitch-site-header__cta:hover,
.stitch-site-header__cta:focus-visible {
  background: #e85a00 !important;
  color: #ffffff !important;
}

.stitch-site-header__cta--mobile {
  display: inline-flex;
  width: 100%;
  margin-top: 18px;
}

.stitch-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.stitch-mobile-nav__close {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  cursor: pointer;
}

.stitch-mobile-nav__links {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.stitch-mobile-nav__link {
  color: #111827;
  font-size: 18px;
  font-weight: 500;
}

.stitch-mobile-nav__link.is-active {
  color: #fe6500;
}

.stitch-mobile-nav__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stitch-mobile-nav__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.stitch-mobile-nav__action .material-symbols-outlined {
  font-size: 20px;
  color: #4b5563;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

body.stitch-page .stitch-mobile-nav .stitch-mobile-nav__action,
body.has-stitch-header .stitch-mobile-nav .stitch-mobile-nav__action {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
}

body.stitch-page .stitch-mobile-nav .stitch-mobile-nav__close,
body.has-stitch-header .stitch-mobile-nav .stitch-mobile-nav__close {
  border: 0;
  background: #f3f4f6;
  color: #4b5563;
}

.favorites-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 88;
  display: none;
  background: rgba(0, 0, 0, 0.22);
}

.favorites-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 92;
  width: min(92vw, 430px);
  height: 100vh;
  height: 100dvh;
  background: #fff;
  border-left: 1px solid #ebedf0;
  transform: translateX(102%);
  transition: transform 240ms ease;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.08);
}

.favorites-drawer-open {
  overflow: hidden;
}

.favorites-drawer-open .favorites-drawer-overlay {
  display: block;
}

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

.favorites-drawer-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  min-height: 0;
}

.product-card-favorite {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #6b7280;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.product-card-favorite.is-active,
.product-card-favorite:hover {
  color: #fe6500;
}

.product-card-favorite.is-active .material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

body.stitch-page .stitch-site-header .header-cart-badge,
body.has-stitch-header .stitch-site-header .header-cart-badge,
body.stitch-page .stitch-site-header .header-message-badge,
body.has-stitch-header .stitch-site-header .header-message-badge,
body.stitch-page .stitch-site-header .header-favorites-badge,
body.has-stitch-header .stitch-site-header .header-favorites-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  z-index: 1;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

body.stitch-page .stitch-site-header .header-cart-badge,
body.has-stitch-header .stitch-site-header .header-cart-badge {
  background: #fe6500 !important;
}

body.stitch-page .stitch-site-header .header-message-badge,
body.has-stitch-header .stitch-site-header .header-message-badge {
  background: #ef4444 !important;
}

body.stitch-page .stitch-site-header .header-favorites-badge,
body.has-stitch-header .stitch-site-header .header-favorites-badge {
  background: #fe6500 !important;
}

body.stitch-page .stitch-site-header .header-cart-badge.is-empty,
body.has-stitch-header .stitch-site-header .header-cart-badge.is-empty,
body.stitch-page .stitch-site-header .header-message-badge.is-empty,
body.has-stitch-header .stitch-site-header .header-message-badge.is-empty,
body.stitch-page .stitch-site-header .header-favorites-badge.is-empty,
body.has-stitch-header .stitch-site-header .header-favorites-badge.is-empty {
  display: none;
}

@media (min-width: 768px) {
  .stitch-site-header__search {
    display: flex;
  }

  .stitch-site-header__search-icon {
    display: inline-flex;
  }

  .stitch-site-header__search-input {
    padding-left: 0;
  }

  .stitch-site-header__menu-toggle {
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  .stitch-site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(280px, 420px) minmax(16px, 1fr) auto auto;
    align-items: center;
    gap: 16px 20px;
  }

  .stitch-site-header__start {
    grid-column: 1;
  }

  .stitch-site-header__search {
    grid-column: 2;
    display: flex;
    width: 100%;
    max-width: none;
    flex: unset;
  }

  .stitch-site-header__utilities {
    grid-column: 4;
    display: flex;
  }

  .stitch-site-header__cta {
    grid-column: 5;
    display: inline-flex;
  }

  .stitch-site-header__nav {
    display: flex;
  }

  body.stitch-page .stitch-site-header .stitch-site-header__menu-toggle,
  body.has-stitch-header .stitch-site-header .stitch-site-header__menu-toggle,
  .stitch-site-header__menu-toggle {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .stitch-site-header__inner {
    grid-template-columns: auto minmax(320px, 480px) minmax(24px, 1fr) auto auto;
    gap: 20px 28px;
  }

  .stitch-site-header__nav {
    gap: 28px;
  }

  .stitch-site-header__utilities {
    gap: 22px;
  }
}

@media (max-width: 1023px) {
  .stitch-site-header__utilities,
  .stitch-site-header__cta {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stitch-site-header__cta,
  .stitch-site-header__nav-link,
  .stitch-site-header__utility,
  .stitch-site-header__search-submit,
  .favorites-drawer,
  .cart-drawer {
    transition: none;
  }
}

/* Mobile bottom tab bar (Taobao-style) */
.stitch-mobile-tab-bar {
  display: none;
}

@media (max-width: 1023px) {
  body.has-stitch-mobile-tab-bar,
  body.has-stitch-header:not(.mizhan-checkout-page) {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .stitch-mobile-tab-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    align-items: stretch;
    justify-content: space-around;
    min-height: 56px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 -4px 16px rgba(17, 24, 39, 0.06);
  }

  .stitch-mobile-tab-bar__link {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 56px;
    padding: 6px 4px 4px;
    color: #6b7280;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .stitch-mobile-tab-bar__icon {
    display: block;
    width: 24px;
    height: 24px;
    font-family: "Material Symbols Outlined" !important;
    font-size: 24px;
    line-height: 1;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  }

  .stitch-mobile-tab-bar__label {
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .stitch-mobile-tab-bar__link.is-active {
    color: #fe6500;
  }

  .stitch-mobile-tab-bar__link.is-active .stitch-mobile-tab-bar__icon {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  }

  body.mizhan-checkout-page .stitch-mobile-tab-bar {
    display: none;
  }

body.mizhan-checkout-page.has-stitch-mobile-tab-bar {
    padding-bottom: 0;
  }
}

/* Domestic fulfillment animated map */
.htl-dynamic-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 64% 38%, rgba(254, 101, 0, 0.24), transparent 16%),
    radial-gradient(circle at 45% 52%, rgba(88, 211, 255, 0.22), transparent 25%),
    radial-gradient(circle at 50% 120%, rgba(15, 118, 110, 0.24), transparent 44%),
    linear-gradient(135deg, #020713 0%, #081524 45%, #07101c 100%);
  color: #dbeafe;
  isolation: isolate;
}

.htl-dynamic-map--compact {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border-radius: 0;
}

.htl-dynamic-map__grid,
.htl-dynamic-map__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.htl-dynamic-map__grid {
  z-index: 0;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.08) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-position: center;
  background-size: 38px 38px, 38px 38px, 18px 18px;
  mask-image: radial-gradient(circle at center, #000 0%, #000 58%, transparent 86%);
  opacity: 0.85;
  animation: htl-map-grid-drift 18s linear infinite;
}

.htl-dynamic-map__scan {
  z-index: 4;
  background: linear-gradient(180deg, transparent 0%, rgba(93, 221, 255, 0.18) 50%, transparent 100%);
  opacity: 0.52;
  transform: translateY(-100%);
  animation: htl-map-scan 5.6s ease-in-out infinite;
}

.htl-dynamic-map__svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.htl-dynamic-map__land path {
  fill: rgba(20, 184, 166, 0.08);
  stroke: rgba(128, 237, 255, 0.38);
  stroke-width: 1.4;
}

.htl-dynamic-map__mesh path {
  fill: none;
  stroke: rgba(147, 197, 253, 0.16);
  stroke-dasharray: 3 8;
  stroke-linecap: round;
  stroke-width: 1.2;
}

.htl-dynamic-map__route {
  fill: none;
  stroke: url(#htl-map-route);
  stroke-dasharray: 18 24;
  stroke-linecap: round;
  stroke-width: 3.2;
  animation: htl-map-route-flow 4.8s linear infinite;
}

.htl-dynamic-map__route--b {
  animation-duration: 5.8s;
  animation-delay: -1.4s;
}

.htl-dynamic-map__route--c {
  animation-duration: 6.4s;
  animation-delay: -2.1s;
}

.htl-dynamic-map__route--d {
  animation-duration: 5.2s;
  animation-delay: -0.8s;
}

.htl-dynamic-map__route--e {
  stroke-width: 1.8;
  opacity: 0.45;
  animation-duration: 7s;
  animation-direction: reverse;
}

.htl-dynamic-map__particle {
  fill: #fe6500;
  filter: drop-shadow(0 0 12px rgba(254, 101, 0, 0.9));
}

.htl-dynamic-map__node {
  color: #f8fafc;
}

.htl-dynamic-map__node-halo {
  fill: url(#htl-map-node-glow);
  opacity: 0.82;
  transform-origin: center;
  animation: htl-map-node-pulse 2.8s ease-in-out infinite;
}

.htl-dynamic-map__node-core {
  fill: #ffffff;
  stroke: #fe6500;
  stroke-width: 4;
  filter: drop-shadow(0 0 14px rgba(254, 101, 0, 0.85));
}

.htl-dynamic-map__node text {
  fill: currentColor;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: rgba(2, 7, 19, 0.72);
  stroke-width: 5px;
  stroke-linejoin: round;
}

.htl-dynamic-map__node-city {
  fill: #93c5fd !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.htl-dynamic-map__status {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.htl-dynamic-map__status span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(147, 197, 253, 0.24);
  border-radius: 999px;
  background: rgba(2, 7, 19, 0.46);
  color: #e0f2fe;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.htl-dynamic-map__status span::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 999px;
  background: #fe6500;
  box-shadow: 0 0 12px rgba(254, 101, 0, 0.9);
}

@keyframes htl-map-route-flow {
  to {
    stroke-dashoffset: -86;
  }
}

@keyframes htl-map-node-pulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes htl-map-grid-drift {
  to {
    background-position: 38px 38px, 38px 38px, 18px 18px;
  }
}

@keyframes htl-map-scan {
  0%,
  18% {
    transform: translateY(-100%);
  }

  70%,
  100% {
    transform: translateY(100%);
  }
}

@media (max-width: 767px) {
  .htl-dynamic-map {
    min-height: 220px;
  }

  .htl-dynamic-map__node text {
    font-size: 17px;
  }

  .htl-dynamic-map__node-city {
    font-size: 13px !important;
  }

  .htl-dynamic-map__status {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 6px;
  }

  .htl-dynamic-map__status span {
    min-height: 26px;
    padding: 5px 8px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .htl-dynamic-map__status span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .htl-dynamic-map__grid,
  .htl-dynamic-map__scan,
  .htl-dynamic-map__route,
  .htl-dynamic-map__node-halo {
    animation: none;
  }
}

/* Static domestic fulfillment map */
.htl-dynamic-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 0;
  background: #07111d;
  color: #ffffff;
}

.htl-dynamic-map--compact {
  display: flex;
  min-height: 100%;
  align-items: flex-start;
  padding: 0;
}

.htl-dynamic-map__image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
}

.htl-dynamic-map--compact .htl-dynamic-map__image {
  object-fit: cover;
}

@media (max-width: 767px) {
  .htl-dynamic-map {
    min-height: 220px;
  }

  .htl-dynamic-map__image {
    min-height: 220px;
  }
}
