:root {
  --color-text: #222;
  --color-muted: #666;
  --color-border: #e8e8e8;
  --color-bg: #f5f5f5;
  --color-sale: #e53935;
  --color-dark: #2c2c2c;
  --container: 1200px;
  --font-sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --header-sticky-offset: 0px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --float-edge: 16px;
  --float-cart-size: 52px;
  --float-line-size: 52px;
  --float-gap: 12px;
  --float-cart-bottom: calc(var(--float-edge) + var(--safe-bottom));
  --float-line-bottom: calc(var(--float-cart-bottom) + var(--float-cart-size) + var(--float-gap));
  --float-backtotop-bottom: calc(var(--float-line-bottom) + var(--float-line-size) + var(--float-gap));
  --mobile-tabbar-height: 56px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 12px;
}
@media (min-width: 768px) {
  .container { padding: 0 16px; }
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Header */
.site-header {
  position: sticky;
  top: var(--header-sticky-offset);
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--color-border);
}
.admin-bar .site-header { top: var(--header-sticky-offset); }

.header-top {
  background: #f8f8f8;
  font-size: 11px;
  color: var(--color-muted);
  border-bottom: 1px solid var(--color-border);
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 32px;
}
.header-promo {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-promo a { color: var(--color-muted); text-decoration: none; }
.header-promo a:hover { color: var(--color-text); }
.header-top-links {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.header-top-links a {
  text-decoration: none;
  color: var(--color-muted);
  white-space: nowrap;
}
.header-top-links a:hover { color: var(--color-text); }
.header-top-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cart-count-top {
  position: static;
  min-width: 16px;
  height: 16px;
  font-size: 10px;
  border: 0;
  margin-left: 2px;
}

.header-main-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand actions"
    "search search";
  align-items: center;
  gap: 10px 12px;
  padding: 10px 0 12px;
}
.site-branding {
  grid-area: brand;
  min-width: 0;
  max-width: min(148px, 42vw);
  flex-shrink: 0;
}
.site-branding img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  object-position: left center;
}
.site-branding .custom-logo-link {
  display: block;
  line-height: 0;
  max-width: 100%;
}
.site-title {
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-dark);
  white-space: nowrap;
}

.header-search {
  grid-area: search;
  width: 100%;
  min-width: 0;
}
.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.search-field {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  background: transparent;
}
.search-field::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.search-clear {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  color: #999;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.search-clear:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-submit {
  flex-shrink: 0;
  border: 0;
  background: var(--color-dark);
  color: #fff;
  padding: 0 18px;
  min-height: 40px;
  font-size: 13px;
  cursor: pointer;
}

.header-actions {
  grid-area: actions;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 12px;
  color: var(--color-text);
  padding: 7px 10px;
  white-space: nowrap;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  min-height: 36px;
}
.header-action:hover {
  border-color: #ccc;
  background: #fafafa;
}
.header-action-text { line-height: 1; }
.header-action-cart { padding-right: 12px; }
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--color-sale);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  border: 2px solid #fff;
}
.cart-count.is-empty { display: none; }

/* Nav – horizontal scroll like nanawill */
.primary-nav {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  position: relative;
}
.primary-nav::before,
.primary-nav::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .2s;
}
.primary-nav::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}
.primary-nav::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}
.primary-nav.nav-can-scroll::after { opacity: 1; }
.primary-nav.nav-can-scroll:not(.nav-at-start)::before { opacity: 1; }
.nav-scroll-btn {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 130;
  width: 32px;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 0, 0, .06);
  padding: 0;
}
.nav-scroll-btn:hover {
  background: #fff;
  color: #000;
}
.nav-scroll-prev { left: 0; }
.nav-scroll-next { right: 0; }
.nav-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-left: 0;
  padding-right: 0;
}
.nav-scroll-wrap::-webkit-scrollbar { display: none; }
.nav-menu {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 12px;
  min-width: max-content;
}
.nav-menu li a {
  display: block;
  padding: 11px 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu .current-product_cat-ancestor > a {
  border-bottom-color: var(--color-dark);
  color: #000;
}

.nav-menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #999;
  vertical-align: middle;
  transform: translateY(-1px);
}

.nav-menu .sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 148px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.nav-menu .sub-menu li a {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  border-bottom: 0;
}

.nav-menu .sub-menu li a:hover,
.nav-menu .sub-menu .current-menu-item > a {
  background: #f8f8f8;
  border-bottom-color: transparent;
}

