/* ===== CSS Variables ===== */
:root {
  --brand-forest: #2d6a4f;
  --brand-forest-light: #40916c;
  --brand-leaf: #52b788;
  --brand-sage: #95d5b2;
  --brand-mint: #d8f3dc;
  --brand-sun: #f0b429;
  --brand-sun-light: #ffe08a;
  --brand-sky: #90e0ef;
  --brand-sky-light: #caf0f8;
  --brand-cream: #f8faf5;
  --brand-paper: #f4fbf6;
  --brand-accent: #2d6a4f;
  --brand-accent-deep: #1b4332;
  --brand-warm: #5c7a6b;

  /* Legacy aliases */
  --brand-ink: var(--brand-accent-deep);
  --brand-charcoal: var(--brand-forest);
  --brand-stone: #e8f5ec;
  --brand-gold: var(--brand-sun);
  --brand-gold-light: var(--brand-sun-light);

  --header-bg: var(--brand-forest);
  --header-color: #fff;
  --topbar-bg: linear-gradient(90deg, #e8f5ec 0%, #fff8e1 50%, #e8f5ec 100%);
  --topbar-color: #1b4332;
  --footer-bg: var(--brand-forest);
  --footer-color: #fff;
  --accent-red: var(--brand-forest-light);
  --accent-orange: var(--brand-sun);
  --text-dark: #1b4332;
  --text-muted: #5c7a6b;
  --bg-light: var(--brand-paper);
  --discount-tag-color: #fff;
  --discount-tag-bg: var(--brand-forest-light);
  --border-soft: #d4e9dc;
  --surface: #ffffff;
  --surface-muted: #f0f7f2;
  --shadow-soft: 0 8px 24px rgba(45, 106, 79, 0.08);
  --container-max: 1400px;
  --header-height: 60px;
  --transition: 0.3s ease;
  --popup-radius: 0px;
  --eco-bg-scene: linear-gradient(
    180deg,
    #f4fbf6 0%,
    #e8f5ec 28%,
    #fff9e6 52%,
    #e8f5ec 78%,
    #f4fbf6 100%
  );
  --eco-bg-opacity: 1;
  --gradient-eco: linear-gradient(135deg, #40916c 0%, #2d6a4f 100%);
  --gradient-sunny: linear-gradient(135deg, #52b788 0%, #40916c 50%, #2d6a4f 100%);
  --gradient-summer: linear-gradient(135deg, #40916c 0%, #52b788 42%, #74c69d 100%);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  background: var(--brand-paper);
  scroll-behavior: smooth;
}
body {
  font-family: 'Arimo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: transparent;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--eco-bg-scene);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  opacity: var(--eco-bg-opacity);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input { font: inherit; }

.container-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--topbar-bg);
  color: var(--topbar-color);
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-soft);
}
.top-bar a { color: inherit; }
.top-bar a:hover { text-decoration: underline; }

/* ===== Header ===== */
.page-header { --font-color: #fff; --bg-color: var(--brand-forest); }
.header_box { z-index: 400; width: 100%; }
.header_box.header_fixed .header-nav {
  position: fixed;
  left: 0; top: 0;
  width: 100%;
  z-index: 400;
  background: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: background-color 0.5s;
}
.header-nav {
  background: var(--header-bg);
  color: var(--header-color);
  position: relative;
  z-index: 400;
}
.header-nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--header-height);
}
.header-logo img { height: 40px; width: auto; }
.header-nav-left { flex: 1; display: flex; justify-content: center; }
.header-nav-left .header-nav-content { height: 100%; }
.header-nav-left .header-nav-content .header-menu { height: 100%; display: flex; gap: 0; }
.header-nav-left .header-nav-content .header-menu .header-nav-item { height: 100%; }
.header-menu { display: flex; gap: 0; }
.header-nav-item.more-menu.hidden { display: none !important; }
.header-nav-item .navigation {
  display: block;
  padding: 0 18px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--header-color);
  line-height: var(--header-height);
  transition: opacity var(--transition);
}
.header-nav-item .navigation:hover { opacity: 0.7; }
.header-nav-right { display: flex; align-items: center; gap: 16px; }
.header-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--header-color);
  cursor: pointer;
  transition: opacity var(--transition);
}
.header-nav-icon:hover { opacity: 0.7; }
.header-nav-icon svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--accent-red);
  color: #fff;
  font-size: 10px;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-nav-icon.cart-icon { position: relative; }
.mobile-menu-icon, .mobile-search-icon { display: none; }

/* ===== Mobile Menu ===== */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  visibility: hidden;
}
.fullscreen-menu.active {
  pointer-events: auto;
  visibility: visible;
}
.fullscreen-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.4s;
}
.fullscreen-menu.active .fullscreen-mask { opacity: 1; }
.fullscreen-wrapper {
  position: absolute;
  left: 0; top: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.fullscreen-menu.active .fullscreen-wrapper { transform: translateX(0); }
.bar-light {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.icn-close {
  width: 24px; height: 24px;
  position: relative;
  cursor: pointer;
}
.icn-close::before, .icn-close::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 2px;
  background: var(--text-dark);
}
.icn-close::before { transform: rotate(45deg); }
.icn-close::after { transform: rotate(-45deg); }
.mobile_nav { flex: 1; padding: 10px 0; }
.mobile_nav-item {
  border-bottom: 1px solid #eee;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.3s, transform 0.3s;
}
.fullscreen-menu.active .mobile_nav-item {
  opacity: 1;
  transform: translateX(0);
}
.mobile_nav-item a {
  display: block;
  padding: 16px 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}
.mobile_user {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s 0.2s, transform 0.4s 0.2s;
}
.fullscreen-menu.active .mobile_user { opacity: 1; transform: translateY(0); }

/* ===== Search Popup ===== */
.search-popup {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
.search-popup.show { visibility: visible; opacity: 1; }
.search-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.search-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 600px;
  padding: 30px;
  transform: translateY(-20px);
  transition: transform 0.3s;
}
.search-popup.show .search-content { transform: translateY(0); }
.search-content input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #ddd;
  font-size: 16px;
  outline: none;
}
.search-content input:focus { border-color: var(--text-dark); }
.search-popup-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ===== Cart Drawer ===== */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  pointer-events: none;
  visibility: hidden;
}
.cart-drawer.active { pointer-events: auto; visibility: visible; }
.cart-drawer-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.cart-drawer.active .cart-drawer-mask { opacity: 1; }
.cart-drawer-panel {
  position: absolute;
  right: 0; top: 0;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}
