:root {
  --vn-ink: #28211f;
  --vn-muted: #756764;
  --vn-line: #eadfdb;
  --vn-panel: #fff9f6;
  --vn-soft: #f8ece7;
  --vn-accent: #c45f4b;
  --vn-accent-strong: #9f4338;
  --vn-green: #286a52;
  --vn-radius: 8px;
  --vn-shadow: 0 18px 60px rgba(84, 52, 43, 0.12);
}

body {
  color: var(--vn-ink);
  background: #fffaf7;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
}

body:not(.is-locked) {
  overflow-y: auto !important;
}

body.is-locked {
  overflow: hidden !important;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 31, 36, 0.72);
}

.age-gate.is-hidden {
  display: none !important;
}

.age-panel {
  display: grid;
  gap: 12px;
  width: min(520px, 100%);
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--vn-shadow);
  padding: clamp(22px, 5vw, 40px);
}

.age-panel h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.04;
}

.age-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--vn-muted);
  line-height: 1.65;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header .menu-item {
  list-style: none;
}

.site-header .custom-logo {
  max-height: 42px;
  width: auto;
}

.hero-section {
  min-height: min(620px, calc(100vh - 150px));
}

.hero-card {
  align-self: end;
  margin: 0 6vw 5vw auto;
  width: min(340px, 42vw);
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72)),
    url("../media/hero-thumb.webp") center / cover no-repeat;
  box-shadow: var(--vn-shadow);
  padding: 24px;
  display: flex;
  align-items: end;
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  color: var(--vn-muted);
  margin-bottom: 6px;
}

.hero-card strong {
  font-size: 1.35rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1160px;
  margin: 28px auto;
  padding: 0 20px;
}

.trust-grid article,
.content-card,
.delivery-steps article,
.woocommerce-notices-wrapper > *,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 32px rgba(84, 52, 43, 0.06);
}

.trust-grid article {
  padding: 18px;
}

.trust-grid h3,
.delivery-steps strong {
  margin: 0 0 8px;
  font-size: 1rem;
}

.trust-grid p,
.delivery-steps span {
  margin: 0;
  color: var(--vn-muted);
  line-height: 1.65;
}

.section-block,
.split-section,
.page-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 44px 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2,
.split-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.section-heading p,
.split-section p {
  color: var(--vn-muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: start;
}

.delivery-steps {
  display: grid;
  gap: 12px;
}

.delivery-steps article {
  padding: 18px;
}

.content-card {
  padding: clamp(22px, 5vw, 48px);
}

.woo-page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 20px 54px;
}

.woocommerce-products-header {
  margin: 0 0 26px;
}

.woocommerce-products-header__title,
.product_title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 0 0 12px;
}

.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-breadcrumb {
  color: var(--vn-muted);
}

.woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea,
.woocommerce-input-wrapper select {
  width: 100%;
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: #fff;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--vn-ink);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  list-style: none;
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(84, 52, 43, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0;
  background: var(--vn-soft);
}

.woocommerce div.product img,
.woocommerce-product-gallery img,
.vuinhe-detail-media img {
  max-width: 100%;
  height: auto;
}

.woocommerce-product-gallery img {
  object-fit: contain;
}

.vuinhe-detail-media {
  margin: 16px 0;
}

.vuinhe-detail-media img {
  display: block;
  width: 100%;
}

.woocommerce-loop-product__title {
  font-size: 1rem;
  line-height: 1.35;
  min-height: 2.7em;
  padding: 14px 14px 6px;
  margin: 0;
}

.woocommerce ul.products li.product .price {
  color: var(--vn-accent-strong);
  display: block;
  font-weight: 800;
  padding: 0 14px 12px;
}

.woocommerce ul.products li.product .button,
.single_add_to_cart_button,
.checkout-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
#place_order {
  border: 0;
  border-radius: var(--vn-radius);
  background: var(--vn-green);
  color: #fff;
  min-height: 44px;
  padding: 12px 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.woocommerce ul.products li.product .button {
  margin: auto 14px 14px;
}

.woocommerce ul.products li.product .button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
#place_order:hover {
  background: #1e5542;
  color: #fff;
}

.badge,
.onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  bottom: auto;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  background: rgba(40, 106, 82, 0.95);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
  padding: 7px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
}

.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
  float: none;
  width: auto;
}

.single-product .woocommerce-product-gallery {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--vn-shadow);
}

.single-product .summary {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(18px, 3vw, 30px);
  box-shadow: 0 12px 32px rgba(84, 52, 43, 0.08);
}

.single-product .price {
  color: var(--vn-accent-strong);
  font-size: 1.55rem;
  font-weight: 900;
}

.product-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.product-trust-row span {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  padding: 9px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--vn-muted);
  background: #fff;
}