.nav-sub-panel {
  border-bottom: 1px solid var(--color-border);
  background: #fafafa;
}
.nav-sub-panel[hidden] { display: none !important; }
.nav-sub-panel-inner {
  padding: 8px 0 10px;
}
.nav-sub-panel .sub-menu {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.nav-sub-panel .sub-menu li a {
  display: block;
  padding: 10px 8px;
  font-size: 13px;
  border-bottom: 0;
}

@media (min-width: 768px) {
  .nav-menu > li.menu-item-has-children { position: relative; }
  .nav-menu > li.menu-item-has-children > .sub-menu {
    display: none !important;
  }
  .nav-menu > li.menu-item-has-children.is-open > a,
  .nav-menu > li.menu-item-has-children.is-active > a {
    border-bottom-color: var(--color-dark);
    color: #000;
  }
  .nav-scroll-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-scroll-btn[hidden] { display: none !important; }
  .primary-nav.nav-can-scroll .nav-scroll-wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .nav-sub-panel-desktop:not([hidden]) {
    display: block !important;
  }
  .nav-sub-panel-desktop {
    background: #fafafa;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-sub-panel-desktop .nav-sub-panel-inner {
    padding: 10px 0 12px;
  }
  .nav-sub-panel-desktop .sub-menu {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    grid-template-columns: unset;
  }
  .nav-sub-panel-desktop .sub-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
  }
  .nav-sub-panel-desktop .sub-menu li a:hover {
    background: #eee;
    color: #000;
  }
}

@media (max-width: 767px) {
  .header-actions { display: none; }
  .nav-menu > li.menu-item-has-children > .sub-menu {
    display: none !important;
  }
  .nav-menu > li.menu-item-has-children.is-active > a {
    border-bottom-color: var(--color-dark);
    color: #000;
  }
}

@media (min-width: 768px) {
  .header-top { font-size: 12px; }
  .header-top-inner { min-height: 34px; }
  .header-main-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 14px 0 16px;
    gap: 20px;
  }
  .site-branding {
    max-width: 200px;
    width: auto;
  }
  .site-branding img { max-height: 52px; }
  .site-title { font-size: 22px; }
  .header-search {
    flex: 1 1 auto;
    max-width: 520px;
    margin: 0 auto;
  }
  .header-actions {
    gap: 10px;
    margin-left: auto;
  }
  .header-action {
    font-size: 13px;
    padding: 8px 14px;
    min-height: 40px;
  }
  .search-field { padding: 11px 18px; font-size: 14px; }
  .search-submit { padding: 0 24px; min-height: 44px; font-size: 14px; }
  .nav-menu li a { padding: 14px 18px; font-size: 14px; }
}

@media (min-width: 992px) {
  .header-main-inner { gap: 28px; }
  .header-search { max-width: 560px; }
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: #dfe5e8;
}
.hero-carousel-track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.hero-slide-link {
  position: relative;
  display: block;
  min-height: 200px;
  text-decoration: none;
  color: #fff;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.38), rgba(0,0,0,.12));
}
.hero-slide.tone-a .hero-slide-link {
  background: linear-gradient(135deg, #7f9299 0%, #b0bec5 55%, #cfd8dc 100%);
}
.hero-slide.tone-b .hero-slide-link {
  background: linear-gradient(135deg, #8d7b72 0%, #b7a89d 55%, #d7ccc8 100%);
}
.hero-slide.tone-c .hero-slide-link {
  background: linear-gradient(135deg, #7a6b7d 0%, #a89aaa 55%, #c9bcc9 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 36px 12px;
}
.hero-sub { font-style: italic; margin: 0 0 6px; opacity: .92; font-size: 13px; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 8vw, 56px);
  letter-spacing: .12em;
  margin: 0 0 6px;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.15;
}
.hero-desc { margin: 0 0 18px; font-size: 14px; }
.hero-btn {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #fff;
  letter-spacing: .08em;
  font-size: 13px;
}
.hero-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-dot.is-active { background: #fff; }
@media (min-width: 768px) {
  .hero-slide-link { min-height: 280px; }
  .hero-content { padding: 56px 16px; }
  .hero-desc { font-size: 16px; margin-bottom: 24px; }
  .hero-carousel-dots { bottom: 16px; }
}

/* Products section */
.products-section { background: var(--color-bg); padding: 16px 0 28px; }
.products-section + .products-section { padding-top: 8px; }
.section-header { margin-bottom: 12px; }
.section-heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.section-heading-main {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--color-dark);
}
.section-heading-sub {
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: .04em;
}
.section-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-dark);
  display: inline-block;
}
.section-more { text-align: center; margin-top: 20px; }
.section-more a {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--color-dark);
  text-decoration: none;
  font-size: 13px;
}
.empty-notice {
  text-align: center;
  color: var(--color-muted);
  padding: 40px 16px;
  font-size: 14px;
}
@media (min-width: 768px) {
  .section-heading-main { font-size: 18px; }
  .section-heading-sub { font-size: 13px; }
  .products-section { padding: 24px 0 40px; }
}
@media (min-width: 768px) {
  .products-section { padding: 24px 0 40px; }
  .section-title { font-size: 16px; margin-bottom: 16px; }
}