.cart-drawer.active .cart-drawer-panel { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
}
.cart-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 40px 0; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }
.cart-item-main { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.cart-item-variant {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cart-item-qty {
  font-size: 13px;
  color: var(--text-muted);
}
.cart-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}
.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-dark);
}
.cart-subtotal strong {
  font-size: 16px;
}
.cart-discount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--accent-red);
}
.cart-discount strong { font-size: 14px; }
.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-footer { padding: 20px; border-top: 1px solid #eee; }
.cart-button {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity var(--transition);
}
.cart-button.main_btn {
  background: var(--text-dark);
  color: #fff;
  margin-bottom: 10px;
}
.cart-button.main_btn:hover { opacity: 0.85; }
.cart-button.main_btn.checkout-disabled,
.product-btns .main_btn.checkout-disabled,
#productBuyNow.checkout-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.cart-button-plan {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
}

/* ===== Account Drawer ===== */
.account-drawer {
  position: fixed;
  inset: 0;
  z-index: 650;
  pointer-events: none;
  visibility: hidden;
}
.account-drawer.active { pointer-events: auto; visibility: visible; }
.account-drawer-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.account-drawer.active .account-drawer-mask { opacity: 1; }
.account-drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 420px;
  max-width: 92vw;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}
.account-drawer.active .account-drawer-panel { transform: translateX(0); }
.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
  font-weight: 600;
  font-size: 16px;
}
.account-drawer-close {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.account-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.account-intro {
  color: var(--text-muted, #666);
  margin: 0 0 16px;
  line-height: 1.5;
  font-size: 14px;
}
.account-field {
  display: block;
  margin-bottom: 16px;
}
.account-field span {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
}
.account-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  font: inherit;
}
.account-msg {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666;
}
.account-msg.is-error { color: #c0392b; }
.account-btn {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.account-btn.primary {
  background: var(--text-dark, #282828);
  color: #fff;
}
.account-btn.outline {
  margin-top: 8px;
  background: #fff;
  border: 1px solid #ddd;
  color: var(--text-dark, #282828);
}
.account-user-card {
  padding: 16px;
  background: #f7f7f7;
  border-radius: 8px;
  margin-bottom: 20px;
}
.account-user-name {
  font-weight: 600;
  font-size: 16px;
}
.account-user-email {
  margin-top: 4px;
  color: var(--text-muted, #666);
  font-size: 14px;
  word-break: break-all;
}
.account-section {
  margin-bottom: 24px;
}
.account-section h3 {
  margin: 0 0 12px;
  font-size: 15px;
}
.account-empty {
  margin: 0;
  color: var(--text-muted, #666);
  font-size: 14px;
  line-height: 1.5;
}
.account-coupon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed #ccc;
  border-radius: 8px;
  background: #fffdf5;
}
.account-coupon-amount {
  font-weight: 700;
  font-size: 18px;
  color: #c0392b;
  white-space: nowrap;
}
.account-coupon-meta {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}
.account-orders-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.account-order-item,
.tracking-result-card {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 14px;
}
.account-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.account-order-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f0f0f0;
  white-space: nowrap;
}
.account-order-status--paid,
.account-order-status--pending { background: #fff3cd; }
.account-order-status--shipped { background: #d1ecf1; }
.account-order-status--completed { background: #d4edda; }
.account-order-status--cancelled { background: #f8d7da; }
.account-order-shipping,
.account-order-address {
  margin: 0 0 8px;
  font-size: 13px;
  color: #666;
  line-height: 1.45;
}
.account-order-lines {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 13px;
  color: #444;
}
.account-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
}
.account-shipping-note {
  margin: 0 0 10px;
  font-size: 13px;
  color: #666;
  line-height: 1.45;
}
.account-link-btn {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}
.header-nav-icon.account-icon { cursor: pointer; }
.tracking-form-msg {
  margin: 12px 0 0;
  font-size: 14px;
  color: #666;
}
.tracking-form-msg.is-error { color: #c0392b; }

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--surface-muted);
}
.hero-slider .swiper,
.hero-slider .swiper-wrapper {
  height: auto !important;
}
.hero-slider .swiper-slide {
  width: 100%;
  height: auto;
}
.hero-slider:not(.is-ready) .swiper-button-prev,
.hero-slider:not(.is-ready) .swiper-button-next,
.hero-slider:not(.is-ready) .swiper-pagination {
  visibility: hidden;
}
.hero-slider .swiper-slide a {
  display: block;
  line-height: 0;
}
.hero-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
}
.hero-slider .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}
.hero-slider .swiper-pagination-bullet-active { opacity: 1; }
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: #fff;
  width: 40px; height: 40px;
  background: rgba(0,0,0,0.3);
  border-radius: 50%;
}
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after { font-size: 16px; }

/* ===== Promo Popup ===== */
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}
.promo-popup.show { visibility: visible; opacity: 1; }
.promo-popup-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.promo-popup-content {
  position: relative;
  background: var(--gradient-sunny);
  padding: 36px 24px 28px;
  max-width: 480px;
  width: 92%;
  text-align: center;
  color: #fff;
  border-radius: 16px;
  transform: scale(0.9);
  transition: transform 0.3s;
  box-shadow: 0 20px 60px rgba(45, 106, 79, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.promo-popup.show .promo-popup-content { transform: scale(1); }
.promo-popup-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  border: none;
  z-index: 2;
}
.promo-popup-close svg { width: 14px; height: 14px; }
.promo-title { font-size: 26px; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px; }
.promo-coupons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.promo-coupon-ticket {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.promo-coupon-ticket:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.16); }
.promo-coupon-ticket.is-selected {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px rgba(196, 165, 116, 0.28), 0 6px 16px rgba(0,0,0,0.16);
}
.promo-coupon-ticket.is-claimed { opacity: 0.72; pointer-events: none; }
.coupon-ticket-left {
  flex: 0 0 108px;
  background: linear-gradient(160deg, var(--brand-forest-light) 0%, var(--brand-accent-deep) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  position: relative;
}
.coupon-amount-wrap {
  display: flex;
  align-items: flex-start;
  line-height: 1;
}
.coupon-currency { font-size: 18px; font-weight: 700; margin-top: 6px; margin-right: 2px; }
.coupon-amount { font-size: 36px; font-weight: 800; letter-spacing: -1px; }
.coupon-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 6px;
  opacity: 0.85;
}
.coupon-ticket-divider {
  width: 0;
  border-left: 2px dashed #e8e8e8;
  position: relative;
  flex-shrink: 0;
}
.coupon-ticket-divider::before,
.coupon-ticket-divider::after {
  content: '';
  position: absolute;
  left: -7px;
  width: 12px;
  height: 12px;
  background: var(--brand-forest);
  border-radius: 50%;
}
.coupon-ticket-divider::before { top: -6px; }
.coupon-ticket-divider::after { bottom: -6px; }
.coupon-ticket-right {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.coupon-label { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.coupon-price-demo {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.coupon-demo-label { color: #aaa; }
.coupon-original { text-decoration: line-through; color: #bbb; }
.coupon-arrow { color: var(--brand-accent); font-weight: 700; }
.coupon-final { font-size: 15px; font-weight: 700; color: var(--brand-accent); }
.promo-email-wrap { margin-bottom: 16px; text-align: left; }
.promo-email-input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
}
.promo-email-input::placeholder { color: #aaa; }
.promo-email-input:disabled { background: #f5f5f5; color: #666; }
.promo-email-hint {
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.85;
  text-align: center;
}
.promo-claim-msg {
  min-height: 20px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  font-weight: 600;
}
.promo-claim-msg.is-error { color: #ffe0e0; }
.promo-claim-msg.is-success { color: #d4ffda; }
.promo-claim-msg.is-loading { color: #fff9e6; opacity: 0.95; }
.promo-btn {
  display: inline-block;
  background: var(--brand-accent-deep);
  color: #fff;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity var(--transition), transform 0.2s;
}
.promo-btn:hover { opacity: 0.9; transform: scale(1.02); }
.promo-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.promo-note { font-size: 11px; margin-top: 14px; opacity: 0.85; line-height: 1.5; }
.item-caption-price .coupon-price,
.featured-info .price .coupon-price { color: var(--accent-red); }
.product_price.coupon-save { color: var(--accent-red); font-weight: 600; }

/* ===== Promo Strip Bar (above Hot Selling) ===== */
.promo-strip-bar {
  padding: 28px 0 8px;
  background: transparent;
}
.promo-strip-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 18px 28px;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: var(--gradient-eco);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.promo-strip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 40, 38, 0.12);
}
.promo-strip-btn:active { transform: translateY(0); }
.promo-strip-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px dashed rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-strip-icon-inner {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}
.promo-strip-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.promo-strip-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.promo-strip-desc {
  font-size: 13px;
  opacity: 0.92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.promo-strip-desc em {
  font-style: normal;
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-gold-light);
}
.promo-strip-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-forest);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, color 0.2s;
}
.promo-strip-btn:hover .promo-strip-action {
  background: var(--brand-gold-light);
  color: var(--brand-forest);
}
.promo-strip-arrow {
  width: 12px;
  height: 12px;
  transform: rotate(-90deg);
  fill: currentColor;
}
.promo-strip-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg);
  animation: promoStripShine 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes promoStripShine {
  0%, 100% { left: -120%; }
  50% { left: 140%; }
}
.promo-strip-bar.is-claimed .promo-strip-btn {
  background: linear-gradient(135deg, #74c69d 0%, #52b788 100%);
  box-shadow: var(--shadow-soft);
}
.promo-strip-bar.is-claimed .promo-strip-action {
  color: var(--brand-accent-deep);
}
@media (max-width: 768px) {
  .promo-strip-bar { padding: 20px 0 4px; }
  .promo-strip-btn {
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
  }
  .promo-strip-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
  }
  .promo-strip-icon-inner { font-size: 22px; }
  .promo-strip-title { font-size: 16px; }
  .promo-strip-desc {
    font-size: 12px;
    white-space: normal;
    line-height: 1.4;
  }
  .promo-strip-action {
    padding: 10px 16px;
    font-size: 13px;
  }
  .promo-strip-action-text { display: none; }
}
@media (max-width: 480px) {
  .promo-strip-body { gap: 2px; }
  .promo-strip-action { padding: 10px 12px; }
}

/* ===== Section Titles ===== */
.block_coustom_title {
  text-align: center;
  padding: 40px 0 24px;
}
.block_coustom_title h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
}

/* ===== Product Grid ===== */
.collection_product {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-bottom: 40px;
}
.collection_item {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(42, 40, 38, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.collection_item:hover {
  transform: translateY(-4px);
  border-color: #d8d2ca;
  box-shadow: var(--shadow-soft);
}
.product-card-media {
  position: relative;
  background: var(--surface-muted);
}
.collection-product-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--surface-muted);
  margin-bottom: 0;
}
.collection-product-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.45s ease;
}
.collection_item:hover .collection-product-item img { transform: scale(1.04); }
.product-sold-count {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: linear-gradient(180deg, var(--surface-muted) 0%, var(--brand-cream) 100%);
  border-top: 1px solid var(--border-soft);
  line-height: 1;
}
.product-sold-count-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-leaf);
  box-shadow: 0 0 0 2px rgba(82, 183, 136, 0.22);
  flex-shrink: 0;
}
.item-caption {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 14px 14px 16px;
}
.item-caption h2 {
  margin: 0;
  line-height: 1.35;
}
.item-caption-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s;
}
.item-caption-title:hover { color: #555; }
.item-caption-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 10px 0 0;
}
.item-caption-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  min-height: 22px;
}
.item-caption-meta .product_price {
  margin-top: 0;
  flex-shrink: 0;
  padding: 4px 8px;
  font-size: 10px;
}
.item-caption-meta .product-rating {
  margin-top: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.item-caption-meta .product-rating:only-child {
  margin-left: 0;
}
.general-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-red);
  line-height: 1.2;
}
.general-oldprice {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0;
  font-weight: 400;
}
.product_price {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-accent-deep);
  background: #edf7f0;
  border: 1px solid #cce8d4;
  border-radius: 6px;
  text-align: left;
  box-sizing: border-box;
  line-height: 1.3;
}
.product_price.coupon-save {
  color: var(--brand-forest);
  background: #f0faf3;
  border-color: #b7e4c7;
}
.sold-out-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  background: rgba(220, 220, 220, 0.92);
  color: #333;
  padding: 8px 10px;
  font-size: 12px;
  text-transform: capitalize;
  text-align: center;
  z-index: 2;
}
.product-rating {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
}
.product-rating svg { width: 12px; height: 12px; }
.product-rating .count { font-size: 11px; color: #888; margin-left: 3px; font-weight: 600; }

/* ===== Cool Summer Campaign Banner ===== */
.summer-campaign-section {
  padding: 8px 0 28px;
}
.summer-campaign-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(88px, 120px) 1fr auto;
  align-items: center;
  gap: 12px 20px;
  min-height: 118px;
  padding: 18px 22px 18px 0;
  border-radius: 999px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--gradient-summer);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.summer-campaign-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(42, 40, 38, 0.14);
}
.summer-campaign-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 28%),
    radial-gradient(circle at 82% 70%, rgba(240, 180, 41, 0.2) 0%, transparent 24%),
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.06) 45%, transparent 60%);
  animation: summerCampaignShine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes summerCampaignShine {
  0%, 100% { opacity: 0.55; transform: translateX(-8%); }
  50% { opacity: 1; transform: translateX(8%); }
}
.summer-campaign-art {
  position: relative;
  width: 120px;
  height: 100%;
  min-height: 96px;
  margin-left: 8px;
  z-index: 1;
}
.summer-campaign-float {
  position: absolute;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(168, 230, 207, 0.65));
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.15);
  opacity: 0.85;
}
.summer-campaign-float--1 {
  width: 22px;
  height: 22px;
  top: 12px;
  left: 18px;
  transform: rotate(18deg);
  animation: summerFloat 4s ease-in-out infinite;
}
.summer-campaign-float--2 {
  width: 16px;
  height: 16px;
  top: 42px;
  left: 8px;
  transform: rotate(-12deg);
  animation: summerFloat 4.8s ease-in-out infinite 0.6s;
}
.summer-campaign-float--3 {
  width: 14px;
  height: 14px;
  top: 28px;
  left: 52px;
  transform: rotate(32deg);
  animation: summerFloat 5.2s ease-in-out infinite 1s;
}
@keyframes summerFloat {
  0%, 100% { transform: translateY(0) rotate(18deg); }
  50% { transform: translateY(-6px) rotate(24deg); }
}
.summer-campaign-drink {
  position: absolute;
  left: 24px;
  bottom: 4px;
  width: 56px;
  height: 64px;
}
.summer-campaign-drink__cup {
  position: absolute;
  left: 8px;
  bottom: 0;
  width: 38px;
  height: 46px;
  border-radius: 6px 6px 14px 14px;
  background: linear-gradient(180deg, #fff8e1 0%, var(--brand-sun) 55%, #e8a317 100%);
  box-shadow: inset 0 -8px 0 rgba(27, 67, 50, 0.18), 0 8px 16px rgba(45, 106, 79, 0.15);
}
.summer-campaign-drink__cup::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 6px;
  right: 6px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}
