/* ========================================================
   Weverse Shop - Exact Replica Stylesheet (shop.weverse.io)
   ======================================================== */

:root {
  --weverse-teal: #1ECAD3;
  --weverse-teal-hover: #17b0b8;
  --weverse-black: #111111;
  --weverse-gray-text: #666666;
  --weverse-light-text: #999999;
  --weverse-card-bg: #F7F7F8;
  --weverse-border: #EEEEEE;
  --badge-preorder-bg: #EBF5FF;
  --badge-preorder-text: #2563EB;
  --badge-gift-bg: #FDF2F8;
  --badge-gift-text: #DB2777;
  --badge-chart-bg: #FFF1F2;
  --badge-chart-text: #E11D48;
  --bts-purple: #7952de;
  --font-family: 'Noto Sans', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--weverse-black);
  background-color: #FFFFFF;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input, select {
  font-family: inherit;
}

/* ========================================================
   1. Official Weverse Shop Header
   ======================================================== */
.weverse-top-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--weverse-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.weverse-header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header Left Cluster: Logo & Dropdowns */
.header-left-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
}

.weverse-shop-logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  user-select: none;
}

.logo-bts {
  font-size: 22px;
  font-weight: 900;
  color: #1ecad3;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.logo-shop {
  font-size: 22px;
  font-weight: 800;
  color: var(--weverse-black);
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.header-dropdown-wrap {
  position: relative;
}

.header-select-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--weverse-black);
  padding: 4px 6px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.header-select-btn.plain {
  font-weight: 500;
  color: #333333;
}

.header-select-btn:hover {
  background: #F3F4F6;
}

.arrow-down {
  width: 9px;
  height: 6px;
  color: #666666;
}

.weverse-dropdown-box {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 140px;
  padding: 6px;
  z-index: 1100;
  display: none;
}

.weverse-dropdown-box.show {
  display: block;
}

.weverse-dropdown-box a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  color: #333333;
}

.weverse-dropdown-box a:hover, .weverse-dropdown-box a.active {
  background: #F3F4F6;
  color: var(--weverse-black);
  font-weight: 700;
}

#my-dropdown-box { left: auto; right: 0; width: min(268px, calc(100vw - 32px)); padding: 8px; }
#my-dropdown-box button { display: block; width: 100%; min-height: 38px; padding: 8px 10px; border-radius: 4px; text-align: left; color: #262336; font-size: 13px; }
#my-dropdown-box button:is(:hover, :focus-visible) { background: #f5f0ff; color: #6036b8; }
#my-menu-btn[aria-expanded="true"] { color: #6036b8; }
#my-menu-btn[aria-expanded="true"] .arrow-down { transform: rotate(180deg); }
.customer-account-dialog { width: min(400px, calc(100% - 32px)); margin: auto; padding: 24px; border: 1px solid #e2e8f0; border-radius: 10px; color: #262336; }
.customer-account-dialog::backdrop { background: rgb(17 24 39 / 46%); }
.customer-account-dialog h2 { font-size: 18px; margin-bottom: 12px; }
.customer-account-dialog :is(p, dl) { margin: 0 0 12px; font-size: 14px; }
.customer-account-dialog dt { font-weight: 700; }
.customer-account-dialog dd { margin: 0 0 6px; overflow-wrap: anywhere; }
.customer-account-dialog a, .checkout-saved-address { color: #6036b8; text-decoration: underline; }
.checkout-saved-address { font-size: 13px; margin-bottom: 10px; }
.customer-account-help { color: #475569; font-size: 13px; line-height: 1.5; }
.customer-address-form:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.customer-address-form label { font-size: 13px; font-weight: 600; }
.customer-address-form :is(input, select) { display: block; width: 100%; padding: 7px; border: 1px solid #cbd5e1; border-radius: 5px; font: inherit; }
.customer-address-street, .customer-address-actions { grid-column: 1 / -1; }
.customer-address-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.customer-history-list { max-height: 210px; overflow-y: auto; margin-bottom: 12px; font-size: 13px; color: #334155; }
.customer-history-list p { padding: 8px 0; border-bottom: 1px solid #e2e8f0; overflow-wrap: anywhere; }

/* Header Right Cluster */
.header-right-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
}

.country-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #333333;
}

.country-pill-address {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F3F4F6;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.country-pill-address:hover {
  background: #E5E7EB;
}

.country-code-txt {
  font-weight: 700;
  color: #111111;
  display: flex;
  align-items: center;
}

.country-code-txt::before {
  content: '🌐';
  font-size: 12px;
  margin-right: 4px;
}

.address-tip-txt {
  color: #666666;
  font-size: 11px;
  white-space: nowrap;
}

.globe-icon {
  width: 16px;
  height: 16px;
}

.header-link-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #333333;
  padding: 4px 6px;
}

.header-link-btn:hover {
  color: #111111;
}

.cart-pill-count {
  background: var(--weverse-black);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ========================================================
   2. Sticky Category Bar (Exact Screenshot)
   ======================================================== */
.weverse-category-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--weverse-border);
  position: sticky;
  top: 49px;
  z-index: 950;
}

.category-bar-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-bar-inner::-webkit-scrollbar {
  display: none;
}

.cat-nav-item {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  color: #666666;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.cat-nav-item:hover {
  color: #111111;
}

.cat-nav-item.active {
  color: #111111;
  font-weight: 700;
}

.cat-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #111111;
}

/* ========================================================
   3. Main Products Content
   ======================================================== */
.weverse-main-content {
  background: #FFFFFF;
  padding: 24px 0 80px;
  min-height: 80vh;
}

.weverse-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Filter Strip (Hide Sold Out + Search) */
.weverse-filter-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.hide-sold-out-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.hide-sold-out-label input {
  display: none;
}

.custom-round-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #CCCCCC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all 0.15s ease;
}

.check-mark {
  width: 10px;
  height: 8px;
  opacity: 0;
}

.hide-sold-out-label input:checked + .custom-round-checkbox {
  background: var(--weverse-teal);
  border-color: var(--weverse-teal);
}

.hide-sold-out-label input:checked + .custom-round-checkbox .check-mark {
  opacity: 1;
}

.hide-sold-out-label .label-text {
  font-size: 13px;
  color: #333333;
  font-weight: 500;
}

.mini-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.mini-search-wrapper input {
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  outline: none;
  width: 220px;
  transition: border-color 0.15s ease;
}

.mini-search-wrapper input:focus {
  border-color: var(--weverse-teal);
}

.mini-search-wrapper button {
  position: absolute;
  right: 8px;
  font-size: 16px;
  color: #999;
}

/* ========================================================
   4. 5-Column Products Grid (Exact Screenshot Replica)
   ======================================================== */
.weverse-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px 16px;
}