/* WooCommerce grid */
.woocommerce ul.products,
ul.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 480px) {
  .woocommerce ul.products, ul.product-grid { gap: 10px; }
}
@media (min-width: 768px) {
  .woocommerce ul.products, ul.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (min-width: 992px) {
  .woocommerce ul.products, ul.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.woocommerce ul.products li.product,
ul.product-grid li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 0 !important;
  min-width: 0;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none !important; }

.woocommerce ul.products li.product a img { margin: 0; width: 100%; }

/* Product card */
.woocommerce ul.products li.product .product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.product-thumb {
  position: relative;
  overflow: hidden;
  background: #f9f9f9;
  aspect-ratio: 3/4;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute;
  left: 0;
  top: 6px;
  background: var(--color-sale);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  line-height: 1.3;
  z-index: 1;
}
.product-info {
  padding: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;
  margin: 0 0 4px;
  padding: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 0;
}
.product-price,
.woocommerce ul.products li.product .price {
  color: var(--color-sale) !important;
  font-weight: 700;
  padding: 0;
  font-size: 14px;
  margin-top: auto;
}
.product-price del,
.woocommerce ul.products li.product .price del {
  color: #999 !important;
  font-size: 11px;
  font-weight: 400;
  display: block;
}
.product-price ins,
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.woocommerce span.onsale {
  background: var(--color-sale) !important;
  border-radius: 0;
  min-height: auto;
  line-height: 1.3;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 700;
  left: 0;
  top: 6px;
  margin: 0;
}

@media (min-width: 768px) {
  .product-info { padding: 10px; }
  .product-name,
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 12px; }
  .product-price,
  .woocommerce ul.products li.product .price { font-size: 15px; }
  .product-price del,
  .woocommerce ul.products li.product .price del { font-size: 12px; display: inline; }
  .product-badge, .woocommerce span.onsale { font-size: 11px; padding: 4px 8px; top: 8px; }
}

/* Catalog page */
.catalog-page {
  background: #fff;
  padding: 12px 0 32px;
  min-height: 50vh;
  padding-bottom: calc(32px + var(--safe-bottom));
}
.catalog-header { margin-bottom: 10px; }
.catalog-breadcrumb {
  font-size: 11px;
  color: var(--color-muted);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catalog-breadcrumb a { color: var(--color-muted); text-decoration: none; }
.catalog-breadcrumb span { margin: 0 4px; }
.catalog-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: .02em;
  line-height: 1.3;
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.catalog-sort {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.catalog-sort::-webkit-scrollbar { display: none; }
.sort-link {
  display: inline-block;
  flex-shrink: 0;
  padding: 8px 12px;
  font-size: 12px;
  text-decoration: none;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  background: #fafafa;
}
.sort-link:hover, .sort-link.is-active {
  color: #fff;
  border-color: var(--color-dark);
  background: var(--color-dark);
}
.catalog-count {
  margin: 0;
  font-size: 11px;
  color: var(--color-muted);
  text-align: right;
}

@media (min-width: 768px) {
  .catalog-page { padding: 16px 0 48px; }
  .catalog-title { font-size: 28px; }
  .catalog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
  }
  .catalog-sort { flex-wrap: wrap; overflow: visible; }
  .sort-link {
    padding: 6px 14px;
    font-size: 13px;
    border-color: transparent;
    background: transparent;
  }
  .sort-link:hover, .sort-link.is-active {
    color: var(--color-dark);
    border-color: var(--color-border);
    background: #fafafa;
  }
  .catalog-count { font-size: 12px; }
}

/* Pagination */
.woocommerce nav.woocommerce-pagination { margin-top: 20px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 0;
}
.woocommerce nav.woocommerce-pagination ul li { border: 0; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-block;
  min-width: 36px;
  min-height: 36px;
  line-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  background: #fff;
  font-size: 13px;
  text-decoration: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--color-dark);
  color: #fff;
  border-color: var(--color-dark);
}

.woocommerce-result-count, .woocommerce-ordering { display: none !important; }
.woocommerce-products-header__title,
.woocommerce-page-title,
.post-type-archive-product .page-title {
  display: none !important;
}

.catalog-page .woocommerce-info,
.catalog-page .woocommerce-noreviews,
.catalog-page p.cart-empty {
  margin: 0;
  padding: 14px 16px;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-top: 3px solid #2ea2cc;
  color: #555;
  font-size: 13px;
  line-height: 1.6;
  list-style: none;
}
.catalog-page .woocommerce-info::before {
  color: #2ea2cc;
}

.catalog-empty-notice {
  margin: 0;
  padding: 14px 16px;
  background: #f8f8f8;
  border: 1px solid #e5e5e5;
  border-top: 3px solid #2ea2cc;
  color: #555;
  font-size: 13px;
}

.search-results-list { display: grid; gap: 16px; }
.search-result-title { font-size: 16px; margin: 0 0 6px; }
.search-result-title a { text-decoration: none; color: var(--color-text); }
.search-result-item p { margin: 0; color: var(--color-muted); font-size: 13px; }