.quantity .qty {
  width: 84px;
  min-height: 44px;
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  text-align: center;
}

.woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 24px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  gap: 8px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: #fff;
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 12px 15px;
  display: block;
  color: var(--vn-ink);
}

.woocommerce table.shop_table {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  overflow: hidden;
  background: #fff;
}

.woocommerce-cart-form,
.cart-collaterals,
.checkout.woocommerce-checkout {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  padding: clamp(16px, 3vw, 26px);
  box-shadow: 0 12px 32px rgba(84, 52, 43, 0.08);
}

.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 24px;
}

.checkout.woocommerce-checkout #customer_details,
.checkout.woocommerce-checkout #order_review_heading,
.checkout.woocommerce-checkout #order_review {
  float: none;
  width: auto;
}

.checkout.woocommerce-checkout #order_review_heading,
.checkout.woocommerce-checkout #order_review {
  grid-column: 2;
}

.checkout.woocommerce-checkout #customer_details {
  grid-row: 1 / span 2;
}

.woocommerce-checkout-payment {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: #fff;
}

.woocommerce-checkout-payment ul.payment_methods {
  padding: 14px;
}

.woocommerce-checkout-payment .place-order {
  padding: 14px;
}

.mobile-commerce-nav {
  display: none;
}

@media (max-width: 900px) {
  .admin-bar .site-header {
    top: 0;
  }

  .hero-section {
    min-height: 440px;
    padding-bottom: 96px;
  }

  .hero-copy {
    max-width: 96%;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .hero-card {
    display: none;
  }

  .trust-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .single-product div.product,
  .checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
  }

  .checkout.woocommerce-checkout #order_review_heading,
  .checkout.woocommerce-checkout #order_review,
  .checkout.woocommerce-checkout #customer_details {
    grid-column: auto;
    grid-row: auto;
  }

  .mobile-commerce-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(234, 223, 219, 0.96);
    border-top: 1px solid var(--vn-line);
    padding: 6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
  }

  .mobile-commerce-nav a {
    min-height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--vn-ink);
    text-decoration: none;
    font-size: 0.72rem;
    border-radius: 6px;
    background: #fffaf7;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 560px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .woocommerce ul.products {
    gap: 10px;
  }

  .woocommerce-loop-product__title {
    font-size: 0.9rem;
    padding: 10px 10px 5px;
  }

  .woocommerce ul.products li.product .price {
    padding: 0 10px 10px;
  }

  .woocommerce ul.products li.product .button {
    margin: auto 10px 10px;
    min-height: 40px;
    font-size: 0.86rem;
  }

  .product-trust-row {
    grid-template-columns: 1fr;
  }
}

.cart-actions {
  margin-top: 18px;
}

.cart-actions .secondary-btn,
.cart-actions .checkout-btn {
  flex: 1 1 0;
}

.cart-item-main {
  min-width: 0;
}

.cart-item-main h3 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.3;
}

.cart-item-main h3 a {
  color: inherit;
  text-decoration: none;
}

.cart-item-remove {
  color: var(--vn-accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.cart-item-remove:hover {
  color: var(--vn-accent);
}

.cart-empty {
  margin-top: 8px;
}

.cart-drawer[aria-hidden="true"] {
  visibility: hidden;
}

.cart-drawer.is-open {
  visibility: visible;
}

.vuinhe-tracking-panel {
  margin-top: 24px;
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(84, 52, 43, 0.08);
  padding: clamp(18px, 3vw, 28px);
}

.vuinhe-tracking-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 18px;
}

.vuinhe-tracking-head h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.vuinhe-tracking-head p,
.vuinhe-tracking-note p {
  margin: 0;
  color: var(--vn-muted);
  line-height: 1.7;
}

.vuinhe-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(40, 106, 82, 0.12);
  color: var(--vn-green);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}

.vuinhe-tracking-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.vuinhe-tracking-steps li {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: #fff;
  color: var(--vn-muted);
  padding: 12px;
  text-align: center;
}

.vuinhe-tracking-steps li.is-active {
  border-color: rgba(40, 106, 82, 0.35);
  background: rgba(40, 106, 82, 0.08);
  color: var(--vn-green);
}

.vuinhe-tracking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.vuinhe-tracking-grid div,
.vuinhe-tracking-note {
  border: 1px solid var(--vn-line);
  border-radius: var(--vn-radius);
  background: #fff;
  padding: 14px;
}

.vuinhe-tracking-grid dt {
  margin: 0 0 6px;
  color: var(--vn-muted);
  font-size: 0.82rem;
}

.vuinhe-tracking-grid dd {
  margin: 0;
  font-weight: 800;
}

