/* =========================================
   ViaLem WooCommerce skin (Blocks + Classic)
   Scope: all WooCommerce pages + checkout
   Enable: ViaLem -> Pricing & Vouchers -> WooCommerce Styling (toggle on)
   Version: 1.2
   ========================================= */

body.woocommerce,
body.woocommerce-page,
body.woocommerce-checkout {
  /* Palette tokens are centralized in assets/css/vialem-color-palette.css */
}

body.woocommerce .woocommerce,
body.woocommerce-page .woocommerce,
body.woocommerce .site-main,
body.woocommerce-page .site-main,
body.woocommerce .entry-content,
body.woocommerce-page .entry-content {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

body.woocommerce-order-pay .woocommerce,
body.woocommerce-order-pay .site-main,
body.woocommerce-order-pay .entry-content {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

body.woocommerce .woocommerce,
body.woocommerce-page .woocommerce,
body.woocommerce-order-pay .woocommerce,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-components-notice-banner {
  color: var(--vl-text);
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

/* Headings */
body.woocommerce .woocommerce h1,
body.woocommerce .woocommerce h2,
body.woocommerce .woocommerce h3,
body.woocommerce-page .woocommerce h1,
body.woocommerce-page .woocommerce h2,
body.woocommerce-page .woocommerce h3,
body.woocommerce-order-pay .woocommerce h1,
body.woocommerce-order-pay .woocommerce h2,
body.woocommerce-order-pay .woocommerce h3,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wp-block-woocommerce-checkout h2,
body.woocommerce-checkout .wp-block-woocommerce-checkout h3 {
  color: var(--vl-info-strong);
  font-family: Georgia, "Times New Roman", serif;
  padding: 5px 10px
}

.woocommerce h1 { font-size: 2rem !important; }
.woocommerce h2 { font-size: 1.6rem !important; }
.woocommerce h3 { font-size: 1.35rem !important; }


/* Panels / cards */
body.woocommerce-checkout .wc-block-components-card,
body.woocommerce-checkout .wc-block-components-panel,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce .woocommerce-MyAccount-navigation,
body.woocommerce .woocommerce-MyAccount-content,
body.woocommerce-order-pay .woocommerce-order,
body.woocommerce-order-pay #order_review,
body.woocommerce-order-pay #payment,
body.woocommerce-order-pay .shop_table,
body.woocommerce .woocommerce-order,
body.woocommerce .woocommerce-order-details,
body.woocommerce .woocommerce-customer-details,
body.woocommerce .woocommerce-checkout-review-order,
body.woocommerce .cart-collaterals .cart_totals,
body.woocommerce .woocommerce-cart-form,
body.woocommerce-page .woocommerce-MyAccount-navigation,
body.woocommerce-page .woocommerce-MyAccount-content,
body.woocommerce-page .woocommerce-order,
body.woocommerce-page .woocommerce-order-details,
body.woocommerce-page .woocommerce-customer-details,
body.woocommerce-page .woocommerce-checkout-review-order,
body.woocommerce-page .cart-collaterals .cart_totals,
body.woocommerce-page .woocommerce-cart-form {
  border: var(--vl-border) !important;
  border-radius: var(--vl-radius) !important;
  background: #fff !important;
  box-shadow: var(--vl-shadow) !important;
}

/* Order summary */
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: var(--vl-info-surface) !important;
  padding: 16px !important;
}

/* Inputs */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select,
body.woocommerce form .form-row input.input-text,
body.woocommerce form .form-row textarea,
body.woocommerce form .form-row select,
body.woocommerce-page form .form-row input.input-text,
body.woocommerce-page form .form-row textarea,
body.woocommerce-page form .form-row select {
  border: var(--vl-border) !important;
  border-radius: var(--vl-radius-sm) !important;
  padding: 20px 10px 5px 10px !important;
  box-shadow: none !important;
  min-height: 44px;
}

/* Focus ring */
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input textarea:focus,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input:focus,
body.woocommerce-checkout .wc-block-components-address-form input:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus,
body.woocommerce form .form-row input.input-text:focus,
body.woocommerce form .form-row textarea:focus,
body.woocommerce form .form-row select:focus,
body.woocommerce-page form .form-row input.input-text:focus,
body.woocommerce-page form .form-row textarea:focus,
body.woocommerce-page form .form-row select:focus {
  outline: none !important;
  border-color: var(--vl-primary) !important;
  box-shadow: 0 0 0 3px rgba(36,116,124,.18) !important;
}

/* Buttons */
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout .components-button,
body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
body.woocommerce-order-pay a.button,
body.woocommerce-order-pay button.button,
body.woocommerce-order-pay input.button,
body.woocommerce-page a.button,
body.woocommerce-page button.button,
body.woocommerce-page input.button {
  border-radius: 20px !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

/* Primary action */
body.woocommerce-checkout .wc-block-components-button:not(.is-secondary) {
  background: var(--vl-brand-primary-dark) !important;
  border-color: var(--vl-primary) !important;
  color: #fff !important;
  padding: 12px 18px !important;
}

body.woocommerce-checkout .wc-block-components-button:not(.is-secondary):hover {
  background: var(--vl-warning) !important;
  border-color: var(--vl-primary-dark) !important;
}

body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
body.woocommerce-page a.button,
body.woocommerce-page button.button,
body.woocommerce-page input.button {
  background: var(--vl-brand-primary-dark) !important;
  border-color: var(--vl-primary) !important;
  color: #fff !important;
  padding: 12px 16px !important;
  margin: 8px 5px !important;
}

body.woocommerce a.button:hover,
body.woocommerce button.button:hover,
body.woocommerce input.button:hover,
body.woocommerce-order-pay a.button:hover,
body.woocommerce-order-pay button.button:hover,
body.woocommerce-order-pay input.button:hover,
body.woocommerce-page a.button:hover,
body.woocommerce-page button.button:hover,
body.woocommerce-page input.button:hover {
  background: var(--vl-warning) !important;
  border-color: var(--vl-primary-dark) !important;
}

body.woocommerce-order-pay #order_review,
body.woocommerce-order-pay #payment {
  padding: 18px 20px !important;
  margin-bottom: 18px !important;
  background: #fff !important;
}

body.woocommerce-order-pay #payment {
  border: var(--vl-border) !important;
  border-radius: var(--vl-radius) !important;
  box-shadow: var(--vl-shadow) !important;
}

body.woocommerce-order-pay .shop_table {
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

body.woocommerce-order-pay .shop_table th,
body.woocommerce-order-pay .shop_table td {
  padding: 14px 16px !important;
  border-color: rgba(36, 116, 124, 0.18) !important;
}

body.woocommerce-order-pay #payment ul.payment_methods {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-order-pay #payment ul.payment_methods li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-order-pay #payment ul.payment_methods li + li {
  border-top: 1px solid rgba(36, 116, 124, 0.1) !important;
}

body.woocommerce-order-pay #payment ul.payment_methods label {
  display: block;
  padding: 10px 4px 12px !important;
  font-weight: 700 !important;
  color: var(--vl-text) !important;
}