/* Footer – Scheme A dark luxury */
.site-footer-lux {
  --footer-lux-bg: #1a1a1a;
  --footer-lux-text: rgba(255, 255, 255, .78);
  --footer-lux-muted: rgba(255, 255, 255, .52);
  --footer-lux-line: rgba(255, 255, 255, .12);
  background: var(--footer-lux-bg);
  border-top: 0;
  margin-top: 24px;
  color: var(--footer-lux-text);
}
.footer-lux-main {
  padding: 36px 0 28px;
}
.footer-lux-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-lux-brand {
  text-align: center;
}
.footer-lux-wordmark {
  --footer-wordmark-ls: .42em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  line-height: 1;
}
.footer-lux-wordmark-text {
  display: inline-block;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: var(--footer-wordmark-ls);
  padding-right: var(--footer-wordmark-ls);
  text-transform: uppercase;
  transform: translateX(calc(var(--footer-wordmark-ls) / 2));
}
.footer-lux-tagline {
  --footer-tagline-ls: .22em;
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: var(--footer-tagline-ls);
  color: var(--footer-lux-muted);
  transform: translateX(calc(var(--footer-tagline-ls) / 2));
}
.footer-lux-mobile-meta {
  display: none;
}
.footer-lux-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}
.footer-lux-title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #fff;
  text-transform: uppercase;
}
.footer-lux-title::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, .35);
  margin-top: 8px;
}
.footer-lux-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-lux-links li { margin: 0 0 8px; }
.footer-lux-links a,
.footer-lux-contact a {
  color: var(--footer-lux-text);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
  transition: color .2s;
}
.footer-lux-links a:hover,
.footer-lux-contact-list a:hover,
.footer-lux-contact a:hover { color: #fff; }
.footer-lux-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-lux-contact-list li {
  margin: 0 0 8px;
  color: var(--footer-lux-muted);
  font-size: 13px;
  line-height: 1.6;
}
.footer-lux-contact-list a {
  color: var(--footer-lux-text);
  text-decoration: none;
}
.footer-lux-contact-mobile {
  display: none;
}
.footer-line-acc {
  border: 0;
}
.footer-line-acc-item {
  margin-top: 4px !important;
}
.footer-line-acc summary {
  list-style: none;
  cursor: pointer;
  color: var(--footer-lux-text);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.footer-line-acc summary::-webkit-details-marker { display: none; }
.footer-line-acc summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid rgba(255, 255, 255, .55);
  border-bottom: 1.5px solid rgba(255, 255, 255, .55);
  transform: rotate(45deg);
  transition: transform .2s;
  margin-top: -3px;
}
.footer-line-acc[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.footer-line-acc-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.footer-line-acc-list li {
  margin: 0 0 6px !important;
}
.footer-line-acc-list a {
  font-size: 12px;
  color: var(--footer-lux-muted) !important;
}
.footer-line-acc-list a:hover {
  color: #fff !important;
}
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.footer-social-btn:hover {
  border-color: rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .06);
  transform: translateY(-1px);
}
.footer-social-glyph {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, .88);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.footer-social-btn.social-line .footer-social-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4 12c0-3.5 3.1-7 8-7s8 3.5 8 7-3.1 7-8 7c-.8 0-1.6-.1-2.3-.3L6 20l.8-3.1C5.3 15.4 4 13.8 4 12z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4 12c0-3.5 3.1-7 8-7s8 3.5 8 7-3.1 7-8 7c-.8 0-1.6-.1-2.3-.3L6 20l.8-3.1C5.3 15.4 4 13.8 4 12z'/%3E%3C/svg%3E");
}
.footer-social-btn.social-fb .footer-social-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M14 8h3V5h-3c-2.8 0-4 1.7-4 4v2H7v3h3v7h3v-7h3l1-3h-4V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M14 8h3V5h-3c-2.8 0-4 1.7-4 4v2H7v3h3v7h3v-7h3l1-3h-4V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
}
.footer-social-btn.social-ig .footer-social-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 3h8a5 5 0 0 1 5 5v8a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8a5 5 0 0 1 5-5zm8 2H8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3zm-4 3.5A4.5 4.5 0 1 1 7.5 13 4.5 4.5 0 0 1 12 8.5zm0 2A2.5 2.5 0 1 0 14.5 13 2.5 2.5 0 0 0 12 10.5zM17.2 7a1 1 0 1 1-1 1 1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 3h8a5 5 0 0 1 5 5v8a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5V8a5 5 0 0 1 5-5zm8 2H8a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3zm-4 3.5A4.5 4.5 0 1 1 7.5 13 4.5 4.5 0 0 1 12 8.5zm0 2A2.5 2.5 0 1 0 14.5 13 2.5 2.5 0 0 0 12 10.5zM17.2 7a1 1 0 1 1-1 1 1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}
.footer-social-btn.social-yt .footer-social-glyph {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C17.8 5 12 5 12 5s-5.8 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8C6.2 19 12 19 12 19s5.8 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15.5v-7l6 3.5-6 3.5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M21.6 7.2a2.5 2.5 0 0 0-1.8-1.8C17.8 5 12 5 12 5s-5.8 0-7.8.4A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.8 1.8C6.2 19 12 19 12 19s5.8 0 7.8-.4a2.5 2.5 0 0 0 1.8-1.8A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15.5v-7l6 3.5-6 3.5z'/%3E%3C/svg%3E");
}
.footer-lux-social-mobile {
  display: none;
}
.footer-lux-bottom {
  border-top: 1px solid var(--footer-lux-line);
  padding: 16px 0;
  padding-bottom: calc(16px + var(--safe-bottom));
}
.footer-lux-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-lux-copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--footer-lux-muted);
}
.footer-lux-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.footer-lux-legal a {
  color: var(--footer-lux-muted);
  text-decoration: none;
}
.footer-lux-legal a:hover { color: #fff; }
.footer-lux-legal span { color: rgba(255, 255, 255, .25); }

/* Hide third-party footer badges */
.site-footer-lux img[src*="1688"],
.site-footer-lux a[href*="1688"] {
  display: none !important;
}

@media (min-width: 768px) {
  .site-footer-lux { margin-top: 40px; }
  .footer-lux-main { padding: 48px 0 36px; }
  .footer-lux-wordmark { font-size: 34px; }
  .footer-lux-wordmark-text { font-size: 34px; }
  .footer-lux-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }
  .footer-lux-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .footer-lux-main { padding: 28px 0 20px; }
  .footer-lux-inner {
    gap: 18px;
    align-items: center;
  }
  .footer-lux-wordmark {
    --footer-wordmark-ls: .32em;
  }
  .footer-lux-wordmark-text {
    font-size: 22px;
  }
  .footer-lux-tagline {
    --footer-tagline-ls: .16em;
    margin-top: 8px;
    font-size: 11px;
  }
  .footer-lux-grid { display: none; }
  .footer-lux-mobile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .footer-lux-contact-mobile {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0;
  }
  .footer-lux-contact-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  .footer-lux-contact-mobile-list li {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
  }
  .footer-lux-contact-mobile-list a {
    color: rgba(255, 255, 255, .82);
    word-break: break-word;
  }
  .footer-lux-contact-mobile .footer-line-acc {
    width: 100%;
    text-align: center;
  }
  .footer-lux-contact-mobile .footer-line-acc summary {
    justify-content: center;
  }
  .footer-lux-contact-mobile .footer-line-acc-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .drawer-contact-list li a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: var(--color-muted);
    font-size: 13px;
  }
  .footer-lux-social-mobile {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .footer-social-icons-mobile {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 auto;
  }
}