.vuinhe-tracking-link {
  margin: 0 0 18px;
}

.vuinhe-tracking-link .button {
  min-height: 42px;
}

.vuinhe-tracking-note strong {
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 700px) {
  .vuinhe-tracking-head,
  .vuinhe-tracking-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .vuinhe-status-pill {
    white-space: normal;
  }

  .vuinhe-tracking-steps {
    grid-template-columns: 1fr;
  }
}

.account-link .account-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.account-link .account-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 22px;
  height: 13px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  transform: translateX(-50%);
}

.vuinhe-account-page,
.account-auth-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 42px) 16px clamp(80px, 9vw, 118px);
}

.account-hero {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(40, 33, 31, 0.82), rgba(40, 106, 82, 0.48)),
    url("../media/hero-thumb.webp") center / cover no-repeat;
  color: #fff;
  padding: clamp(22px, 5vw, 42px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.account-profile {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.65rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.account-profile p,
.account-auth-intro p {
  margin: 0 0 4px;
  font-weight: 900;
  letter-spacing: 0;
}

.account-profile h1,
.account-auth-intro h1 {
  margin: 0;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.account-profile span,
.account-auth-intro span,
.account-section-head span,
.account-menu-row small,
.account-social-login small,
.account-muted {
  color: var(--vn-muted);
  line-height: 1.55;
}

.account-hero .account-profile span {
  color: rgba(255, 255, 255, 0.86);
}

.account-logout {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  color: #fff;
  font-weight: 850;
  white-space: nowrap;
}

.account-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 12px 0 18px;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: var(--vn-line);
}

.account-metrics article {
  min-width: 0;
  padding: 18px 12px;
  background: #fff;
  text-align: center;
}

.account-metrics strong {
  display: block;
  color: var(--vn-ink);
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  line-height: 1.1;
}

.account-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--vn-muted);
  font-size: 0.86rem;
}

.account-promo {
  min-height: 122px;
  margin: 0 0 18px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 246, 0.64)),
    url("../media/hero-thumb.webp") right center / contain no-repeat,
    #fff;
  border: 1px solid var(--vn-line);
  display: flex;
  align-items: center;
  padding: 20px;
}

.account-promo span {
  display: block;
  color: var(--vn-accent-strong);
  font-weight: 900;
}

.account-promo strong {
  display: block;
  max-width: 520px;
  margin-top: 4px;
  font-size: clamp(1rem, 3vw, 1.28rem);
}

.account-orders-panel,
.account-auth-card {
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(84, 52, 43, 0.08);
  padding: clamp(16px, 3vw, 24px);
}

.account-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.account-section-head h2 {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
}

.account-section-head a {
  color: var(--vn-muted);
  font-weight: 850;
}

.account-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.account-status-card {
  position: relative;
  min-width: 0;
  min-height: 120px;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  color: var(--vn-ink);
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px 8px;
  text-align: center;
}

.account-status-card strong {
  font-size: 0.92rem;
  line-height: 1.2;
}

.account-status-card em {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--vn-green);
  color: #fff;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  line-height: 22px;
}

.account-menu-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.account-menu-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  color: var(--vn-ink);
}

.account-menu-row strong,
.account-menu-row small {
  display: block;
}

.account-menu-row em {
  color: var(--vn-muted);
  font-size: 1.7rem;
  font-style: normal;
  line-height: 1;
}

.account-line-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--vn-ink);
}

.account-line-icon::before,
.account-line-icon::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
}

.account-line-icon.is-pay::before,
.account-line-icon.is-cart::before {
  width: 28px;
  height: 20px;
  border-radius: 3px;
}

.account-line-icon.is-pay::after {
  width: 9px;
  height: 9px;
  right: 3px;
  border-radius: 50%;
  background: #fff;
}

.account-line-icon.is-box::before,
.account-line-icon.is-orders::before {
  width: 28px;
  height: 24px;
  border-radius: 3px;
}

.account-line-icon.is-box::after,
.account-line-icon.is-orders::after {
  top: 7px;
  width: 12px;
  height: 10px;
  border-top: 0;
  border-radius: 0 0 2px 2px;
}

.account-line-icon.is-truck::before {
  left: 2px;
  width: 24px;
  height: 17px;
  border-radius: 3px;
}

.account-line-icon.is-truck::after {
  right: 0;
  bottom: 4px;
  width: 18px;
  height: 13px;
  border-left: 0;
  border-radius: 0 3px 3px 0;
}

.account-line-icon.is-shield::before,
.account-line-icon.is-privacy::before,
.account-line-icon.is-lock::before {
  width: 25px;
  height: 29px;
  border-radius: 14px 14px 10px 10px;
}