.summer-campaign-drink__straw {
  position: absolute;
  top: 0;
  left: 30px;
  width: 6px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-leaf), var(--brand-forest-light));
  transform: rotate(18deg);
}
.summer-campaign-drink__leaf {
  position: absolute;
  top: 18px;
  left: 42px;
  width: 18px;
  height: 10px;
  border-radius: 0 80% 0 80%;
  background: var(--brand-leaf);
  transform: rotate(-28deg);
}
.summer-campaign-tag {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 5px 16px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-accent-deep);
  background: linear-gradient(180deg, #fff8e1 0%, var(--brand-sun-light) 100%);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 10px rgba(45, 106, 79, 0.12);
  white-space: nowrap;
}
.summer-campaign-main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  text-align: center;
}
.summer-campaign-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0;
  line-height: 1;
}
.summer-campaign-title .title-cool {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}
.summer-campaign-title .title-sale {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--brand-sun-light);
  text-shadow: 0 2px 0 rgba(27, 67, 50, 0.15);
}
.summer-campaign-date {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(27, 67, 50, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.summer-campaign-go {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--brand-forest);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(45, 106, 79, 0.16);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.summer-campaign-banner:hover .summer-campaign-go {
  transform: scale(1.08);
  background: var(--brand-sun-light);
  color: var(--brand-accent-deep);
}

/* ===== Category Banner ===== */
.category-banner {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
}
.category-banner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s;
}
.category-banner:hover img { transform: scale(1.03); }
.category-banner h2 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* ===== IGET Bar Image Banner ===== */
.block_image {
  position: relative;
  max-width: var(--container-max);
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
}
.block_image-fill {
  width: 100%;
  max-width: 100%;
}
.block_image a {
  display: block;
  position: relative;
  width: 100%;
}
.block_image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.block_image .block-image-mobile {
  display: none;
}
.block_image .block_image-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.block_image .block_image-content {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  box-sizing: border-box;
  pointer-events: none;
}
.block_image-fill .block_image-content {
  max-width: 1200px;
  left: 50%;
  transform: translateX(-50%);
}
.block_image .content-position-center {
  align-items: center;
  text-align: center;
}
.block_image .content-align-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.block_image .content-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.block_image .content-describe {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
}
.iget-bar-banner {
  margin-bottom: 8px;
}

/* ===== Flash Sale Section ===== */
.flash-sale-section {
  background: var(--brand-paper);
  padding: 40px 0;
}
#iget.flash-sale-section {
  padding-top: 0;
}
.iget-bar-block {
  margin-bottom: 8px;
}
.iget-bar-block .block_coustom_title {
  padding-top: 0;
}
.iget-bar-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 32px;
}
.flash-sale-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 400px;
}
.flash-sale-left {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  color: #fff;
  text-align: center;
}
.flash-sale-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.flash-sale-video-mask {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}
.flash-sale-video-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
}
.flash-sale-video-text h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.flash-sale-video-text p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 360px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.flash-sale-left .shop-btn {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity var(--transition), background var(--transition);
}
.flash-sale-left .shop-btn:hover {
  opacity: 0.9;
  background: rgba(255,255,255,0.12);
}
.flash-sale-right { overflow: hidden; }
.flash-sale-right .swiper { height: 100%; }
.flash-sale-right img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Featured Product ===== */
.featured-product {
  padding: 60px 0;
  overflow: hidden;
}
.featured-product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.featured-gallery {
  overflow: hidden;
  max-width: 100%;
}
.featured-gallery .swiper {
  border-radius: 4px;
  overflow: hidden;
  height: auto !important;
}
.featured-gallery .swiper-wrapper {
  height: auto !important;
  max-height: none;
}
.featured-gallery .swiper-slide {
  height: auto;
}
.featured-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.featured-info h2 { font-size: 22px; margin-bottom: 8px; }
.featured-info .subtitle { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.featured-info .price { margin-bottom: 20px; }
.featured-info .price .current { font-size: 24px; font-weight: 700; color: var(--accent-red); }
.featured-info .price .old { font-size: 16px; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.flavor-carousel { margin-bottom: 24px; overflow: hidden; }
.flavor-carousel .swiper {
  overflow: hidden;
  height: auto !important;
}
.flavor-carousel .swiper-wrapper {
  height: auto !important;
}
.flavor-carousel .swiper-slide {
  width: 80px !important;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.flavor-carousel .swiper-slide-thumb-active { opacity: 1; }
.flavor-carousel img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; border: 2px solid transparent; }
.flavor-carousel .swiper-slide-thumb-active img { border-color: var(--text-dark); }
.quantity-wrap { margin-bottom: 20px; }
.quantity-wrap label { display: block; font-size: 13px; margin-bottom: 8px; font-weight: 500; }
.step-warp {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
}
.step-warp-handle {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.step-warp-handle:hover { background: #f5f5f5; }
.step-warp-handle svg { width: 14px; height: 14px; }
.step-warp-value {
  width: 50px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 8px 0;
  -moz-appearance: textfield;
}
.step-warp-value::-webkit-outer-spin-button,
.step-warp-value::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-buttons { display: flex; flex-direction: column; gap: 10px; }
.btn-add-cart, .btn-buy-now {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity var(--transition);
}
.btn-add-cart {
  background: var(--text-dark);
  color: #fff;
}
.btn-buy-now {
  background: var(--accent-red);
  color: #fff;
}
.btn-add-cart:hover, .btn-buy-now:hover { opacity: 0.85; }

/* ===== Trust Icons Carousel ===== */
.trust-section {
  background: var(--topbar-bg);
  padding: 50px 0 40px;
}
.trust-slider {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.trust-slider .swiper {
  overflow: hidden;
}
.trust-slider .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  box-sizing: border-box;
}
.trust-item svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  fill: var(--text-dark);
}
.trust-item p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 520px;
}
.trust-slider .swiper-pagination {
  position: relative;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}
.trust-slider .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 0;
  opacity: 0.35;
  background: var(--text-dark);
  margin: 0 !important;
  transition: opacity 0.2s, transform 0.2s;
}
.trust-slider .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.15);
}

