/**
 * Crocs 首页 - 自包含样式（不依赖原站接口与脚本）
 */

:root {
  --color-brand: #166C48;
  --color-brand-60: #166C48;
  --color-black: #141215;
  --color-white: #fff;
  --color-gray: #5E6366;
  --max-width-xl: 1200px;
  --header-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; max-width: 100%; }
body { font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; color: var(--color-black); background: #fff; overflow-x: hidden; max-width: 100%; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* PDP 登录提示弹窗（Reviews / Questions 区域拦截） */
.pdp-login-modal { position: fixed; inset: 0; z-index: 9999; display: none; }
.pdp-login-modal.is-open { display: block; }
.pdp-login-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.52); }
.pdp-login-modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, calc(100vw - 32px));
  background: #fff;
  color: var(--color-black);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.pdp-login-modal__title { font-weight: 900; font-size: 18px; margin-bottom: 8px; }
.pdp-login-modal__body { color: #4b4f52; font-size: 14px; line-height: 1.5; }
.pdp-login-modal__actions { display: flex; justify-content: flex-end; margin-top: 14px; }
.pdp-login-modal__btn {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color-black);
  color: #fff;
  font-weight: 800;
}
.pdp-login-modal__btn:focus { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.pdp-login-modal-open { overflow: hidden; }

/* 工具类 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ok-u-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.flex-fill { flex: 1 1 auto; }
.align-items-center { align-items: center; }
.justify-content-end { justify-content: flex-end; }
.justify-content-center { justify-content: center; }
.text-white { color: var(--color-white) !important; }
.text-black { color: var(--color-black); }
.text-bold { font-weight: 700; }
.text-uppercase { text-transform: uppercase; }
.p-0 { padding: 0; }
.p-15 { padding: 15px; }
/* 横向内边距（列表页等）；含安全区，避免贴齐刘海屏边缘 */
.px-15 {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.px-0 { padding-left: 0; padding-right: 0; }
.m-0 { margin: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-15 { margin-top: 15px; }
.clear { clear: both; }

/* 顶栏 */
.header-top { background: #000; color: #fff; }
.header-top-inner { max-width: var(--max-width-xl); margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; }
.eyebrow__exp-logo-wrapper { display: inline-block; }
.eyebrow__exp-logo-wrapper img { height: 14px; }
.header-top-item-links { display: flex; align-items: center; gap: 16px; }
.header-top-item-link { color: #fff; font-weight: 700; text-transform: uppercase; padding: 8px 0; display: flex; align-items: center; gap: 6px; }
.header-account-menu { position: absolute; top: 100%; right: 0; background: #fff; color: #000; min-width: 180px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 100; padding: 8px 0; border-radius: 4px; }
.header-account-menu[aria-hidden="true"] { display: none; }
.header-account-menu[aria-hidden="false"] { display: block; }
.header-account-menu__item { display: block; padding: 10px 16px; color: #000; font-weight: 600; }
.header-account-menu__item:hover { background: #f5f5f5; }

/* 主导航 */
.global-header { background: #fff; position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 0 #eee; }
.header-wrapper-inner { max-width: var(--max-width-xl); margin: 0 auto; padding: 0 16px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.header-logo-container { display: inline-flex; align-items: center; }
.crocs-logo { color: var(--color-brand-60); height: 25px; width: auto; }
.nav-links-secondary { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 10px 12px; display: flex; align-items: center; color: #000; }
.nav-link svg { width: 24px; height: 24px; }
/* 富文本内容页（Site Map、页脚链出的条款/帮助等） */
.content-rich-page,
.site-map-page { max-width: var(--max-width-xl); margin: 0 auto; padding: 32px 16px 56px; }
.content-rich-page__hero,
.site-map-page__hero { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #e5e5e5; }
.content-rich-page__eyebrow,
.site-map-page__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-brand); margin: 0 0 8px; }
.content-rich-page__title,
.site-map-page__title { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 900; color: #111; margin: 0 0 12px; letter-spacing: -0.02em; }
.content-rich-page__lead,
.site-map-page__lead { font-size: 16px; line-height: 1.65; color: #4b4f52; max-width: 42rem; margin: 0; }
.content-rich-page__main { width: 100%; }
.content-rich-prose p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: #333; }
.content-rich-prose p:last-child { margin-bottom: 0; }
.site-map-page__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) {
  .site-map-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .site-map-page__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.site-map-card { background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%); border: 1px solid #e8e8e8; border-radius: 14px; padding: 22px 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); }
.site-map-card--wide { grid-column: 1 / -1; }
.site-map-card__title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: #111; margin: 0 0 8px; }
.site-map-card__desc { font-size: 13px; color: #6b7074; margin: 0 0 14px; line-height: 1.45; }
.site-map-card__list { display: flex; flex-direction: column; gap: 8px; }
.site-map-card__list a { color: var(--color-brand); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.site-map-card__list a:hover { color: #0f4a32; }
.site-map-card__list--cols { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 600px) {
  .site-map-card__list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#minicart-react,
li.minicart { position: relative; }

.minicart-link { position: relative; padding: 10px 12px; display: flex; align-items: center; }
.minicart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}
.minicart-badge[hidden] { display: none !important; }

.minicart-container {
  position: absolute;
  top: 100%;
  right: 0;
  width: min(380px, calc(100vw - 24px));
  max-height: min(90vh, 640px);
  overflow: auto;
  background: #f4f3ef;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0;
  z-index: 100;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.minicart-container.is-open { display: block; }
.minicart-container:not(.is-open) { display: none; }
.minicart-empty { color: var(--color-gray); font-size: 14px; text-align: center; padding: 20px 0; }

.minicart-flyout { padding: 18px 18px 20px; font-family: inherit; color: #111; }
.minicart-flyout__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.minicart-flyout__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.minicart-flyout__close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  margin: -4px -8px 0 0;
  color: #111;
}
.minicart-flyout__close:hover { opacity: 0.65; }

.minicart-flyout__card {
  background: #fff;
  border-radius: 10px;
  padding: 14px 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.minicart-flyout__ship-bar {
  height: 8px;
  border-radius: 999px;
  background: #e8e8e4;
  overflow: hidden;
  margin-bottom: 10px;
}
.minicart-flyout__ship-fill {
  height: 100%;
  border-radius: 999px;
  background: #2b6cb0;
  width: 0%;
  transition: width 0.25s ease;
}
.minicart-flyout__ship-msg {
  font-size: 13px;
  text-align: center;
  color: #333;
  line-height: 1.35;
}

.minicart-flyout__line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.minicart-flyout__thumb {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 6px;
  background: #f7f7f5;
  flex-shrink: 0;
}
.minicart-flyout__meta { flex: 1; min-width: 0; }
.minicart-flyout__sub {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}
.minicart-flyout__name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.25;
}
.minicart-flyout__price { font-size: 14px; color: #111; }

.minicart-flyout__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 6px 0 16px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 700;
}

.minicart-flyout__actions { display: flex; flex-direction: column; gap: 10px; }
.minicart-flyout__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.minicart-flyout__btn:hover { opacity: 0.92; }
.minicart-flyout__btn--primary {
  background: #92a947;
  color: #111;
  border-color: #92a947;
}
.minicart-flyout__btn--outline {
  background: #fff;
  color: #111;
  border-color: #111;
}
.minicart-flyout__lock { width: 16px; height: 16px; flex-shrink: 0; }
.minicart-flyout__empty {
  font-size: 14px;
  color: #666;
  text-align: center;
  padding: 12px 8px;
}
.hamburger-menu-icon {
  position: relative;
  z-index: 201;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger-menu-icon svg { width: 24px; height: 24px; }
/* 三线 → X（由 JS 替换为 .hamburger-menu-icon__gfx） */
.hamburger-menu-icon .hamburger-menu-icon__gfx {
  width: 22px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.hamburger-menu-icon__line {
  display: block;
  height: 2px;
  width: 100%;
  background: #000;
  border-radius: 1px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}
.hamburger-menu-icon.is-open .hamburger-menu-icon__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-menu-icon.is-open .hamburger-menu-icon__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger-menu-icon.is-open .hamburger-menu-icon__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 992px) {
  .d-lg-flex { display: flex !important; }
  .d-lg-none { display: none !important; }
}
@media (max-width: 991px) {
  .d-none.d-lg-flex { display: none !important; }
  .hamburger-menu-icon { display: flex; }
  /* 移动端隐藏顶部黑条（My Account / EXP），只保留白底导航 */
  .header-top,
  #header-top { display: none !important; }
}

/* ========== 移动端整体布局（与截图一致） ========== */
@media (max-width: 767px) {
  :root { --header-h: 48px; }
  .global-header .header-wrapper-inner { padding: 0 12px; height: var(--header-h); }
  .crocs-logo { height: 22px; }
  .nav-link { padding: 8px 10px; }
  .minicart-link { padding: 8px 10px; }
  .hamburger-menu-icon { padding: 8px 10px; }

  /* 迷你购物车：与屏幕左右贴齐（脱离顶栏定位，避免仅对齐购物车图标） */
  .minicart-container {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--minicart-top, calc(var(--header-h, 48px) + env(safe-area-inset-top, 0px)));
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    max-height: calc(100vh - var(--header-h, 48px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - var(--header-h, 48px) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    z-index: 1200;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }
  .minicart-flyout {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  }

  /* 内联导航：移动端可换行居中 */
  .ok-inline-nav { padding: 16px 12px; }
  .ok-inline-nav__block { gap: 14px 24px; justify-content: space-between; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 14px 0; }

  /* 经典图标：标题左对齐，横向滚动 */
  .sf-classic-carousel__wrapper { padding: 24px 16px; }
  .sf-classic-carousel__wrapper h2 { font-size: 20px; text-align: left; margin-bottom: 16px; }
  .sf-classic-carousel__container { gap: 10px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; flex-direction: row; flex-wrap: nowrap; }
  .sf-classic-carousel__container swiper-container { flex-direction: row; flex-wrap: nowrap; gap: 10px; }
  .sf-classic-carousel__container swiper-slide { width: 140px; }
  .sf-classic_item--wrapper { flex: 0 0 140px; }
  .sf-classic-carousel__wrapper .ok-button { margin-top: 16px; width: 50%; max-width: 50%; white-space: nowrap; font-size: 13px; padding: 10px 12px; }

  /* 产品网格：两列 + 防止图片撑破栅格导致横向滚动 */
  #homepage-react { width: 100%; max-width: 100%; overflow-x: hidden; }
  .product-grid {
    width: 100%;
    max-width: 100%;
    padding: 18px 12px;
    column-gap: 12px;
    row-gap: 14px;
    gap: 14px 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-grid > .ok-story-card { min-width: 0; max-width: 100%; }
  .product-grid:has(.ok-story-card--sxs) { gap: 0; }
  .ok-story-card.ok-story-card--sxs { min-height: 120px; }
  .ok-story-card.ok-story-card--sxs .ok-story-card__bg { min-height: 120px; }
  .ok-story-card.ok-story-card--sxs .ok-story-card__content { padding: 14px 16px; }
  .ok-story-card.ok-story-card--sxs .ok-story-card__heading { font-size: 16px; }
  /* 标题区块 */
  .sf-rte__copy-block { padding: 20px 16px; }
  .sf-rte__heading { font-size: 22px; }

  /* 页脚：单列、紧凑 */
  .sf-footer__black { padding: 24px 16px; }
  .sf-footer__feedback-container { padding-bottom: 20px; }
  .sf-footer__container { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .footer__main { padding: 24px 16px; grid-template-columns: 1fr; gap: 20px; }
  .footer__main.footer__main--rich { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* 不再加大 Hero 高度，保持与 ≤767px 一致的比例 */
  .ok-hero { max-height: min(100vw, 440px); }
  .ok-hero__heading { font-size: 30px; }
  .ok-button--small { padding: 10px 18px; font-size: 13px; }
  .sf-classic_item--wrapper { flex: 0 0 120px; }
  .sf-classic-carousel__container swiper-slide { width: 120px; }
}

/* 主内容区：不设 min-height，避免导航下方出现大片空白 */
.global-viewport-wrapper { }
.global-viewport,
.global-viewport-container { min-height: 0; }
#banner-react-container .ok-rotator__container { min-height: 0; }
#mainContent { outline: none; }
.content { max-width: 100%; }

/* Hero（默认不设 min-height，避免覆盖移动端 aspect-ratio；宽度 ≥768px 再用原站式高度） */
.ok-hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  background: linear-gradient(135deg, #fce4ec 0%, #e8f5e9 100%);
  overflow: hidden;
}
@media (min-width: 768px) {
  .ok-hero { min-height: 520px; }
}
.ok-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ok-hero__content { position: relative; z-index: 1; padding: 12px 24px 40px; max-width: var(--max-width-xl); margin: 0 auto; width: 100%; align-self: flex-start; text-align: center; }
.ok-hero__heading { font-size: clamp(36px, 7vw, 56px); font-weight: 700; color: #000; margin-bottom: 16px; text-align: center; }
.ok-hero__block + .ok-hero__block { margin-top: 12px; }
.ok-button { display: inline-block; padding: 12px 24px; font-weight: 700; text-align: center; border-radius: 50px; transition: opacity 0.2s, transform 0.2s; }
.ok-button--small { padding: 10px 20px; font-size: 14px; }
.ok-button--secondary { background: #000; color: #fff; }
.ok-button--secondary:hover { opacity: 0.9; transform: translateY(-1px); }
.ok-button--tertiary { background: transparent; color: #fff; border: 2px solid #fff; }
.ok-button--tertiary:hover { background: #fff; color: #000; }
.ok-button--outlined { background: transparent; border: 2px solid #fff; color: #fff; }
.ok-button--outlined:hover { background: #fff; color: #000; }

/* 内联导航 */
.ok-inline-nav { padding: 20px 16px; }
.ok-inline-nav__block { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 16px 0; }
.ok-inline-nav__block a { font-weight: 700; color: #000; }
.ok-inline-nav__block a:hover { text-decoration: underline; }

/* 经典图标轮播：横向排列、单行滚动 */
.sf-classic-carousel__wrapper { padding: 32px 16px; max-width: var(--max-width-xl); margin: 0 auto; background-color: #F0FFFF; }
.sf-classic-carousel__wrapper h2 { font-size: 24px; font-weight: 700; margin-bottom: 20px; text-align: center; }
.sf-classic-carousel__container { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; }
.sf-classic-carousel__container::-webkit-scrollbar { height: 6px; }
/* 容器内的 swiper 横向排列，不换行 */
.sf-classic-carousel__container swiper-container { display: flex; flex-direction: row; flex-wrap: nowrap; flex: 0 0 auto; gap: 12px; }
.sf-classic-carousel__container swiper-slide { flex: 0 0 auto; width: 160px; }
.sf-classic_item--wrapper { flex: 0 0 160px; scroll-snap-align: start; border-radius: 12px; overflow: hidden; }
.sf-classic_item--wrapper a { display: block; }
.sf-classic_item { padding: 16px; text-align: center; }
.sf-classic_item--title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.sf-classic_item img { width: 100%; height: auto; border-radius: 8px; }
.sf-classic-carousel__wrapper .ok-button { margin-top: 20px; display: block; text-align: center; width: 50%; max-width: 50%; white-space: nowrap; font-size: clamp(13px, 2.5vw, 16px); padding: 10px 16px; }

/* swiper 兼容（当无 swiper.js 时用原生滚动） */
swiper-container { display: block; overflow: visible; }
swiper-container .sf-classic-carousel__container { display: flex; flex-direction: row; flex-wrap: nowrap; }
swiper-slide { flex: 0 0 auto; }

/* Upsell 区块（桌面保留原 min-height；移动端见下方「移动端 Hero / Upsell」） */
.ok-upsell {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 24px 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ok-upsell { min-height: 560px; }
}
.ok-upsell__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ok-upsell__copy { position: relative; z-index: 1; padding: 40px 24px; }
.ok-upsell__heading { font-size: clamp(22px, 4vw, 32px); font-weight: 700; margin-bottom: 12px; }
.ok-upsell[data-mode="text-white"] .ok-upsell__heading { color: #fff; }
.ok-upsell[data-mode="text-white"] .ok-link { color: #fff; font-weight: 700; }
.ok-link:hover { text-decoration: underline; }

/* 移动端 Hero / Upsell：长图用比例 + max-height 约束（接近原站小屏图），须写在本块之后以免 margin 被覆盖 */
@media (max-width: 767px) {
  .ok-hero {
    min-height: 0;
    aspect-ratio: 1 / 1;
    max-height: min(100vw, 480px);
    padding: 20px 16px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .ok-hero__bg { object-position: center 22%; }
  .ok-hero__content { padding: 8px 16px 16px; text-align: center; width: 100%; margin: 0; }
  .ok-hero__heading { font-size: 36px; line-height: 1.2; text-align: center; }
  .ok-hero__block + .ok-hero__block { margin-top: 16px; }
  .ok-hero .ok-button { display: inline-block; }

  .ok-upsell {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-height: min(100vw, 440px);
    margin: 12px 0;
  }
  .ok-upsell__bg { object-position: center 30%; }
  .ok-upsell__copy { padding: 20px 16px; }
}

/* 产品网格 / 故事卡片 */
/* 默认：田字格 2x2（Ziwe / Dixie / Wisdom / Cyrus 等）
   minmax(0,1fr) 避免子项 min-width:auto 被图片撑开 → 右侧空白/横向滚动 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 24px 16px;
  max-width: var(--max-width-xl);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.product-grid > .ok-story-card { min-width: 0; }
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
/* 含有 .ok-story-card--sxs 的网格：单列、左图右文（NBA / Coca-Cola / Mickey / Bluey） */
.product-grid:has(.ok-story-card--sxs) { grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) {
  .product-grid:has(.ok-story-card--sxs) { grid-template-columns: 1fr; gap: 0; }
}

/* 田字格卡片：图铺满、文字叠在底部（data-mode="text-white" 无 --sxs） */
.ok-story-card:not(.ok-story-card--sxs) {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  min-height: 200px;
  border: none;
  background: transparent;
  max-width: 100%;
}
.ok-story-card:not(.ok-story-card--sxs) .ok-story-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
.ok-story-card:not(.ok-story-card--sxs) .ok-story-card__content { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(transparent 40%, rgba(0,0,0,0.6) 100%); background-image: linear-gradient(transparent 40%, rgba(0,0,0,0.6) 100%); }
.ok-story-card:not(.ok-story-card--sxs) .ok-story-card__block { color: #fff; }
.ok-story-card:not(.ok-story-card--sxs) .ok-story-card__heading { color: #fff; }
.ok-story-card:not(.ok-story-card--sxs) .ok-link { color: #fff; font-weight: 600; text-decoration: none; }
.ok-story-card:not(.ok-story-card--sxs) .ok-link:hover { text-decoration: underline; }

/* 移动端田字格：必须在基础 .ok-story-card 规则之后，否则 min-height/aspect-ratio 会被覆盖 */
@media (max-width: 767px) {
  .ok-story-card:not(.ok-story-card--sxs) {
    min-height: 0;
    aspect-ratio: 5 / 4;
  }
  .ok-story-card:not(.ok-story-card--sxs) .ok-story-card__content {
    padding: 12px 10px 14px;
    align-items: flex-end;
  }
  .ok-story-card:not(.ok-story-card--sxs) .ok-link {
    font-size: 13px;
    line-height: 1.25;
    display: block;
    word-break: break-word;
  }
}

/* 单列左图右文卡片（.ok-story-card--sxs） */
.ok-story-card.ok-story-card--sxs { display: flex; flex-direction: row; border-radius: 0; overflow: hidden; aspect-ratio: auto; min-height: 140px; border: 1px solid #e0e0e0; border-bottom: none; background: #fff; }
.ok-story-card.ok-story-card--sxs:last-child { border-bottom: 1px solid #e0e0e0; }
.ok-story-card.ok-story-card--sxs .ok-story-card__bg { position: relative; width: 55%; flex: 0 0 55%; height: auto; min-height: 140px; object-fit: cover; }
.ok-story-card.ok-story-card--sxs .ok-story-card__content { position: relative; inset: auto; flex: 1 1 45%; display: flex; align-items: center; padding: 20px 24px; background: #fff; background-image: none; }
.ok-story-card.ok-story-card--sxs .ok-story-card__block { color: #141215; }
.ok-story-card.ok-story-card--sxs .ok-story-card__heading { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #000; }
.ok-story-card.ok-story-card--sxs .ok-link { color: #000; text-decoration: underline; font-weight: 600; }
.ok-story-card.ok-story-card--sxs .ok-link:hover { text-decoration: underline; }

/* 标题区块 */
.sf-rte__copy-block { text-align: center; padding: 24px 16px; }
.sf-rte__heading { font-size: 28px; font-weight: 700; }

/* 品牌 tiles 轮播 */
.sf-carousel__slider { padding: 24px 0; overflow: hidden; }
.sf-carousel__slider swiper-container { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; }
.ok-tile { flex: 0 0 140px; scroll-snap-align: start; display: block; border-radius: 12px; overflow: hidden; width: 140px; }
.ok-tile__img { width: 100%; height: 140px; object-fit: cover; display: block; }
.ok-tile__block { padding: 12px; text-align: center; font-weight: 700; background: #f5f5f5; }

/* 页脚 */
.global-footer { background: #000; color: #fff; }
.sf-footer__black { padding: 32px 16px; }
.sf-footer__strip { padding: 0 0 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 16px; }
.sf-footer__strip-text { margin: 0; font-size: 14px; line-height: 1.55; color: #cfcfcf; max-width: 42rem; }
.sf-footer__feedback-container { text-align: center; padding-bottom: 24px; border-bottom: 1px solid #333; }
.sf-footer__feedback-copy { font-size: 18px; margin-bottom: 12px; }
.sf-footer__container { max-width: var(--max-width-xl); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; }
@media (min-width: 768px) {
  .sf-footer__container { grid-template-columns: repeat(2, 1fr); }
}
.sf-footer__sub-container p { margin-bottom: 12px; font-size: 14px; }
.sf-footer__app-button-container { display: flex; gap: 12px; flex-wrap: wrap; }
.sf-footer__app-button { display: inline-block; }
.sf-footer__app-button svg { height: 40px; width: auto; }
.footer__main { max-width: var(--max-width-xl); margin: 0 auto; padding: 32px 16px; display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) {
  .footer__main.footer__main--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .footer__main.footer__main--rich { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.footer-rich-intro {
  border-bottom: 1px solid #2a2a2a;
  padding: 28px 16px 8px;
  background: linear-gradient(180deg, #141414 0%, #111 100%);
}
.footer-rich-intro__inner { max-width: var(--max-width-xl); margin: 0 auto; }
.footer-rich-intro__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #51cbee;
  margin: 0 0 10px;
}
.footer-rich-intro__lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.65;
  color: #c8c8c8;
  max-width: 52rem;
}
.footer-rich-intro__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 13px;
  color: #9a9a9a;
}
.footer-rich-intro__trust li {
  position: relative;
  padding-left: 1.1em;
}
.footer-rich-intro__trust li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: 700;
}
.footer__col-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #888;
  margin: -8px 0 12px;
}
.footer__contact-card {
  padding: 12px 0 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid #2a2a2a;
}
.footer__contact-strong { margin: 0 0 6px; font-size: 14px; }
.footer__contact-muted { margin: 0 0 10px; font-size: 12px; color: #888; }
.footer__contact-phone { text-decoration: underline; text-underline-offset: 2px; }
.footer-rich-follow {
  padding: 0 16px 28px;
  border-bottom: 1px solid #2a2a2a;
}
.footer-rich-follow__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
  margin: 0 0 12px;
}
.footer-rich-follow__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-rich-follow__a {
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.footer-rich-follow__a:hover { color: #fff; text-decoration: underline; }
.footer__col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid #333; }
.footer__col ul li { margin-bottom: 8px; }
.footer__col a { color: #ccc; font-size: 14px; }
.footer__col a:hover { color: #fff; }
.footer-sub { padding: 16px; text-align: center; font-size: 12px; color: #999; }
.footer-sub__link { color: #ccc; margin: 0 8px; }
.footer-sub__link:hover { color: #fff; }
.customer-service-hours ul li { margin-bottom: 4px; font-size: 14px; color: #ccc; }

/* Cookie  consent */
.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,0.1); padding: 16px 20px; z-index: 9999; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-consent.is-hidden { display: none !important; }
.cookie-consent__wrap { flex: 1 1 300px; }
.cookie-consent__wrap p { font-size: 14px; color: #333; margin: 0; }
.cookie-consent__wrap a { color: #166C48; text-decoration: underline; }
.cookie-consent__close { padding: 8px; margin-left: auto; }
.cookie-consent__close svg { width: 24px; height: 24px; display: block; }
.cookie-consent__btns { display: flex; gap: 8px; flex-shrink: 0; }

/* 弹层/遮罩 */
.search-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 300; display: none; align-items: flex-start; justify-content: center; padding: 80px 20px 20px; }
.search-overlay.is-open { display: flex; }
.search-overlay__inner { background: #fff; width: 100%; max-width: 600px; border-radius: 8px; padding: 24px; }
.search-overlay__close { position: absolute; top: 16px; right: 16px; padding: 8px; }

/* 打开菜单时禁止背后页面滚动，避免上滑露出底图 */
html.mobile-nav-open,
body.mobile-nav-open {
  overflow: hidden !important;
  touch-action: none;
}
body.mobile-nav-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

/* 移动端汉堡抽屉：紧贴主站顶栏下方（顶栏保留），右侧滑出；低于顶栏 z-index 以免压住导航 */
.mobile-nav {
  position: fixed;
  top: var(--header-h, 48px);
  right: 0;
  width: min(300px, 88vw);
  height: calc(100dvh - var(--header-h, 48px));
  height: calc(100svh - var(--header-h, 48px));
  max-height: calc(100dvh - var(--header-h, 48px));
  background: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
  z-index: 199;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

/* 主列表 / 子分类：双面板横向滑动 */
.mobile-nav__stack {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.mobile-nav__panels {
  flex: 1 1 auto;
  display: flex;
  width: 200%;
  min-height: 0;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.mobile-nav__panels.mobile-nav__panels--sub {
  transform: translateX(-50%);
}
.mobile-nav__panel {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: #fff;
}

/* 白底分类：过长时单独滚动 */
.mobile-nav__categories {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  touch-action: pan-y;
  background: #fff;
  max-height: calc(100dvh - var(--header-h, 48px) - 220px);
  max-height: calc(100svh - var(--header-h, 48px) - 220px);
}

.mobile-nav__panel--sub {
  border-left: 1px solid #eee;
}
.mobile-nav__back {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  margin: 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-align: left;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-nav__back:hover,
.mobile-nav__back:focus-visible {
  background: #f7f7f7;
}
.mobile-nav__back-chev {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: #333;
}
.mobile-nav__sub-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav__subnav {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-nav__sub-link {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}
.mobile-nav__sub-link:hover,
.mobile-nav__sub-link:focus-visible {
  background: #f7f7f7;
}
.mobile-nav__sub-link--lead {
  font-weight: 700;
  color: #000;
}
.mobile-nav__sub-link--sale {
  color: #166c48;
  font-weight: 400;
}

/* 有子类：左文字链接 + 右 › 按钮（仅 › 打开二级抽屉） */
.mobile-nav__cat-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #eee;
}
.mobile-nav__cat-link--label {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 14px 12px 14px 20px;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  text-decoration: none;
  border: none;
}
.mobile-nav__cat-link--label:hover,
.mobile-nav__cat-link--label:focus-visible {
  background: #f7f7f7;
}
.mobile-nav__chev-btn {
  flex: 0 0 auto;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0 14px 0 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.mobile-nav__chev-btn:hover,
.mobile-nav__chev-btn:focus-visible {
  background: #f7f7f7;
}
.mobile-nav__chev-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px 0 8px;
  color: #333;
  pointer-events: none;
}

.mobile-nav__cat-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  border-bottom: 1px solid #eee;
  text-decoration: none;
}
.mobile-nav__cat-link:hover,
.mobile-nav__cat-link:focus-visible { background: #f7f7f7; }
.mobile-nav__cat-text { flex: 1; text-align: left; }
.mobile-nav__chev {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 400;
  color: #333;
  line-height: 1;
  display: inline-block;
}
/* 下方整块黑底铺满抽屉剩余高度，链接贴底，消除底部白边 */
.mobile-nav__bottom {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  background: #000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-nav__utilities {
  flex: 0 0 auto;
  width: 100%;
  background: #000;
  padding: 4px 0 16px;
}
.mobile-nav__util-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-nav__util-link:last-child { border-bottom: none; }
.mobile-nav__util-link:hover,
.mobile-nav__util-link:focus-visible { background: rgba(255, 255, 255, 0.06); }
.mobile-nav__util-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.mobile-nav__util-icon svg { display: block; }
.mobile-nav__util-text { flex: 1; text-align: left; }

/* 商品列表页 PLP（参照 Crocs category / SF product list） */
.plp-page {
  background: #fff;
  padding-bottom: 56px;
}
.plp-page__inner {
  max-width: 1440px;
}
.plp-breadcrumbs {
  padding: 16px 0 8px;
  font-size: 13px;
  color: #5e6366;
}
.plp-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.plp-breadcrumbs__link {
  color: #135f65;
  text-decoration: none;
}
.plp-breadcrumbs__link:hover {
  text-decoration: underline;
}
.plp-breadcrumbs__current {
  color: #141215;
  font-weight: 600;
}
.plp-breadcrumbs__sep {
  color: #ccc;
  user-select: none;
}
.plp-content-top__h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #141215;
}
.plp-content-top__sub {
  font-size: 16px;
  line-height: 1.5;
  color: #3d4144;
  margin: 0 0 20px;
  max-width: 52rem;
}
/* 横向子类轮播 */
.plp-carousel-wrap {
  margin: 0 -8px 24px;
  overflow: hidden;
}
.plp-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 8px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.plp-tile {
  flex: 0 0 132px;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: #141215;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.plp-tile:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: #ccc;
}
.plp-tile--active {
  border-color: #135f65;
  box-shadow: 0 0 0 2px rgba(19, 95, 101, 0.2);
}
.plp-tile__img-wrap {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #eef3f3 0%, #dfe9e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.plp-tile__icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 18, 21, 0.06);
  color: #141215;
}

.plp-tile--new .plp-tile__img-wrap {
  background: radial-gradient(circle at 30% 30%, #e9fff2 0%, rgba(233, 255, 242, 0) 55%),
    linear-gradient(145deg, #eef9f1 0%, #e8f3ff 100%);
}
.plp-tile--new .plp-tile__icon {
  background: rgba(19, 95, 101, 0.12);
  color: #135f65;
}

.plp-tile--sale .plp-tile__img-wrap {
  background: radial-gradient(circle at 30% 30%, #fff1f0 0%, rgba(255, 241, 240, 0) 55%),
    linear-gradient(145deg, #fff7f7 0%, #eaf5ff 100%);
}
.plp-tile--sale .plp-tile__icon {
  background: rgba(255, 93, 93, 0.14);
  color: #c81e1e;
}

.plp-tile__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}
.plp-tile__block {
  padding: 10px 8px 12px;
  text-align: center;
  background: #fff;
}
.plp-tile__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
/* 工具栏（Crocs PLP：左快速筛选药丸 + 右 Filter & Sort） */
.plp-toolbar {
  border-top: 1px solid #e0e0e0;
  border-bottom: none;
  padding: 16px 0;
  margin-bottom: 20px;
  /* 勿设 overflow:hidden，否则会裁切三个胶囊下拉的绝对定位面板 */
  overflow: visible;
  position: relative;
  z-index: 40;
}
.plp-toolbar__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  overflow: visible;
}
.plp-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow: visible;
  padding-bottom: 4px;
}
.plp-toolbar__right {
  flex-shrink: 0;
  margin-left: auto;
}
.plp-filter-popover {
  position: relative;
}
.plp-filter-popover > summary {
  list-style: none;
}
.plp-filter-popover > summary::-webkit-details-marker {
  display: none;
}
/* 药丸形 chip */
.plp-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #141215;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  line-height: 1.2;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.plp-chip:hover {
  border-color: #9e9e9e;
}
/* 已选该维度筛选时浅蓝（与参考图 Size 高亮一致） */
.plp-chip--active,
.plp-filter-popover[open] > summary.plp-chip {
  background: #e3f2fd;
  border-color: #90caf9;
  color: #141215;
}
.plp-chip__text {
  display: inline-block;
}
.plp-chip__text--mobile {
  display: none;
}
.plp-chip--filter-sort {
  padding-left: 18px;
  padding-right: 16px;
  gap: 8px;
  min-width: 0;
}
.plp-chip__filter-icon {
  flex-shrink: 0;
  display: block;
  opacity: 0.9;
}
.plp-chip__chev {
  opacity: 0.75;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.plp-filter-popover[open] > summary.plp-chip .plp-chip__chev {
  transform: rotate(180deg);
}
.plp-filter-popover__panel {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-height: 280px;
  overflow-y: auto;
  padding: 8px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.plp-filter-popover--filter-sort .plp-filter-popover__panel {
  left: auto;
  right: 0;
  max-height: none;
  padding: 16px;
  min-width: 260px;
}
.plp-filter-popover__panel--sort {
  text-align: left;
}
.plp-panel-sort__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #5e6366;
  margin: 0 0 8px;
}
.plp-panel-sort__hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #757575;
}
.plp-sort__select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #c8c8c8;
  border-radius: 10px;
  background: #fff;
  color: #141215;
  cursor: pointer;
}
.plp-filter-link {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #141215;
  text-decoration: none;
}
.plp-filter-link:hover {
  background: #f5f5f5;
}
.plp-filter-link.is-active {
  color: #135f65;
  font-weight: 700;
  background: #eef6f6;
}
/* Style / Size / Color 下拉大面板（分项覆盖宽度与定位） */
/* Style：窄面板，左对齐胶囊（不居中，避免小屏裁切） */
.plp-filter-popover__panel--style {
  min-width: min(260px, calc(100vw - 32px));
  max-width: min(300px, calc(100vw - 24px));
  max-height: min(65vh, 480px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 10px 12px;
  -webkit-overflow-scrolling: touch;
  left: 0;
  right: auto;
  transform: none;
}
/* Size：更紧凑、靠左对齐胶囊（不拉满整屏宽） */
.plp-filter-popover__panel--size {
  min-width: 0;
  max-width: min(252px, calc(100vw - 32px));
  width: max-content;
  left: 0;
  right: auto;
  transform: none;
  max-height: min(58vh, 400px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 10px 12px;
  -webkit-overflow-scrolling: touch;
}
.plp-filter-popover__panel--size .plp-size-grid {
  grid-template-columns: repeat(3, minmax(0, 52px));
  gap: 5px;
  max-width: 100%;
}
.plp-filter-popover__panel--size .plp-size-cell {
  min-height: 34px;
  padding: 5px 2px;
  font-size: 13px;
}
/* Color：以胶囊为基准水平居中展开 */
.plp-filter-popover__panel--color {
  min-width: min(280px, calc(100vw - 24px));
  max-width: min(400px, calc(100vw - 24px));
  max-height: min(72vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}
.plp-filter-popover--color .plp-filter-popover__panel--color {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.plp-filter-all {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #135f65;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-bottom: 12px;
}
.plp-filter-all:hover {
  color: #0d4a4f;
}
/* Style：双列图标网格（窄面板内紧凑） */
.plp-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.plp-style-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 6px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: #141215;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.plp-style-grid__item:hover {
  border-color: #9e9e9e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.plp-style-grid__item.is-active {
  border-color: #135f65;
  box-shadow: 0 0 0 2px rgba(19, 95, 101, 0.2);
}
/* Style 配图：服务端内联 SVG（读 static/img/plp-style，见 app._get_plp_style_inline_svgs） */
.plp-style-grid__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  opacity: 0.95;
}
svg.plp-style-grid__icon.plp-style-grid__icon--inline {
  color: #135f65;
  overflow: visible;
}
.plp-style-grid__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
.plp-style-grid__label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.plp-style-grid__count {
  font-size: 12px;
  font-weight: 600;
  color: #5e6366;
}
/* Size：Men/Women 标签 + 数字网格 */
.plp-size-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #e0e0e0;
  margin: -4px -4px 12px;
  padding: 0 4px;
}
.plp-size-tabs__btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #141215;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.plp-size-tabs__btn.is-active {
  border-bottom-color: #141215;
}
.plp-size-tabs__btn:not(.is-active) {
  color: #757575;
}
.plp-size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.plp-size-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 6px;
  font-size: 15px;
  font-weight: 600;
  color: #141215;
  text-decoration: none;
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.plp-size-cell:hover {
  border-color: #135f65;
}
.plp-size-cell.is-active {
  border-color: #135f65;
  background: #eef6f6;
  color: #135f65;
}
.plp-size-cell__count {
  font-size: 12px;
  font-weight: 600;
  color: #5e6366;
  margin-left: 2px;
}
/* Color：双列 色块+文案+数量 */
.plp-color-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
}
.plp-color-grid__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: 6px;
  text-decoration: none;
  color: #141215;
  font-size: 14px;
  font-weight: 600;
}
.plp-color-grid__row:hover {
  background: #f7f7f7;
}
.plp-color-grid__row.is-active {
  background: #eef6f6;
}
.plp-color-grid__swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}
.plp-color-grid__swatch--white {
  border: 1px solid #ccc;
}
.plp-color-grid__swatch--multi {
  background: conic-gradient(from 0deg, #f06292, #ba68c8, #64b5f6, #81c784, #ffd54f, #f06292);
}
.plp-color-grid__label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plp-color-grid__count {
  font-size: 13px;
  font-weight: 600;
  color: #5e6366;
  flex-shrink: 0;
}
/* 移动端：工具栏单行排列；chip 高度/内边距约为桌面一半，整体更紧凑 */
@media (max-width: 767px) {
  .plp-chip__text--desktop {
    display: none;
  }
  .plp-chip__text--mobile {
    display: inline;
  }
  .plp-toolbar {
    padding: 8px 0;
    margin-bottom: 14px;
  }
  .plp-toolbar__row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
  }
  .plp-quick-filters {
    flex: 1 1 auto;
    min-width: 0;
    gap: 5px;
    padding-bottom: 2px;
    overflow: visible;
    flex-wrap: wrap;
  }
  .plp-toolbar__right {
    flex: 0 0 auto;
    margin-left: 0;
    width: auto;
    max-width: 42%;
  }
  .plp-toolbar .plp-chip {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 500;
    gap: 3px;
    border-radius: 999px;
    line-height: 1.15;
  }
  .plp-toolbar .plp-chip--filter-sort {
    padding-left: 8px;
    padding-right: 8px;
    gap: 4px;
    max-width: 100%;
  }
  .plp-toolbar .plp-chip__chev {
    width: 10px;
    height: 10px;
  }
  .plp-toolbar .plp-chip__filter-icon {
    width: 12px;
    height: 12px;
  }
  .plp-toolbar__right .plp-chip--filter-sort {
    width: auto;
    justify-content: center;
    white-space: nowrap;
  }
  .plp-filter-popover--filter-sort .plp-filter-popover__panel {
    left: auto;
    right: 0;
    min-width: min(260px, calc(100vw - 32px));
    max-width: calc(100vw - 24px);
  }
}
.plp-selected {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.plp-selected__label {
  font-size: 13px;
  color: #5e6366;
}
.plp-selected__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.plp-pill {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px;
  background: #eef6f6;
  color: #135f65;
  text-decoration: none;
  font-weight: 600;
}
.plp-pill:hover {
  background: #dceeee;
}
.plp-clear {
  font-size: 13px;
  font-weight: 700;
  color: #135f65;
  text-decoration: underline;
}
.plp-toolbar__meta {
  margin: 12px 0 0;
  font-size: 13px;
  color: #5e6366;
}
/* 商品网格：卡片容器 + 五星 + 标题 + 色块 + 价格（参照 Crocs PLP） */
.ok-card-list.plp-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 600px) {
  .ok-card-list.plp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 14px;
  }
}
@media (min-width: 1024px) {
  .ok-card-list.plp-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.plp-card--product {
  margin: 0;
  height: 100%;
}
.plp-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.plp-card__inner {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.plp-card__link:hover .plp-card__inner {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
/* 图片区：与列表页 / 卡片白底一致，不用灰色底槽 */
.plp-card__image-wrap {
  background: #fff;
  aspect-ratio: 7 / 6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/*
 * 横版卡片 + cover：方图若上下有大黑边/留白，会裁掉上下多余条带，商品中间带更饱满。
 * 极小的图仍可由 PDP 用 contain；PLP 小图略糊属正常。
 */
.plp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.plp-card__noimg {
  font-size: 12px;
  color: #999;
  padding: 24px;
}
.plp-card__info {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.plp-card__badge {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #135f65;
  text-transform: uppercase;
}
.plp-card__rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  flex-wrap: nowrap;
}
.plp-stars-five {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
  letter-spacing: -2px;
}
.plp-star {
  font-size: 13px;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
}
.plp-star--full {
  color: #141215;
}
.plp-star--empty {
  color: #d0d0d0;
}
.plp-rating-count {
  font-size: 12px;
  color: #5e6366;
  white-space: nowrap;
}
.plp-card__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
  color: #141215;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.plp-card__swatches {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
.plp-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}
.plp-swatch--multi {
  background: linear-gradient(135deg, #e91e63 0%, #9c27b0 40%, #2196f3 100%) !important;
}
.plp-card__price-row {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}
.plp-card__price-now {
  font-size: 15px;
  font-weight: 800;
  color: #141215;
}
.plp-card__price-now--sale {
  color: #166c48;
}
.plp-card__price-was {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  text-decoration: line-through;
}
.plp-empty-wrap {
  grid-column: 1 / -1;
}
.plp-empty {
  text-align: center;
  padding: 48px 16px;
  color: #5e6366;
}
/* 网格下方：View More + View all */
.plp-actions {
  margin-top: 28px;
  padding-top: 8px;
}
.plp-actions__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
}
.plp-btn-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 32px;
  background: #000;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  font-family: inherit;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}
a.plp-btn-view-more:hover {
  background: #333;
  color: #fff !important;
}
.plp-btn-view-more--disabled {
  background: #b0b0b0;
  color: #fff !important;
  cursor: not-allowed;
  user-select: none;
}
.plp-link-view-all {
  font-weight: 700;
  font-size: 15px;
  color: #000 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.plp-link-view-all:hover {
  color: #333 !important;
}
/* 分页 */
.plp-pagination {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
}
.plp-pagination__list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.plp-pagination__item .ais-Pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #135f65;
  text-decoration: none;
  border-radius: 50%;
  border: 1px solid transparent;
}
.plp-pagination__item .ais-Pagination-link:hover {
  background: #f0f0f0;
}
.plp-pagination__item--selected .ais-Pagination-link {
  background: #fff;
  border-color: #141215;
  color: #141215;
  cursor: default;
}
.plp-pagination__item--disabled .ais-Pagination-link {
  color: #ccc;
  cursor: default;
}
.plp-seo {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}
.plp-seo__h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #141215;
}
.plp-seo__content {
  max-width: 48rem;
  margin-top: 8px;
}
.plp-seo__qa {
  margin: 0 0 1.25rem;
}
.plp-seo__q {
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  color: #141215;
}
.plp-seo__a {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #3d4144;
  margin: 0;
}
.plp-seo__a p {
  margin: 0;
}
.plp-seo__text {
  font-size: 15px;
  line-height: 1.6;
  color: #3d4144;
  margin: 0 0 1rem;
}
.plp-seo__text:last-child {
  margin-bottom: 0;
}
.plp-seo__text p {
  margin: 0 0 0.75rem;
}
.plp-seo__text p:last-child {
  margin-bottom: 0;
}
.plp-seo__link {
  color: #135f65;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.plp-seo__link:hover {
  color: #0d4a4f;
}
.plp-seo__p {
  font-size: 15px;
  line-height: 1.6;
  color: #3d4144;
  margin: 0;
  max-width: 48rem;
}

/* ---------- 商品详情 PDP（对齐 crocs.com Classic Clog PDP） ---------- */
.pdp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pdp-skiplinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 12px;
}
.pdp-skiplinks__a {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 8px 14px;
  background: #141215;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
}
.pdp-skiplinks__a:focus {
  position: static;
  left: auto;
}
.pdp-page {
  padding-top: 12px;
  padding-bottom: 56px;
  background: #fff;
  color: #141215;
}
.pdp-page__inner {
  max-width: 1200px;
  width: 100%;
  /* 避免子项 min-content 把整页撑宽后右侧被 body overflow-x 裁掉 */
  min-width: 0;
}
.pdp-breadcrumbs {
  margin-bottom: 16px;
}
.pdp-breadcrumbs__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.pdp-breadcrumbs__link {
  color: #5e6366;
  text-decoration: none;
}
.pdp-breadcrumbs__link:hover {
  color: #135f65;
  text-decoration: underline;
}
.pdp-breadcrumbs__sep {
  color: #c4c4c4;
  user-select: none;
  font-weight: 400;
}
.pdp-breadcrumbs__current {
  color: #141215;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdp-grid {
  display: grid;
  /* minmax(0,1fr) 防止轨道最小尺寸随子元素内容宽度超过视口（移动端右侧被裁切） */
  grid-template-columns: minmax(0, 1fr);
  gap: 24px 48px;
  align-items: start;
}
.pdp-gallery-col,
.pdp-buybox {
  min-width: 0;
}
@media (min-width: 992px) {
  .pdp-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  }
  .pdp-buybox {
    position: sticky;
    top: 24px;
  }
}
/* 略偏横向：方图带上下黑边时 cover 会裁掉部分黑边；常规主图可能微裁上下 */
.pdp-gallery__stage {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: min(92vw, 680px);
  margin: 0 auto;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
}
.pdp-gallery__main {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  /* flex 子项默认 min-width:auto 会按图片最小宽度撑开舞台，导致整列溢出 */
  min-width: 0;
  max-width: 100%;
}
.pdp-gallery__thumbs-track {
  margin-top: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.pdp-gallery__thumbs-track--hidden {
  display: none;
}
.pdp-gallery__thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  padding-bottom: 4px;
  min-height: 72px;
}
.pdp-gallery__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 2px;
  border: none;
  padding: 0;
  cursor: pointer;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  transition: opacity 0.12s ease, box-shadow 0.12s ease;
}
.pdp-gallery__thumb:hover,
.pdp-gallery__thumb.is-active {
  box-shadow: 0 0 0 2px #141215;
}
.pdp-buybox {
  padding-top: 0;
}
.pdp-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.pdp-brand {
  margin: 0 0 10px;
  font-size: 13px;
  color: #5e6366;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pdp-rating-block {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
}
.pdp-rating-block:hover .pdp-rating-block__text {
  text-decoration: underline;
}
.pdp-rating-block--muted {
  pointer-events: none;
  color: #5e6366;
}
.pdp-rating-block__text {
  font-size: 14px;
  font-weight: 600;
  color: #141215;
}
.pdp-rating-block__score {
  font-weight: 800;
}
.pdp-rating-block__paren {
  color: #5e6366;
  font-weight: 600;
}
.pdp-stars {
  display: inline-flex;
  gap: 1px;
  letter-spacing: 0;
}
.pdp-stars__star {
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1;
}
.pdp-stars__star--on {
  color: #141215;
}
.pdp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.pdp-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #141215;
  letter-spacing: -0.02em;
}
.pdp-price--was {
  font-size: 1.05rem;
  font-weight: 600;
  color: #888;
  text-decoration: line-through;
}
.pdp-price--sale {
  color: #166c48;
}
.pdp-options__heading {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #141215;
}
.pdp-variants {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 0 18px;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
.pdp-variant {
  display: flex;
  gap: 12px;
  font-size: 14px;
  align-items: center;
}
.pdp-variant__label {
  min-width: 56px;
  color: #5e6366;
  font-weight: 700;
}
.pdp-variant__value {
  font-weight: 700;
  color: #141215;
}
.pdp-variant__value--swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pdp-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: linear-gradient(135deg, #e8e8e8 0%, #bdbdbd 100%);
}
.pdp-color-picker {
  margin: 0 0 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e5e5;
}
.pdp-color-picker__heading {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #141215;
}
.pdp-color-picker__current {
  margin: 0 0 12px;
  min-height: 1.25em;
}
.pdp-color-picker__name {
  font-size: 15px;
  font-weight: 700;
  color: #141215;
}
.pdp-color-picker__name--muted {
  color: #5e6366;
  font-weight: 600;
}
.pdp-color-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pdp-color-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.12s ease;
}
.pdp-color-tile:hover:not(.pdp-color-tile--selected) {
  transform: translateY(-2px);
}
.pdp-color-tile:focus-visible {
  outline: 2px solid #135f65;
  outline-offset: 4px;
  border-radius: 8px;
}
.pdp-color-tile__frame {
  width: 100%;
  max-width: 64px;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #d8d8d8;
  background: #f4f4f4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pdp-color-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pdp-color-tile--selected .pdp-color-tile__frame {
  border-color: #141215;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #141215;
}
.pdp-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid #e3e3e3;
  box-shadow: 0 -6px 28px rgba(0, 0, 0, 0.08);
}
.pdp-sticky-bar__shell {
  max-width: 720px;
  margin: 0 auto;
}
.pdp-sticky-bar[hidden] {
  display: none !important;
}
.pdp-size-picker {
  margin: 0 0 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e5e5;
}
.pdp-size-picker__heading {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #141215;
}
.pdp-size-picker__current {
  margin: 0 0 12px;
  min-height: 1.25em;
}
.pdp-size-picker__value {
  font-size: 15px;
  font-weight: 700;
  color: #141215;
}
.pdp-size-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pdp-size-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 2px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #141215;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
  appearance: none;
  -webkit-appearance: none;
}
.pdp-size-btn:hover:not(.pdp-size-btn--selected) {
  border-color: #141215;
}
.pdp-size-btn:focus-visible {
  outline: 2px solid #135f65;
  outline-offset: 2px;
}
.pdp-size-btn--selected {
  border-color: #141215;
  background: #141215;
  color: #fff;
}
.pdp-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
  min-width: 0;
}
.pdp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  max-width: 100%;
  box-sizing: border-box;
}
.pdp-btn--primary {
  background: #000;
  color: #fff;
  width: 100%;
}
.pdp-btn--primary:hover {
  background: #333;
  color: #fff;
}
.pdp-btn--atc.pdp-btn--pill {
  width: 100%;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #92a947;
  color: #fff;
  border: 2px solid rgba(45, 55, 22, 0.35);
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 15px;
  font-weight: 800;
  box-sizing: border-box;
}
.pdp-btn--atc.pdp-btn--pill:hover {
  background: #7d933c;
  color: #fff;
  border-color: rgba(35, 42, 18, 0.45);
}
.pdp-btn--atc.pdp-btn--pill.is-disabled {
  background: #e3ebe3;
  color: #6b7a6b;
  border-color: rgba(0, 0, 0, 0.08);
  cursor: not-allowed;
  pointer-events: none;
}
.pdp-btn-text {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #135f65;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pdp-btn-text:hover {
  color: #0d4a4f;
}
.pdp-social-proof {
  margin: 0 0 16px;
  font-size: 13px;
  color: #5e6366;
  font-weight: 600;
}
.pdp-trust {
  padding-top: 16px;
  border-top: 1px solid #ececec;
  font-size: 13px;
  line-height: 1.5;
  color: #3d4144;
}
.pdp-trust__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pdp-trust__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #135f65;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pdp-sustain {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}
@media (min-width: 768px) {
  .pdp-sustain {
    grid-template-columns: 1fr 1fr;
  }
}
.pdp-sustain__card {
  background: #f7f7f8;
  border-radius: 8px;
  padding: 20px 22px;
  border: 1px solid #ececec;
}
.pdp-sustain__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #141215;
}
.pdp-sustain__p,
.pdp-sustain__metric,
.pdp-sustain__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #3d4144;
}
.pdp-sustain__metric {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.pdp-sustain__note {
  font-size: 12px;
  color: #5e6366;
}
.pdp-accordions {
  margin-top: 28px;
  border-top: 1px solid #e5e5e5;
}
.pdp-acc {
  border-bottom: 1px solid #e5e5e5;
}
.pdp-acc__summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 15px;
  font-weight: 800;
  color: #141215;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pdp-acc__summary-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pdp-acc__summary-ico {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef0f2; /* 默认浅灰圆底（图2效果） */
  color: #141215;
  flex: 0 0 auto;
}
.pdp-acc__summary-ico--ship { background: #dff2e7; }
.pdp-acc__summary-ico--returns { background: #f6ded4; }
.pdp-acc__summary-ico svg {
  display: block;
}
.pdp-acc__summary-text {
  display: inline-block;
}
.pdp-acc__summary::-webkit-details-marker {
  display: none;
}
.pdp-acc__summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: #5e6366;
  line-height: 1;
}
.pdp-acc[open] .pdp-acc__summary::after {
  content: "−";
}
.pdp-acc__body {
  padding: 0 0 20px;
}
.pdp-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.pdp-details__body {
  margin-bottom: 16px;
}
.pdp-details__p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: #3d4144;
}
.pdp-details__p--dotline {
  position: relative;
  padding-left: 1em;
}
.pdp-details__p--dotline::before {
  content: ".";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: #141215;
}
.pdp-details__subhead {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #141215;
}
.pdp-details__muted {
  color: #5e6366;
}
.pdp-details__bullets {
  margin: 0;
  padding-left: 1.15em;
  font-size: 14px;
  line-height: 1.65;
  color: #3d4144;
}
.pdp-details__bullets li {
  margin-bottom: 6px;
}
.pdp-inline-link {
  color: #135f65;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pdp-inline-link:hover {
  color: #0d4a4f;
}
.pdp-related {
  margin-top: 48px;
}
.pdp-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .pdp-related__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pdp-related__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pdp-related__card:hover {
  border-color: #141215;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.pdp-related__img {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 6;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  background: #f7f7f8;
  box-sizing: border-box;
}
.pdp-related__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  padding: 10px 12px 4px;
  color: #141215;
}
.pdp-related__price {
  font-size: 14px;
  font-weight: 800;
  color: #141215;
  padding: 0 12px 12px;
}
.pdp-reviews-panels {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}
.pdp-reviews__tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 24px;
}
.pdp-reviews__tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #5e6366;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}
.pdp-reviews__tab.is-active {
  color: #141215;
  border-bottom-color: #141215;
}
.pdp-reviews__tab:focus-visible {
  outline: 2px solid #135f65;
  outline-offset: 2px;
}
.pdp-rev-panel[hidden] {
  display: none !important;
}
/* —— Review Snapshot（图1） —— */
.pdp-snapshot__title {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #141215;
  letter-spacing: -0.02em;
}
.pdp-snapshot__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
}
.pdp-snapshot__stars {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}
.pdp-snapshot__star-cell {
  position: relative;
  display: inline-block;
  width: 1.05em;
  height: 1em;
  flex-shrink: 0;
}
.pdp-snapshot__star-bg {
  color: #e0e0e0;
}
.pdp-snapshot__star-fg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  color: #f5a623;
  pointer-events: none;
}
.pdp-snapshot__star-fg-inner {
  display: inline-block;
  width: 1.05em;
}
.pdp-snapshot__score-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding: 4px 10px;
  font-size: 15px;
  font-weight: 800;
  color: #141215;
  background: #e8e8e8;
  border: 1px solid #d0d0d0;
}
.pdp-snapshot__link {
  font-size: 14px;
  font-weight: 600;
  color: #0066c0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pdp-snapshot__link:hover {
  color: #004a8c;
}
.pdp-snapshot__rec {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.45;
  color: #3d4144;
}
.pdp-snapshot__rec-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2d8a54;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pdp-snapshot__block {
  padding: 20px 0;
  border-top: 1px solid #e5e5e5;
}
.pdp-snapshot__subhead {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: #141215;
}
.pdp-snapshot__dist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pdp-dist__row {
  display: grid;
  grid-template-columns: 72px 1fr minmax(52px, auto);
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #141215;
}
.pdp-dist__row:last-child {
  margin-bottom: 0;
}
.pdp-dist__label {
  font-weight: 600;
}
.pdp-dist__track {
  display: block;
  height: 10px;
  background: #ececec;
  border-radius: 2px;
  overflow: hidden;
}
.pdp-dist__fill {
  display: block;
  height: 100%;
  background: #f5a623;
  border-radius: 2px;
  min-width: 0;
}
.pdp-dist__count {
  text-align: right;
  font-weight: 600;
  color: #141215;
}
.pdp-snapshot__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.pdp-snapshot__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: #f0f0f0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #3d4144;
}
.pdp-snapshot__tag-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 8px;
  background: #e0e0e0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #141215;
}
.pdp-snapshot__attr {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pdp-attr__row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr minmax(40px, auto);
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 10px;
  font-size: 13px;
}
.pdp-attr__row:last-child {
  margin-bottom: 0;
}
.pdp-attr__label {
  font-weight: 600;
  color: #141215;
}
.pdp-attr__track {
  display: block;
  height: 10px;
  background: #ececec;
  border-radius: 2px;
  overflow: hidden;
}
.pdp-attr__fill {
  display: block;
  height: 100%;
  background: #f5a623;
  border-radius: 2px;
}
.pdp-attr__pct {
  text-align: right;
  font-weight: 700;
  color: #141215;
}
/* —— Q&A（图2） —— */
.pdp-qa__title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #141215;
}
.pdp-qa__ask {
  width: 100%;
  margin: 0 0 20px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: #0073b1;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}
.pdp-qa__ask:hover {
  background: #005f93;
}
.pdp-qa__ask:focus-visible {
  outline: 2px solid #135f65;
  outline-offset: 2px;
}
.pdp-qa__search-wrap {
  margin-bottom: 18px;
}
.pdp-qa__search-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3d4144;
}
.pdp-qa__search-row {
  display: flex;
  gap: 0;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  overflow: hidden;
  max-width: 100%;
}
.pdp-qa__search-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: none;
  font-size: 14px;
  font-family: inherit;
}
.pdp-qa__search-input:focus {
  outline: none;
}
.pdp-qa__search-btn {
  flex-shrink: 0;
  width: 48px;
  background: #8a8a8a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-qa__search-btn:hover {
  background: #757575;
}
.pdp-qa__search-icon {
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
}
.pdp-qa__search-icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  background: #fff;
  right: -6px;
  bottom: -2px;
  transform: rotate(45deg);
  border-radius: 1px;
}
.pdp-qa__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}
.pdp-qa__showing {
  margin: 0;
  font-size: 14px;
  color: #3d4144;
}
.pdp-qa__sort-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #141215;
}
.pdp-qa__sort {
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.pdp-qa__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pdp-qa__item {
  padding: 22px 0;
  border-bottom: 1px solid #e5e5e5;
}
.pdp-qa__item:first-child {
  padding-top: 0;
}
.pdp-qa__q-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pdp-qa__q-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #9e9e9e;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-qa__q-text {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #141215;
  line-height: 1.35;
}
.pdp-qa__meta {
  margin: 0;
  font-size: 13px;
  color: #6b6b6b;
}
.pdp-qa__add-answer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 16px 44px;
  font-size: 14px;
  font-weight: 600;
  color: #0073b1;
  text-decoration: none;
}
.pdp-qa__add-answer:hover {
  text-decoration: underline;
}
.pdp-qa__add-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0073b1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.pdp-qa__a-block {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-left: 44px;
}
.pdp-qa__a-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0073b1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-qa__a-verified {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: #0073b1;
}
.pdp-qa__a-text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #3d4144;
}
.pdp-qa__inline {
  color: #0073b1;
  text-decoration: underline;
}
.pdp-qa__votes {
  display: flex;
  gap: 10px;
}
.pdp-qa__vote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-family: inherit;
  color: #141215;
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  cursor: pointer;
}
.pdp-qa__vote:hover {
  border-color: #8a8a8a;
}
.pdp-qa__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #141215;
  background: #fff;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
}
.pdp-qa__more:hover {
  background: #f7f7f7;
}
.pdp-qa__chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid #141215;
  border-bottom: 2px solid #141215;
  transform: rotate(45deg);
  margin-top: -4px;
}
@media (max-width: 576px) {
  .pdp-dist__row {
    grid-template-columns: 64px 1fr minmax(44px, auto);
    font-size: 12px;
  }
  .pdp-attr__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .pdp-attr__pct {
    text-align: left;
  }
  .pdp-qa__add-answer,
  .pdp-qa__a-block {
    margin-left: 0;
  }
}

/* —— Cart page（移动端参考 Crocs 购物车） —— */
.cart-page {
  /* 勿用 padding 简写带左右 0，否则会覆盖 .px-15 的横向间距 */
  padding-top: 16px;
  padding-bottom: 48px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  font-family: inherit;
  color: #141215;
  background: #fff;
  max-width: 720px;
  box-sizing: border-box;
}
.cart-page__inner {
  max-width: 100%;
}
.cart-page__head {
  margin-bottom: 16px;
}
.cart-page__title {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #111;
}
.cart-page__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  background: #a3d47f;
  border: none;
  border-radius: 999px;
  box-sizing: border-box;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.cart-page__checkout:hover {
  opacity: 0.92;
  color: #111;
  text-decoration: none;
}
.cart-page__checkout--bottom {
  margin-top: 24px;
}
.cart-page__lock {
  flex-shrink: 0;
}
.cart-page__ship {
  margin-bottom: 20px;
}
.cart-page__ship-bar {
  height: 6px;
  background: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}
.cart-page__ship-fill {
  height: 100%;
  width: 100%;
  background: #1e6fd9;
  border-radius: 4px;
  transition: width 0.25s ease;
}
.cart-page__ship-msg {
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: center;
  color: #333;
}
.cart-page__items {
  border-top: 1px solid #e5e5e5;
}
.cart-page__line {
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
}
.cart-page__line-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cart-page__thumb {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 4px;
  background: #f4f4f4;
  flex-shrink: 0;
}
.cart-page__thumb--placeholder {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 4px;
  background: #ececec;
}
.cart-page__line-body {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-right: 40px;
}
.cart-page__line-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.cart-page__line-titles {
  flex: 1;
  min-width: 0;
}
.cart-page__name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}
.cart-page__price {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}
.cart-page__attr {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: #5e6366;
  line-height: 1.35;
}
.cart-page__qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
}
.cart-page__qty-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cart-page__qty {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-weight: 600;
  padding: 4px 28px 4px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #111;
  cursor: pointer;
}
.cart-page__qty-chev {
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -3px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #333;
  pointer-events: none;
}
.cart-page__kebab {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}
.cart-page__kebab-btn {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #333;
}
.cart-page__kebab-btn::-webkit-details-marker {
  display: none;
}
.cart-page__kebab-dots {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #222;
  box-shadow: 0 7px 0 #222, 0 14px 0 #222;
}
.cart-page__kebab-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  min-width: 140px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 5;
}
.cart-page__kebab-remove {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  color: #111;
}
.cart-page__kebab-remove:hover {
  background: #f5f5f5;
}
.cart-page__empty {
  text-align: center;
  padding: 40px 16px;
}
.cart-page__empty-text {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #5e6366;
}
.cart-page__empty-link {
  font-weight: 700;
  color: #0066cc;
  text-decoration: underline;
}
.cart-page__summary {
  margin-top: 28px;
  padding: 20px 18px 22px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.cart-page__summary-title {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
}
.cart-page__rows {
  margin: 0;
}
.cart-page__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 12px;
  font-size: 0.95rem;
}
.cart-page__row dt {
  margin: 0;
  font-weight: 400;
  color: #333;
}
.cart-page__row dd {
  margin: 0;
  font-weight: 600;
  color: #111;
  text-align: right;
}
.cart-page__free {
  font-weight: 800;
  color: #008800;
}
.cart-page__tax-note {
  font-size: 0.85rem;
  font-weight: 400 !important;
  color: #5e6366 !important;
}
.cart-page__promo {
  margin: 18px 0 16px;
}
.cart-page__promo-field {
  display: flex;
  align-items: stretch;
  border: 1px solid #c5c5c5;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.cart-page__promo-input {
  flex: 1;
  min-width: 0;
  padding: 12px 12px;
  border: none;
  font: inherit;
  font-size: 1rem;
}
.cart-page__promo-input:focus {
  outline: none;
}
.cart-page__promo-apply {
  flex-shrink: 0;
  padding: 0 16px;
  border: none;
  border-left: 1px solid #e0e0e0;
  background: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0066cc;
  cursor: pointer;
}
.cart-page__promo-apply:hover {
  background: #f7f7f7;
}
.cart-page__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #e0e0e0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
}
.cart-page__installment {
  margin: 12px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #5e6366;
}
.cart-page__installment strong {
  color: #333;
}
.cart-page__afterpay {
  font-weight: 800;
  color: #222;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}
@media (min-width: 768px) {
  .cart-page {
    padding-top: 24px;
    padding-bottom: 56px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .cart-page__title {
    font-size: 1.5rem;
  }
}

.footer-nav ul li { margin-bottom: 0.35em; }

/* 隐藏废弃/第三方 UI */
.abandoned-cart-popover { display: none !important; }
#onetrust-consent-sdk { display: none !important; }
#onetrust-consent-sdk + div { display: none !important; }
iframe[title="empty"] { display: none !important; }
img[width="1"][height="1"] { display: none !important; }
.cs-native-frame-holder { display: none !important; }
[id^="batBeacon"] { display: none !important; }
[id^="sinch-chat"] { display: none !important; }