/* Floating cart (TAIO WC) + LINE + back to top – stacked, no overlap */
.taiowc-content {
  bottom: var(--float-cart-bottom) !important;
  right: var(--float-edge) !important;
}

.float-line {
  position: fixed;
  right: var(--float-edge);
  bottom: var(--float-line-bottom);
  z-index: 999999991;
}
.float-line-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: var(--float-line-size);
  height: var(--float-line-size);
  border: 0;
  border-radius: 50%;
  background: #06c755;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 199, 85, .35);
  padding: 0;
  transition: transform .2s, box-shadow .2s;
}
.float-line-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 199, 85, .42);
}
.float-line-btn.is-open {
  background: #05b34c;
}
.float-line-icon {
  width: 22px;
  height: 22px;
  background: #fff;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4 12c0-3.5 3.1-7 8-7s8 3.5 8 7-3.1 7-8 7c-.8 0-1.6-.1-2.3-.3L6 20l.8-3.1C5.3 15.4 4 13.8 4 12z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4 12c0-3.5 3.1-7 8-7s8 3.5 8 7-3.1 7-8 7c-.8 0-1.6-.1-2.3-.3L6 20l.8-3.1C5.3 15.4 4 13.8 4 12z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.float-line-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}
.float-line-panel {
  position: absolute;
  right: calc(100% + 10px);
  bottom: 0;
  min-width: 148px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  padding: 10px 0;
}
.float-line-panel[hidden] { display: none !important; }
.float-line-panel-title {
  margin: 0;
  padding: 0 14px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-dark);
  border-bottom: 1px solid #f0f0f0;
}
.float-line-panel-list {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
}
.float-line-panel-list li a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
}
.float-line-panel-list li a:hover {
  background: #f5f5f5;
  color: #06c755;
}

.back-to-top {
  position: fixed;
  right: var(--float-edge);
  bottom: var(--float-backtotop-bottom);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--color-dark);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 999999990;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

body.woocommerce-cart .back-to-top,
body.woocommerce-checkout .back-to-top {
  bottom: var(--float-cart-bottom);
}

@media (max-width: 767px) {
  :root {
    --float-edge: 12px;
    --float-cart-size: 50px;
    --float-line-size: 50px;
    --float-gap: 10px;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
  }
  .float-line-panel {
    right: 0;
    bottom: calc(100% + 10px);
    min-width: 140px;
  }
}

/* WordPress / WooCommerce mobile fixes */
body.admin-bar { --header-sticky-offset: 46px; }
@media (min-width: 783px) {
  body.admin-bar { --header-sticky-offset: 32px; }
}

