/* ===== TNWSEA COMMON STYLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #000; --white: #fff; --gray-100: #f6f6f6; --gray-200: #ececec;
  --gray-300: #d9d9d9; --gray-500: #999; --gray-700: #666; --gray-800: #333;
  --accent: #0075ff; --accent-hover: #4193f4; --accent-tint: #f5fbff;
  --r-card: 16px; --r-pill: 100px; --r-sm: 8px;
  --font: 'Inter','PingFang SC','Microsoft YaHei',sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--black); background: var(--white); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ANNOUNCE */
.announce { background: var(--black); color: var(--white); text-align: center; padding: 10px; font-size: 13px; }
.announce strong { color: var(--accent); }

/* HEADER — DJI-like transparent bar, tone flips with the hero */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: #111;
  overflow: visible;
  transition: background .35s ease, border-color .35s ease, color .25s ease, box-shadow .35s ease;
}
.header.header--overlay {
  position: fixed; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.header.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0,0,0,.06);
  color: #111;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; height: 64px; gap: 36px;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 22px; width: auto; transition: filter .3s ease; }
.header[data-tone="dark"]:not(.is-solid) .logo img { filter: brightness(0) invert(1); }
.nav-main { flex: 1; min-width: 0; }
.nav-main > ul { display: flex; gap: 0; align-items: center; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
  padding: 20px 14px; font-size: 14px; font-weight: 400; letter-spacing: .01em;
  color: inherit; white-space: nowrap; opacity: .92;
  transition: opacity .2s ease;
}
.nav-item:first-child > a { padding-left: 0; }
.nav-item > a:hover { opacity: 1; background: none; color: inherit; }
.nav-main:hover .nav-item > a { opacity: .42; }
.nav-main .nav-item:hover > a,
.nav-main .nav-item:focus-within > a { opacity: 1; }
.nav-item > a .arrow { display: none; }
.nav-item:has(.dropdown)::after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 100%; height: 12px;
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  min-width: 148px; width: max-content; max-width: 280px;
  background: #fff; color: #111;
  border: none; border-radius: 8px; padding: 8px 0;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
  z-index: 220;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.dropdown a {
  display: block; padding: 10px 20px;
  font-size: 14px; font-weight: 400;
  color: #111; line-height: 1.4; white-space: nowrap;
}
.dropdown a:hover { background: #f5f5f5; color: #111; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.btn-icon {
  background: none; border: none; cursor: pointer; padding: 8px;
  color: inherit; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: opacity .2s ease, background .2s ease;
}
.btn-icon:hover { opacity: .55; }
.btn-search { background: none; border: none; cursor: pointer; padding: 8px; color: inherit; display: flex; align-items: center; }
.btn-search:hover { color: inherit; transform: none; opacity: .55; }