/* ===== Newsletter ===== */
.block_newsletter {
  position: relative;
  padding: 60px 0;
  background: var(--gradient-sunny);
  color: #fff;
  text-align: center;
}
.news_title { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.news_detail { font-size: 14px; opacity: 0.8; margin-bottom: 24px; }
.news_input_wrap {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}
.news_input_wrap input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: 14px;
}
.news_input_wrap .btn {
  background: var(--brand-sun);
  color: var(--brand-accent-deep);
  padding: 14px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity var(--transition);
  white-space: nowrap;
}
.news_input_wrap .btn:hover { opacity: 0.85; }

/* ===== Reviews ===== */
.reviews-section { padding: 50px 0; overflow: hidden; }
.reviews-marquee {
  display: flex;
  gap: 20px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.reviews-marquee:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 24px;
  border-radius: 4px;
}
.review-card .quote-icon { width: 24px; height: 24px; fill: #d8d2ca; margin-bottom: 12px; }
.review-card .stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review-card .stars svg { width: 16px; height: 16px; fill: var(--brand-gold); }
.review-card .text { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin-bottom: 16px; }
.review-card .author { font-size: 12px; color: var(--text-muted); }
.section-view-more {
  text-align: center;
  padding-bottom: 20px;
}
.view-more-btn {
  display: block;
  text-align: center;
  margin-top: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  transition: opacity var(--transition);
}
.view-more-btn:hover { opacity: 0.7; }

/* ===== Footer ===== */
#card-footer {
  display: block;
  width: 100%;
  margin-top: 0;
  position: relative;
  z-index: 10;
  clear: both;
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-color);
  padding: 50px 0 30px;
}
.footer_menu_box {
  display: grid;
  grid-template-columns: minmax(100px, auto) repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
  align-items: start;
  margin-bottom: 40px;
}
.footer_logo {
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 10px;
}
.footer_logo img { height: 20px; filter: brightness(0) invert(1); }
.footer-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.footer-share:empty {
  display: none;
}
.footer-share .share-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.footer-share .share-item:hover {
  opacity: 1;
}
.footer-share .share-item .icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.footer_menu {
  min-width: 0;
}
.menu_title { font-weight: 600; margin-bottom: 16px; font-size: 14px; white-space: nowrap; }
.footer_menu .list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer_menu .list li { margin-bottom: 0; }
.footer_menu .list a {
  font-size: 13px;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.footer_menu .list a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.7;
}
.currency-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.currency-selector svg { width: 10px; height: 10px; }