@media (max-width: 379px) {
  .header-promo { font-size: 10px; }
  .site-branding { max-width: min(128px, 38vw); }
  .header-action { font-size: 11px; padding: 6px 8px; min-height: 34px; }
  .search-field { padding: 9px 12px; font-size: 13px; }
  .search-submit { padding: 0 14px; min-height: 38px; font-size: 12px; }
  .nav-menu li a { padding: 10px 10px; font-size: 11px; }
  .hero-content { padding: 28px 10px; }
  .section-title { font-size: 14px; }
}

  .woocommerce nav.woocommerce-pagination ul li span {
    min-width: 34px;
    min-height: 34px;
    line-height: 32px;
    font-size: 12px;
  }
}

.site-main { min-height: 40vh; }

/* Single product basic mobile */
@media (max-width: 767px) {
  .woocommerce div.product {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    float: none !important;
  }
}

/* ===== Mobile nanawill-style layout (max 767px) ===== */
.mobile-toolbar,
.mobile-search-row,
.mobile-member-strip,
.mobile-home-blocks,
.mobile-tabbar,
.mobile-drawer {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--mobile-tabbar-height) + var(--safe-bottom));
  }

  .header-top-links-desktop,
  .header-main-desktop,
  .primary-nav-desktop,
  .nav-sub-panel-desktop,
  .hero-carousel-desktop {
    display: none !important;
  }

  .header-top {
    font-size: 10px;
    border-bottom: 0;
  }
  .header-top-inner {
    min-height: 28px;
    justify-content: center;
  }
  .header-promo {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-toolbar,
  .mobile-search-row,
  .mobile-member-strip,
  .mobile-home-blocks,
  .mobile-tabbar,
  .mobile-drawer {
    display: block;
  }

  /* Mobile header toolbar */
  .mobile-toolbar {
    display: grid;
    grid-template-columns: 40px 40px 1fr 40px 40px;
    align-items: center;
    gap: 4px;
    padding: 8px 10px 6px;
  }
  .mobile-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--color-text);
    text-decoration: none;
    padding: 0;
    cursor: pointer;
  }
  .mobile-toolbar-logo {
    text-align: center;
    min-width: 0;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-dark);
    min-width: 0;
    max-width: 100%;
  }
  .mobile-wordmark-d .mobile-wordmark-text {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: .38em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: .38em;
  }
  .drawer-wordmark.mobile-wordmark-d .mobile-wordmark-text {
    font-size: 22px;
    letter-spacing: .34em;
  }
  .mobile-cart-count {
    top: 4px;
    right: 2px;
  }

  .mobile-icon {
    display: block;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .mobile-icon-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
  }
  .mobile-icon-user {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 20c1.5-4 13.5-4 15 0'/%3E%3C/svg%3E");
  }
  .mobile-icon-heart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8'%3E%3Cpath d='M12 20s-7-4.5-7-10a4 4 0 0 1 7-2 4 4 0 0 1 7 2c0 5.5-7 10-7 10z'/%3E%3C/svg%3E");
  }
  .mobile-icon-cart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8'%3E%3Cpath d='M6 6h15l-1.5 9H8z'/%3E%3Ccircle cx='9' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3Cpath d='M6 6L5 3H2'/%3E%3C/svg%3E");
  }
  .mobile-icon-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E");
    width: 20px;
    height: 20px;
  }

  .mobile-search-row {
    padding: 0 10px 8px;
  }
  .mobile-search-form {
    border-radius: 4px;
    border-color: #ddd;
  }
  .mobile-search-form .search-field {
    padding: 11px 12px;
    font-size: 14px;
  }
  .search-submit-icon {
    min-width: 44px;
    min-height: 42px;
    padding: 0;
    background: transparent;
    color: var(--color-muted);
  }

  .mobile-member-strip {
    background: #e8f4fc;
    border-top: 1px solid #d5e8f5;
    border-bottom: 1px solid #d5e8f5;
    padding: 8px 12px;
    text-align: center;
    font-size: 12px;
    color: #2b6cb0;
  }
  .mobile-member-strip p { margin: 0; }

  /* Mobile homepage blocks */
  .mobile-home-blocks {
    background: #fff;
    padding: 0;
  }
  .mobile-promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }
  .mobile-promo-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 88px;
    padding: 12px;
    text-decoration: none;
    color: #fff;
    background: #888;
  }
  .mobile-promo-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
  }
  .mobile-promo-sub {
    font-size: 11px;
    margin-top: 4px;
    opacity: .92;
  }
  .mobile-promo-tile.promo-green { background: linear-gradient(135deg, #5a8f68, #7cb189); }
  .mobile-promo-tile.promo-sale { background: linear-gradient(135deg, #c45c3e, #e07a5f); }
  .mobile-promo-tile.promo-new { background: linear-gradient(135deg, #6d6875, #9a8c98); }
  .mobile-promo-tile.promo-rank { background: linear-gradient(135deg, #4a6fa5, #6b8fc7); }

  .mobile-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 8px solid var(--color-bg);
  }
  .mobile-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 78px;
    padding: 10px 4px;
    text-decoration: none;
    color: var(--color-text);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
  }
  .mobile-cat-item:nth-child(4n) { border-right: 0; }
  .mobile-cat-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .mobile-cat-icon::before {
    content: "";
    width: 16px;
    height: 16px;
    background: var(--color-dark);
    opacity: .75;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
  }
  .cat-new .mobile-cat-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6 4h12l1 4H5zm1 6h10l-1 10H8z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6 4h12l1 4H5zm1 6h10l-1 10H8z'/%3E%3C/svg%3E");
  }
  .cat-hot .mobile-cat-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3c2 4-1 5 1 8 2 3 5 3 5 7a6 6 0 1 1-12 0c0-3 3-4 5-7 1-2-1-4 1-8z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 3c2 4-1 5 1 8 2 3 5 3 5 7a6 6 0 1 1-12 0c0-3 3-4 5-7 1-2-1-4 1-8z'/%3E%3C/svg%3E");
  }
  .cat-sale .mobile-cat-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 10l8-6 8 6v10H4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 10l8-6 8 6v10H4z'/%3E%3C/svg%3E");
  }
  .cat-tops .mobile-cat-icon::before,
  .cat-dress .mobile-cat-icon::before,
  .cat-jump .mobile-cat-icon::before,
  .cat-bottom .mobile-cat-icon::before,
  .cat-shoes .mobile-cat-icon::before,
  .cat-coat .mobile-cat-icon::before,
  .cat-acc .mobile-cat-icon::before,
  .cat-inner .mobile-cat-icon::before,
  .cat-home .mobile-cat-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 4h10l2 4v12H5V8z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 4h10l2 4v12H5V8z'/%3E%3C/svg%3E");
  }

  /* Mobile drawer */
  .mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000000100;
    pointer-events: none;
  }
  .mobile-drawer.is-open {
    pointer-events: auto;
  }
  .mobile-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    transition: opacity .25s;
  }
  .mobile-drawer.is-open .mobile-drawer-overlay {
    opacity: 1;
  }
  .mobile-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(100%, 420px);
    max-width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .28s ease;
    box-shadow: 4px 0 24px rgba(0,0,0,.12);
  }
  .mobile-drawer.is-open .mobile-drawer-panel {
    transform: translateX(0);
  }
  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
  }
  .drawer-wordmark {
    min-width: 0;
  }
  .drawer-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    width: 40px;
    height: 40px;
    color: #666;
    cursor: pointer;
  }
  .drawer-promo-banner {
    background: linear-gradient(135deg, #5a9a6e, #7cb68d);
    color: #fff;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.5;
    flex-shrink: 0;
  }
  .drawer-promo-banner p { margin: 0; }
  .drawer-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
  }
  .drawer-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 2px;
  }
  .drawer-auth-register {
    background: var(--color-dark);
    color: #fff;
  }
  .drawer-auth-login {
    border: 1px solid var(--color-dark);
    color: var(--color-dark);
    background: #fff;
  }
  .drawer-split {
    display: grid;
    grid-template-columns: 108px 1fr;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .drawer-primary {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    overflow-y: auto;
    border-right: 1px solid var(--color-border);
  }
  .drawer-primary-btn {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 14px 10px 14px 12px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    position: relative;
    border-left: 3px solid transparent;
  }
  .drawer-primary-btn.is-active {
    background: #fff;
    color: #000;
    font-weight: 600;
    border-left-color: var(--color-sale);
  }
  .drawer-secondary {
    position: relative;
    overflow-y: auto;
    background: #fff;
  }
  .drawer-subpanel {
    display: none;
    padding: 10px 12px 16px;
  }
  .drawer-subpanel.is-active {
    display: block;
  }
  .drawer-subpanel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    padding: 4px 0 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
  }
  .drawer-subgrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 8px;
  }
  .drawer-sub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 11px;
    text-align: center;
    line-height: 1.35;
  }
  .drawer-sub-thumb {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .drawer-sub-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .drawer-sub-placeholder {
    font-size: 22px;
    font-weight: 600;
    color: #bbb;
  }
  .drawer-sub-empty {
    display: block;
    padding: 20px 0;
    text-align: center;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 13px;
  }
  .drawer-footer-acc {
    border-top: 1px solid var(--color-border);
    flex-shrink: 0;
    max-height: 140px;
    overflow-y: auto;
  }
  .drawer-acc {
    border-bottom: 1px solid #f0f0f0;
  }
  .drawer-acc summary {
    list-style: none;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .drawer-acc summary::-webkit-details-marker { display: none; }
  .drawer-acc summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform .2s;
  }
  .drawer-acc[open] summary::after {
    transform: rotate(-135deg);
  }
  .drawer-acc ul {
    list-style: none;
    margin: 0;
    padding: 0 14px 10px;
  }
  .drawer-acc li a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
    color: var(--color-muted);
    font-size: 13px;
  }

  body.mobile-drawer-open {
    overflow: hidden;
  }

  /* Bottom tab bar */
  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999995;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: var(--mobile-tabbar-height);
    padding-bottom: var(--safe-bottom);
    background: #fff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 10px rgba(0,0,0,.06);
  }
  .mobile-tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    padding: 6px 2px;
  }
  .mobile-tabbar-item.is-active {
    color: var(--color-dark);
    font-weight: 600;
  }
  .mobile-tabbar-icon {
    width: 22px;
    height: 22px;
    background: #bbb;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
  }
  .mobile-tabbar-item.is-active .mobile-tabbar-icon {
    background: var(--color-dark);
  }
  .tab-home .mobile-tabbar-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 10l8-6 8 6v10H4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 10l8-6 8 6v10H4z'/%3E%3C/svg%3E");
  }
  .tab-feature .mobile-tabbar-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 7h16v4H4zm2 4h12v9H6z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M4 7h16v4H4zm2 4h12v9H6z'/%3E%3C/svg%3E");
  }
  .tab-cart .mobile-tabbar-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6 6h15l-1.5 9H8z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M6 6h15l-1.5 9H8z'/%3E%3C/svg%3E");
  }
  .tab-user .mobile-tabbar-icon {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4 0-7 2-7 4v2h14v-2c0-2-3-4-7-4z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5zm0 2c-4 0-7 2-7 4v2h14v-2c0-2-3-4-7-4z'/%3E%3C/svg%3E");
  }

  :root {
    --float-cart-bottom: calc(var(--mobile-tabbar-height) + var(--float-edge) + var(--safe-bottom));
    --float-line-bottom: calc(var(--float-cart-bottom) + var(--float-cart-size) + var(--float-gap));
    --float-backtotop-bottom: calc(var(--float-line-bottom) + var(--float-line-size) + var(--float-gap));
  }

  .footer-lux-bottom {
    padding-bottom: calc(16px + var(--mobile-tabbar-height) + var(--safe-bottom));
  }

  body.woocommerce-checkout,
  body.woocommerce-cart {
    padding-bottom: calc(24px + var(--safe-bottom));
  }

  body.woocommerce-checkout .mobile-tabbar,
  body.woocommerce-cart .mobile-tabbar {
    display: none !important;
  }

  body.woocommerce-checkout,
  body.woocommerce-cart {
    --float-cart-bottom: calc(var(--float-edge) + var(--safe-bottom));
    --float-line-bottom: calc(var(--float-cart-bottom) + var(--float-cart-size) + var(--float-gap));
    --float-backtotop-bottom: calc(var(--float-line-bottom) + var(--float-line-size) + var(--float-gap));
  }

  body.woocommerce-checkout .woocommerce-checkout-payment,
  body.woocommerce-checkout #place_order {
    margin-bottom: 12px;
  }

  body.woocommerce-checkout .site-footer-lux,
  body.woocommerce-cart .site-footer-lux {
    margin-bottom: 0;
    padding-bottom: calc(12px + var(--safe-bottom));
  }

  body.woocommerce-checkout .footer-lux-bottom,
  body.woocommerce-cart .footer-lux-bottom {
    padding-bottom: calc(20px + var(--safe-bottom));
  }
}