body.woocommerce-order-pay #payment div.payment_box {
  margin: 8px 0 0 !important;
  padding: 12px 0 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--vl-text) !important;
  box-shadow: none !important;
}

body.woocommerce-order-pay #payment div.payment_box::before {
  display: none !important;
}

body.woocommerce-order-pay #payment fieldset,
body.woocommerce-order-pay #payment .wc-stripe-upe-form,
body.woocommerce-order-pay #payment .wc-payment-form,
body.woocommerce-order-pay #payment .wc-saved-payment-methods {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-order-pay #payment fieldset {
  margin: 0 !important;
  padding: 0 !important;
  min-inline-size: 0 !important;
}

body.woocommerce-order-pay #payment .wc-stripe-upe-form > fieldset + fieldset {
  margin-top: 10px !important;
}

body.woocommerce-order-pay #place_order {
  min-width: 220px;
}

body.woocommerce-order-pay .entry-title,
body.woocommerce-order-pay .entry-header .entry-title,
body.woocommerce-order-pay .wp-block-post-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 26px !important;
  font-size: clamp(2.25rem, 4vw, 3.15rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em;
  color: var(--vl-info-strong) !important;
}

body.woocommerce-order-pay .entry-title::before,
body.woocommerce-order-pay .entry-header .entry-title::before,
body.woocommerce-order-pay .wp-block-post-title::before {
  content: "";
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.2) 48%, transparent 60%),
    linear-gradient(145deg, rgba(106, 183, 183, 0.18), rgba(36, 116, 124, 0.12)),
    url("../../images/vialem_loader_icon.svg") center/30px 30px no-repeat;
  box-shadow: 0 14px 34px rgba(14, 81, 86, 0.12);
}