/* ===== Footer Bottom Panel ===== */
.footer-bottom-panel {
  background: #faf6f0;
  padding: 16px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  overflow: visible;
}
.footer-bottom-panel__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.footer-payment-badges {
  width: 100%;
}
.footer-badges-row {
  width: 100%;
}
.footer-payment-badges .badge-list-reep--single-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  width: 100%;
  overflow: visible;
}
.footer-payment-badges .badge-list {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  min-width: 52px;
  min-height: 40px;
}
.footer-payment-badges .badge-list.large img {
  height: 28px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
}

@media (min-width: 992px) {
  .footer-payment-badges .badge-list-reep--single-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
  }
  .footer-payment-badges .badge-list {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 4px;
  }
  .footer-payment-badges .badge-list.large img {
    height: 26px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-bottom-panel {
    padding: 14px 12px;
  }
  .footer-payment-badges .badge-list {
    min-width: 44px;
    min-height: 36px;
    padding: 5px 6px;
  }
  .footer-payment-badges .badge-list.large img {
    height: 22px;
    max-width: 48px;
  }
}

/* ===== Floating Elements ===== */
.recently-viewed-tab {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--header-bg);
  color: #fff;
  writing-mode: vertical-rl;
  padding: 16px 8px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition);
}
.recently-viewed-tab:hover { background: #444; }
.recently-viewed-tab svg { width: 16px; height: 16px; writing-mode: horizontal-tb; }
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
.trusted-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #eee;
  padding: 6px 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  z-index: 300;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.trusted-badge svg { width: 16px; height: 16px; }

/* ===== Scroll Animations ===== */
.animation-init {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animation-init.animated {
  opacity: 1;
  transform: translateY(0);
}
.animation-move-bottom.animated { animation: moveBottom 0.8s ease forwards; }
@keyframes moveBottom {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Cart Success Toast ===== */
.cart-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  background: #fff;
  border: 1px solid #eee;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(calc(100% + 40px));
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cart-toast.show { transform: translateX(0); }
.cart-toast svg { width: 24px; height: 24px; flex-shrink: 0; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .collection_product { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .collection_product { grid-template-columns: repeat(3, 1fr); }
  .iget-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-product-inner { grid-template-columns: 1fr; }
  .flash-sale-banner { grid-template-columns: 1fr; }
  .flash-sale-left { min-height: 300px; }
  .flash-sale-video-text h2 { font-size: 24px; }
  .flash-sale-video-text { padding: 24px; }
  .footer_menu_box {
    grid-template-columns: minmax(80px, auto) repeat(3, minmax(0, 1fr));
    gap: 24px 20px;
  }
}
@media (max-width: 767px) {
  .header-nav-left { display: none; }
  .mobile-menu-icon, .mobile-search-icon { display: flex; }
  .header-nav-container { padding: 0 15px; }
  /* H5 Banner：完整显示整张图，不裁剪 */
  .hero-slider {
    background: #0d1117;
  }
  .hero-slider .swiper,
  .hero-slider .swiper-wrapper,
  .hero-slider .swiper-slide {
    height: auto !important;
  }
  .hero-slider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }
  .collection_product { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .item-caption { padding: 10px 10px 12px; }
  .item-caption-title { font-size: 13px; }
  .general-price { font-size: 16px; }
  .product-sold-count { font-size: 10px; padding: 6px 8px; }
  .item-caption-meta { margin-top: 8px; gap: 6px; }
  .item-caption-meta .product_price { font-size: 9px; padding: 3px 6px; }
  .product-rating svg { width: 11px; height: 11px; }
  .product-rating .count { font-size: 10px; }
  .iget-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .block_image .block-image-mobile { display: block; }
  .block_image .block-image-pc { display: none; }
  .block_image .content-title { font-size: 24px; }
  .block_image .block_image-content { padding: 0 15px; }
  .block_coustom_title h2 { font-size: 20px; }
  .news_input_wrap { flex-direction: column; }
  .news_input_wrap .btn { width: 100%; }
  .footer_menu_box {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .footer_logo {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    gap: 10px 8px;
  }
  .footer-share .share-item .icon {
    width: 20px;
    height: 20px;
  }
  .menu_title { font-size: 13px; margin-bottom: 10px; white-space: normal; }
  .footer_menu .list a { font-size: 12px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .recently-viewed-tab { display: none; }
  .promo-coupons { flex-direction: column; align-items: center; }
  .category-banner h2 { font-size: 20px; }
  .summer-campaign-section { padding: 4px 0 20px; }
  .summer-campaign-banner {
    grid-template-columns: 72px 1fr auto;
    gap: 8px 10px;
    min-height: 102px;
    padding: 16px 12px 14px 0;
    border-radius: 24px;
  }
  .summer-campaign-art {
    width: 72px;
    min-height: 72px;
    margin-left: 4px;
  }
  .summer-campaign-drink {
    left: 10px;
    bottom: 0;
    transform: scale(0.82);
    transform-origin: left bottom;
  }
  .summer-campaign-tag {
    font-size: 9px;
    padding: 4px 10px 5px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .summer-campaign-title {
    flex-direction: column;
    gap: 2px;
  }
  .summer-campaign-title .title-cool,
  .summer-campaign-title .title-sale {
    font-size: 22px;
  }
  .summer-campaign-date {
    font-size: 9px;
    padding: 4px 10px;
  }
  .summer-campaign-go {
    width: 46px;
    height: 46px;
    font-size: 14px;
    margin-right: 2px;
  }
}

/* ===== Collection Page ===== */
.collection-page .collection-main {
  padding: 24px 0 60px;
  min-height: 60vh;
}
.collection-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.collection-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.collection-breadcrumb a:hover { color: var(--text-dark); }
.collection-breadcrumb .sep { margin: 0 8px; }
.collection-page-title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.collection-toolbar-mobile { display: none; }
.collection-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
}
.collection-filter-btn .icon { width: 16px; height: 16px; }
.collection-toolbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.collection-count {
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
}
.collection-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.collection-sort select {
  padding: 8px 32px 8px 12px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.collection-grid { padding-bottom: 32px; }
.collection-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
}
.collection-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 32px;
}
.collection-pagination .page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}
.collection-pagination .page-btn.is-active {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}
.collection-pagination .page-ellipsis {
  padding: 0 4px;
  color: var(--text-muted);
}
.collection-back {
  text-align: center;
  padding-top: 16px;
}
.header-nav-item.is-active .navigation {
  opacity: 1;
  border-bottom: 2px solid var(--brand-sun);
  padding-bottom: 2px;
}
.filter-panel {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden;
}
.filter-panel.is-open {
  pointer-events: auto;
  visibility: visible;
}
.filter-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.filter-panel.is-open .filter-mask { opacity: 1; }
.filter-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 100%);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s;
}
.filter-panel.is-open .filter-drawer { transform: translateX(0); }
.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
}
.filter-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.filter-close {
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
}
.filter-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.filter-group h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}
.filter-option {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  cursor: pointer;
}
.filter-option input { margin-right: 8px; }
.filter-footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid #eee;
}
.filter-clear {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.filter-apply {
  flex: 1;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 767px) {
  .collection-toolbar:not(.collection-toolbar-mobile) { display: none; }
  .collection-toolbar-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .collection-toolbar-mobile .collection-sort {
    flex: 1;
    min-width: 160px;
  }
  .collection-toolbar-mobile .collection-sort select { width: 100%; }
  .collection-page-title { font-size: 22px; }
}

/* ===== Product Detail Page ===== */
.product-detail-page .product-detail-main {
  padding: 24px 0 48px;
  min-height: 60vh;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 16px;
}
.product-detail-media,
.product-right-sticky {
  min-width: 0;
  max-width: 100%;
}
.product-right-sticky {
  position: sticky;
  top: 24px;
  align-self: start;
}
.product-detail-media {
  position: sticky;
  top: 24px;
  overflow: hidden;
}
.product-gallery-main {
  background: #fff;
  border: 1px solid #eee;
  margin-bottom: 12px;
  width: 100%;
  height: min(520px, 80vw);
  overflow: hidden;
}
.product-gallery-main.swiper {
  overflow: hidden;
}
.product-gallery-main .swiper-wrapper,
.product-gallery-main .swiper-slide {
  height: 100%;
}
.product-gallery-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.product-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}
.product-gallery-thumbs {
  width: 100%;
  overflow: hidden;
}
.product-detail-media .product-sold-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c5c5c;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 999px;
}
.product-gallery-thumbs .swiper-slide {
  width: 72px;
  height: 72px;
  border: 1px solid #ddd;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}
.product-gallery-thumbs .swiper-slide-thumb-active,
.product-gallery-thumbs .swiper-slide.is-active {
  opacity: 1;
  border-color: var(--text-dark);
}
.product-gallery-thumbs img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===== Product image lightbox ===== */
body.image-lightbox-open {
  overflow: hidden;
}
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
  background: rgba(0, 0, 0, 0.88);
  box-sizing: border-box;
}
.image-lightbox.hidden {
  display: none;
}
.image-lightbox-stage {
  width: min(1200px, 100%);
  max-width: 100%;
  height: calc(100vh - 96px);
  max-height: calc(100vh - 96px);
  overflow: hidden;
  touch-action: none;
}
.image-lightbox-stage .swiper-wrapper,
.image-lightbox-stage .swiper-slide {
  height: 100%;
}
.image-lightbox-stage .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-lightbox-stage .swiper-zoom-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
}
.image-lightbox-stage img {
  max-width: 100%;
  max-height: calc(100vh - 96px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
  touch-action: none;
}
.image-lightbox-close,
.image-lightbox-nav {
  position: absolute;
  z-index: 9010;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}
.image-lightbox-close:hover,
.image-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.24);
}
.image-lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}
.image-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
}
.image-lightbox-prev { left: 16px; }
.image-lightbox-next { right: 16px; }
.image-lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
@media (max-width: 767px) {
  .image-lightbox {
    padding: 56px 12px 72px;
  }
  .image-lightbox-close {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    font-size: 30px;
  }
  .image-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
  .image-lightbox-prev { left: 8px; }
  .image-lightbox-next { right: 8px; }
}