.account-line-icon.is-user::before {
  top: 3px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.account-line-icon.is-user::after {
  bottom: 2px;
  width: 26px;
  height: 16px;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.account-line-icon.is-pin::before {
  width: 22px;
  height: 28px;
  border-radius: 16px 16px 18px 18px;
  transform: rotate(45deg);
}

.account-line-icon.is-pin::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.account-line-icon.is-cart::after {
  bottom: 0;
  left: 8px;
  width: 19px;
  height: 2px;
  border-width: 2px 0 0;
}

.account-auth-page {
  display: grid;
  gap: 22px;
}

.account-auth-intro {
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(40, 106, 82, 0.88), rgba(196, 95, 75, 0.56)),
    url("../media/hero-thumb.webp") center / cover no-repeat;
  color: #fff;
  padding: clamp(24px, 5vw, 42px);
}

.account-auth-intro span {
  color: rgba(255, 255, 255, 0.88);
}

.account-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.account-auth-grid.is-single {
  grid-template-columns: minmax(0, 560px);
}

.account-social-login {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 8px;
  background: var(--vn-soft);
}

.account-social-login > span {
  color: var(--vn-accent-strong);
  font-weight: 900;
}

.account-social-placeholder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.account-social-placeholder button {
  min-height: 42px;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  color: var(--vn-muted);
  font-weight: 850;
}

.account-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.account-auth-actions .button {
  min-width: 140px;
  scroll-margin-bottom: 150px;
}

.email-code-panel {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.email-code-panel label {
  color: var(--vn-ink);
  font-weight: 850;
}

.email-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
  gap: 8px;
  align-items: stretch;
}

.email-code-row input {
  min-width: 0;
}

.email-code-send {
  min-width: 96px;
  white-space: nowrap;
}

.email-code-panel small {
  color: var(--vn-muted);
  line-height: 1.45;
}

.email-code-spam-note {
  color: var(--vn-ink);
  display: block;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.35;
}

.email-code-panel small.is-error {
  color: #9f2638;
  font-weight: 800;
}

.checkout-email-code-panel {
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: var(--vn-wash);
  padding: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  color: var(--vn-ink);
  font-weight: 800;
}

@media (max-width: 760px) {
  .header-actions .account-link {
    display: none;
  }

  .mobile-dock {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding-inline: 6px;
  }

  html[data-site-id=A] .mobile-dock {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding-inline: 6px !important;
  }

  .mobile-dock a,
  .mobile-dock button,
  html[data-site-id=A] .mobile-dock a,
  html[data-site-id=A] .mobile-dock button {
    min-height: 54px;
    padding: 7px 3px;
  }

  .mobile-dock span,
  html[data-site-id=A] .mobile-dock span {
    display: -webkit-box;
    max-width: 100%;
    min-height: 2.2em;
    overflow: hidden;
    white-space: normal;
    text-overflow: clip;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: clamp(0.68rem, 2.9vw, 0.78rem);
    line-height: 1.1;
    text-align: center;
  }

  html[data-site-id=A] body {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }

  .vuinhe-account-page,
  .account-auth-page {
    padding: 10px 10px calc(150px + env(safe-area-inset-bottom, 0px));
  }

  .account-auth-card:last-child {
    margin-bottom: 72px;
  }

  .account-auth-actions {
    align-items: stretch;
  }

  .account-auth-actions .button {
    width: 100%;
    min-height: 48px;
    margin-top: 6px;
  }

  .email-code-row {
    grid-template-columns: 1fr;
  }

  .email-code-send {
    width: 100%;
  }

  .account-hero {
    min-height: 206px;
    padding: 18px;
    align-items: end;
  }

  .account-profile {
    gap: 12px;
  }

  .account-avatar {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .account-logout {
    position: absolute;
    top: 14px;
    right: 14px;
    min-height: 36px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .account-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .account-metrics article {
    padding: 14px 5px;
  }

  .account-metrics span {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .account-promo {
    min-height: 94px;
    background-size: 52% auto;
    padding: 14px;
  }

  .account-promo strong {
    max-width: 58%;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .account-status-grid,
  .account-auth-grid {
    grid-template-columns: 1fr;
  }

  .account-status-card {
    min-height: 84px;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    justify-items: start;
    text-align: left;
    padding: 12px;
  }

  .account-status-card em {
    position: static;
    text-align: center;
  }

  .account-menu-row {
    min-height: 68px;
  }

  .account-menu-row small {
    display: none;
  }
}

/* Demo-standard commerce experience, connected to live WooCommerce. */
:root {
  --vn-plum: #4b123f;
  --vn-berry: #b0154c;
  --vn-coral: #f04463;
  --vn-gold: #f6bd2a;
  --vn-paper: #ffffff;
  --vn-wash: #f8f3f6;
  --vn-soft-green: #edf7f2;
  --vn-dock: 76px;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  margin: 0;
  background: var(--vn-wash);
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--vn-line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 28px rgba(36, 31, 36, 0.06);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.top-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 7px 14px;
  background: var(--vn-plum);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.top-strip a,
.top-strip button {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 850;
  text-decoration: none;
}

.top-strip span {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country {
  display: grid;
  min-width: 38px;
  min-height: 26px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  border-radius: 4px;
}

.lang-switcher {
  position: relative;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 148px;
  padding: 8px;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--vn-shadow);
}

.lang-menu.is-open {
  display: grid;
  gap: 6px;
}

.lang-btn {
  min-height: 36px;
  border: 1px solid var(--vn-line);
  border-radius: 7px;
  background: var(--vn-wash);
  color: var(--vn-ink);
  font-weight: 800;
}

.lang-btn.is-active {
  border-color: var(--vn-plum);
  background: var(--vn-plum);
  color: #fff;
}

.main-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, 44px);
  gap: 8px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 14px 8px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 950;
  text-decoration: none;
}

.brand strong,
.brand > span:not(.brand-mark) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark,
.footer-brand span,
.account-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 7px;
  background: var(--vn-plum);
  color: #fff;
  font-weight: 950;
}

.icon-btn {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--vn-line);
  border-radius: 7px;
  background: #fff;
  color: var(--vn-ink);
  text-decoration: none;
}

.cart-count,
.mobile-dock em {
  position: absolute;
  top: -7px;
  right: -6px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--vn-berry);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.search-icon,
.account-icon,
.cart-icon,
.dock-icon {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
}

.search-icon::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  top: 1px;
  left: 1px;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  right: 1px;
  bottom: 3px;
  transform: rotate(45deg);
}

.account-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.account-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 1px;
  width: 17px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 12px 12px 2px 2px;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 14px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.cart-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.search-bar {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
  max-width: 1160px;
  margin: 0 auto 10px;
  padding: 0 14px;
}

.search-bar input[type="search"] {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--vn-line);
  border-radius: 7px;
  background: var(--vn-wash);
  color: var(--vn-ink);
  padding: 0 12px;
  outline: 0;
}