body.woocommerce-order-pay .woocommerce,
body.woocommerce-order-pay .woocommerce p,
body.woocommerce-order-pay .woocommerce li,
body.woocommerce-order-pay .woocommerce td,
body.woocommerce-order-pay .woocommerce th,
body.woocommerce-order-pay #payment label,
body.woocommerce-order-pay #payment div.payment_box,
body.woocommerce-order-pay .woocommerce-privacy-policy-text {
  font-size: 1.05rem;
  line-height: 1.65;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary {
  margin: 0 0 18px !important;
  padding: 22px 24px !important;
  border: 1px solid rgba(36, 116, 124, 0.22) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at top right, rgba(106, 183, 183, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(227, 239, 237, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
  box-shadow: 0 18px 40px rgba(14, 81, 86, 0.09) !important;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__hero {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(36, 116, 124, 0.14), 0 12px 28px rgba(14, 81, 86, 0.08);
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__icon img {
  display: block;
  width: 30px;
  height: 30px;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__content {
  min-width: 0;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  background: rgba(14, 81, 86, 0.12);
  color: var(--vl-primary-dark);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary h3 {
  margin: 0 0 0.45rem !important;
  padding: 0 !important;
  font-size: clamp(1.5rem, 2vw, 2rem) !important;
  line-height: 1.12 !important;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary p {
  margin: 0 0 1rem !important;
  color: var(--vl-text) !important;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  margin: 0 0 1rem !important;
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__grid > div {
  padding: 1rem 1rem;
  border: 1px solid rgba(36, 116, 124, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__grid dt {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vl-text-muted);
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__grid dd {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--vl-primary-dark);
}

body.woocommerce-order-pay .vialem-order-pay-voucher-summary__note {
  margin-bottom: 0 !important;
  font-weight: 700;
  color: var(--vl-primary-dark) !important;
}

@media (max-width: 820px) {
  body.woocommerce-order-pay .vialem-order-pay-voucher-summary__hero {
    align-items: center;
  }
  body.woocommerce-order-pay .vialem-order-pay-voucher-summary__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.woocommerce-order-pay .entry-title,
  body.woocommerce-order-pay .entry-header .entry-title,
  body.woocommerce-order-pay .wp-block-post-title {
    gap: 12px;
  }

  body.woocommerce-order-pay .entry-title::before,
  body.woocommerce-order-pay .entry-header .entry-title::before,
  body.woocommerce-order-pay .wp-block-post-title::before {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
    background-size: 24px 24px;
  }

  body.woocommerce-order-pay .vialem-order-pay-voucher-summary {
    padding: 18px 16px !important;
  }

  body.woocommerce-order-pay .vialem-order-pay-voucher-summary__hero {
    flex-direction: column;
    align-items: flex-start;
  }

  body.woocommerce-order-pay .vialem-order-pay-voucher-summary__grid {
    grid-template-columns: 1fr;
  }
}

body.woocommerce-order-pay .shop_table th {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--vl-primary-dark) !important;
}

body.woocommerce-order-pay .shop_table td {
  font-size: 1.06rem;
}

body.woocommerce-order-pay .shop_table .order-total td,
body.woocommerce-order-pay .shop_table .order-total th,
body.woocommerce-order-pay .shop_table .product-total,
body.woocommerce-order-pay .shop_table .product-total strong {
  font-size: 1.14rem !important;
  font-weight: 800 !important;
}

body.woocommerce-order-pay #payment {
  padding: 22px 24px !important;
  background:
    radial-gradient(circle at top right, rgba(106, 183, 183, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 251, 0.96)) !important;
}

body.woocommerce-order-pay #payment ul.payment_methods label {
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  color: var(--vl-primary-dark) !important;
}

body.woocommerce-order-pay #payment div.payment_box {
  font-size: 1rem !important;
}

body.woocommerce-order-pay #place_order {
  min-width: 240px;
  font-size: 1.06rem !important;
  padding: 14px 20px !important;
}

/* Secondary buttons */
body.woocommerce-checkout .wc-block-components-button.is-secondary {
  background: transparent !important;
  border: var(--vl-border) !important;
  color: var(--vl-primary-dark) !important;
}

body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce-page a.button.alt,
body.woocommerce-page button.button.alt {
  background: var(--vl-brand-primary-dark) !important;
  border-color: var(--vl-primary-dark) !important;
  color: #fff !important;
}

body.woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body.woocommerce-page a.button.alt:hover,
body.woocommerce-page button.button.alt:hover {
   background: var(--vl-warning) !important;
}

/* Checkbox / radio */
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"],
body.woocommerce input[type="checkbox"],
body.woocommerce input[type="radio"],
body.woocommerce-page input[type="checkbox"],
body.woocommerce-page input[type="radio"] {
  accent-color: var(--vl-primary);
}

/* Notices */
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce .woocommerce-message,
body.woocommerce .woocommerce-info,
body.woocommerce .woocommerce-error,
body.woocommerce-page .woocommerce-message,
body.woocommerce-page .woocommerce-info,
body.woocommerce-page .woocommerce-error {
  border: var(--vl-border) !important;
  border-radius: var(--vl-radius) !important;
  background: var(--vl-bg-subtle) !important;
  color: var(--vl-text) !important;
  position: relative;
  padding: 12px 12px 12px 78px !important;
  min-height: 58px;
  background-repeat: no-repeat !important;
  background-position: 12px center !important;
  background-size: 44px 44px !important;
}

/* Hide default Woo/Blocks notice glyphs; ViaLem icon comes from background image */
body.woocommerce .woocommerce-message::before,
body.woocommerce .woocommerce-info::before,
body.woocommerce .woocommerce-error::before,
body.woocommerce-page .woocommerce-message::before,
body.woocommerce-page .woocommerce-info::before,
body.woocommerce-page .woocommerce-error::before {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner > svg,
body.woocommerce-checkout .wc-block-components-notice-banner .wc-block-components-notice-banner__icon {
  display: none !important;
}

/* ViaLem alert icon set (same family as questionnaire notices) */
body.woocommerce .woocommerce-message,
body.woocommerce-page .woocommerce-message,
body.woocommerce-checkout .wc-block-components-notice-banner.is-success {
  border-color: var(--vl-success) !important;
  background-image: url("/wp-content/uploads/2026/01/ok_vialem.png") !important;
}

body.woocommerce .woocommerce-error,
body.woocommerce-page .woocommerce-error,
body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
  border-color: var(--vl-error) !important;
  background-image: url("/wp-content/uploads/2026/01/warning_vialem.png") !important;
}

body.woocommerce .woocommerce-info,
body.woocommerce-page .woocommerce-info,
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-components-notice-banner.is-info,
body.woocommerce-checkout .wc-block-components-notice-banner.is-warning {
  border-color: var(--vl-warning) !important;
  background-image: url("/wp-content/uploads/2026/01/exclamation_vialem.png") !important;
}

/* Keep content flow tidy when notice contains lists */
body.woocommerce ul.woocommerce-error,
body.woocommerce ul.woocommerce-info,
body.woocommerce ul.woocommerce-message,
body.woocommerce-page ul.woocommerce-error,
body.woocommerce-page ul.woocommerce-info,
body.woocommerce-page ul.woocommerce-message {
  margin-left: 0 !important;
  list-style: none !important;
}

body.woocommerce ul.woocommerce-error li,
body.woocommerce ul.woocommerce-info li,
body.woocommerce ul.woocommerce-message li,
body.woocommerce-page ul.woocommerce-error li,
body.woocommerce-page ul.woocommerce-info li,
body.woocommerce-page ul.woocommerce-message li {
  margin-left: 0 !important;
}

body.woocommerce .shop_table,
body.woocommerce-page .shop_table,
body.woocommerce table.shop_table,
body.woocommerce-page table.shop_table {
  border-radius: var(--vl-radius) !important;
  border: var(--vl-border) !important;
  overflow: hidden;
  width: 98%;
  margin: 0 auto;
}

body.woocommerce table.shop_table th,
body.woocommerce-page table.shop_table th {
  background: var(--vl-bg-page) !important;
  color: var(--vl-info-strong) !important;
}

body.woocommerce .woocommerce-breadcrumb,
body.woocommerce-page .woocommerce-breadcrumb {
  color: var(--vl-muted);
}

body.woocommerce .woocommerce-breadcrumb {
  margin-top: 20px;
  border: 1px solid var(--vl-border-color);
  padding: 10px;
  font-weight: bold;
  border-radius: 10px;
  background: var(--vl-bg-surface);
}

body.woocommerce .woocommerce-breadcrumb a {
  color: var(--vl-text-secondary);
  font-weight: normal;
}

body.woocommerce .woocommerce-product-details__short-description {
  font-size: 1em;
  line-height: 1.2em;
}

body.woocommerce .variations, body.woocommerce .pwgc-purchase-container {
   border: 1px solid var(--vl-border-color)!important;
   border-radius: 10px!important;
}

.woocommerce div.product form.cart .variations select {
  max-width: 50%!important;
  background-color: #fff!important;
}

/* Voucher denomination ("Voucher Pack Amount") row */
body.woocommerce.vlm-voucher-product table.variations,
body.woocommerce-page.vlm-voucher-product table.variations,
body.single-product.vlm-voucher-product table.variations {
  width: 100%;
  margin: 0 0 0.8rem 0;
  border: 1px solid var(--vl-border-color) !important;
  border-radius: 12px !important;
  background: #fff !important;
  border-collapse: separate;
  border-spacing: 0;
}
body.woocommerce.vlm-voucher-product table.variations th.label,
body.woocommerce-page.vlm-voucher-product table.variations th.label,
body.single-product.vlm-voucher-product table.variations th.label {
  width: 38%;
  font-size: 1.08rem !important;
  line-height: 1.25;
  font-weight: 700 !important;
  color: var(--vl-info-strong) !important;
  padding: 0.7rem 0.9rem !important;
  vertical-align: middle;
}
body.woocommerce.vlm-voucher-product table.variations td.value,
body.woocommerce-page.vlm-voucher-product table.variations td.value,
body.single-product.vlm-voucher-product table.variations td.value {
  padding: 0.65rem 0.9rem !important;
}
body.woocommerce.vlm-voucher-product table.variations td.value select,
body.woocommerce-page.vlm-voucher-product table.variations td.value select,
body.single-product.vlm-voucher-product table.variations td.value select {
  min-height: 2.8rem !important;
  border-radius: 10px !important;
  border: 1px solid var(--vl-border-color) !important;
  font-size: 1.08rem !important;
}
body.woocommerce.vlm-voucher-product table.variations td.value .reset_variations,
body.woocommerce-page.vlm-voucher-product table.variations td.value .reset_variations,
body.single-product.vlm-voucher-product table.variations td.value .reset_variations {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

/* PW Gift Cards (ViaLem voucher products): fields + quantity sizing */
body.woocommerce #pwgc-purchase-container .vlm-pwgc-field,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-field {
  margin: 0 0 12px 0;
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-label,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-label {
  font-weight: 600;
  display: block;
  margin: 0 0 4px 0;
  color: var(--vl-info-strong);
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sub, body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sub {
  font-size: 16px;
  line-height: 1.4;
  color: var(--vl-muted);
  font-style: italic;
  padding-bottom: 10px;
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-input,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-input {
  width: 100%;
  max-width: 520px;
}

/* Voucher delivery toggle (Direct vs Manual) */
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0.7rem 0 0.8rem;
  border: 1px solid var(--vl-border-color);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__title,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__title {
  grid-column: 1 / -1;
  font-weight: 700;
  color: var(--vl-info-strong);
  margin: 0;
  font-size: 1.08rem;
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__opt,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__opt {
  display: block;
  border: 1px solid var(--vl-border-color);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--vl-bg-surface);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__opt:hover,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__opt:hover {
  border-color: var(--vl-brand-primary) !important;
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__opt:has(input[type="radio"]:checked),
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__opt:has(input[type="radio"]:checked),
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__opt.is-selected,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__opt.is-selected {
  border-color: var(--vl-brand-primary-dark) !important;
  background: #f3fbfb !important;
  box-shadow: 0 0 0 2px rgba(36,116,124,.12);
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__opt input[type="radio"],
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__opt input[type="radio"] {
  margin: 0 8px 0 0;
  transform: translateY(1px);
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__label,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__label {
  font-weight: 700;
  color: var(--vl-text-primary);
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__desc,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__desc {
  display: block;
  margin-top: 6px;
  color: var(--vl-muted);
  font-size: 0.95em;
  line-height: 1.35;
}
body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode__desc p,
body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode__desc p {
  margin: 0;
}

body.woocommerce div.product p.price {
  color: var(--vl-brand-secondary) !important;
  font-size: 2em!important
}

.woocommerce ul.products li.product .price {
  font-size: 1.6em!important
}

body.woocommerce .product-type-pw-gift-card .quantity input.qty,
body.woocommerce .product-type-pw-gift-card input.qty,
body.woocommerce-page .product-type-pw-gift-card .quantity input.qty,
body.woocommerce-page .product-type-pw-gift-card input.qty {
  width: 75px !important;
  min-width: 75px !important;
  margin-top: 8px;
  border: 1px solid var(--vl-brand-primary-dark) !important;
  border-radius: 10px !important;
  min-height: 40px !important;
  padding: 6px 8px !important;
  box-shadow: none !important;
}

/* Employee flow visual block */
body.woocommerce .vialem-voucher-steps,
body.woocommerce-page .vialem-voucher-steps {
  padding: 14px 16px !important;
}
body.woocommerce .vialem-voucher-steps .vialem-voucher-steps-grid,
body.woocommerce-page .vialem-voucher-steps .vialem-voucher-steps-grid {
  margin-top: 14px;
  border-top: 2px solid rgba(36,116,124,.45);
  border-bottom: 2px solid rgba(36,116,124,.45);
  padding: 16px 6px 14px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr) 66px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
body.woocommerce .vialem-voucher-steps .vialem-voucher-step-card,
body.woocommerce-page .vialem-voucher-steps .vialem-voucher-step-card {
  text-align: center;
}
body.woocommerce .vialem-voucher-steps .vialem-voucher-step-card img,
body.woocommerce-page .vialem-voucher-steps .vialem-voucher-step-card img {
  width: 170px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 10px;
  display: block;
}
body.woocommerce .vialem-voucher-steps .vialem-voucher-step-card h4,
body.woocommerce-page .vialem-voucher-steps .vialem-voucher-step-card h4 {
  margin: 0 0 8px;
  font-size: 1.95rem;
  line-height: 1.14;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--vl-info-strong);
}
body.woocommerce .vialem-voucher-steps .vialem-voucher-step-card p,
body.woocommerce-page .vialem-voucher-steps .vialem-voucher-step-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.42;
}
body.woocommerce .vialem-voucher-steps .vialem-voucher-step-arrow,
body.woocommerce-page .vialem-voucher-steps .vialem-voucher-step-arrow {
  width: 66px;
  height: 66px;
  align-self: center;
  color: var(--vl-brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.woocommerce .vialem-voucher-steps .vialem-voucher-step-arrow svg,
body.woocommerce-page .vialem-voucher-steps .vialem-voucher-step-arrow svg {
  width: 52px;
  height: 52px;
  display: block;
  fill: currentColor;
}

@media (max-width: 900px) {
  body.woocommerce #pwgc-purchase-container .vlm-pwgc-sendmode,
  body.woocommerce-page #pwgc-purchase-container .vlm-pwgc-sendmode {
    grid-template-columns: 1fr;
  }
  body.woocommerce .vialem-voucher-steps .vialem-voucher-steps-grid,
  body.woocommerce-page .vialem-voucher-steps .vialem-voucher-steps-grid {
    grid-template-columns: 1fr;
    border-bottom: 0;
    padding-bottom: 0;
  }
  body.woocommerce .vialem-voucher-steps .vialem-voucher-step-arrow,
  body.woocommerce-page .vialem-voucher-steps .vialem-voucher-step-arrow {
    display: none;
  }
}
/* Block checkout tables and summary panels */
body.woocommerce-checkout .wc-block-components-totals-table,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-order-summary__content,
body.woocommerce-checkout .wc-block-components-checkout-step__container,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
  border-radius: var(--vl-radius) !important;
  overflow: hidden;
}

body.woocommerce-checkout .wc-block-components-totals-table,
body.woocommerce-checkout .wc-block-components-order-summary__content {
  border: var(--vl-border) !important;
  background: #fff !important;
}

body.woocommerce-checkout .wc-block-components-order-summary__title,
body.woocommerce-checkout .wc-block-components-totals-item__label {
  color: var(--vl-info-strong);
}

/* =========================
   Per-page tweaks
   ========================= */

/* Checkout (blocks + classic) */
body.woocommerce-checkout .wc-block-checkout__title,
body.woocommerce-checkout .woocommerce-checkout h3 {
  margin-bottom: 8px;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout #place_order {
  border-radius: 999px !important;
  padding: 14px 22px !important;
  font-size: 16px !important;
}
body.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: var(--vl-muted);
  font-size: 13px;
}

/* Order received */
body.woocommerce-order-received .woocommerce-order {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 16px !important;
  border: 1px solid rgba(14, 81, 86, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(111, 188, 192, 0.13), transparent 28%),
    linear-gradient(180deg, #fbfefe 0%, #ffffff 100%);
  box-shadow: 0 22px 48px rgba(17, 42, 53, 0.08);
}
body.woocommerce-order-received .woocommerce-thankyou-order-received {
  position: relative;
  margin-bottom: 18px;
  padding: 18px 22px 18px 92px;
  border: 1px solid rgba(36, 116, 124, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(204, 241, 238, 0.98), rgba(238, 250, 249, 0.96)),
    #eef9f8;
  color: var(--vl-info-strong);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: 0 16px 36px rgba(17, 42, 53, 0.08);
}
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    rgba(14, 81, 86, 0.98)
    url("../../images/vialem_loader_icon.svg")
    center/24px 24px
    no-repeat;
  box-shadow: 0 10px 24px rgba(17, 42, 53, 0.15);
}
body.woocommerce-order-received .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
body.woocommerce-order-received .woocommerce-order-overview li {
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(14, 81, 86, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
}
body.woocommerce-order-received .woocommerce-order-overview li::before,
body.woocommerce-order-received .woocommerce-order-overview li::after {
  display: none !important;
}
body.woocommerce-order-received .woocommerce-order-overview li strong {
  display: block;
  margin-top: 8px;
  color: var(--vl-info-strong);
  font-size: 1.12rem;
  line-height: 1.35;
}
body.woocommerce-order-received .woocommerce-order-downloads,
body.woocommerce-order-received .woocommerce-order-details {
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid rgba(14, 81, 86, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(111, 188, 192, 0.08) 0%, rgba(255,255,255,0) 120px),
    #ffffff;
}
body.woocommerce-order-received .woocommerce-order-downloads__title,
body.woocommerce-order-received .woocommerce-order-details__title {
  margin: 0 0 16px;
  color: var(--vl-info-strong);
  font-size: clamp(1.7rem, 2.8vw, 2.1rem);
}
body.woocommerce-order-received .woocommerce-table--order-downloads,
body.woocommerce-order-received .woocommerce-table--order-details {
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(14, 81, 86, 0.14);
}
body.woocommerce-order-received .woocommerce-table--order-downloads thead th,
body.woocommerce-order-received .woocommerce-table--order-details thead th {
  padding: 16px 14px;
  background: rgba(248, 238, 224, 0.62);
  color: var(--vl-info-strong);
  font-size: 0.98rem;
  font-weight: 700;
}
body.woocommerce-order-received .woocommerce-table--order-downloads tbody td,
body.woocommerce-order-received .woocommerce-table--order-downloads tfoot td,
body.woocommerce-order-received .woocommerce-table--order-downloads tfoot th,
body.woocommerce-order-received .woocommerce-table--order-details tbody td,
body.woocommerce-order-received .woocommerce-table--order-details tfoot td,
body.woocommerce-order-received .woocommerce-table--order-details tfoot th {
  padding: 16px 14px;
  font-size: 1rem;
  vertical-align: middle;
}
body.woocommerce-order-received .woocommerce-table--order-downloads tbody tr:nth-child(even) td,
body.woocommerce-order-received .woocommerce-table--order-details tbody tr:nth-child(even) td {
  background: rgba(248, 252, 252, 0.72);
}
body.woocommerce-order-received .woocommerce-table--order-downloads .download-product {
  min-width: 140px;
}
body.woocommerce-order-received .woocommerce-table--order-downloads .download-order-date {
  min-width: 140px;
}
body.woocommerce-order-received .woocommerce-table--order-downloads .download-file .button,
body.woocommerce-order-received .woocommerce-table--order-downloads .download-file .woocommerce-MyAccount-downloads-file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  font-size: 0.98rem;
}
body.woocommerce-order-received .vialem-download-date {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
body.woocommerce-order-received .vialem-download-date__date {
  font-weight: 700;
  color: var(--vl-info-strong);
}
body.woocommerce-order-received .vialem-download-date__time {
  color: var(--vl-muted);
  font-size: 0.88rem;
}
body.woocommerce-order-received .vialem-order-followup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(14, 81, 86, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(111, 188, 192, 0.18), transparent 34%),
    linear-gradient(180deg, #f6fcfc 0%, #ffffff 100%);
}
body.woocommerce-order-received .vialem-order-followup__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(111, 188, 192, 0.18);
  color: var(--vl-info-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
body.woocommerce-order-received .vialem-order-followup h3 {
  margin: 0 0 6px;
  color: var(--vl-info-strong);
  font-size: 1.5rem;
}
body.woocommerce-order-received .vialem-order-followup p {
  margin: 0;
  color: var(--vl-text);
  font-size: 1rem;
}
body.woocommerce-order-received .vialem-order-followup__actions {
  flex: 0 0 auto;
}
body.woocommerce-order-received .vialem-order-followup__actions .button {
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 1rem;
}
@media (max-width: 820px) {
  body.woocommerce-order-received .woocommerce-order {
    padding: 12px !important;
  }
  body.woocommerce-order-received .woocommerce-thankyou-order-received {
    padding: 16px 16px 16px 78px;
    font-size: 1rem;
  }
  body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    left: 18px;
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
  }
  body.woocommerce-order-received .woocommerce-order-downloads,
  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .vialem-order-followup {
    padding: 18px 16px;
  }
  body.woocommerce-order-received .vialem-order-followup {
    flex-direction: column;
    align-items: flex-start;
  }
  body.woocommerce-order-received .vialem-order-followup__actions {
    width: 100%;
  }
  body.woocommerce-order-received .vialem-order-followup__actions .button {
    width: 100%;
    text-align: center;
  }
}

/* My account */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  padding: 14px !important;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(111, 188, 192, 0.28) 0, rgba(111, 188, 192, 0.28) 22%, transparent 23%) -40px -20px/180px 120px no-repeat,
    radial-gradient(circle at 88% 18%, rgba(126, 204, 207, 0.24) 0, rgba(126, 204, 207, 0.24) 24%, transparent 25%) 100% 0/220px 140px no-repeat,
    linear-gradient(180deg, #f8fcfc 0%, #ffffff 100%) !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 5px 10px 15px 5px;
  border-radius: 12px;
  color: var(--vl-text);
  font-weight: 600;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--vl-info-surface);
  color: var(--vl-info-strong);
  font-weight: 700;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: rgba(111, 188, 192, 0.14);
  color: var(--vl-info-strong);
  transform: translateX(2px);
}

body.woocommerce-account .woocommerce-MyAccount-content {
  padding: 18px 18px 22px !important;
  background:
    linear-gradient(180deg, rgba(111, 188, 192, 0.09) 0, rgba(255,255,255,0) 120px),
    #fff !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  border-radius: 18px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 28%;
}

body.woocommerce-account .woocommerce-MyAccount-content {
  width: 69%;
}

body.woocommerce-account .site-main > .woocommerce,
body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account .elementor-widget-woocommerce-my-account .woocommerce {
  width: min(100%, 1180px);
  margin-inline: auto;
}

body.woocommerce-account #customer_login,
body.woocommerce-account .woocommerce > form.woocommerce-form-login.login,
body.woocommerce-account .woocommerce > form.login {
  width: min(100%, 700px);
  margin: 0 auto 22px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(14, 81, 86, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(111, 188, 192, 0.14), transparent 38%),
    linear-gradient(180deg, #fcfefe 0%, #ffffff 100%);
  box-shadow: 0 18px 40px rgba(17, 42, 53, 0.08);
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
  float: none;
  width: 100%;
  margin: 0;
}

body.woocommerce-account #customer_login .u-column2 {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(14, 81, 86, 0.12);
}

body.woocommerce-account .woocommerce > h2,
body.woocommerce-account #customer_login + h2,
body.woocommerce-account #customer_login .u-column1 > h2,
body.woocommerce-account #customer_login .u-column2 > h2 {
  width: min(100%, 700px);
  margin-left: auto;
  margin-right: auto;
}

body.woocommerce-account .woocommerce > h2 {
  margin-top: 8px;
  margin-bottom: 10px;
}

body.woocommerce-account #customer_login .u-column1 > h2,
body.woocommerce-account #customer_login .u-column2 > h2 {
  width: 100%;
  margin-bottom: 8px;
}

body.woocommerce-account #customer_login .nsl-container,
body.woocommerce-account .woocommerce-form-login .nsl-container,
body.woocommerce-account form.login .nsl-container {
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
}

body.woocommerce-account #customer_login .nsl-container-buttons,
body.woocommerce-account .woocommerce-form-login .nsl-container-buttons,
body.woocommerce-account form.login .nsl-container-buttons {
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.woocommerce-account #customer_login .nsl-button,
body.woocommerce-account .woocommerce-form-login .nsl-button,
body.woocommerce-account form.login .nsl-button {
  border-radius: 12px !important;
  overflow: hidden;
  max-width: 320px;
}

body.woocommerce-account #customer_login .form-row,
body.woocommerce-account .woocommerce-form-login .form-row,
body.woocommerce-account form.login .form-row {
  margin-bottom: 8px;
}

body.woocommerce-account #customer_login label,
body.woocommerce-account .woocommerce-form-login label,
body.woocommerce-account form.login label {
  font-size: 1.02rem;
  margin-bottom: 4px;
  line-height: 1.35;
}

body.woocommerce-account #customer_login input.input-text,
body.woocommerce-account .woocommerce-form-login input.input-text,
body.woocommerce-account form.login input.input-text,
body.woocommerce-account #customer_login input[type="password"],
body.woocommerce-account #customer_login input[type="text"],
body.woocommerce-account #customer_login input[type="email"] {
  min-height: 42px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(14, 81, 86, 0.18) !important;
  background: #f9fcfd !important;
  font-size: 1rem !important;
}

body.woocommerce-account #customer_login p,
body.woocommerce-account .woocommerce-form-login p,
body.woocommerce-account form.login p {
  margin-bottom: 8px;
}

body.woocommerce-account #customer_login .woocommerce-form-login__rememberme,
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme,
body.woocommerce-account form.login .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

body.woocommerce-account #customer_login .lost_password,
body.woocommerce-account .woocommerce-form-login .lost_password,
body.woocommerce-account form.login .lost_password {
  margin-top: 2px;
}

body.woocommerce-account #customer_login .button,
body.woocommerce-account .woocommerce-form-login .button,
body.woocommerce-account form.login .button {
  min-height: 40px;
  padding: 7px 16px;
  border-radius: 999px;
}

.vialem-account-upgrades {
  display: grid;
  gap: 20px;
}

.vialem-account-upgrades__intro h3,
.vialem-account-upgrades__support h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.vialem-account-upgrades__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: center;
  padding: 22px 28px;
  border: 1px solid rgba(14, 81, 86, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(111, 188, 192, 0.18), transparent 42%),
    linear-gradient(180deg, #f6fbfb 0%, #ffffff 100%);
  box-shadow: 0 12px 30px rgba(14, 81, 86, 0.08);
}

.vialem-account-upgrades__intro-copy,
.vialem-account-upgrades__support-copy {
  min-width: 0;
}

.vialem-account-upgrades__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(36, 116, 124, 0.1);
  color: var(--vl-brand-primary-dark, #0e5156);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vialem-account-upgrades__intro p,
.vialem-account-upgrades__support p {
  margin: 0;
  color: #445a63;
  max-width: 64ch;
}

.vialem-account-upgrades__intro-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vialem-account-upgrades__intro-media img {
  width: 124px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(14, 81, 86, 0.12));
}

.vialem-account-upgrades__support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(14, 81, 86, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(111, 188, 192, 0.18), transparent 42%),
    linear-gradient(180deg, #f8fcfc 0%, #fff 100%);
  box-shadow: 0 10px 24px rgba(14, 81, 86, 0.06);
}

.vialem-account-upgrades__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0;
  flex: 0 0 auto;
}

.vialem-account-upgrades__actions .button {
  min-height: 46px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.vialem-account-upgrades__secondary {
  background: #ffffff !important;
  color: var(--vl-info-strong) !important;
  border: 1px solid rgba(14, 81, 86, 0.18) !important;
}

.vialem-account-orders-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid rgba(14, 81, 86, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(111, 188, 192, 0.16), transparent 42%),
    linear-gradient(180deg, #f8fcfc 0%, #fff 100%);
}

.vialem-account-orders-support__body h3 {
  margin: 0 0 6px;
}

.vialem-account-orders-support__body p {
  margin: 0;
  color: #445a63;
  max-width: 760px;
}

.vialem-account-orders-support__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

@media (max-width: 782px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
  }

  body.woocommerce-account #customer_login,
  body.woocommerce-account .woocommerce > form.woocommerce-form-login.login,
  body.woocommerce-account .woocommerce > form.login {
    padding: 14px 14px 16px;
    border-radius: 18px;
  }

  .vialem-account-upgrades__intro {
    grid-template-columns: 1fr;
    padding: 18px 18px 16px;
  }

  .vialem-account-upgrades__intro-media {
    justify-content: flex-start;
  }

  .vialem-account-orders-support {
    flex-direction: column;
    align-items: flex-start;
  }

  .vialem-account-upgrades__support {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Cart */
body.woocommerce-cart .cart_totals h2 {
  margin-top: 0;
}
body.woocommerce-cart .shop_table td,
body.woocommerce-cart .shop_table th {
  padding: 12px;
}
body.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 16px !important;
  background: var(--vl-info-surface) !important;
}

/* Shop / product archive cards */
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product {
  border: var(--vl-border);
  border-radius: var(--vl-radius);
  padding: 12px;
  background: #fff;
  box-shadow: var(--vl-shadow);
}
body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--vl-info-strong);
}

/* Single product */
body.woocommerce.single-product div.product .summary {
  background: #fff;
  border: var(--vl-border);
  border-radius: var(--vl-radius);
  padding: 16px;
  box-shadow: var(--vl-shadow);
}

/* =========================================
   Woo Block Cart + Checkout (ViaLem skin)
   ========================================= */

body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
  font-size: 1rem;
  color: var(--vl-text-primary);
}

/* Main content cards */
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-checkout-step__container {
  background: #fff !important;
  border: 1px solid var(--vl-border-color) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(14, 81, 86, 0.08) !important;
}

/* Sidebar summary card */
body.woocommerce-cart .wc-block-cart__sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: #fff !important;
  border: 1px solid var(--vl-border-color) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(14, 81, 86, 0.08) !important;
  padding: 12px !important;
}

/* Cart table */
body.woocommerce-cart .wc-block-cart-items,
body.woocommerce-cart .wc-block-cart-items__row,
body.woocommerce-cart .wc-block-cart-items td,
body.woocommerce-cart .wc-block-cart-items th {
  border-color: rgba(14, 81, 86, 0.16) !important;
}
body.woocommerce-cart .wc-block-cart-items th {
  color: var(--vl-brand-primary-dark) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-product-name {
  color: var(--vl-brand-primary-dark) !important;
  font-weight: 700 !important;
}
body.woocommerce-cart .wc-block-cart-item__image img,
body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
  border-radius: 8px;
  border: 1px solid rgba(14, 81, 86, 0.14);
}

/* Quantity control */
body.woocommerce-cart .wc-block-components-quantity-selector,
body.woocommerce-cart .wc-block-components-quantity-selector input,
body.woocommerce-cart .wc-block-components-quantity-selector button {
  border-radius: 10px !important;
  border-color: var(--vl-brand-primary-dark) !important;
}
body.woocommerce-cart .wc-block-components-quantity-selector input {
  min-height: 40px !important;
}

/* Coupon / panel toggles */
body.woocommerce-cart .wc-block-components-panel,
body.woocommerce-cart .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-panel,
body.woocommerce-checkout .wc-block-components-panel__button {
  border-color: rgba(14, 81, 86, 0.16) !important;
}
body.woocommerce-cart .wc-block-components-panel__button,
body.woocommerce-checkout .wc-block-components-panel__button {
  color: var(--vl-brand-primary-dark) !important;
  font-weight: 600 !important;
}

/* Section headings */
body.woocommerce-cart .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading h2 {
  color: var(--vl-brand-primary-dark) !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

/* Inputs in cart + checkout sidebars */
body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input textarea,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select {
  border: 1px solid rgba(14, 81, 86, 0.28) !important;
  border-radius: 10px !important;
  min-height: 44px !important;
  box-shadow: none !important;
}
body.woocommerce-cart .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input:focus,
body.woocommerce-checkout .wc-block-components-address-form input:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus {
  border-color: var(--vl-brand-primary) !important;
  box-shadow: 0 0 0 3px rgba(36, 116, 124, 0.18) !important;
}

/* Buttons */
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-secondary),
body.woocommerce-cart .wc-block-components-button:not(.is-secondary) {
  background: var(--vl-brand-primary-dark) !important;
  border: 1px solid var(--vl-brand-primary-dark) !important;
  color: #fff !important;
  border-radius: 999px !important;
  min-height: 46px !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
}
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-secondary):hover,
body.woocommerce-cart .wc-block-components-button:not(.is-secondary):hover {
  background: var(--vl-brand-primary) !important;
  border-color: var(--vl-brand-primary) !important;
}

/* Express buttons still look native but aligned */
body.woocommerce-checkout .wc-block-components-express-payment__event-buttons {
  border-radius: 12px !important;
  border: 1px solid rgba(14, 81, 86, 0.16) !important;
  background: #fff !important;
  padding: 10px !important;
}

/*other express checkout additions*/

.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container {
  top: 0!important;
}

.wc-block-components-radio-control--highlight-checked, .wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option {
  background: var(--vl-bg-surface);
}

/* Better checkout spacing rhythm */
body.woocommerce-checkout .wc-block-components-checkout-step {
  margin-bottom: 14px;
}
body.woocommerce-checkout .wc-block-components-checkout-step__description {
  color: var(--vl-text-muted);
  font-size: 0.92rem;
}

.wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-cart-items-block.wc-block-components-totals-wrapper {
  padding: 0;
  margin: 0 0 20px 0;
}


body.woocommerce-checkout .wc-block-components-totals-table, body.woocommerce-checkout .wc-block-components-order-summary, body.woocommerce-checkout .wc-block-components-order-summary__content, body.woocommerce-checkout .wc-block-components-checkout-step__container, body.woocommerce-checkout .wc-block-components-sidebar-layout {
  padding: 5px 10px;
}


.wc-block-components-totals-coupon {
  padding: 10px;
  margin: 0 10px;
} 

/* =========================================
   Basket polish (Woo Blocks cart only)
   ========================================= */
body.woocommerce-cart .wc-block-cart {
  margin-top: 0.5rem;
  color: var(--vl-text-primary);
}

body.woocommerce-cart .wc-block-cart__layout {
  gap: 1.35rem;
  align-items: flex-start;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  padding: 1rem !important;
}

body.woocommerce-cart .wc-block-cart-items__header {
  background: var(--vl-bg-subtle);
}

body.woocommerce-cart .wc-block-cart-items__header th {
  padding: 0.85rem 0.9rem !important;
  border-bottom: 1px solid rgba(14, 81, 86, 0.16) !important;
  font-size: 0.83rem !important;
  letter-spacing: 0.04em;
}

body.woocommerce-cart .wc-block-cart-items td {
  padding: 1rem 0.9rem !important;
  vertical-align: top;
}

body.woocommerce-cart .wc-block-cart-item__image {
  margin-right: 0.85rem;
}

body.woocommerce-cart .wc-block-cart-item__image img {
  width: 74px;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(14, 81, 86, 0.18);
}

body.woocommerce-cart .wc-block-components-product-name {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 1.08rem;
  line-height: 1.3;
}

body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-details {
  font-size: 0.94rem;
  color: var(--vl-text-secondary);
}

body.woocommerce-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-components-product-price {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--vl-info-strong);
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
  color: var(--vl-link-active) !important;
  text-decoration: none;
  font-size: 0.88rem;
}

body.woocommerce-cart .wc-block-cart-item__remove-link:hover {
  text-decoration: underline;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
  min-height: 2.55rem;
  border: 1px solid var(--vl-brand-primary-dark) !important;
  border-radius: 0.7rem !important;
  overflow: hidden;
}

body.woocommerce-cart .wc-block-components-quantity-selector button {
  min-width: 2.1rem;
  color: var(--vl-brand-primary-dark) !important;
  background: var(--vl-bg-subtle) !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector input {
  min-width: 2.5rem;
  font-weight: 700;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-title,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item__label {
  color: var(--vl-info-strong) !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel__button {
  padding: 0.85rem 0 !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  border-color: rgba(14, 81, 86, 0.16) !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-coupon {
  margin: 0 !important;
  padding: 0.7rem 0 !important;
}

body.woocommerce-cart .wc-block-cart__submit-button {
  width: 100%;
  min-height: 3.1rem !important;
  font-size: 1.03rem !important;
  letter-spacing: 0.01em;
}

body.woocommerce-cart .wc-block-components-express-payment {
  margin-top: 0.85rem;
}

@media (max-width: 980px) {
  body.woocommerce-cart .wc-block-cart__layout {
    gap: 1rem;
  }

  body.woocommerce-cart .wc-block-cart__main,
  body.woocommerce-cart .wc-block-cart__sidebar {
    padding: 0.85rem !important;
  }
}


/* =========================================
   Final checkout layout overrides (manual)
   Keep these last so they take precedence.
   ========================================= */
body.woocommerce-checkout .wc-block-components-checkout-step__container {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* =========================================
   Basket redesign v2 (Woo Blocks cart)
   ========================================= */
body.woocommerce-cart .wc-block-cart {
  margin-top: 0.75rem;
}

body.woocommerce-cart .wc-block-cart__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
  gap: 1.15rem;
  align-items: start;
}

body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
  background: #fff !important;
  border: 1px solid rgba(14, 81, 86, 0.2) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 28px rgba(14, 81, 86, 0.08) !important;
}

body.woocommerce-cart .wc-block-cart__main {
  padding: 0.95rem 1rem !important;
}

body.woocommerce-cart .wc-block-cart__sidebar {
  position: sticky;
  top: 18px;
  padding: 0.95rem 1rem !important;
}

body.woocommerce-cart .wc-block-cart-items__header {
  background: rgba(106, 183, 183, 0.18) !important;
  border-radius: 10px;
}

body.woocommerce-cart .wc-block-cart-items__header th {
  color: var(--vl-brand-primary-dark, #0e5156) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.03em;
  font-weight: 800 !important;
  text-transform: uppercase;
  padding: 0.82rem 0.86rem !important;
}

body.woocommerce-cart .wc-block-cart-items td {
  padding: 1rem 0.86rem !important;
  border-bottom: 1px solid rgba(14, 81, 86, 0.14) !important;
}

body.woocommerce-cart .wc-block-cart-item__image img {
  width: 84px;
  border-radius: 12px;
  border: 1px solid rgba(14, 81, 86, 0.2);
  box-shadow: 0 3px 10px rgba(14, 81, 86, 0.08);
}

body.woocommerce-cart .wc-block-components-product-name {
  font-size: 1.12rem;
  font-weight: 800 !important;
  line-height: 1.28;
  color: var(--vl-brand-primary-dark, #0e5156) !important;
}

body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-details {
  font-size: 0.94rem;
  line-height: 1.35;
  color: var(--vl-text-muted, #6b7280);
}

body.woocommerce-cart .wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart-item__prices {
  font-size: 1.06rem !important;
  font-weight: 800 !important;
  color: var(--vl-brand-primary-dark, #0e5156) !important;
}

body.woocommerce-cart .wc-block-components-quantity-selector {
  border-radius: 10px !important;
  min-height: 2.7rem;
}

body.woocommerce-cart .wc-block-components-quantity-selector button {
  min-width: 2.15rem;
  font-size: 1rem;
  font-weight: 700;
}

body.woocommerce-cart .wc-block-components-quantity-selector input {
  min-width: 2.6rem;
  font-size: 1rem;
  font-weight: 700;
}

body.woocommerce-cart .wc-block-cart-item__remove-link {
  font-weight: 600;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-title,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-item__label {
  font-size: 1.02rem;
  font-weight: 800 !important;
  color: var(--vl-brand-primary-dark, #0e5156) !important;
}

body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1.12rem;
  font-weight: 800 !important;
}

body.woocommerce-cart .wc-block-cart__submit-button {
  min-height: 3.2rem !important;
  font-size: 1.07rem !important;
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  body.woocommerce-cart .wc-block-cart__layout {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  body.woocommerce-cart .wc-block-cart__sidebar {
    position: static;
    top: auto;
  }
}

/* =========================================
   ViaLem: flatten duplicate inner wrappers
   Keep card styling on outer cart/checkout shells only.
   ========================================= */

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__container,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary__content,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-panel,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-order-summary,
body.woocommerce-cart .wc-block-cart__sidebar .wc-block-components-order-summary__content {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step__container {
  padding: 0 !important;
}

body.woocommerce-checkout .wc-block-checkout__main .wc-block-components-checkout-step {
  background: #fff !important;
  border: 1px solid var(--vl-border-color, #d0d0d0) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(14, 81, 86, 0.08) !important;
  padding: 14px 16px !important;
}