@media (min-width: 768px) {
  .mobile-toolbar,
  .mobile-search-row,
  .mobile-member-strip,
  .mobile-home-blocks,
  .mobile-tabbar,
  .mobile-drawer {
    display: none !important;
  }
}

/* Classic checkout + 7-ELEVEN CVS picker */
.woocommerce-checkout .ry-choose-cvs,
.woocommerce-checkout .button.ry-choose-cvs {
  background: #00843d;
  border-color: #00843d;
  color: #fff;
  font-weight: 600;
}

.woocommerce-checkout .xueer-choose-cvs-row td {
  padding-top: 12px;
}

.woocommerce-checkout .ry-cvs-store-info {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f6fbf7;
  border: 1px solid #cfe8d6;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

/* Home delivery address assist */
.xueer-address-assist {
  margin: 0 0 20px;
  padding: 16px;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #fafafa;
}

.xueer-address-assist__head {
  margin-bottom: 12px;
}

.xueer-address-assist__head strong {
  font-size: 15px;
}

.xueer-address-assist__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.xueer-address-assist__search {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  font-size: 15px;
}

.xueer-address-assist__locate {
  white-space: nowrap;
}

.xueer-address-assist__suggestions {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  max-height: 220px;
  overflow: auto;
}

.xueer-address-assist__suggestions li {
  border-bottom: 1px solid #f0f0f0;
}

.xueer-address-assist__suggestions li:last-child {
  border-bottom: 0;
}

.xueer-address-assist__suggestions button,
.xueer-address-assist__suggestions .is-empty {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  line-height: 1.5;
}

.xueer-address-assist__suggestions button:hover {
  background: #f5f5f5;
}

.xueer-address-assist__map {
  height: 240px;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.xueer-address-assist__hint {
  margin: 10px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .xueer-address-assist__toolbar {
    grid-template-columns: 1fr;
  }
}
