/*
 * Shuiping storefront visual refresh, calibrated to the supplied navy and teal reference.
 * Scope: storefront layout only. No functional selectors or shared vendor styles are changed.
 * Shape rule: 14-16px surfaces, 10px controls, compact status tags.
 */

.storefront-theme {
  --store-accent: #22b8d3;
  --store-accent-hover: #18a7bd;
  --store-accent-ink: #06141f;
  --store-accent-soft: #0b2b36;
  --store-accent-gradient: linear-gradient(
    112deg,
    #08b5d3 0%,
    #0dada7 56%,
    #12bc88 100%
  );
  --store-canvas: #07131f;
  --store-nav: #090f1b;
  --store-surface: #0d1626;
  --store-surface-muted: #0a1723;
  --store-surface-raised: #101d2d;
  --store-text: #eaf2ff;
  --store-text-secondary: #9ca6b7;
  --store-text-tertiary: #7f8b9d;
  --store-border: #1c3345;
  --store-border-strong: #265369;
  --store-success: #35d2a0;
  --store-success-soft: #0b2b26;
  --store-danger: #ff8697;
  --store-danger-soft: #321923;
  --store-warning: #f0bd69;
  --store-warning-soft: #312719;
  --store-radius-surface: 14px;
  --store-radius-control: 10px;
  --store-shadow-sm:
    0 1px 2px rgba(1, 8, 15, 0.42), 0 8px 22px rgba(1, 8, 15, 0.24);
  --store-shadow-md:
    0 2px 4px rgba(1, 8, 15, 0.46), 0 18px 44px rgba(1, 8, 15, 0.34);
  min-height: 100%;
  padding-top: 68px;
  color-scheme: dark;
  color: var(--store-text-secondary);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(34, 184, 211, 0.07),
      transparent 34rem
    ),
    linear-gradient(180deg, #07121d 0%, var(--store-canvas) 46%, #071820 100%);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-variant-numeric: tabular-nums;
}