.search-bar .search-icon {
  color: var(--vn-muted);
}

.search-bar button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--vn-muted);
  font-size: 24px;
  line-height: 1;
}

.category-tabs {
  display: flex;
  max-width: 1160px;
  gap: 8px;
  overflow-x: auto;
  margin: 0 auto;
  padding: 0 14px 12px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs a,
.shop-filter-grid a {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vn-line);
  border-radius: 999px;
  background: #fff;
  color: var(--vn-ink);
  padding: 0 14px;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.category-tabs .is-active,
.shop-filter-grid .is-active {
  border-color: var(--vn-plum);
  background: var(--vn-plum);
  color: #fff;
}

.page,
.woo-page {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 14px 14px 54px;
}

.section-card,
.product-card-shell,
.cart-page-line,
.checkout-panel,
.account-card,
.order-success-panel,
.summary-box,
.cart-summary-panel,
.category-showcase,
.guide-card,
.review-card,
.trust-card,
.stack-list article {
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 31, 36, 0.05);
}

.deal-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--vn-plum), var(--vn-berry) 58%, var(--vn-coral));
  color: #fff;
  padding: 14px;
}

.deal-rail span,
.deal-rail strong {
  display: block;
}

.deal-rail span {
  font-size: 13px;
  opacity: 0.88;
}

.deal-rail strong {
  font-size: clamp(18px, 4vw, 30px);
  line-height: 1.12;
}

.deal-rail a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 7px;
  background: #fff;
  color: var(--vn-plum);
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: clamp(22px, 5vw, 48px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--vn-berry);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.shop-hero h1,
.checkout-title h1,
.cart-page-title h1,
.order-success-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1.02;
}

.hero p,
.shop-hero p,
.checkout-title p,
.cart-page-title p,
.order-success-panel p {
  max-width: 680px;
  color: var(--vn-muted);
  line-height: 1.65;
}

.hero-actions,
.button-row,
.card-actions,
.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary-btn,
.secondary-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.view-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
}

.primary-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border: 1px solid var(--vn-plum);
  background: linear-gradient(135deg, var(--vn-plum), var(--vn-berry));
  color: #fff;
}

.secondary-btn,
.view-button {
  border: 1px solid var(--vn-line);
  background: #fff;
  color: var(--vn-plum);
}

.hero-product-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  color: var(--vn-ink);
  text-decoration: none;
  box-shadow: var(--vn-shadow);
}

.hero-product-media {
  display: grid;
  min-height: 0;
  place-items: center;
  background: #fff;
  padding: 18px;
}