.wv-product-card {
  background: var(--weverse-card-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.wv-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.wv-card-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F3F4F6;
  position: relative;
  overflow: hidden;
}

.wv-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.wv-product-card:hover .wv-card-image {
  transform: scale(1.04);
}

.sold-out-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sold-out-tag {
  background: #111111;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Card Details */
.wv-card-info {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wv-card-title {
  font-size: 13px;
  font-weight: 500;
  color: #222222;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 35px;
}

.wv-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.wv-price-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--weverse-black);
}

.wv-tax-label {
  font-size: 11px;
  color: var(--weverse-light-text);
  margin-bottom: 8px;
}

/* Badges Row */
.wv-badges-row {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.badge-preorder {
  background: var(--badge-preorder-bg);
  color: var(--badge-preorder-text);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

.badge-gift {
  background: var(--badge-gift-bg);
  color: var(--badge-gift-text);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

.badge-chart {
  background: var(--badge-chart-bg);
  color: var(--badge-chart-text);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid #FECDD3;
}

.badge-special {
  background: #E6FFFA;
  color: #0D9488;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
}

/* Shipping Notice */
.wv-shipping-kr {
  font-size: 11px;
  color: #767676;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

/* Wishlist Heart on card */
.wv-wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888888;
  transition: all 0.15s ease;
  z-index: 2;
}

.wv-wish-btn:hover, .wv-wish-btn.active {
  color: #E11D48;
}

.wv-wish-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.wv-wish-btn.active svg {
  fill: #E11D48;
}

/* ========================================================
   5. Empty State & Common Buttons
   ======================================================== */
.empty-state {
  text-align: center;
  padding: 64px 20px;
}

.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.btn-weverse {
  background: var(--weverse-black);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.btn-weverse:hover {
  background: #333333;
}

.btn-weverse.full-width {
  width: 100%;
}

/* ========================================================
   6. Cookie Banner (from Screenshot bottom)
   ======================================================== */
.weverse-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #191919;
  color: #E5E5E5;
  font-size: 12px;
  padding: 14px 24px;
  z-index: 2000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}

.cookie-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-container a {
  color: #FFFFFF;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn-refuse, .cookie-btn-customize {
  color: #CCCCCC;
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid #444444;
  border-radius: 4px;
}

.cookie-btn-accept {
  background: var(--weverse-teal);
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
}

/* ========================================================
   7. Slide-out Drawers (Cart & Wishlist)
   ======================================================== */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 90vw;
  background: #FFFFFF;
  z-index: 1201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--weverse-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cart-title h3 {
  font-size: 16px;
  font-weight: 700;
}

.cart-qty-badge {
  font-size: 12px;
  color: #767676;
}

.close-drawer-btn {
  font-size: 22px;
  color: #767676;
  line-height: 1;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--weverse-border);
  position: relative;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  background: #F3F4F6;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 500;
  color: #111111;
  line-height: 1.35;
  margin-bottom: 4px;
  padding-right: 18px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.qty-num {
  width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-item-remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 16px;
  color: #999999;
}

.cart-empty {
  text-align: center;
  padding: 48px 16px;
}

.cart-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--weverse-border);
  background: #FFFFFF;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666666;
  margin-bottom: 6px;
}

.cart-summary-line strong {
  color: #111111;
}

.cart-summary-line.total-line {
  font-size: 15px;
  padding-top: 8px;
  border-top: 1px solid var(--weverse-border);
  margin-bottom: 12px;
}

.highlight-total {
  font-size: 18px;
  font-weight: 800;
  color: var(--weverse-black);
}

.btn-checkout {
  width: 100%;
  background: var(--weverse-black);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.btn-checkout:hover {
  background: #333333;
}

.btn-continue {
  width: 100%;
  border: 1px solid #DDDDDD;
  font-weight: 600;
  font-size: 12px;
  padding: 8px;
  border-radius: 6px;
}

/* ========================================================
   8. Modals (Detail, Checkout, Tracker, Login)
   ======================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  color: #888888;
  z-index: 10;
}

/* Product Detail Modal */
.product-detail-modal {
  width: 860px;
  max-width: 95vw;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 28px;
}

.modal-main-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  background: #F3F4F6;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.modal-price-box {
  background: #F8F9FA;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.modal-current-price {
  font-size: 20px;
  font-weight: 800;
  color: #111111;
}

.modal-perks-box {
  background: #F0FDF4;
  border: 1px dashed #86EFAC;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: 12px;
  color: #166534;
}

.modal-desc {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-actions-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--weverse-border);
}

.modal-add-cart-btn, .modal-buy-now-btn {
  flex: 1;
  height: 44px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.modal-add-cart-btn {
  background: #FFFFFF;
  border: 1.5px solid #111111;
  color: #111111;
}

.modal-buy-now-btn {
  background: var(--weverse-black);
  color: #FFFFFF;
}

/* Checkout Modal */
.checkout-flow-modal {
  width: 920px;
  max-width: 95vw;
}

.checkout-modal-content {
  padding: 28px;
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--weverse-border);
  margin-bottom: 20px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.section-heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-num {
  background: #111111;
  color: #FFFFFF;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 4px;
}

.form-group input, .form-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
}

.form-row {
  display: flex;
  gap: 10px;
}

.flex-1 {
  flex: 1;
}

.delivery-options-box {
  background: #F8F9FA;
  padding: 12px;
  border-radius: 6px;
  margin-top: 14px;
}

.delivery-radio-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.delivery-radio-content p {
  font-size: 11px;
  color: #767676;
}

.shipping-price-pill {
  font-weight: 700;
  color: #111111;
}

.payment-tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.pay-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #FFFFFF;
}