.storefront-theme,
.storefront-theme button,
.storefront-theme input,
.storefront-theme textarea,
.storefront-theme select {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.storefront-theme a {
  color: var(--store-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.storefront-theme a:hover,
.storefront-theme a:focus {
  color: var(--store-accent-hover);
}

.storefront-theme :focus-visible {
  outline: 3px solid rgba(34, 184, 211, 0.38);
  outline-offset: 2px;
}

.storefront-theme ::selection {
  color: var(--store-accent-ink);
  background: var(--store-accent);
}

@media (min-width: 1200px) {
  .storefront-theme .container {
    width: calc(100% - 48px) !important;
    max-width: 1240px;
  }
}

/* Header */
.storefront-theme .navbar.navbar-white {
  min-height: 68px;
  margin-bottom: 0;
  border: 0;
  border-bottom: 1px solid rgba(38, 83, 105, 0.74);
  background: rgba(9, 15, 27, 0.96);
  box-shadow:
    0 1px 2px rgba(1, 8, 15, 0.44),
    0 10px 28px rgba(1, 8, 15, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

.storefront-theme .navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  height: 68px !important;
  padding: 16px 15px !important;
}

.storefront-theme .navbar .navbar-brand img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 36px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .storefront-theme .navbar-white .navbar-nav > li > a {
    position: relative;
    height: 68px;
    padding: 15px 16px;
    color: var(--store-text-secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 38px;
    transition:
      color 180ms ease,
      background-color 180ms ease;
  }

  .storefront-theme .navbar-white .navbar-nav > li > a:hover,
  .storefront-theme .navbar-white .navbar-nav > li > a:focus,
  .storefront-theme .navbar-white .navbar-nav > .active > a {
    color: var(--store-accent);
    background: var(--store-accent-soft);
  }
}

.storefront-theme .navbar-white .dropdown-menu {
  min-width: 152px !important;
  padding: 7px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-surface);
  box-shadow: var(--store-shadow-md);
}

.storefront-theme .navbar-white .dropdown-menu > li > a {
  padding: 9px 11px !important;
  border-radius: 8px;
  color: var(--store-text-secondary);
  line-height: 1.45;
}

.storefront-theme .navbar-white .dropdown-menu > li > a:hover,
.storefront-theme .navbar-white .dropdown-menu > li > a:focus {
  color: var(--store-accent);
  background: var(--store-accent-soft);
}

.storefront-theme .navbar-white .navbar-nav > .open > a,
.storefront-theme .navbar-white .navbar-nav > .open > a:hover,
.storefront-theme .navbar-white .navbar-nav > .open > a:focus {
  color: var(--store-accent) !important;
  background: var(--store-accent-soft) !important;
}

.storefront-theme .navbar-white .navbar-nav .open > .dropdown-menu {
  border-color: var(--store-border) !important;
  background: var(--store-surface) !important;
}

.storefront-theme .navbar-white .dropdown-menu > .active > a,
.storefront-theme .navbar-white .dropdown-menu > .active > a:hover,
.storefront-theme .navbar-white .dropdown-menu > .active > a:focus {
  color: var(--store-accent-ink) !important;
  background: var(--store-accent-gradient) !important;
}

.storefront-theme .navbar-white .dropdown-menu > .disabled > a,
.storefront-theme .navbar-white .dropdown-menu > .disabled > a:hover,
.storefront-theme .navbar-white .dropdown-menu > .disabled > a:focus {
  color: var(--store-text-tertiary) !important;
  background: transparent !important;
}

.storefront-theme .navbar-white .dropdown-menu .divider {
  background: var(--store-border);
}

.storefront-theme .avatar-img img {
  border: 2px solid var(--store-nav);
  box-shadow: 0 0 0 1px var(--store-border);
}

/* Shared page rhythm */
.storefront-theme > .content.container {
  min-height: calc(100% - 137px);
  padding-top: 26px;
  padding-bottom: 46px;
}

.storefront-theme .page-container {
  color: var(--store-text-secondary);
}

.storefront-theme .page-container h1,
.storefront-theme .page-container h2,
.storefront-theme .page-container h3,
.storefront-theme .page-container h4,
.storefront-theme .page-container h5,
.storefront-theme .page-container h6 {
  color: var(--store-text);
}

.storefront-theme .shadow {
  border: 1px solid var(--store-border) !important;
  border-radius: var(--store-radius-surface) !important;
  box-shadow: var(--store-shadow-sm) !important;
}

.storefront-theme .panel.panel-default {
  overflow: hidden;
  margin-bottom: 24px;
  padding: 0 20px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-surface);
  background: var(--store-surface);
  box-shadow: var(--store-shadow-sm);
}

.storefront-theme .panel.panel-default > .panel-heading {
  min-height: 54px;
  padding: 15px 0;
  border-bottom: 1px solid var(--store-border);
  background: transparent;
}

.storefront-theme .panel.panel-default > .panel-heading h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 24px;
  letter-spacing: -0.01em;
}

.storefront-theme .panel.panel-default > .panel-heading h4 i {
  margin-right: 5px;
  color: var(--store-accent);
  opacity: 0.82;
}

.storefront-theme .panel.panel-default > .panel-body {
  color: var(--store-text-secondary);
}

/* Homepage notice and categories */
.storefront-theme
  .page-container.home
  > .row
  > .col-md-9
  > .shadow:first-child {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px !important;
  padding: 18px 20px 14px !important;
  border-color: var(--store-border-strong) !important;
  background:
    linear-gradient(135deg, rgba(8, 181, 211, 0.14), rgba(18, 188, 136, 0.08)),
    var(--store-surface) !important;
  box-shadow:
    inset 0 1px 0 rgba(34, 184, 211, 0.12),
    var(--store-shadow-sm) !important;
}

.storefront-theme
  .page-container.home
  > .row
  > .col-md-9
  > .shadow:first-child::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--store-accent-gradient);
  content: "";
}

.storefront-theme
  .page-container.home
  > .row
  > .col-md-9
  > .shadow:first-child
  > :last-child {
  margin-bottom: 0;
}

.storefront-theme .page-container.home .category-section {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-surface);
  background: var(--store-surface);
  box-shadow: var(--store-shadow-sm);
}

.storefront-theme .page-container.home .category-container {
  margin: -6px;
}

.storefront-theme .page-container.home .category-item {
  padding: 6px;
}