.hero-product-media img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.hero-product-card > div:last-child {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-top: 1px solid var(--vn-line);
}

.hero-product-card strong {
  font-size: 1rem;
  line-height: 1.3;
}

.hero-product-card em {
  color: var(--vn-berry);
  font-style: normal;
  font-weight: 950;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: none;
  margin: 0;
  padding: 0;
}

.trust-card {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.trust-card strong {
  font-size: 1rem;
}

.trust-card p {
  margin: 0;
  color: var(--vn-muted);
}

.trust-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: var(--vn-soft-green);
  color: var(--vn-green);
  font-weight: 950;
}

.section-head,
.toolbar,
.shop-loop-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin: 0 0 14px;
}

.section-head h2,
.toolbar h2,
.vn-detail-images h2,
.checkout-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.section-head a,
.toolbar a {
  color: var(--vn-plum);
  font-weight: 900;
  text-decoration: none;
}

.category-showcase {
  padding: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.category-tile {
  position: relative;
  display: grid;
  min-height: 128px;
  overflow: hidden;
  align-items: end;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: var(--vn-wash);
  color: var(--vn-ink);
  text-decoration: none;
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  opacity: 0.82;
}

.category-tile span {
  position: relative;
  z-index: 1;
  display: block;
  margin: 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  font-weight: 900;
  text-align: center;
}

.section-shell,
.split-section,
.page-shell {
  padding: 12px 0;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  list-style: none;
}

.product-card-shell {
  display: grid;
  height: 100%;
  overflow: hidden;
}

.product-media {
  position: relative;
  background: #fff;
  aspect-ratio: 1 / 1;
}

.product-media a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 12px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  background: var(--vn-coral);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 950;
}

.save-button {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--vn-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--vn-berry);
  font-size: 21px;
  font-weight: 950;
}

.save-button.is-saved {
  background: var(--vn-berry);
  color: #fff;
}

.save-button.is-saved span {
  transform: scale(1.08);
}

.product-info {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.rating-row,
.single-rating-row {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--vn-muted);
  font-size: 12px;
}

.stars {
  color: var(--vn-gold);
  letter-spacing: 0;
}

.woocommerce-loop-product__title {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
}

.woocommerce-loop-product__title a {
  text-decoration: none;
}

.product-info p {
  margin: 0;
  color: var(--vn-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.price,
.woocommerce-Price-amount {
  color: var(--vn-berry);
  font-weight: 950;
}

.woocommerce ul.products li.product .price {
  margin: 0;
  color: var(--vn-berry);
}

.card-actions {
  padding: 0 12px 12px;
}

.card-actions .button {
  flex: 1 1 138px;
}

.card-actions .view-button {
  min-width: 96px;
}

.shop-hero,
.checkout-title,
.cart-page-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.shop-filter-grid {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.shop-filter-grid::-webkit-scrollbar {
  display: none;
}

.woocommerce-result-count {
  margin: 0;
  color: var(--vn-muted);
}

.woocommerce-ordering {
  margin: 0;
}

.woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper textarea,
.woocommerce-input-wrapper select,
.input-text {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--vn-line);
  border-radius: 7px;
  background: #fff;
  color: var(--vn-ink);
  padding: 11px 13px;
}

.vn-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.vn-product-gallery,
.vn-product-summary,
.vn-detail-images {
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(36, 31, 36, 0.05);
}

.vn-product-gallery {
  position: sticky;
  top: 150px;
  overflow: hidden;
}

.vn-main-image {
  display: grid;
  min-height: 430px;
  place-items: center;
  background: #fff;
  padding: 18px;
}

.vn-main-image img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
}

.vn-thumb-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid var(--vn-line);
  padding: 10px;
}

.vn-thumb-row button {
  display: grid;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  place-items: center;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.vn-thumb-row button.is-active {
  border-color: var(--vn-plum);
  box-shadow: 0 0 0 2px rgba(75, 18, 63, 0.12);
}

.vn-thumb-row img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vn-product-summary {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 30px);
}

.woocommerce-breadcrumb {
  color: var(--vn-muted);
  font-size: 0.86rem;
}

.product_title {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.06;
}

.single-price {
  font-size: 1.45rem;
}

.single-short-description {
  margin: 0;
  color: var(--vn-muted);
  line-height: 1.65;
}

.product-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.product-trust-row span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 7px;
  background: var(--vn-soft-green);
  color: var(--vn-green);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.single-cart-panel {
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: var(--vn-wash);
  padding: 12px;
}

.single-cart-panel form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.quantity .qty {
  width: 76px;
  min-height: 44px;
  border: 1px solid var(--vn-line);
  border-radius: 7px;
  text-align: center;
}