.pay-tab.active {
  border-color: #111111;
  background: #F8F9FA;
  font-weight: 700;
}

.weverse-cash-box, .paypal-box {
  background: #F8F9FA;
  padding: 12px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 14px;
}

.checkout-returns-note { margin: 0 0 12px; color: #475569; font-size: 12px; line-height: 1.5; }
.checkout-returns-note a { color: #6940c3; text-decoration: underline; }

.checkout-summary-box {
  background: #F8F9FA;
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.checkout-summary-box h4 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.summary-items-scroll {
  max-height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EEEEEE;
  padding-bottom: 8px;
}

.chk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.chk-item-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
}

.chk-item-info {
  flex: 1;
}

.chk-item-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

.summary-totals {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  color: #666666;
}

.summary-line.total {
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  border-top: 1px solid #DDDDDD;
  padding-top: 6px;
}

.btn-pay-now {
  width: 100%;
  background: #111111;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-pay-now:hover {
  background: #333333;
}

.payment-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Order Confirmed Modal */
.checkout-success-modal {
  width: 440px;
  max-width: 95vw;
}

.success-content {
  padding: 32px 24px;
  text-align: center;
}

.success-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.order-details-box {
  background: #F8F9FA;
  padding: 14px;
  border-radius: 8px;
  text-align: left;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 20px;
}

.order-details-box div {
  display: flex;
  justify-content: space-between;
}

.badge-success {
  color: #059669;
}

/* Tracker Modal & Login Modal */
.order-tracker-modal, .login-modal {
  width: 400px;
  max-width: 95vw;
}

.tracker-content, .login-modal-content {
  padding: 32px 24px;
  text-align: center;
}

.tracker-result {
  margin-top: 16px;
  background: #F8F9FA;
  padding: 12px;
  border-radius: 6px;
  text-align: left;
  font-size: 12px;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: #111111;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: toastIn 0.2s ease, toastOut 0.2s ease 2.8s forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  to { opacity: 0; }
}

/* ========================================================
   9. Responsive Media Queries
   ======================================================== */
@media (max-width: 1200px) {
  .weverse-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .weverse-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .modal-grid, .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .weverse-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.admin-badge-link {
  background: rgba(121, 82, 222, 0.12);
  color: #7952de !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 6px;
  border: 1px solid rgba(121, 82, 222, 0.25);
  font-size: 12px !important;
  transition: all 0.15s ease;
}

.admin-badge-link:hover {
  background: #7952de;
  color: #ffffff !important;
}

/* ========================================================
   Professional Enterprise Components: Top Bar, Hero & Footer
   ======================================================== */

/* 1. Top Announcement Bar */
.top-announcement-bar {
  background: #0f172a;
  color: #f1f5f9;
  font-size: 11px;
  line-height: 1.4;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.announcement-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.announcement-tag {
  background: var(--bts-purple);
  color: #ffffff;
  font-weight: 800;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.announcement-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-divider {
  opacity: 0.4;
}

.announcement-admin-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 4px;
  transition: all 0.15s;
}

.announcement-admin-link:hover {
  background: #38bdf8;
  color: #0f172a;
}

/* 2. Official BTS Hero Showcase Banner */
.bts-hero-showcase {
  background: linear-gradient(135deg, #130924 0%, #1c0e38 50%, #0d1a29 100%);
  border-radius: 16px;
  padding: 36px 44px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(19, 9, 36, 0.4);
}

.bts-hero-showcase::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(121, 82, 222, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  flex: 1;
  max-width: 620px;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-block;
  background: rgba(30, 202, 211, 0.18);
  color: #1ecad3;
  border: 1px solid rgba(30, 202, 211, 0.4);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 22px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-btn-primary {
  background: #1ecad3;
  color: #0f172a;
  border: none;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(30, 202, 211, 0.35);
}

.hero-btn-primary:hover {
  transform: translateY(-1px);
  background: #25dbe5;
  box-shadow: 0 6px 20px rgba(30, 202, 211, 0.5);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-visual {
  z-index: 2;
}

.hero-card-preview {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #1ecad3;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  padding: 5px;
  border-radius: 4px;
}

/* 3. Trust Badges Strip */
.trust-badges-strip {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 32px 0;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  font-size: 28px;
  width: 52px;
  height: 52px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}

.trust-text strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 700;
}

.trust-text p {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* Store footer */
.bts-official-footer {
  background: #fff;
  border-top: 1px solid #e9e9ee;
  padding: 36px 24px 30px;
  color: #555b68;
  font-size: 13px;
  line-height: 1.55;
}
.shop-footer-content { width: 100%; max-width: 1080px; margin: 0 auto; }
.shop-footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 20px; }
.shop-footer-links :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: none;
  color: #262336;
  font: inherit;
  text-decoration: none;
}
.shop-footer-links :is(a, button):hover { text-decoration: underline; }
.shop-footer-links :is(a, button):focus-visible { outline: 2px solid #7952de; outline-offset: 3px; }
.shop-footer-operator { margin: 0 0 12px; }
#store-operator-address { white-space: pre-line; }
.shop-footer-disclosure { margin: 0 0 16px; }
.shop-footer-copyright { border-top: 1px solid #e9e9ee; margin: 0; padding-top: 14px; font-size: 12px; }
.shop-cookie-settings { width: min(400px, calc(100% - 32px)); margin: auto; padding: 22px; border: 1px solid #ddd; border-radius: 10px; color: #262336; }
.shop-cookie-settings::backdrop { background: rgb(17 24 39 / 46%); }
.shop-cookie-settings h2 { font-size: 17px; margin: 0 0 12px; }
.shop-cookie-settings p { margin: 0 0 14px; font-size: 13px; }
.shop-cookie-settings a { text-decoration: underline; }
@media (max-width: 600px) {
  .bts-official-footer { padding: 22px 16px 20px; }
  .shop-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin-bottom: 14px; }
  .shop-footer-links :is(a, button) { min-height: 34px; text-align: left; }
}

/* Quick Add Button on Product Card */
.wv-quick-add-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 5;
}

.wv-product-card:hover .wv-quick-add-btn {
  opacity: 1;
  transform: translateY(0);
}

.wv-quick-add-btn:hover {
  background: var(--bts-purple);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .bts-hero-showcase {
    flex-direction: column;
    padding: 24px;
    text-align: center;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .announcement-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-badges-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   BTS Account (Sign Up & Log In) Modal - Weverse Replica
   ======================================================== */
.bts-auth-modal {
  width: 520px;
  max-width: 95vw;
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 36px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.auth-tabs-header {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.auth-inline-error {
  background: #fee2e2;
  border: 1px solid #f87171;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 16px;
  animation: shake 0.3s ease;
}

.pass-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pass-input-wrap input {
  width: 100%;
  padding-right: 42px;
}

.pass-input-wrap .btn-toggle-pass {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.6;
}

.pass-input-wrap .btn-toggle-pass:hover {
  opacity: 1;
}

.auth-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.auth-brand-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.auth-brand-logo.small {
  margin-bottom: 0;
}

.logo-account {
  font-size: 22px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.5px;
}

.auth-main-heading {
  font-size: 32px;
  font-weight: 900;
  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.auth-sub-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
}

.social-signup-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-auth-pill {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-auth-pill:hover {
  border-color: #111111;
  background: #fafafa;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-auth-pill .pill-icon {
  flex-shrink: 0;
}

.social-circles-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.social-round-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.social-round-btn:hover {
  border-color: #111111;
  transform: scale(1.08);
}

.auth-switch-text {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin-top: 24px;
}

.auth-link-bold {
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.auth-link-bold:hover {
  color: var(--bts-purple);
}

/* Forms: Email Sign-up & Log In */
.auth-form-container {
  max-width: 440px;
  margin: 0 auto;
}

.auth-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.auth-back-btn {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s;
}

.auth-back-btn:hover {
  color: #111111;
  background: #f1f5f9;
}

.auth-form-title {
  font-size: 24px;
  font-weight: 800;
  color: #111111;
  margin-bottom: 6px;
}

.auth-form-sub {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 22px;
}

.auth-agreements-box {
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #334155;
  cursor: pointer;
}

.auth-agree-label input {
  margin-top: 2px;
}

.btn-create-acct {
  height: 48px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 8px;
}

.auth-divider-or {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.auth-divider-or::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider-or span {
  position: relative;
  background: #ffffff;
  padding: 0 12px;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 700;
}

.social-quick-login-row {
  display: flex;
  gap: 12px;
}

.social-quick-login-row .btn-auth-pill {
  height: 44px;
  font-size: 13px;
}

.btn-header-signup {
  background: var(--weverse-teal);
  color: #0f172a;
  border: none;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-header-signup:hover {
  background: #25dbe5;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .bts-auth-modal {
    padding: 30px 20px;
  }
  .auth-split-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .auth-main-heading {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden;
  }
  .address-tip-txt {
    display: none;
  }
  .country-pill-address {
    padding: 4px 6px;
  }
  .bts-auth-modal {
    padding: 24px 16px;
    max-width: 95%;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  .modal-dialog {
    max-height: 92vh;
    overflow-y: auto;
    padding: 20px 16px;
  }
  .weverse-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 8px;
  }
  .item-title {
    font-size: 13px;
  }
  .item-price {
    font-size: 14px;
  }
}

@media print {
  .weverse-topbar,
  .weverse-header,
  .weverse-nav-strip,
  .bts-official-footer,
  .modal-close-btn,
  .btn-weverse {
    display: none !important;
  }
  .modal-backdrop {
    background: transparent !important;
    position: static !important;
    display: block !important;
  }
  .checkout-success-modal {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* International Export & Compliance Styling */
.country-shipping-warning {
  background: #fef2f2;
  border: 1px solid #f87171;
  color: #991b1b;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.4;
  display: none;
}
.country-shipping-warning strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  color: #b91c1c;
}

.export-compliance-box {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #4c1d95;
  line-height: 1.4;
}
.export-compliance-box .compliance-badge {
  display: inline-block;
  background: #7952de;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.export-compliance-box p {
  margin: 0;
  color: #5b21b6;
}

.country-pill-address {
  cursor: pointer;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  transition: all 0.2s;
}
.country-pill-address:hover {
  background: #ede9fe;
  border-color: #c4b5fd;
}

/* ========================================================
   Bug-fix additions: loading/error states, pending badge,
   overflow guards, header & checkout responsiveness
   ======================================================== */

html, body {
  overflow-x: hidden;
}

.products-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
  font-size: 14px;
}

.products-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: #334155;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.badge-warning {
  color: #b45309;
  font-weight: 700;
}

@media (max-width: 768px) {
  .weverse-header-container {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px;
  }
  .header-left-cluster,
  .header-right-cluster {
    gap: 8px;
    flex-wrap: wrap;
  }
  .address-tip-txt {
    display: none;
  }
  .country-pill-address {
    padding: 4px 8px;
  }
  .announcement-text {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .weverse-filter-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mini-search-wrapper,
  .mini-search-wrapper input {
    width: 100%;
  }
  .payment-tabs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================================
   Product detail modal — multi-image, variants, quantity
   ======================================================== */
.modal-main-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  background: #F3F4F6;
}
.modal-photo-gallery { min-width: 0; }
.modal-photo-caption { margin: 8px 0 0; color: #475569; font-size: 13px; }
.modal-photo-unavailable { margin: 0; padding: 28px 12px; color: #475569; text-align: center; }
.modal-product-details { grid-column: 1 / -1; min-width: 0; border-top: 1px solid #e2e8f0; padding-top: 20px; }
.modal-product-details h3 { margin: 0 0 10px; font-size: 16px; }
.modal-product-details .modal-desc { white-space: pre-line; overflow-wrap: anywhere; }
.modal-information-table { width: 100%; border-collapse: collapse; table-layout: fixed; color: #334155; font-size: 13px; }
.modal-information-table :is(th, td) { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.modal-information-table th { width: 34%; background: #f7f8fa; font-weight: 600; }
.modal-information-table td { white-space: pre-line; }
.modal-product-returns { margin-top: 20px; font-size: 13px; line-height: 1.55; }
.modal-product-returns p { margin-bottom: 8px; }
.modal-product-returns a { color: #6940c3; text-decoration: underline; }
.modal-artist {
  font-size: 12px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.modal-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.modal-thumb {
  width: 64px;
  min-height: 72px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dbe1ea;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  color: #1f2937;
  font-size: 11px;
}
.modal-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}
.modal-thumb img[hidden] { display: none; }
.modal-thumb span { display: block; margin-top: 4px; }
.modal-thumb:focus-visible { outline: 2px solid #7952de; outline-offset: 2px; }
.modal-thumb.active {
  border-color: #7952de;
  background: #f5f0ff;
}
.modal-variants {
  margin-bottom: 12px;
}
.modal-field-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}
.variant-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.variant-chip {
  background: #F8F9FA;
  border: 1px solid #DDDDDD;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}
.modal-stock-line {
  font-size: 12px;
  color: #475569;
  margin: 8px 0 12px;
}
.modal-stock-line strong {
  color: #111;
}
.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
}
.modal-stock-hint {
  font-size: 12px;
  color: #767676;
}
.modal-wish-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid #111111;
  border-radius: 6px;
  background: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.modal-wish-btn.active {
  background: #fff1f2;
  border-color: #E11D48;
}
.modal-policy-links {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: #666;
}
.modal-policy-links a {
  color: #7952de;
  font-weight: 600;
  text-decoration: underline;
}



/* Country picker in checkout */
.country-picker {
  position: relative;
}

.country-picker-search {
  width: 100%;
}

.country-picker-list {
  display: none;
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 240px;
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.country-picker-list.is-open {
  display: block;
}

.country-picker-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 0;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.country-picker-item:hover,
.country-picker-item:focus-visible {
  background: #f3f0fd;
}

.country-picker-item.is-selected {
  background: #f3f0fd;
  font-weight: 700;
}

.country-picker-flag {
  font-size: 16px;
  line-height: 1;
}

.country-picker-name {
  flex: 1;
}

.country-picker-meta {
  color: #64748b;
  font-size: 11px;
  white-space: nowrap;
}

.country-picker-empty {
  padding: 12px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}