.storefront-theme
  .page-container.home
  .category-container
  .category-item
  a.category-btn {
  min-height: 44px;
  margin: 0;
  padding: 11px 14px !important;
  border: 1px solid var(--store-border) !important;
  border-radius: var(--store-radius-control) !important;
  color: var(--store-text-secondary);
  background: var(--store-surface-muted);
  box-shadow: 0 1px 2px rgba(1, 8, 15, 0.28) !important;
  font-size: 14px;
  font-weight: 550;
  line-height: 20px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.storefront-theme
  .page-container.home
  .category-container
  .category-item
  a.category-btn:hover,
.storefront-theme
  .page-container.home
  .category-container
  .category-item
  a.category-btn:focus {
  padding: 11px 14px !important;
  border-color: var(--store-border-strong) !important;
  color: var(--store-accent);
  background: var(--store-accent-soft);
  box-shadow: 0 8px 20px rgba(1, 8, 15, 0.26) !important;
  transform: translateY(-1px);
}

.storefront-theme
  .page-container.home
  .category-container
  .category-item
  a.category-btn.active {
  padding: 11px 14px !important;
  border-color: var(--store-accent) !important;
  color: var(--store-accent-ink);
  background: var(--store-accent-gradient);
  box-shadow: 0 9px 22px rgba(2, 26, 32, 0.34) !important;
}

.storefront-theme .page-container.home .show-more-btn-container {
  margin-top: 14px;
}

.storefront-theme .page-container.home .show-more-btn {
  min-height: 40px;
  margin-top: 0;
  padding: 9px 18px;
  border: 1px solid var(--store-border-strong);
  border-radius: var(--store-radius-control);
  color: var(--store-accent);
  background: var(--store-accent-soft);
  box-shadow: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.storefront-theme .page-container.home .show-more-btn:hover,
.storefront-theme .page-container.home .show-more-btn:focus {
  border-color: var(--store-accent);
  color: var(--store-accent-ink);
  background: var(--store-accent-gradient);
  box-shadow: none;
  transform: translateY(-1px);
}

.storefront-theme .page-container.home .show-more-btn:active {
  color: var(--store-accent-ink);
  background: var(--store-accent-hover);
  box-shadow: none;
  transform: translateY(0);
}

/* Homepage goods list */
.storefront-theme .page-container.home .panel.panel-default > .panel-body.row {
  margin-right: -8px;
  margin-left: -8px;
  padding: 18px 0 6px !important;
}

.storefront-theme
  .page-container.home
  .panel.panel-default
  > .panel-body.row
  > [class*="col-"] {
  padding-right: 8px;
  padding-left: 8px;
}

.storefront-theme .page-container.home .tb-recommend-content-item.table-goods {
  min-height: 112px;
  margin-bottom: 16px;
  padding: 13px;
  border: 1px solid var(--store-border) !important;
  border-radius: 12px !important;
  color: var(--store-text-secondary);
  background: var(--store-surface-muted);
  box-shadow: none !important;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.storefront-theme
  .page-container.home
  .tb-recommend-content-item.table-goods:hover {
  border-color: var(--store-border-strong) !important;
  background: var(--store-surface-raised);
  box-shadow: var(--store-shadow-md) !important;
  transform: translateY(-2px);
}

.storefront-theme
  .page-container.home
  .tb-recommend-content-item.table-goods
  .item-link {
  color: inherit;
  text-decoration: none;
}

.storefront-theme
  .page-container.home
  .tb-recommend-content-item.table-goods
  .img-wrapper {
  width: 84px;
  height: 84px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: #0a1320;
}

.storefront-theme
  .page-container.home
  .tb-recommend-content-item.table-goods
  .img-wrapper
  img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: #0a1320;
  object-fit: cover;
  opacity: 1;
  transition: transform 220ms ease;
}

.storefront-theme
  .page-container.home
  .tb-recommend-content-item.table-goods:hover
  .img-wrapper
  img {
  transform: scale(1.035);
}

.storefront-theme
  .page-container.home
  .tb-recommend-content-item.table-goods
  .info-wrapper {
  min-height: 84px;
  margin-left: 101px;
}

.storefront-theme
  .page-container.home
  .tb-recommend-content-item.table-goods
  .info-wrapper
  .title {
  margin: 0 0 7px !important;
  color: var(--store-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.storefront-theme .page-container .goods-tag {
  margin: 0 5px 6px 0;
  padding: 2px 7px;
  border: 1px solid #1b5f50;
  border-radius: 7px;
  color: var(--store-success);
  background: var(--store-success-soft);
  font-size: 11px;
  font-weight: 550;
  line-height: 18px;
}

.storefront-theme .page-container .goods-tag.text-info {
  border-color: #1e5c68;
  color: var(--store-accent);
  background: var(--store-accent-soft);
}

.storefront-theme .page-container .goods-tag.text-danger {
  border-color: #71303e;
  color: var(--store-danger);
  background: var(--store-danger-soft);
}

.storefront-theme .page-container .goods-tag.text-warning {
  border-color: #6c5228;
  color: var(--store-warning);
  background: var(--store-warning-soft);
}

.storefront-theme .page-container.home .price-value,
.storefront-theme .page-container.home .price-value em {
  color: var(--store-accent);
  font-weight: 700;
}

.storefront-theme .page-container.home .price-value {
  font-size: 18px;
  line-height: 24px;
}

.storefront-theme .page-container.home .price-value em {
  margin-right: 2px;
  font-family: inherit;
  font-size: 12px;
}

/* Homepage article cards */
.storefront-theme .page-container.home .page-section.bestsellers {
  margin-top: 30px;
}

.storefront-theme .page-container.home .page-section__header {
  margin-bottom: 16px;
}

.storefront-theme .page-container.home .page-section__header h2 {
  color: var(--store-text);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.storefront-theme .page-container.home .products-grid .product-grid-item {
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-surface);
  background: var(--store-surface);
  box-shadow: var(--store-shadow-sm);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.storefront-theme .page-container.home .products-grid .product-grid-item:hover {
  border-color: var(--store-border-strong);
  box-shadow: var(--store-shadow-md);
  transform: translateY(-2px);
}

.storefront-theme .page-container.home .products-grid .product__image {
  overflow: hidden;
  border-color: var(--store-surface-muted);
  background: var(--store-surface-muted);
}

.storefront-theme .page-container.home .products-grid .product__image img {
  aspect-ratio: 4 / 3;
  mix-blend-mode: normal;
  object-fit: cover;
  transition: transform 220ms ease;
}

.storefront-theme
  .page-container.home
  .products-grid
  .product-grid-item:hover
  .product__image
  img {
  transform: scale(1.025);
}

.storefront-theme .page-container.home .products-grid .product__description {
  padding: 14px 15px 16px;
}

.storefront-theme .page-container.home .products-grid .product_name a {
  color: var(--store-text) !important;
  font-weight: 600;
}

.storefront-theme .page-container.home .products-grid .article__caption {
  color: var(--store-text-secondary);
}

/* Product page */
.storefront-theme .page-container.product {
  margin-top: 0 !important;
}

.storefront-theme .page-container.product nav.breadcrumbs {
  margin: 2px 0 18px;
}

.storefront-theme .page-container.product nav.breadcrumbs ol.breadcrumb {
  margin-bottom: 0;
  padding: 9px 12px;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  background: rgba(13, 23, 38, 0.86);
}

.storefront-theme
  .page-container.product
  nav.breadcrumbs
  ol.breadcrumb
  li.breadcrumb-item,
.storefront-theme
  .page-container.product
  nav.breadcrumbs
  ol.breadcrumb
  li.breadcrumb-item.active {
  color: var(--store-text-secondary);
  font-size: 13px;
}

.storefront-theme
  .page-container.product
  nav.breadcrumbs
  ol.breadcrumb
  li.breadcrumb-item
  a:hover {
  color: var(--store-accent);
}

.storefront-theme
  .page-container.product
  nav.breadcrumbs
  ol.breadcrumb
  > li
  + li::before {
  color: var(--store-text-tertiary);
}

.storefront-theme .page-container.product .prod-details-gwrap,
.storefront-theme .page-container.product .prod-details__offering {
  border: 1px solid var(--store-border) !important;
  border-radius: 16px !important;
  background: var(--store-surface) !important;
  box-shadow: var(--store-shadow-sm) !important;
}

.storefront-theme .page-container.product .prod-details-gwrap {
  padding: 26px !important;
}

.storefront-theme .page-container.product .goods-page-cover {
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-surface-muted);
}

.storefront-theme .page-container.product #goods-cover {
  display: block;
  width: 100%;
  max-height: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 9px;
  background: #0a1320;
  object-fit: contain;
}

.storefront-theme .page-container.product .prod-details__prod-name h1 {
  margin: 0 !important;
  padding: 0 0 14px !important;
  color: var(--store-text);
  font-size: 22px !important;
  font-weight: 680;
  line-height: 1.42 !important;
  letter-spacing: -0.018em;
}

.storefront-theme .page-container.product .variations {
  margin-bottom: 2px;
}

.storefront-theme .page-container.product .variations__title {
  color: var(--store-text-secondary);
  font-weight: 500;
}

.storefront-theme .page-container.product .variations__title > span {
  color: var(--store-text-secondary);
  font-size: 14px;
}

.storefront-theme .page-container.product .count {
  display: inline-flex;
  overflow: hidden;
  vertical-align: middle;
  margin-left: 8px;
  border: 1px solid var(--store-border-strong);
  border-radius: var(--store-radius-control);
  background: var(--store-surface);
  box-shadow: 0 1px 2px rgba(1, 8, 15, 0.42);
}

.storefront-theme .page-container.product .count__ctrl {
  width: 38px;
  min-width: 38px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--store-accent);
  background: var(--store-accent-soft);
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.storefront-theme .page-container.product .count__ctrl:hover,
.storefront-theme .page-container.product .count__ctrl:focus {
  color: var(--store-accent-ink);
  background: var(--store-accent-gradient);
}

.storefront-theme .page-container.product .count__num {
  width: 52px !important;
  height: 36px;
  padding: 0 8px;
  color: var(--store-text);
  background: var(--store-surface-muted);
  font-weight: 600;
  line-height: 36px;
}

.storefront-theme .page-container.product .pay-type,
.storefront-theme .page-container.product .select-specs {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 8px 9px 0;
  padding: 7px 13px !important;
  border: 1px solid var(--store-border-strong) !important;
  border-radius: var(--store-radius-control) !important;
  color: var(--store-text-secondary);
  background: var(--store-surface-muted);
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 550;
  line-height: 24px;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.storefront-theme .page-container.product .pay-type:hover,
.storefront-theme .page-container.product .pay-type:focus,
.storefront-theme .page-container.product .select-specs:hover,
.storefront-theme .page-container.product .select-specs:focus {
  border-color: var(--store-accent) !important;
  color: var(--store-accent);
  background: var(--store-accent-soft);
  transform: translateY(-1px);
}

.storefront-theme .page-container.product .pay-type.active,
.storefront-theme .page-container.product .select-specs.active {
  padding: 7px 13px !important;
  border-color: var(--store-accent) !important;
  color: var(--store-accent-ink);
  background: var(--store-accent-gradient);
  box-shadow: 0 8px 20px rgba(1, 21, 28, 0.42) !important;
}

.storefront-theme .page-container.product .pay-type.disabled,
.storefront-theme .page-container.product .select-specs.disabled,
.storefront-theme .page-container.product .btn.disabled,
.storefront-theme .page-container.product .btn[disabled] {
  border-color: var(--store-border) !important;
  color: var(--store-text-tertiary) !important;
  background: #172333 !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none;
}

.storefront-theme
  .page-container.product
  .prod-details__specifications
  .specifications {
  margin: 17px 0 4px;
  padding: 13px 14px 4px;
  border-radius: 10px;
  background: var(--store-surface-muted);
}

.storefront-theme
  .page-container.product
  .prod-details__specifications
  .specifications__item {
  margin-bottom: 9px;
}

.storefront-theme
  .page-container.product
  .prod-details__specifications
  .prop
  span,
.storefront-theme
  .page-container.product
  .prod-details__specifications
  .val
  span {
  color: var(--store-text-secondary) !important;
  font-size: 13px !important;
}

.storefront-theme .page-container.product .prod-details__specifications .dots {
  border-bottom-color: var(--store-border) !important;
}

.storefront-theme .page-container.product .prod-details__offering {
  margin-bottom: 24px;
  padding: 24px;
}

.storefront-theme .page-container.product .prod-offering__benefits {
  margin-bottom: 18px !important;
  padding: 11px 12px;
  border: 1px solid #6c5228;
  border-radius: 10px;
  background: var(--store-warning-soft);
}

.storefront-theme
  .page-container.product
  .prod-offering__benefits
  .precheck-benefits {
  align-items: center;
}

.storefront-theme
  .page-container.product
  .prod-offering__benefits
  .precheck-benefits
  .icon {
  display: inline-flex;
  align-items: center;
}

.storefront-theme
  .page-container.product
  .prod-offering__benefits
  .precheck-benefits
  .text {
  color: var(--store-warning) !important;
  line-height: 1.5;
}

.storefront-theme .page-container.product .prod-offering__prices {
  margin-bottom: 18px !important;
}

.storefront-theme .page-container.product .prod-offering__prices .sale-price {
  color: var(--store-accent) !important;
  font-size: 32px !important;
  font-weight: 720 !important;
  letter-spacing: -0.025em;
}

.storefront-theme .page-container.product .form-group {
  margin-bottom: 12px;
}

.storefront-theme .page-container.product .form div.subscribe-tos,
.storefront-theme
  .page-container.product
  .form
  div.form-group
  div.subscribe-tos {
  margin-top: 15px !important;
  margin-bottom: 7px !important;
}

.storefront-theme .page-container.product .form div.subscribe-tos span,
.storefront-theme
  .page-container.product
  .form
  div.form-group
  div.subscribe-tos
  span {
  color: var(--store-text) !important;
  font-size: 13px;
  font-weight: 600;
}

.storefront-theme .page-container.product .form-control {
  height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--store-border-strong);
  border-radius: var(--store-radius-control);
  color: var(--store-text);
  background: var(--store-surface);
  box-shadow: none;
  font-size: 14px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.storefront-theme .page-container.product .form-control::placeholder {
  color: var(--store-text-tertiary);
  opacity: 1;
}

.storefront-theme .page-container.product .form-control:hover {
  border-color: var(--store-accent-hover);
}

.storefront-theme .page-container.product .form-control:focus {
  border-color: var(--store-accent);
  background: var(--store-surface-raised);
  box-shadow: 0 0 0 3px rgba(34, 184, 211, 0.2);
}

.storefront-theme .page-container.product .form-control:-webkit-autofill,
.storefront-theme .page-container.product .form-control:-webkit-autofill:hover,
.storefront-theme .page-container.product .form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--store-text);
  caret-color: var(--store-text);
  -webkit-box-shadow: 0 0 0 1000px var(--store-surface-raised) inset;
}

.storefront-theme .page-container.product .form-hint {
  display: block;
  margin-top: 9px;
  color: var(--store-text-tertiary);
  font-size: 12px;
  line-height: 1.6;
}

.storefront-theme .page-container.product #buy-btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--store-accent);
  border-radius: var(--store-radius-control);
  color: var(--store-accent-ink);
  background: var(--store-accent-gradient);
  box-shadow: 0 10px 24px rgba(1, 21, 28, 0.46);
  font-size: 15px;
  font-weight: 650;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.storefront-theme .page-container.product #buy-btn.btn-primary:hover,
.storefront-theme .page-container.product #buy-btn.btn-primary:focus {
  border-color: var(--store-accent-hover);
  color: var(--store-accent-ink);
  background: linear-gradient(112deg, #11a8bb 0%, #0fa98e 56%, #10aa78 100%);
  box-shadow: 0 12px 28px rgba(1, 21, 28, 0.52);
  transform: translateY(-1px);
}

.storefront-theme .page-container.product #buy-btn.btn-primary:active {
  box-shadow: 0 4px 12px rgba(1, 21, 28, 0.46);
  transform: translateY(1px);
}

.storefront-theme .page-container.product #buy-btn.btn-primary.disabled,
.storefront-theme .page-container.product #buy-btn.btn-primary[disabled],
.storefront-theme .page-container.product #buy-btn.btn-primary.disabled:hover,
.storefront-theme .page-container.product #buy-btn.btn-primary[disabled]:hover,
.storefront-theme .page-container.product #buy-btn.btn-primary.disabled:focus,
.storefront-theme .page-container.product #buy-btn.btn-primary[disabled]:focus {
  border-color: var(--store-border);
  color: var(--store-text-tertiary);
  background: #172333;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

.storefront-theme .page-container.product #buy-btn .icon {
  display: inline-flex;
  margin-right: 8px;
}