.single_add_to_cart_button {
  flex: 1 1 180px;
}

.single-support-list {
  display: grid;
  gap: 10px;
}

.single-support-list article {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--vn-line);
  padding-top: 10px;
}

.single-support-list span {
  color: var(--vn-muted);
  line-height: 1.5;
}

.vn-detail-images {
  margin-top: 18px;
  padding: 14px;
}

.detail-image-stack {
  display: grid;
  gap: 10px;
}

.detail-image-stack img {
  width: 100%;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
}

.cart-page-grid,
.vn-checkout-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 16px;
  align-items: start;
}

.cart-page-form,
.cart-summary-panel,
.checkout-panel {
  min-width: 0;
}

.cart-lines {
  display: grid;
  gap: 10px;
}

.cart-page-line {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) minmax(150px, auto);
  gap: 12px;
  align-items: center;
  padding: 10px;
}

.cart-line-media img {
  width: 104px;
  height: 104px;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.cart-line-main h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.35;
}

.cart-line-main a {
  text-decoration: none;
}

.cart-line-price {
  color: var(--vn-berry);
  font-weight: 900;
}

.cart-line-controls {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.cart-remove {
  color: var(--vn-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.cart-form-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.coupon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.coupon label {
  grid-column: 1 / -1;
  font-weight: 850;
}

.cart-summary-panel,
.checkout-panel,
.order-success-panel {
  padding: 14px;
}

.cart_totals {
  float: none !important;
  width: auto !important;
}

.cart_totals h2 {
  margin-top: 0;
}

.cart_totals table {
  width: 100%;
  border-collapse: collapse;
}

.cart_totals th,
.cart_totals td,
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  border-top: 1px solid var(--vn-line);
  padding: 12px 0;
  text-align: left;
}

.wc-proceed-to-checkout a.checkout-button {
  width: 100%;
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.checkout-progress span {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: #fff;
  color: var(--vn-muted);
  font-weight: 900;
}

.checkout-progress strong {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--vn-wash);
}

.checkout-progress .is-active {
  border-color: rgba(75, 18, 63, 0.3);
  color: var(--vn-plum);
}

.checkout-progress .is-active strong {
  background: var(--vn-plum);
  color: #fff;
}

.checkout-panel {
  display: grid;
  gap: 12px;
}

.checkout-panel .form-row {
  margin: 0 0 12px;
}

.checkout-panel label {
  color: var(--vn-ink);
  font-weight: 850;
}

.checkout-privacy-note {
  margin: 0;
  border-radius: 8px;
  background: var(--vn-soft-green);
  color: var(--vn-green);
  padding: 12px;
  line-height: 1.5;
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}

#payment {
  border-radius: 8px;
  background: var(--vn-wash);
  padding: 12px;
}

#payment ul.payment_methods {
  margin: 0;
  padding: 0;
  list-style: none;
}

#payment div.payment_box {
  color: var(--vn-muted);
  line-height: 1.55;
}

.place-order {
  margin-bottom: 0 !important;
}

#place_order {
  width: 100%;
  min-height: 52px;
}

.order-success-panel {
  display: grid;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(18px, 5vw, 42px);
}

.order-success-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.order-success-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  background: var(--vn-wash);
  padding: 12px;
}

.order-success-grid span {
  color: var(--vn-muted);
  font-size: 0.82rem;
}

.order-success-grid strong {
  overflow-wrap: anywhere;
}

.tracking {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tracking div {
  display: grid;
  gap: 8px;
  color: var(--vn-muted);
  font-weight: 850;
}

.tracking span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: var(--vn-line);
}

.tracking .is-done {
  color: var(--vn-green);
}

.tracking .is-done span {
  background: var(--vn-green);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  background: rgba(36, 31, 36, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cart-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(420px, 100vw);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--vn-line);
  padding: 14px;
}

.cart-drawer-content {
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  -webkit-overflow-scrolling: touch;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--vn-line);
  border-radius: 8px;
  padding: 8px;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  line-height: 1.3;
}

.cart-item h3 a {
  text-decoration: none;
}

.cart-item p {
  margin: 0;
  color: var(--vn-berry);
  font-weight: 900;
}

.qty-control {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.cart-note,
.cart-total {
  margin-top: 12px;
  border-radius: 8px;
  background: var(--vn-wash);
  padding: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 950;
}

.cart-actions {
  margin-top: 12px;
}

.cart-actions a {
  flex: 1;
}

.mobile-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  min-height: calc(var(--vn-dock) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--vn-line);
  background: rgba(255, 255, 255, 0.97);
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 26px rgba(36, 31, 36, 0.08);
}