.control-product_detail-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--text-dark);
}
.product-detail-rating {
  justify-content: flex-start;
  margin-bottom: 16px;
}
.control-product_detail-price_box {
  margin-bottom: 20px;
}
.control-product_detail-price_box .product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.product-price-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-red);
}
.product-price-market {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
}
.product-price-discount {
  font-size: 14px;
  color: var(--accent-red);
  font-weight: 600;
}
.product-sku-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}
#app_detailmarkettool-wrap ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#app_detailmarkettool-wrap li {
  display: flex;
  align-items: flex-start;
  gap: 0;
  font-size: 13px;
  line-height: 1.4;
}
.detailmarkettool-icon {
  font-style: normal;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.detailmarkettool-activities-condition,
.detailmarkettool-time,
.detailmarkettool-browse-num {
  font-weight: 600;
}
.moi-product-option {
  margin-top: 16px;
}
.moi-product-sku-label {
  margin-bottom: 8px;
}
.product-sku-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-sku-values-item {
  padding: 8px 14px;
  border: 1px solid #ddd;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}
.product-sku-values-item:hover {
  border-color: var(--text-dark);
}
.product-sku-values-item-active {
  border-color: var(--text-dark);
  background: #f5f5f5;
  font-weight: 600;
}
.product-calculator {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
}
.product-calculator-handle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.product-calculator-handle:hover { background: #f5f5f5; }
.product-calculator-value {
  width: 48px;
  height: 36px;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 14px;
  -moz-appearance: textfield;
}
.product-calculator-value::-webkit-outer-spin-button,
.product-calculator-value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.control-product_detail-quantity_box .cell-item + .cell-item {
  margin-top: 8px;
}
.app_producttransaction-wrap {
  margin-top: 24px;
  border: 1px solid #eee;
  padding: 16px;
}
.app_pt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.app_pt-title { font-weight: 600; font-size: 15px; }
.app_pt-info { display: flex; gap: 12px; font-size: 12px; color: #888; align-items: center; }
.app_pt-th,
.app_pt-tr {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr 1fr;
  gap: 8px;
  font-size: 12px;
  padding: 8px 0;
}
.app_pt-th { font-weight: 600; color: #888; border-bottom: 1px solid #eee; }
.app_pt-tr { border-bottom: 1px solid #f5f5f5; }
.app_pt-tr:last-child { border-bottom: none; }
.app_pt-flag { width: 16px; height: 12px; margin-right: 4px; vertical-align: middle; }
.plugin-product_detail-buy_bottom { margin-top: 20px; }
.app-trusttool-0 { margin-top: 20px; }
.app-trusttool-networksecurity { margin-bottom: 0; }
.safeguard-clause-list {
  padding: 12px 16px;
  background: #f9f9f9;
}
.safeguard-clause-list.trusttool-alert.dis_show {
  display: block;
}
.safeguard-clause-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.safeguard-left > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.trusttool.icon-anquan_4 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-style: normal;
}
.trusttool.icon-anquan_4::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4 5v6c0 5.25 3.4 10.15 8 11.35C16.6 21.15 20 16.25 20 11V5l-8-3zm-1 14.5l-3.5-3.5 1.4-1.4L11 13.7l5.1-5.1 1.4 1.4L11 16.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2L4 5v6c0 5.25 3.4 10.15 8 11.35C16.6 21.15 20 16.25 20 11V5l-8-3zm-1 14.5l-3.5-3.5 1.4-1.4L11 13.7l5.1-5.1 1.4 1.4L11 16.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.disnone { display: none !important; }
.safeguard-clause-list-body {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 12px;
}
.safeguard-clause-list-body > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.safeguard-bage { font-weight: 700; font-size: 13px; }
.safeguard-title { color: #666; font-size: 11px; }
.app-trusttool-badge { margin-top: 8px; }
.badge-flex.dis_flex { display: flex; }
.badge-title {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin: 0 0 10px;
}
.badge-title span { background: #fff; padding: 0 8px; }
.badge-list-reep {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.badge-list {
  padding: 6px 10px;
  border: 1px solid #eee;
  background: #fff;
}
.badge-list.large img { height: 28px; width: auto; display: block; }
.product-detail-soldout {
  color: var(--accent-red);
  font-weight: 600;
  margin: 0 0 16px;
}
.product-detail-soldout.hidden { display: none; }
.control-product_detail-quantity_box {
  margin-bottom: 24px;
}
.control-product_detail-quantity_box .cell-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.control-product_detail-quantity_box .qty-label {
  font-size: 14px;
  font-weight: 500;
}
.control-product_detail-quantity_box.hidden { display: none; }
.product-btns.product-cart-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 420px;
}
.product-btns .secondary_btn,
.product-btns .main_btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: opacity var(--transition);
}
.product-btns .secondary_btn {
  background: var(--text-dark);
  color: #fff;
}
.product-btns .main_btn {
  background: var(--main-button-bg, #405DE6);
  color: #fff;
}
.product-btns .divider {
  height: 10px;
}
.product-btns button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.product-btns .secondary_btn:hover,
.product-btns .main_btn:hover { opacity: 0.85; }

.moi-tabs {
  margin-top: 40px;
  list-style: none;
  padding: 0;
  border-top: 1px solid #ddd;
  position: relative;
}
.moi-tabs-item {
  list-style: none;
}
.moi-tabs-style-tab {
  display: flex;
  flex-wrap: wrap;
  gap: 0 32px;
  padding-bottom: 0;
}
.moi-tabs-style-tab .moi-tabs-title {
  padding: 12px 0;
  font-size: 16px;
  color: #999;
  cursor: pointer;
  font-weight: 500;
  border-bottom: 4px solid transparent;
  margin-bottom: -1px;
}
.moi-tabs-style-tab .moi-tabs-active .moi-tabs-title {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
  font-weight: 600;
}
.moi-tabs-style-tab .moi-tabs-content {
  display: none;
}
.moi-tabs-style-tab .moi-tabs-item {
  width: auto;
}
.product-tabs-panels {
  width: 100%;
  border-top: 1px solid #eee;
  padding-top: 20px;
}
.product-tabs-panels .moi-tabs-panel {
  display: none;
}
.product-tabs-panels .moi-tabs-panel.is-active {
  display: block;
}
.mo-editor-reset p {
  margin: 0 0 1em;
}
.product-reviews-empty {
  color: var(--text-muted);
  margin: 0 0 12px;
}
.product-detail-section {
  width: 100%;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.product-detail-section-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}
.product-detail-body {
  line-height: 1.7;
  color: var(--text-dark);
}
.product-detail-block {
  margin-bottom: 20px;
}
.product-detail-block-image {
  text-align: center;
}
.product-detail-block-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}
.product-detail-block-text img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
}
.product-detail-block-text p {
  margin: 0 0 1em;
}
.product-detail-block-text p:last-child {
  margin-bottom: 0;
}
.product-reviews-see-all {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: underline;
}
.share-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}
.share-item .icon {
  fill: currentColor;
}
.product-detail-back-wrap {
  margin-top: 32px;
  text-align: center;
}
.product-detail-back {
  display: inline-block;
  padding: 12px 48px;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: opacity var(--transition);
}
.product-detail-back:hover { opacity: 0.7; }

.product-spec-table {
  margin-bottom: 24px;
}
.product-spec-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-forest);
  margin: 0 0 12px;
}
.product-spec-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.product-spec-grid th,
.product-spec-grid td {
  border: 1px solid var(--border-soft);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}
.product-spec-grid th {
  width: 38%;
  background: var(--brand-mint, #e8f5ec);
  color: var(--brand-accent-deep);
  font-weight: 600;
}
.product-spec-grid td {
  background: #fff;
  color: var(--text-dark);
}

.product-detail-main.is-error .product-detail-layout {
  display: block;
  text-align: center;
  padding: 48px 0;
}

@media (max-width: 767px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-detail-media { position: static; }
  .control-product_detail-title { font-size: 20px; }
  .moi-tabs {
    flex-direction: column;
    gap: 0;
    border-top: none;
  }
  .moi-tabs-item {
    width: 100%;
    border-top: 1px solid #ddd;
  }
  .moi-tabs-style-tab .moi-tabs-title {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: none;
    font-size: 18px;
  }
  .moi-tabs-style-tab .moi-tabs-active .moi-tabs-title {
    border-bottom: none;
  }
  .product-btns.product-cart-group { max-width: none; }
}

/* ===== Policy / Legal Pages ===== */
.policy-page {
  padding: 48px 20px 64px;
  max-width: 820px;
  margin: 0 auto;
}
.policy-page h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-forest);
  margin-bottom: 8px;
}
.policy-updated {
  font-size: 13px;
  color: #6b7c72;
  margin-bottom: 28px;
}
.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(45, 106, 79, 0.15);
}
.policy-nav a {
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-mint, #e8f5ec);
  color: var(--brand-forest);
  transition: background var(--transition), color var(--transition);
}
.policy-nav a:hover,
.policy-nav a.is-active {
  background: var(--brand-forest);
  color: #fff;
}
.policy-page h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--brand-forest);
  margin: 32px 0 12px;
}
.policy-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0 8px;
}
.policy-page p,
.policy-page li {
  font-size: 15px;
  line-height: 1.7;
  color: #3d4f45;
}
.policy-page ul,
.policy-page ol {
  margin: 12px 0 16px;
  padding-left: 1.4em;
}
.policy-page li { margin-bottom: 8px; }
.policy-page a { color: var(--brand-forest); text-decoration: underline; }
.policy-card {
  background: linear-gradient(135deg, #f0faf4 0%, #fff9e6 100%);
  border: 1px solid rgba(45, 106, 79, 0.12);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}
.policy-card h3 { margin-top: 0; color: var(--brand-forest); }
.policy-back {
  display: inline-block;
  margin-top: 32px;
  font-size: 14px;
  color: var(--brand-forest);
}
.footer-menu-title-link {
  color: inherit;
  text-decoration: none;
}
.footer-menu-title-link:hover { opacity: 0.85; }
@media (max-width: 640px) {
  .policy-page h1 { font-size: 26px; }
  .policy-nav a { font-size: 12px; padding: 5px 10px; }
}