.storefront-theme .page-container.product #buy-btn .icon svg {
  width: 20px;
  height: 20px;
}

.storefront-theme .page-container.product .prod-offering__delivinfo {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--store-border);
}

.storefront-theme
  .page-container.product
  .prod-offering__delivinfo
  .delivinfo__header {
  margin-bottom: 14px !important;
  color: var(--store-text-secondary) !important;
  font-size: 12px !important;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.storefront-theme .page-container.product .delivinfo__item {
  align-items: center;
  margin-bottom: 13px !important;
}

.storefront-theme .page-container.product .delivinfo__item .icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 9px !important;
  background: var(--store-accent-soft) !important;
}

.storefront-theme .page-container.product .delivinfo__item .icon svg {
  stroke: var(--store-accent) !important;
}

.storefront-theme .page-container.product .delivinfo__item .text {
  margin-left: 12px !important;
}

.storefront-theme .page-container.product .delivinfo__item .text b {
  color: var(--store-text) !important;
  font-weight: 600 !important;
}

.storefront-theme .page-container.product .delivinfo__item .text span {
  color: var(--store-text-secondary) !important;
}

.storefront-theme .page-container.product .prod-offering__merchant {
  margin-top: 18px !important;
  padding: 13px 14px !important;
  border: 1px solid var(--store-border) !important;
  border-radius: 10px !important;
  background: var(--store-surface-muted);
}