.mobile-dock a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 58px;
  place-items: center;
  align-content: center;
  gap: 3px;
  border-radius: 7px;
  color: var(--vn-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.mobile-dock a.is-active {
  background: var(--vn-wash);
  color: var(--vn-plum);
}

.dock-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.dock-icon.is-home::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 13px;
  height: 13px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.dock-icon.is-shop::after,
.dock-icon.is-cart::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 9px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.dock-icon.is-guide::before {
  border-radius: 50%;
}

.dock-icon.is-account::before {
  top: 2px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.dock-icon.is-account::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 2px;
  width: 15px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 2px 2px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: start;
  margin-top: 36px;
  background: var(--vn-plum);
  color: #fff;
  padding: clamp(24px, 5vw, 48px);
}

.site-footer .brand {
  color: #fff;
}

.site-footer p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.82);
}

.account-hero {
  background: linear-gradient(135deg, var(--vn-plum), var(--vn-berry));
}

.vuinhe-account-page {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 14px 14px 96px;
}

.woocommerce-MyAccount-content {
  min-width: 0;
}

@media (max-width: 980px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero,
  .vn-product-layout,
  .cart-page-grid,
  .vn-checkout-form {
    grid-template-columns: 1fr;
  }

  .vn-product-gallery {
    position: static;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .order-success-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html,
  body,
  #page,
  .site,
  .page,
  .woo-page,
  .vuinhe-account-page,
  .site-header,
  .site-footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  table,
  tbody,
  thead,
  tfoot,
  tr,
  th,
  td {
    max-width: 100%;
  }

  .woocommerce table.shop_table,
  .woocommerce-checkout-review-order-table,
  .cart_totals table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }

  .woocommerce table.shop_table tbody,
  .woocommerce-checkout-review-order-table tbody,
  .cart_totals table tbody,
  .woocommerce table.shop_table tfoot,
  .woocommerce-checkout-review-order-table tfoot,
  .cart_totals table tfoot {
    display: table;
    width: 100%;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td,
  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td {
    overflow-wrap: anywhere;
  }

  .woocommerce-breadcrumb {
    overflow-wrap: anywhere;
  }

  .woocommerce-notices-wrapper,
  .woocommerce-message,
  .woocommerce-info,
  .woocommerce-error {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body {
    padding-bottom: calc(var(--vn-dock) + 18px + env(safe-area-inset-bottom, 0px));
  }

  .admin-bar .site-header,
  .site-header {
    top: 0;
  }

  .top-strip {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding-inline: 10px;
  }

  .top-strip a {
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-bar {
    grid-template-columns: minmax(0, 1fr) repeat(3, 42px);
    padding-inline: 10px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .search-bar {
    padding-inline: 10px;
  }

  .category-tabs {
    padding-inline: 10px;
  }

  .page,
  .woo-page,
  .vuinhe-account-page {
    padding: 10px 10px calc(104px + env(safe-area-inset-bottom, 0px));
  }

  .deal-rail,
  .shop-hero,
  .checkout-title,
  .cart-page-title,
  .section-head,
  .toolbar,
  .shop-loop-head {
    align-items: stretch;
  }

  .deal-rail {
    grid-template-columns: 1fr;
  }

  .deal-rail a {
    justify-content: center;
  }

  .hero-copy,
  .hero-product-card {
    min-height: auto;
  }

  .hero h1,
  .shop-hero h1,
  .checkout-title h1,
  .cart-page-title h1,
  .order-success-panel h1 {
    font-size: 2rem;
  }

  .trust-grid,
  .product-trust-row,
  .tracking {
    grid-template-columns: 1fr;
  }

  .category-grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .category-tile {
    width: 138px;
    flex: 0 0 138px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info p,
  .rating-row span:last-child {
    display: none;
  }

  .woocommerce-loop-product__title {
    min-height: 2.7em;
    font-size: 0.9rem;
  }

  .card-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 10px 10px;
  }

  .card-actions .button,
  .card-actions .view-button {
    width: 100%;
    min-width: 0;
  }

  .vn-main-image {
    min-height: 310px;
  }

  .vn-thumb-row button {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .cart-page-line {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
  }

  .cart-line-media img {
    width: 88px;
    height: 88px;
  }

  .cart-line-controls {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-items: stretch;
  }

  .cart-line-controls strong {
    justify-self: center;
  }

  .coupon {
    grid-template-columns: 1fr;
  }

  .checkout-progress {
    grid-template-columns: 1fr;
  }

  .order-success-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 420px) {
  .brand strong {
    display: none;
  }

  .woocommerce ul.products {
    gap: 8px;
  }

  .primary-btn,
  .secondary-btn,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce #respond input#submit,
  .view-button {
    padding-inline: 12px;
    font-size: 0.9rem;
  }
}
