/* IDVAPE.SHOP clone - custom additions on top of the original theme CSS */

/* ---------- promo bar: hidden-items contact (red) ---------- */
.service-icons-container .service-icons-content .item.promo-contact .info {
  color: #dc2626;
  font-weight: 700;
  font-size: 16px;
}

/* ---------- header dropdowns ---------- */
.switcher-options { position: relative; }
.switcher-options .dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1200;
  min-width: 200px;
  padding: 12px 16px;
  background: #fff;
  color: #333;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
  border-radius: 8px;
}
.switcher-options.active > .dropdown { display: block; }
.switcher-options .dropdown .header.links { list-style: none; margin: 0; padding: 0; }
.switcher-options .dropdown .header.links li { padding: 7px 0; }
.switcher-options .dropdown .header.links a { color: #333; text-decoration: none; }
.switcher-options .dropdown .header.links a:hover { color: #f9e002; }

/* minicart */
.minicart-wrapper { position: relative; }
/* 顶部购物车角标：显示商品数量（覆盖主题默认的"小红点"样式） */
.minicart-wrapper .action.showcart .counter.qty {
  position: absolute;
  top: -7px;
  right: -9px;
  height: 20px;
  min-width: 20px;
  width: auto;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.minicart-wrapper .action.showcart .counter.qty.empty { opacity: 0; }
.minicart-wrapper .action.showcart .counter.qty span.counter-number {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.minicart-wrapper .action.showcart .counter.qty span.counter-label { display: none; }
.minicart-wrapper .block-minicart { display: none; }
.minicart-wrapper.active .block-minicart {
  display: block;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 360px;
  max-width: calc(100vw - 24px);
  padding: 18px;
  background: #fff;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  border-radius: 10px;
  z-index: 1300;
}
.minicart-wrapper .block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.minicart-items { list-style: none; margin: 12px 0; padding: 0; max-height: 320px; overflow: auto; }
.minicart-items .product-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f2f2f2; }
.minicart-items .product-item-photo img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.minicart-items .product-item-details { flex: 1; min-width: 0; }
.minicart-items .product-item-link { display: block; color: #222; font-size: 13px; line-height: 1.4; text-decoration: none; }
.minicart-items .product-item-option { color: #888; font-size: 12px; margin-top: 3px; }
.minicart-items .product-item-price { font-weight: 600; margin-top: 4px; font-size: 14px; }
.minicart-items .product-item-qty { color: #888; font-size: 12px; }
.minicart-subtotal { display: flex; justify-content: space-between; font-size: 15px; padding: 10px 0; }
.minicart-actions .action.primary { display: block; text-align: center; background: #111; color: #fff; padding: 10px; border-radius: 6px; text-decoration: none; }
.minicart-wrapper .empty { padding: 18px 0; color: #777; }

/* ---------- home hero ---------- */
.home-hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  overflow: hidden;
  background: #000;
}
.cms-home #maincontent .columns,
.cms-home #maincontent .column.main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.home-hero-track { position: relative; }
.home-hero-slide { display: none; }
.home-hero-slide.active { display: block; }
.home-hero-bg {
  width: 100%;
  min-height: 31vw;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.home-hero-bg.mobile { display: none; }
.home-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 40px;
  height: 56px;
  border: 0;
  background: rgba(0, 0, 0, .28);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease;
}
.home-hero:hover .home-hero-arrow { opacity: 1; }
.home-hero-arrow.prev { left: 0; }
.home-hero-arrow.next { right: 0; }
.home-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 6;
}
.home-hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.home-hero-dot.active { background: #fff; }

/* ---------- home sections ---------- */
.home-section { width: 85%; max-width: 85%; margin: 0 auto; padding: 0 7.2px 24px; }
.home-section > h2 {
  text-align: center;
  font-size: 27px;
  font-weight: 400;
  margin: 20px 0;
}
.home-new > h2 { margin-top: 30px; }
.home-section .products-grid.grid { margin: 0; }
.home-section .product-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-section .product-item { width: 100%; max-width: none; margin: 0; }

/* ---------- product cards ---------- */
.products-grid .product-item [class^="swatch-opt-"] {
  max-height: 52%;
  overflow-y: auto;
  scrollbar-width: thin;
}
.product-item-info { position: relative; }
.product-image-container,
.product-image-wrapper { display: block; position: relative; overflow: hidden; }
.product-image-container .product-image-wrapper { aspect-ratio: 1 / 1; padding-bottom: 0 !important; }
.product-image-photo,
.product-image-photo-hover { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-image-photo { position: absolute; inset: 0; }
.product-image-photo-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .25s ease;
  object-fit: cover;
}
.product-item-info:hover .product-image-photo-hover { opacity: 1; }
.product-item-name { display: block; margin: 10px 0 6px; font-size: 13px; line-height: 1.45; min-height: 38px; }
.product-item-name a { color: #222; text-decoration: none; }
.product-item .price-box .price { font-weight: 600; color: #111; }
.product-item .price-box .price-label { color: #888; font-size: 12px; margin-right: 4px; }
.product-reviews-summary.short .reviews-actions a { color: #777; font-size: 12px; text-decoration: none; }
.product-item-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.product-item-actions .action.tocart {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.product-item-actions .action.tocart span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.product-item-actions .action.tocart:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23222' stroke-width='1.6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z'/%3E%3C/svg%3E");
}
.product-item-actions .action.towishlist {
  color: #555;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}
.product-item-actions .action.towishlist:before {
  content: "";
  width: 20px;
  height: 20px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23555' stroke-width='1.6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z'/%3E%3C/svg%3E");
}
.product-item-actions .action.towishlist.active:before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0245e'%3E%3Cpath d='M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z'/%3E%3C/svg%3E");
}
.product-item-actions .action.towishlist span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

/* ---------- category page ---------- */
.category-main > .breadcrumbs {
  width: 85%;
  max-width: 85%;
  margin: 10px auto 0;
  padding: 0;
}
.category-main > .page-title-wrapper {
  width: 85%;
  max-width: 85%;
  margin: 0 auto;
  padding: 9px 7.2px;
}
.category-main > .page-title-wrapper .page-title { font-size: 1.6rem; line-height: 1rem; margin: 0; font-weight: 400; }
.category-main .columns { margin-top: 0; }
#maincontent > .page-title-wrapper { width: 100%; padding: 9px 7.2px; }
#maincontent > .page-title-wrapper .page-title { font-size: 1.6rem; line-height: 1rem; margin: 0; font-weight: 400; }
.sorter-label { display: none; }
.category-main .toolbar-products { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.category-main .toolbar-amount { color: #555; font-size: 13px; }
.category-main .sorter select { margin: 0 8px; padding: 6px 10px; border: 1px solid #ddd; border-radius: 4px; }
.category-main .products-grid .product-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem .5rem; list-style: none; padding: 0; margin: 0; }
.category-main .products-grid .product-items .product-item { width: 100%; max-width: none; margin: 0; }
.category-main .block.filter { margin-bottom: 6px; }
.category-main .filter-options-item { position: relative; display: inline-block; }
.category-main .filter-options-title { cursor: pointer; color: #555; padding: 4px 0; }
.category-main .filter-options-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 40;
  min-width: 210px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}
.category-main .filter-options-item.open .filter-options-content { display: block; }
.category-main .filter-options-content .items { list-style: none; margin: 0; padding: 0; }
.category-main .filter-options-content .item { padding: 5px 0; }
.category-main .filter-options-content a { color: #333; text-decoration: none; font-size: 13px; }
.category-main .pages { display: flex; align-items: center; gap: 10px; }
.category-main .pages-items { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.category-main .pages-items .item { min-width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.category-main .pages-items .item.current { background: #111; color: #fff; border-color: #111; }
.category-main .pages-items .item a { color: inherit; padding: 0 6px; text-decoration: none; }
.category-main .limiter { display: flex; align-items: center; gap: 8px; }
.category-main .limiter select { padding: 4px 8px; border: 1px solid #ddd; }
.category-main .toolbar-bottom { justify-content: space-between; margin-top: 22px; }

/* ---------- product page ---------- */
.product-info-wrapper { gap: 2rem; }
.product-info-wrapper .product.media { min-width: 0; }
.breeze-gallery .stage { background: #f7f7f7; border-radius: 6px; aspect-ratio: 1 / 1; overflow: hidden; }
.breeze-gallery .main-image { width: 100%; height: 100%; display: block; object-fit: cover; }
.breeze-gallery .thumbnails { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.breeze-gallery .thumbnails .item { display: block; width: 72px; height: 72px; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.breeze-gallery .thumbnails .item.active { border-color: #111; }
.breeze-gallery .thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.product-info-main .page-title { font-size: 24px; line-height: 1.35; font-weight: 500; margin: 0 0 10px; }
.product-info-stock-sku { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #555; margin-bottom: 12px; }
.product-info-stock-sku .stock.available span { color: #2e7d32; }
.product-info-price { margin: 12px 0 18px; }
.product-info-price .price { font-size: 26px; font-weight: 600; }
.product-info-price .price-label { color: #888; font-size: 14px; margin-right: 6px; }
.swatch-attribute { margin-bottom: 14px; }
.swatch-attribute-label { display: block; font-size: 13px; color: #555; margin-bottom: 8px; }
.swatch-attribute-options { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-option {
  min-width: 44px;
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  background: #f5f5f5;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.swatch-option.selected { background: #111; color: #fff; border-color: #111; }
.product-options-bottom .box-tocart .fieldset { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.product-options-bottom .field.qty .control { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; }
.product-options-bottom .field.qty .control i { cursor: pointer; padding: 0 12px; font-style: normal; user-select: none; }
.product-options-bottom .field.qty input.qty { width: 46px; height: 38px; border: 0; text-align: center; }
.product-options-bottom .action.tocart { background: #111; color: #fff; border: 0; height: 42px; padding: 0 30px; border-radius: 4px; font-size: 15px; cursor: pointer; }
.product-options-bottom .action.tocart[disabled] { opacity: .45; cursor: not-allowed; }
.product-info-form-add .action.towishlist { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: #666; text-decoration: none; }
.product-info-form-add .action.towishlist:before {
  content: "";
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666' stroke-width='1.6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z'/%3E%3C/svg%3E");
}
.product-info-tab { margin-top: 26px; border-top: 1px solid #eee; padding-top: 18px; }
.product-info-tab .data.item.title { border-bottom: 1px solid #ddd; padding-bottom: 10px; margin-bottom: 14px; color: #333; }
.product-info-tab .data.item.content { line-height: 1.8; color: #444; }
.product-info-tab img { max-width: 100%; height: auto; }
.product-description-section { margin: 32px 0 12px; }
.product-description-section img { display: block; width: 100%; max-width: 100%; height: auto; }
.product-description-section p { margin: 0; }
.block.upsell { margin-top: 46px; }
.block.upsell .block-title { text-align: center; font-size: 20px; margin-bottom: 22px; }
.block.upsell .products-grid .product-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem .5rem; list-style: none; margin: 0; padding: 0; }

/* ---------- cart / wishlist / account / search ---------- */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.cart-container { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.cart-container > * { width: auto !important; padding-right: 0 !important; }
.cart-container > .cart.table-wrapper { width: 100% !important; min-width: 0; }
.cart.table-wrapper { overflow-x: auto; }
.cart.items.data.table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cart.items.data.table .col.item { width: 46%; }
.cart.items.data.table .col.price { width: 12%; }
.cart.items.data.table .col.qty { width: 18%; }
.cart.items.data.table .col.subtotal { width: 16%; }
.cart.items.data.table .col.actions { width: 8%; }
.cart.items.data.table th { text-align: left; font-weight: 500; color: #666; font-size: 13px; padding: 10px 8px; border-bottom: 1px solid #ddd; }
.cart.items.data.table td { padding: 14px 8px; border-bottom: 1px solid #eee; vertical-align: middle; }
.cart-item-cell { display: flex; gap: 12px; align-items: center; white-space: normal; }
.cart-item-cell .product-item-photo { flex: 0 0 72px; width: 72px; max-width: none; float: none; }
.cart-item-cell .product-item-photo img { width: 72px; height: 72px; object-fit: cover; border-radius: 5px; }
.cart-item-cell .product-item-details { flex: 1 1 auto; min-width: 0; width: auto !important; float: none !important; max-width: none !important; margin-left: 0 !important; }
.cart-item-cell .product-item-name { display: block; }
.cart-item-cell .product-item-name a { white-space: normal; word-break: normal; }
.cart.items.data.table .product-item-photo img { width: 80px; height: 80px; object-fit: cover; border-radius: 5px; }
.cart.items.data.table .product-item-name a { color: #222; text-decoration: none; font-size: 14px; }
.cart.items.data.table .product-item-option { color: #888; font-size: 12px; margin-top: 4px; }
.cart-qty-form .control.qty { display: flex; align-items: center; gap: 6px; }
.cart-qty-form input.qty { width: 56px; padding: 6px; border: 1px solid #ddd; border-radius: 4px; text-align: center; }
.cart-qty-form .action.update { border: 1px solid #ddd; background: #fff; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 12px; }
.cart.items .action.delete { border: 0; background: transparent; color: #b00; cursor: pointer; font-size: 12px; }
.cart-summary { border: 1px solid #eee; border-radius: 8px; padding: 20px; position: sticky; top: 20px; }
.cart-summary .block-title { font-size: 17px; margin-bottom: 14px; }
.cart-summary .subtotal { display: flex; justify-content: space-between; font-size: 16px; padding: 12px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.cart-summary .note { color: #888; font-size: 12px; margin: 12px 0; }
.cart-summary .action.primary.checkout { display: block; text-align: center; background: #25d366; color: #fff; padding: 13px; border-radius: 6px; text-decoration: none; font-size: 15px; margin-top: 8px; }
.cart-summary .checkout-steps { font-size: 12px; color: #777; margin-top: 16px; }
.cart-summary .checkout-steps ol { padding-left: 18px; margin: 6px 0; }
/* 客服下单引导步骤：红色 + 放大 */
.cart-summary .checkout-steps ol.service-guide li {
  color: #dc2626;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}
.cart-summary .action.continue { display: block; text-align: center; margin-top: 10px; color: #555; font-size: 13px; }
.cart-extra-actions { margin-top: 16px; }
.cart-empty, .wishlist-empty, .search-empty, .not-found { padding: 40px 0; }
.cart-empty .action.primary, .wishlist-empty .action.primary, .search-empty .action.primary, .not-found .action.primary {
  display: inline-block; background: #111; color: #fff; padding: 11px 26px; border-radius: 5px; text-decoration: none;
}
.wishlist-toolbar, .search-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 18px; color: #666; font-size: 13px; }
.wishlist-grid .product-items, .search-results .product-items,
#maincontent .products-grid .product-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem .5rem; list-style: none; padding: 0; margin: 0; }
.wishlist-grid .product-items .product-item,
#maincontent .products-grid .product-items .product-item { width: 100%; max-width: none; margin: 0; }
.account-intro { max-width: 720px; line-height: 1.8; }
.account-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 28px; }
.account-actions .action.primary, .contact-cta .action.primary { display: inline-block; background: #111; color: #fff; padding: 11px 24px; border-radius: 5px; text-decoration: none; }
.account-actions .action.secondary, .contact-cta .action.secondary { display: inline-block; border: 1px solid #ccc; color: #333; padding: 10px 22px; border-radius: 5px; text-decoration: none; }
.account-links h3 { margin-bottom: 8px; }
.account-links ul { padding-left: 18px; }
.account-links a { color: #333; }
.cms-content { line-height: 1.85; color: #444; max-width: 900px; }
.cms-content img { max-width: 100%; height: auto; }
.search-form { display: flex; gap: 8px; margin-top: 14px; }
.search-form .input-text { flex: 1; max-width: 420px; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; }
.contact-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.contact-sent { max-width: 1200px; margin: 10px auto; }
.not-found .action.secondary { margin-left: 12px; color: #333; }

/* ---------- contact captcha ---------- */
.captcha-control .captcha-image-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.captcha-control #captcha-image { width: 200px; height: 60px; border: 1px solid #ddd; border-radius: 4px; background: #f8fafc; }
.captcha-control .action.reload { border: 1px solid #ddd; background: #fff; padding: 8px 14px; border-radius: 4px; cursor: pointer; font-size: 13px; color: #444; }
.contact-sent.message.error { color: #b00020; }

/* ---------- footer newsletter/contact ---------- */
.newsletter-message, .contact-message { color: #8a6d00; font-size: 13px; margin-top: 6px; }
.footer.contact textarea { min-height: 110px; }

/* ---------- floating chat ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 2000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }

/* ---------- toast ---------- */
.idv-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  z-index: 3000;
  background: rgba(20, 20, 20, .92);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.idv-toast.show { opacity: 1; transform: translate(-50%, 0); }
/* 加购成功提示：更醒目、停留更久（配合 app.js 5000ms 时长） */
.idv-toast.cart-toast {
  background: #dc2626;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 30px;
  box-shadow: 0 10px 34px rgba(220, 38, 38, .4);
}

/* ---------- mobile nav ---------- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1500;
}
@media (max-width: 1023px) {
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-overlay { display: block; }
  body.nav-open .navigation-wrapper {
    display: block !important;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 290px;
    max-width: 86vw;
    background: #fff;
    z-index: 1600;
    overflow-y: auto;
    padding: 24px 18px;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .2);
  }
  body.nav-open .navigation-section .navigation ul { display: block; }
  body.nav-open .navigation-section .navigation li { display: block; border-bottom: 1px solid #eee; }
  body.nav-open .navigation-section .navigation a { display: block; padding: 13px 4px; color: #222; }
  .home-section .product-items,
  .category-main .products-grid .product-items,
  .block.upsell .products-grid .product-items,
  #maincontent .products-grid .product-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cart-container { grid-template-columns: 1fr; }
  .home-hero-bg.desktop { display: none; }
  .home-hero-bg.mobile { display: block; min-height: 62vw; }
  .home-hero-arrow { display: none; }
}
@media (max-width: 640px) {
  .product-info-wrapper { gap: 20px; }
  .cart.items.data.table { display: block; width: 100%; }
  .cart.items.data.table tbody { display: block; width: 100%; }
  .cart.items.data.table td { display: block; width: 100% !important; box-sizing: border-box; }
  .cart-item-cell { width: 100%; }
  .home-section > h2 { font-size: 20px; margin: 26px 0 16px; }
  .cart.items.data.table thead { display: none; }
  .cart.items.data.table tr { display: block; border-bottom: 1px solid #eee; padding: 12px 0; }
  .cart.items.data.table td { display: block; border: 0; padding: 6px 0; }
  .cart.items.data.table .col.item { align-items: flex-start; }
  .cart-summary { position: static; }
}