.storefront-theme
  .page-container.product
  .prod-offering__merchant
  .precheck-bonuses {
  display: flex;
  align-items: center;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.storefront-theme .page-container.product .prod-offering__merchant .icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.storefront-theme .page-container.product .prod-offering__merchant .icon svg {
  width: 30px !important;
  height: 30px !important;
}

.storefront-theme .page-container.product .prod-offering__merchant .text {
  margin-left: 11px !important;
  color: var(--store-text-secondary) !important;
  font-size: 13px;
  line-height: 1.55;
}

.storefront-theme
  .page-container.product
  .panel.panel-default
  .panel-body.goods-detail {
  padding: 20px 0 24px !important;
  color: var(--store-text-secondary);
  font-size: 14px;
  line-height: 1.8;
}

.storefront-theme .page-container.product .goods-detail img {
  height: auto;
  border-radius: 10px;
}

/* Product notice modal */
.storefront-theme #lean_overlay {
  background: rgba(2, 8, 16, 0.76);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.storefront-theme #alert-html {
  overflow: hidden;
  max-width: calc(100% - 32px);
  border: 1px solid var(--store-border);
  border-radius: 16px;
  background: var(--store-surface);
  box-shadow: 0 28px 80px rgba(1, 8, 15, 0.58);
}