.account-menu { position: relative; }
.account-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; color: #111; border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px; min-width: 168px; padding: 8px 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.12); z-index: 500;
}
.account-menu.open .account-dropdown { display: block; }
.account-dropdown a { display: block; padding: 10px 16px; font-size: 13px; color: #333; }
.account-dropdown a:hover { background: #f5f5f5; color: #111; }

.header[data-tone="dark"]:not(.is-solid) { color: #fff; }
.header[data-tone="light"]:not(.is-solid) { color: #111; }
.header[data-action-tone="dark"]:not(.is-solid) .header-actions { color: #fff; }
.header[data-action-tone="light"]:not(.is-solid) .header-actions { color: #111; }

.hero-btn{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.16); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.22); color:#fff;
  width:44px; height:44px; border-radius:50%; font-size:20px;
  cursor:pointer; z-index:5;
  transition:background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hero-btn:hover{ background:rgba(255,255,255,.28); }
.hero-btn.prev{ left:18px; }
.hero-btn.next{ right:18px; }
.hero-btn[data-tone="light"]{
  background:rgba(0,0,0,.08); border-color:rgba(0,0,0,.16); color:#111;
  box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.hero-btn[data-tone="light"]:hover{ background:rgba(0,0,0,.16); }
.hero-btn[data-tone="dark"]{
  background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.28); color:#fff;
}
.hero-btn[data-tone="dark"]:hover{ background:rgba(255,255,255,.28); }

@media (prefers-reduced-motion: reduce) {
  .header, .logo img, .nav-item > a { transition: none; }
}

/* SEARCH OVERLAY — 全宽下拉，DJI 风格 */
.search-ov { position: fixed; top: 0; left: 0; right: 0; z-index: 400; background: var(--white);
  transform: translateY(-100%); transition: transform .42s cubic-bezier(.32,.72,0,1);
  box-shadow: 0 10px 40px rgba(0,0,0,0); }
.search-ov.open { transform: translateY(0); box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.search-ov-bar { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; gap: 28px; }
.search-ov-logo { height: 30px; width: auto; flex-shrink: 0; }
.search-ov-field { flex: 1; display: flex; align-items: center; gap: 12px; color: var(--gray-500); }
.search-ov-field input { flex: 1; border: none; outline: none; background: none;
  font-family: var(--font); font-size: 17px; color: var(--black); padding: 8px 0; }
.search-ov-field input::placeholder { color: var(--gray-500); }
.search-ov-close { background: none; border: none; cursor: pointer; font-size: 20px;
  color: var(--gray-700); padding: 8px; line-height: 1; transition: color .2s, transform .25s; }
.search-ov-close:hover { color: var(--black); transform: rotate(90deg); }
.search-ov-body { border-top: 1px solid var(--gray-200); max-height: 0; overflow: hidden;
  transition: max-height .38s cubic-bezier(.32,.72,0,1); }
.search-ov-body.show { max-height: 62vh; overflow-y: auto; }
.search-ov-hits { max-width: 1280px; margin: 0 auto; padding: 14px 24px 22px; }
.search-ov-hit { display: flex; align-items: center; gap: 16px; padding: 12px 10px;
  border-radius: var(--r-sm); color: var(--black); opacity: 0; transform: translateY(8px);
  animation: hitIn .34s cubic-bezier(.32,.72,0,1) forwards; transition: background .18s; }
.search-ov-hit:hover { background: var(--gray-100); }
.search-ov-hit img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.search-ov-hit-name { flex: 1; font-size: 15px; font-weight: 500; }
.search-ov-hit-price { font-size: 15px; font-weight: 700; color: var(--accent); }
.search-ov-none { padding: 26px 10px; font-size: 14px; color: var(--gray-500); }
@keyframes hitIn { to { opacity: 1; transform: translateY(0); } }
.search-ov-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.32); z-index: 399;
  opacity: 0; pointer-events: none; transition: opacity .35s; }
.search-ov-scrim.open { opacity: 1; pointer-events: all; }

/* FOOTER */
footer { background: var(--black); color: rgba(255,255,255,.65); padding: 60px 24px 28px; }
.footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { height: 30px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.45); max-width: 300px; }
footer h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
footer ul li { margin-bottom: 9px; }
footer ul a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
footer ul a:hover { color: var(--white); }
.footer-bottom { max-width: 1280px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.3); }
.pay-icons { display: flex; gap: 8px; }
.pay-icon { background: rgba(255,255,255,.1); border-radius: 3px; padding: 3px 9px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55); }

/* CART DRAWER */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 100vw; background: var(--white); z-index: 301; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); box-shadow: -4px 0 24px rgba(0,0,0,.15); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { padding: 18px 22px; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.cart-head h3 { font-size: 17px; font-weight: 700; }
.btn-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--gray-500); line-height: 1; }
.cart-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--gray-500); font-size: 14px; }
.cart-body .empty-icon { font-size: 44px; }
.cart-foot { padding: 18px 22px; border-top: 1px solid var(--gray-200); }
.coupon-row { display: flex; gap: 8px; margin-bottom: 14px; }
.coupon-row input { flex: 1; padding: 9px 12px; border: 1px solid var(--gray-200); border-radius: var(--r-pill); font-size: 13px; font-family: var(--font); outline: none; }
.coupon-row input:focus { border-color: var(--black); }
.coupon-row button { padding: 9px 14px; background: var(--black); color: #fff; border: none; border-radius: var(--r-pill); cursor: pointer; font-size: 13px; font-family: var(--font); font-weight: 600; }
.btn-checkout { width: 100%; padding: 13px; background: var(--accent); color: var(--white); border: none; border-radius: var(--r-pill); font-size: 15px; font-weight: 700; cursor: pointer; font-family: var(--font); }

/* SHARED BUTTONS */
.btn-primary { background: var(--accent); color: #fff; padding: 13px 32px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; border: none; cursor: pointer; font-family: var(--font); transition: background .25s; display: inline-block; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--black); color: #fff; padding: 12px 28px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; border: none; cursor: pointer; font-family: var(--font); transition: background .25s; display: inline-block; }
.btn-dark:hover { background: var(--gray-800); }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-size: 40px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 10px; }
.section-sub { font-size: 15px; color: var(--gray-500); }
@media(max-width:900px){ .section-title{font-size:28px} }
.text-center { text-align: center; }

/* PRODUCT CARD */
.product-card { background: var(--gray-100); border-radius: var(--r-card); overflow: hidden; transition: transform .3s, box-shadow .3s; cursor: pointer; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.product-card-img { overflow: hidden; position: relative; background: var(--gray-100); }
.product-card-img img { width: 100%; height: 260px; object-fit: contain; padding: 18px; transition: transform .4s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 18px 20px 20px; }
.product-cat { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.product-card-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.product-card-body p { font-size: 13px; color: var(--gray-500); margin-bottom: 14px; line-height: 1.6; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 20px; font-weight: 700; }
.price-old { font-size: 13px; color: var(--gray-500); text-decoration: line-through; margin-left: 6px; }
.btn-add { background: var(--black); color: var(--white); border: none; border-radius: var(--r-pill); padding: 9px 16px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font); transition: background .2s; }
.btn-add:hover { background: var(--accent); }
.btn-outline{display:inline-flex;align-items:center;padding:9px 20px;border:1.5px solid #000;border-radius:var(--r-pill);font-size:13px;font-weight:600;color:#111;text-decoration:none;cursor:pointer;transition:all .2s}
.btn-outline:hover{background:#111;color:#fff}
.product-card-footer{display:flex;flex-direction:column;gap:8px}
.product-card-footer-row{display:flex;gap:8px;align-items:center}
.badge { position: absolute; top: 12px; left: 12px; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 3px; letter-spacing: .5px; }
.badge-hot { background: var(--accent); }
.badge-new { background: var(--black); }
.badge-out { background: var(--gray-500); }

/* PAGE HERO */
.page-hero { position: relative; overflow: hidden; }
.page-hero img { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.page-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: center; }
.page-hero-text { max-width: 1280px; margin: 0 auto; padding: 0 24px; color: #fff; }
.page-hero-text h1 { font-size: 44px; font-weight: 700; letter-spacing: -1px; margin-bottom: 12px; }
.page-hero-text p { font-size: 16px; color: rgba(255,255,255,.75); max-width: 480px; }

/* LANG SWITCHER — globe + region pill, hover to open */
.lang-switcher{position:relative;margin-left:8px;direction:ltr;unicode-bidi:isolate}
.lang-switcher::after{
  content:"";position:absolute;left:-12px;right:-12px;top:100%;height:16px;
}
.lang-btn{
  display:flex;align-items:center;gap:6px;
  padding:6px 12px 6px 10px;border:none;border-radius:999px;
  background:rgba(0,0,0,.06);cursor:pointer;
  font-size:13px;font-family:var(--font);font-weight:400;color:inherit;
  transition:background .2s ease, opacity .2s ease;
}
.lang-btn:hover{opacity:.72}
.header[data-tone="dark"]:not(.is-solid) .lang-btn{background:rgba(255,255,255,.14)}
.header[data-tone="light"]:not(.is-solid) .lang-btn{background:rgba(0,0,0,.06)}
.header[data-action-tone="dark"]:not(.is-solid) .lang-btn{background:rgba(255,255,255,.14);color:#fff}
.header[data-action-tone="light"]:not(.is-solid) .lang-btn{background:rgba(0,0,0,.06);color:#111}
.header.is-solid .lang-btn{background:rgba(0,0,0,.06);color:#111}
.lang-btn svg{flex-shrink:0}
.lang-region{line-height:1}
.lang-dropdown{
  display:none;position:absolute;top:calc(100% + 8px);right:0;
  background:#fff;color:#111;border:1px solid rgba(0,0,0,.06);
  border-radius:12px;min-width:300px;padding:8px 0;
  box-shadow:0 16px 40px rgba(0,0,0,.12);z-index:500;
  direction:ltr;unicode-bidi:isolate;
  max-height:min(70vh, 560px);overflow-y:auto;
}
.lang-switcher:hover .lang-dropdown,
.lang-switcher.open .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown{display:block}
.lang-option{
  display:grid;grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;gap:10px;padding:9px 16px;
  font-size:13px;color:#111;cursor:pointer;white-space:nowrap;
  transition:background .15s;
  direction:ltr;
}
.lang-option:hover{background:#f5f5f5}
.lang-option.active{font-weight:600}
.lang-code{font-size:12px;font-weight:600;color:#8a8a8a;letter-spacing:.04em}
.lang-native{overflow:hidden;text-overflow:ellipsis;unicode-bidi:isolate}
.lang-name{font-size:12px;color:#9a9a9a;font-weight:400;unicode-bidi:isolate}
.lang-region{unicode-bidi:isolate}

/* MOBILE MENU */
.mobile-menu-btn{display:none;background:none;border:none;cursor:pointer;padding:8px;color:inherit;margin-left:4px}
.mobile-menu-btn span{display:block;width:18px;height:1.5px;background:currentColor;margin:5px 0;transition:all .3s}
.mobile-menu-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:200;opacity:0;pointer-events:none;transition:opacity .3s}
.mobile-menu-overlay.open{opacity:1;pointer-events:all}
.mobile-menu{position:fixed;top:0;right:0;bottom:0;width:280px;max-width:86vw;background:var(--white);z-index:201;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .35s cubic-bezier(.4,0,.2,1);box-shadow:-4px 0 24px rgba(0,0,0,.15);overflow-y:auto}
.mobile-menu.open{transform:translateX(0)}
.mobile-menu-head{padding:16px 18px;border-bottom:1px solid var(--gray-200);display:flex;align-items:center;justify-content:space-between}
.mobile-menu-head h3{font-size:16px;font-weight:700}
.mobile-menu-close{background:none;border:none;font-size:24px;cursor:pointer;color:var(--gray-500);line-height:1;padding:4px}
.mobile-nav{padding:12px 0}
.mobile-nav-item{border-bottom:1px solid var(--gray-100)}
.mobile-nav-item>a{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;font-size:14px;font-weight:500;color:var(--gray-700);transition:background .15s}
.mobile-nav-item>a:active{background:var(--gray-100)}
.mobile-nav-toggle{background:none;border:none;padding:14px 18px;width:100%;text-align:left;display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:500;color:var(--gray-700);cursor:pointer;font-family:var(--font)}
.mobile-nav-toggle .arrow{font-size:10px;transition:transform .3s}
.mobile-nav-toggle.open .arrow{transform:rotate(180deg)}
.mobile-submenu{max-height:0;overflow:hidden;transition:max-height .3s;background:var(--gray-100)}
.mobile-submenu.open{max-height:400px}
.mobile-submenu a{display:block;padding:10px 18px 10px 36px;font-size:13px;color:var(--gray-700);transition:background .15s}
.mobile-submenu a:active{background:var(--gray-200)}
.mobile-search{padding:12px 18px;border-bottom:1px solid var(--gray-200)}
.mobile-search input{width:100%;padding:10px 14px;border:1px solid var(--gray-200);border-radius:6px;font-size:13px;font-family:var(--font);outline:none}
.mobile-search input:focus{border-color:var(--black)}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav-main { display: none; }
  .mobile-menu-btn{display:block}
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-inner { padding: 0 16px; height: 56px; gap: 16px; }
  .logo img { height: 20px; }
  .nav-main > ul { gap: 18px; }
  .btn-search { font-size: 16px; }
  .section-title { font-size: 28px; }
  .section-sub { font-size: 14px; }
  .product-card-img img { height: 200px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .page-hero-text h1 { font-size: 28px; }
  .page-hero-text p { font-size: 14px; }
  .page-hero img { max-height: 300px; }
  footer { padding: 40px 16px 20px; }
  .header-inner { gap: 12px; }
  .lang-btn { padding: 6px 10px; font-size: 12px; }
  .section-title { font-size: 24px; }
  .section-label { font-size: 10px; }
  .btn-primary { padding: 10px 20px; font-size: 13px; }
  .btn-dark { padding: 8px 18px; font-size: 13px; }
  .product-card-img img { height: 180px; }
  .product-card-body { padding: 14px 16px 16px; }
  .product-card-body h3 { font-size: 14px; }
  .product-card-body p { font-size: 12px; }
  .price { font-size: 18px; }
  .btn-add { padding: 8px 14px; font-size: 12px; }
  .btn-outline { padding: 7px 14px; font-size: 12px; }
}

/* ===== CART / WISHLIST (JS-driven, see assets/js/cart.js) ===== */
.cart-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--gray-500); line-height: 1; padding: 4px; }
/* The drawer body holds a scrolling line-item list once the cart is non-empty. */
.cart-body { display: block; overflow-y: auto; padding: 8px 0; color: var(--black); }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; color: var(--gray-500); font-size: 14px; }
.cart-empty-cta { font-size: 13px; font-weight: 600; color: var(--accent); }
.cart-line { display: grid; grid-template-columns: 64px 1fr 28px; gap: 12px; align-items: start; padding: 14px 22px; border-bottom: 1px solid var(--gray-100); }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--gray-100); }
.cart-line-info { min-width: 0; }
.cart-line-name { display: block; font-size: 13px; font-weight: 600; line-height: 1.45; margin-bottom: 4px; }
.cart-line-name:hover { color: var(--accent); }
.cart-line-price { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--gray-200); border-radius: 6px; overflow: hidden; }
.cart-qty button { width: 26px; height: 26px; background: var(--gray-100); border: none; cursor: pointer; font-size: 14px; line-height: 1; color: var(--gray-700); font-family: var(--font); }
.cart-qty button:hover { background: var(--gray-200); }
.cart-qty input { width: 34px; height: 26px; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); text-align: center; font-size: 13px; font-family: var(--font); outline: none; }
.cart-line-del { background: none; border: none; cursor: pointer; color: var(--gray-500); font-size: 13px; line-height: 1; padding: 2px; }
.cart-line-del:hover { color: var(--accent); }
.cart-ship { font-size: 12px; color: var(--gray-500); background: var(--gray-100); border-radius: 6px; padding: 9px 12px; margin-bottom: 14px; text-align: center; }
.cart-ship strong { color: var(--accent); }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 14px; color: var(--gray-700); }
.cart-total strong { font-size: 21px; color: var(--black); }
.cart-checkout { display: block; width: 100%; padding: 13px; background: var(--accent); color: var(--white); border: none; border-radius: 8px; font-size: 15px; font-weight: 700; text-align: center; cursor: pointer; font-family: var(--font); transition: opacity .2s; }
.cart-checkout:hover { opacity: .88; }
.cart-clear { display: block; width: 100%; margin-top: 10px; padding: 9px; background: none; border: none; cursor: pointer; font-size: 12px; color: var(--gray-500); font-family: var(--font); }
.cart-clear:hover { color: var(--accent); }

/* Add-to-cart toast */
.cart-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); background: var(--black); color: var(--white); font-size: 13px; padding: 12px 20px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 400; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; max-width: 88vw; }
.cart-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Wishlist heart */
.wish-btn { background: none; border: 1px solid var(--gray-200); border-radius: 6px; width: 34px; height: 34px; cursor: pointer; font-size: 15px; line-height: 1; color: var(--gray-500); transition: color .2s, border-color .2s; }
.wish-btn:hover { border-color: var(--black); color: var(--black); }
.wish-btn.active { color: var(--accent); border-color: var(--accent); }
.wish-badge { position: absolute; top: -6px; right: -6px; background: var(--black); color: #fff; border-radius: 50%; width: 17px; height: 17px; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.btn-wish { position: relative; background: none; border: 1px solid var(--gray-200); border-radius: 6px; padding: 7px 11px; cursor: pointer; font-size: 14px; font-family: var(--font); line-height: 1.4; }
.btn-wish:hover { border-color: #999; }

/* Product-detail buy row. .btn-addcart itself is styled per product page. */
.pd-buy { display: flex; align-items: stretch; gap: 10px; margin-bottom: 12px; }
.pd-buy .btn-addcart { flex: 1; margin-bottom: 0; }
.pd-buy .wish-btn { width: 48px; height: auto; font-size: 18px; border-radius: 10px; }
.pd-qty { display: flex; align-items: center; border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.pd-qty button { width: 34px; align-self: stretch; background: var(--gray-100); border: none; cursor: pointer; font-size: 16px; color: var(--gray-700); font-family: var(--font); }
.pd-qty button:hover { background: var(--gray-200); }
.pd-qty input { width: 42px; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); text-align: center; font-size: 15px; font-family: var(--font); outline: none; }
.btn-buy-amz { display: block; width: 100%; padding: 12px; margin-bottom: 20px; border: 1.5px solid var(--black); border-radius: 10px; text-align: center; font-size: 14px; font-weight: 600; color: var(--black); transition: background .2s, color .2s; }
.btn-buy-amz:hover { background: var(--black); color: var(--white); }
@media (max-width: 640px) {
  .pd-buy { flex-wrap: wrap; }
  .pd-buy .btn-addcart { order: 3; flex-basis: 100%; }
}

/* ===== SEARCH SUGGESTIONS (see assets/js/search.js) ===== */
.search-panel { display: none; position: absolute; top: calc(100% + 6px); right: 0; width: 320px; max-width: 86vw; background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 6px 0; z-index: 400; max-height: 340px; overflow-y: auto; }
.search-panel.open { display: block; }
.search-hit { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; transition: background .15s; }
.search-hit:hover { background: var(--gray-100); }
.search-hit img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--gray-100); }
.search-hit-name { font-size: 13px; font-weight: 500; line-height: 1.4; }
.search-hit-price { font-size: 13px; font-weight: 700; color: var(--accent); }
.search-none { padding: 14px 12px; font-size: 13px; color: var(--gray-500); text-align: center; }
.mobile-search { position: relative; }