.storefront-theme #alert-html .content {
  color: var(--store-text-secondary);
  line-height: 1.75;
}

.storefront-theme .modal_close {
  padding: 13px 18px;
  border-radius: 0;
  color: var(--store-accent-ink);
  background: var(--store-accent-gradient);
  font-weight: 600;
  transition: background-color 160ms ease;
}

.storefront-theme .modal_close:hover,
.storefront-theme .modal_close:focus {
  background: linear-gradient(112deg, #11a8bb 0%, #0fa98e 56%, #10aa78 100%);
}

/* Footer */
.storefront-theme footer.main-footer-section {
  border-top: 1px solid var(--store-border);
  background: var(--store-nav);
}

.storefront-theme footer.main-footer-section .main-footer-section__midline {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 0;
}

.storefront-theme
  footer.main-footer-section
  .main-footer-section__midline-links {
  min-height: 24px;
  color: var(--store-text-tertiary);
}

.storefront-theme
  footer.main-footer-section
  .main-footer-section__midline-links
  a {
  margin-right: 24px;
  color: var(--store-text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.storefront-theme
  footer.main-footer-section
  .main-footer-section__midline-links
  a:hover,
.storefront-theme
  footer.main-footer-section
  .main-footer-section__midline-links
  a:focus {
  color: var(--store-accent);
}

/* Responsive refinement */
@media (max-width: 1199.98px) {
  .storefront-theme {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .storefront-theme .navbar.navbar-white {
    min-height: 60px;
  }

  .storefront-theme .navbar .navbar-brand {
    height: 60px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .storefront-theme .navbar-white .navbar-nav > li > a {
    height: 60px;
    padding-right: 14px;
    padding-left: 14px;
    line-height: 30px;
  }

  .storefront-theme > .content.container {
    padding-top: 22px;
    padding-bottom: 36px;
  }

  .storefront-theme .page-container.product .prod-details-gwrap,
  .storefront-theme .page-container.product .prod-details__offering {
    padding: 22px !important;
  }

  .storefront-theme .page-container.product .goods-page-cover {
    margin-bottom: 22px;
  }
}

@media (max-width: 767.98px) {
  .storefront-theme {
    padding-top: 52px;
    padding-bottom: 0;
  }

  .storefront-theme .navbar.navbar-white {
    min-height: 52px;
  }

  .storefront-theme .navbar .navbar-brand {
    min-height: 52px;
    height: 52px !important;
  }

  .storefront-theme .navbar .navbar-brand {
    padding: 11px 15px !important;
  }

  .storefront-theme .navbar .navbar-brand img {
    max-width: 154px;
    max-height: 30px;
  }

  .storefront-theme .navbar-toggle {
    margin-top: 9px;
    margin-bottom: 9px;
    padding: 8px;
    border-color: var(--store-border) !important;
    border-radius: 9px;
  }

  .storefront-theme .navbar-white .navbar-toggle .icon-bar {
    background: var(--store-text-secondary);
  }

  .storefront-theme .navbar-white .navbar-collapse {
    border-top: 1px solid var(--store-border);
    background: var(--store-nav);
    box-shadow: 0 16px 34px rgba(1, 8, 15, 0.46);
  }

  .storefront-theme .navbar-white .navbar-nav {
    margin-top: 7px;
    margin-bottom: 9px;
  }

  .storefront-theme .navbar-white .navbar-nav > li > a {
    height: auto;
    margin: 2px 7px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--store-text-secondary);
    font-weight: 500;
    line-height: 1.45;
  }

  .storefront-theme .navbar-white .navbar-nav > li > a:hover,
  .storefront-theme .navbar-white .navbar-nav > li > a:focus {
    color: var(--store-accent);
    background: var(--store-accent-soft);
  }

  .storefront-theme > .content.container {
    width: 100%;
    padding: 16px 15px 30px;
  }

  .storefront-theme .panel.panel-default {
    margin-bottom: 18px;
    padding: 0 15px;
    border-radius: 12px;
  }

  .storefront-theme .panel.panel-default > .panel-heading {
    min-height: 49px;
    padding: 12px 0;
  }

  .storefront-theme .panel.panel-default > .panel-heading h4 {
    font-size: 15px;
  }

  .storefront-theme
    .page-container.home
    > .row
    > .col-md-9
    > .shadow:first-child {
    margin-bottom: 17px !important;
    padding: 15px 16px 11px !important;
    border-radius: 12px !important;
  }

  .storefront-theme .page-container.home .category-container {
    margin: -5px;
  }

  .storefront-theme .page-container.home .category-section {
    padding: 12px;
    border-radius: 12px;
  }

  .storefront-theme .page-container.home .category-item {
    padding: 5px;
  }

  .storefront-theme
    .page-container.home
    .category-container
    .category-item
    a.category-btn {
    min-height: 44px;
    padding: 10px 9px !important;
    font-size: 13px;
  }

  .storefront-theme
    .page-container.home
    .category-container
    .category-item
    a.category-btn:hover,
  .storefront-theme
    .page-container.home
    .category-container
    .category-item
    a.category-btn:focus,
  .storefront-theme
    .page-container.home
    .category-container
    .category-item
    a.category-btn.active {
    padding: 10px 9px !important;
  }

  .storefront-theme
    .page-container.home
    .panel.panel-default
    > .panel-body.row {
    margin-right: -6px;
    margin-left: -6px;
    padding-top: 14px !important;
  }

  .storefront-theme
    .page-container.home
    .panel.panel-default
    > .panel-body.row
    > [class*="col-"] {
    padding-right: 6px;
    padding-left: 6px;
  }

  .storefront-theme
    .page-container.home
    .tb-recommend-content-item.table-goods {
    min-height: 104px;
    margin-bottom: 12px;
    padding: 11px;
  }

  .storefront-theme
    .page-container.home
    .tb-recommend-content-item.table-goods
    .img-wrapper {
    width: 76px;
    height: 76px;
  }

  .storefront-theme
    .page-container.home
    .tb-recommend-content-item.table-goods
    .info-wrapper {
    min-height: 76px;
    margin-left: 90px;
  }

  .storefront-theme
    .page-container.home
    .tb-recommend-content-item.table-goods
    .info-wrapper
    .title {
    margin-bottom: 5px !important;
    font-size: 14px;
    line-height: 20px;
  }

  .storefront-theme .page-container .goods-tag {
    margin-right: 4px;
    margin-bottom: 4px;
    padding: 1px 6px;
    font-size: 10px;
    line-height: 17px;
  }

  .storefront-theme .page-container.product .prod-details-gwrap,
  .storefront-theme .page-container.product .prod-details__offering {
    padding: 16px !important;
    border-radius: 13px !important;
  }

  .storefront-theme .page-container.product .goods-page-cover {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 10px;
  }

  .storefront-theme .page-container.product .prod-details__prod-name h1 {
    padding-bottom: 10px !important;
    font-size: 19px !important;
    line-height: 1.45 !important;
  }

  .storefront-theme .page-container.product .variations__title[style] {
    padding-top: 15px !important;
    padding-bottom: 8px !important;
  }

  .storefront-theme .page-container.product .pay-type,
  .storefront-theme .page-container.product .select-specs {
    min-height: 40px;
    margin-right: 6px;
    padding: 6px 10px !important;
  }

  .storefront-theme .page-container.product .pay-type.active,
  .storefront-theme .page-container.product .select-specs.active {
    padding: 6px 10px !important;
  }

  .storefront-theme .page-container.product .prod-offering__prices .sale-price {
    font-size: 29px !important;
  }

  .storefront-theme
    .page-container.product
    .panel.panel-default
    .panel-body.goods-detail {
    padding: 16px 0 20px !important;
  }

  .storefront-theme footer.main-footer-section .main-footer-section__midline {
    padding: 18px 14px;
  }

  .storefront-theme
    footer.main-footer-section
    .main-footer-section__midline-links {
    flex-wrap: wrap;
    gap: 8px 16px;
    overflow-x: visible;
  }

  .storefront-theme
    footer.main-footer-section
    .main-footer-section__midline-links
    a {
    margin-right: 0;
  }

  .storefront-theme
    footer.main-footer-section
    .main-footer-section__midline-links
    .ml-auto {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 575.98px) {
  .storefront-theme .page-container.home .category-item {
    width: 50%;
  }

  .storefront-theme .page-container.product .count {
    margin-top: 6px;
    margin-left: 0;
  }

  .storefront-theme #alert-html {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px);
    border-radius: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-theme *,
  .storefront-theme *::before,
  .storefront-theme *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .storefront-theme .navbar.navbar-white {
    background: var(--store-nav);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .storefront-theme #lean_overlay {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