@media (max-width: 640px) {
  .cart-drawer { width: 100%; }
  .cart-line { grid-template-columns: 56px 1fr 24px; padding: 12px 16px; }
  .cart-line img { width: 56px; height: 56px; }
  .cart-head, .cart-foot { padding: 14px 16px; }
}

/* ULANZI LIST CARDS */
.list-product-wrapper{background:#f7f7f7;padding:80px 0 40px}
.list-product-inner{max-width:1200px;margin:0 auto;padding:0 15px}
.list-product-wrapper .products-head{text-align:center;margin-bottom:56px}
.grid-product-container{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:30px;
  margin-bottom:80px;
}
.grid-product-container .item{
  display:block;
  background:#fff;
  padding:30px;
  color:inherit;
  text-decoration:none;
}
.grid-product-container .thumb-img{overflow:hidden}
.grid-product-container .thumb-img img,
.grid-product-container .thumb-img video{
  display:block;width:100%;height:220px;object-fit:contain;background:#fff;
  transition:transform .6s cubic-bezier(.215,.61,.355,1);
}
.grid-product-container .thumb-img video{object-fit:cover;background:#111}
.grid-product-container .item:hover .thumb-img img,
.grid-product-container .item:hover .thumb-img video{transform:scale(1.08)}
.grid-product-container .thumb-desc{text-align:center;line-height:1.6;margin-top:20px}
.grid-product-container .thumb-desc .name{font-size:18px;font-weight:500;color:#111}
.grid-product-container .thumb-desc .desc{color:#909090;font-size:14px;margin-top:4px}
@media(max-width:1100px){
  .grid-product-container{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:50px}
  .list-product-wrapper{padding:50px 0 24px}
  .list-product-wrapper .products-head{margin-bottom:40px}
}
@media(max-width:760px){
  .grid-product-container{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-product-container .item{padding:20px 12px}
  .grid-product-container .thumb-img img,.grid-product-container .thumb-img video{height:160px}
}
@media(max-width:480px){
  .grid-product-container{grid-template-columns:1fr}
  .list-product-wrapper .products-head{margin-bottom:32px}
}
@media(prefers-reduced-motion:reduce){
  .grid-product-container .thumb-img img{transition:none}
  .grid-product-container .item:hover .thumb-img img{transform:none}
}

/* Series landing hero (full-bleed). Product detail pages use product-detail.css instead. */
body[data-cms-page="series"] .pdp-hero{
  position:relative; height:100svh; min-height:620px;
  overflow:hidden; background:#050505; color:#fff;
}
body[data-cms-page="series"] .pdp-hero video,
body[data-cms-page="series"] .pdp-hero img.pdp-hero-img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; display:block;
}
body[data-cms-page="series"] .pdp-hero.is-image video{display:none}
body[data-cms-page="series"] .pdp-hero.is-video img.pdp-hero-img{display:none}
body[data-cms-page="series"] .pdp-hero-scrim{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.42) 100%);
}
body[data-cms-page="series"] .pdp-hero-copy{
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:88px 24px 48px;
}
html[data-cms-pending] body[data-cms-page="series"] .pdp-hero-copy{
  visibility:hidden;
}
body[data-cms-page="series"] .pdp-kicker{
  font-size:16px; font-weight:400; letter-spacing:.08em;
  color:rgba(255,255,255,.9); margin-bottom:12px;
}
body[data-cms-page="series"] .pdp-hero-copy h1{
  font-size:clamp(36px,5.6vw,68px); font-weight:500;
  letter-spacing:.02em; line-height:1.12; margin:0 0 14px;
}
body[data-cms-page="series"] .pdp-hero-copy .sub{
  font-size:clamp(15px,1.8vw,22px); font-weight:400;
  color:rgba(255,255,255,.9); margin:0 0 28px; max-width:720px;
}
body[data-cms-page="series"] .pdp-cta{display:flex; gap:14px; flex-wrap:wrap; justify-content:center;}
body[data-cms-page="series"] .pdp-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-width:148px; height:44px; padding:0 26px; border:none;
  border-radius:999px; font-size:15px; font-weight:500;
  font-family:var(--font); cursor:pointer; text-decoration:none;
  transition:background .2s, opacity .2s, color .2s;
}
body[data-cms-page="series"] .pdp-btn-solid{background:#fff; color:#111;}
body[data-cms-page="series"] .pdp-btn-solid:hover{background:rgba(255,255,255,.86); color:#111;}
body[data-cms-page="series"] .pdp-btn-ghost{background:rgba(255,255,255,.22); color:#fff; backdrop-filter:blur(10px);}
body[data-cms-page="series"] .pdp-btn-ghost:hover{background:rgba(255,255,255,.34); color:#fff;}
body[data-cms-page="series"] .pdp-btn svg{flex-shrink:0}
body[data-cms-page="series"] .video-ov{
  position:fixed; inset:0; z-index:800; display:none;
  align-items:center; justify-content:center;
  background:rgba(0,0,0,.84); padding:24px;
}
body[data-cms-page="series"] .video-ov.open{display:flex;}
body[data-cms-page="series"] .video-ov-box{position:relative; width:min(1080px,96vw);}
body[data-cms-page="series"] .video-ov-box video{width:100%; max-height:82vh; background:#000; border-radius:8px; display:block;}
body[data-cms-page="series"] .video-ov-close{
  position:absolute; top:-40px; right:0; background:none; border:none;
  color:#fff; font-size:28px; line-height:1; cursor:pointer;
}
@media(max-width:900px){
  body[data-cms-page="series"] .pdp-hero{min-height:520px}
}
@media(max-width:560px){
  body[data-cms-page="series"] .pdp-cta{flex-direction:column; align-items:center}
  body[data-cms-page="series"] .pdp-btn{width:min(240px,90vw)}
}
