body.amet-customer-v1 {
  --amet-bg-dark: #0d1116;
  --amet-surface-dark: #171d24;
  --amet-surface-dark-2: #202832;
  --amet-bg-light: #f6f1e9;
  --amet-surface-light: #fff;
  --amet-brand: #f26a21;
  --amet-brand-hover: #d95412;
  --amet-text-dark: #17191d;
  --amet-text-light: #f7f8fa;
  --amet-muted-dark: #aab2bc;
  --amet-muted-light: #62666c;
  --amet-border-dark: rgba(255, 255, 255, .14);
  --amet-border-light: #d9d9d6;
  --amet-success: #218a57;
  --amet-warning: #e29a16;
  --amet-danger: #c73a3a;
  --amet-radius-sm: 8px;
  --amet-radius-md: 12px;
  --amet-radius-lg: 16px;
  --amet-shadow-sm: 0 4px 16px rgba(0, 0, 0, .08);
  --amet-shadow-md: 0 12px 32px rgba(0, 0, 0, .16);
  color: var(--amet-text-dark);
  background: var(--amet-bg-light);
}

body.amet-customer-v1 * {
  box-sizing: border-box;
}

body.amet-customer-v1 :where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--amet-brand) !important;
  outline-offset: 2px;
}

body.amet-customer-v1 :where(button, .button, input, select, textarea) {
  min-height: 44px;
}

body.amet-customer-v1 .ct-header {
  background: #050607;
}

body.amet-customer-v1 .site-footer {
  color: var(--amet-muted-dark);
  background: #090c10;
  border-top: 1px solid var(--amet-border-dark);
}

body.amet-customer-v1 .site-footer a {
  color: var(--amet-text-light);
}

body.amet-customer-v1 .site-footer a:hover {
  color: var(--amet-brand);
}

body.amet-customer-v1 .entry-content p,
body.amet-customer-v1 .entry-content li {
  line-height: 1.75;
}

body.amet-customer-v1 .hero-section {
  padding-block: clamp(34px, 6vw, 72px);
}

body.amet-customer-v1 .hero-section .page-title,
body.amet-customer-v1 .hero-section h1 {
  font-size: clamp(34px, 5vw, 60px);
  letter-spacing: -.035em;
}

body.amet-customer-v1 .ct-container {
  width: min(100% - 32px, 1200px);
}

body.amet-customer-v1 .button,
body.amet-customer-v1 button[type="submit"],
body.amet-customer-v1 input[type="submit"],
body.amet-customer-v1 .wp-element-button,
body.amet-customer-v1 .wc-block-components-button {
  border-radius: var(--amet-radius-sm) !important;
  font-weight: 800;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

body.amet-customer-v1 .button:hover,
body.amet-customer-v1 button[type="submit"]:hover,
body.amet-customer-v1 input[type="submit"]:hover,
body.amet-customer-v1 .wp-element-button:hover,
body.amet-customer-v1 .wc-block-components-button:hover {
  background-color: var(--amet-brand-hover) !important;
}

body.amet-customer-v1.amet-v1-dark-surface {
  color: var(--amet-text-light);
  background:
    radial-gradient(circle at 15% 5%, rgba(242, 106, 33, .09), transparent 30%),
    linear-gradient(180deg, #0d1116, #111820 68%, #0b0f14);
}

body.amet-customer-v1.amet-v1-dark-surface .hero-section,
body.amet-customer-v1.amet-v1-dark-surface .site-main {
  color: var(--amet-text-light);
}

body.amet-customer-v1.amet-v1-dark-surface :where(.page-title, h1, h2, h3, h4, .woocommerce-loop-product__title) {
  color: var(--amet-text-light);
}

body.amet-customer-v1.amet-v1-dark-surface :where(p, li, .woocommerce-result-count, .ct-breadcrumbs) {
  color: var(--amet-muted-dark);
}

/* Shop, categories and search. */
body.amet-customer-v1 :where(.woocommerce .products, .wc-block-grid__products) {
  gap: 18px;
}

body.amet-customer-v1 :where(.woocommerce .products .product, .wc-block-grid__product) {
  overflow: hidden;
  padding: 14px !important;
  border: 1px solid var(--amet-border-dark);
  border-radius: var(--amet-radius-md);
  background: linear-gradient(180deg, #171d24, #11161d);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
  transition: transform 140ms ease, border-color 140ms ease;
}

body.amet-customer-v1 :where(.woocommerce .products .product, .wc-block-grid__product):hover {
  border-color: rgba(242, 106, 33, .72);
  transform: translateY(-2px);
}

body.amet-customer-v1 :where(.woocommerce .products .product img, .wc-block-grid__product-image img) {
  border-radius: 9px;
  background: #fff;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

body.amet-customer-v1 :where(.woocommerce .products .product .price, .wc-block-grid__product-price) {
  color: var(--amet-brand) !important;
  font-size: 17px;
  font-weight: 900;
}

body.amet-customer-v1 :where(.woocommerce .products .product .button, .wc-block-grid__product-add-to-cart .wp-block-button__link) {
  width: 100%;
  margin-top: 12px;
  color: var(--amet-text-light) !important;
  background: transparent !important;
  border: 1px solid var(--amet-brand) !important;
  text-align: center;
}

body.amet-customer-v1 :where(.woocommerce .products .product .button, .wc-block-grid__product-add-to-cart .wp-block-button__link):hover {
  background: var(--amet-brand) !important;
}

body.amet-customer-v1 .woocommerce-ordering select,
body.amet-customer-v1 .search-form input[type="search"] {
  min-height: 48px;
  color: var(--amet-text-light);
  background: var(--amet-surface-dark);
  border: 1px solid var(--amet-border-dark);
  border-radius: var(--amet-radius-sm);
}

body.amet-customer-v1 .woocommerce nav.woocommerce-pagination ul {
  border: 0;
}

body.amet-customer-v1 .woocommerce nav.woocommerce-pagination ul li {
  margin: 0 4px;
  border: 1px solid var(--amet-border-dark);
  border-radius: 7px;
  overflow: hidden;
}

body.amet-customer-v1 .woocommerce nav.woocommerce-pagination ul li span.current {
  color: #fff;
  background: var(--amet-brand);
}

/* Product detail. */
body.amet-customer-v1.single-product .site-main {
  padding-block: clamp(32px, 5vw, 72px);
}

body.amet-customer-v1.single-product .product.type-product {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
  gap: clamp(28px, 5vw, 62px);
}

body.amet-customer-v1.single-product .woocommerce-product-gallery,
body.amet-customer-v1.single-product .summary {
  width: auto !important;
  float: none !important;
}

body.amet-customer-v1.single-product .woocommerce-product-gallery {
  align-self: start;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--amet-border-light);
  border-radius: var(--amet-radius-lg);
  background: var(--amet-surface-light);
  box-shadow: var(--amet-shadow-sm);
}

body.amet-customer-v1.single-product .summary {
  align-self: start;
  padding-top: 8px;
}

body.amet-customer-v1.single-product .product_title {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.035em;
}

body.amet-customer-v1.single-product .summary .price {
  color: var(--amet-brand);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
}

body.amet-customer-v1.single-product .cart {
  padding: 18px;
  border: 1px solid var(--amet-border-light);
  border-radius: var(--amet-radius-md);
  background: rgba(255, 255, 255, .72);
}

body.amet-customer-v1.single-product .single_add_to_cart_button {
  min-height: 50px;
  background: var(--amet-brand) !important;
}

body.amet-customer-v1.single-product .woocommerce-tabs,
body.amet-customer-v1.single-product .related,
body.amet-customer-v1.single-product .upsells {
  grid-column: 1 / -1;
}

body.amet-customer-v1.single-product .woocommerce-tabs {
  margin-top: 20px;
  padding: clamp(20px, 4vw, 38px);
  color: var(--amet-text-light);
  background: var(--amet-bg-dark);
  border-radius: var(--amet-radius-lg);
}

body.amet-customer-v1.single-product .woocommerce-tabs :where(h2, h3, p, li) {
  color: inherit;
}

/* Cart, checkout and account. */
body.amet-customer-v1.amet-v1-commerce-surface .site-main {
  padding-block: clamp(28px, 5vw, 68px);
}

body.amet-customer-v1 :where(.wc-block-cart, .wc-block-checkout, .woocommerce-cart-form, .cart_totals, .woocommerce-checkout, .woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation) {
  border-radius: var(--amet-radius-md);
}

body.amet-customer-v1 :where(.wc-block-cart-items, .wc-block-components-sidebar, .woocommerce-cart-form, .cart_totals, .woocommerce-checkout > *, .woocommerce-MyAccount-content) {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--amet-border-light);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--amet-shadow-sm);
}

body.amet-customer-v1.woocommerce-checkout .ct-header [data-row="middle"] .ct-container {
  min-height: 70px;
}

body.amet-customer-v1.woocommerce-checkout .ct-header-menu,
body.amet-customer-v1.woocommerce-checkout [data-id="search"],
body.amet-customer-v1.woocommerce-checkout [data-id="account"] {
  display: none !important;
}

body.amet-customer-v1 .wc-block-components-sidebar {
  color: var(--amet-text-light);
  background: linear-gradient(180deg, #121922, #0d131a);
  border-color: var(--amet-border-dark);
}

body.amet-customer-v1 .wc-block-components-sidebar :where(h2, h3, strong, .wc-block-components-totals-item__label, .wc-block-components-totals-item__value) {
  color: var(--amet-text-light);
}

body.amet-customer-v1 :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: 48px;
  color: #17191d !important;
  background-color: #fff !important;
  border-color: #aeb4ba !important;
  border-radius: var(--amet-radius-sm) !important;
}

body.amet-customer-v1 :where(input, textarea)::placeholder {
  color: #676d73 !important;
  opacity: 1;
}

body.amet-customer-v1 :where(select option) {
  color: #17191d;
  background: #fff;
}

body.amet-customer-v1.page-id-45 :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
body.amet-customer-v1.amet-v1-dark-surface :where(.search-form, .amet-v2-shop-filter) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  color: #f7f8fa !important;
  background-color: #151c23 !important;
  border-color: #66717c !important;
}

body.amet-customer-v1.page-id-45 :where(input, textarea)::placeholder,
body.amet-customer-v1.amet-v1-dark-surface :where(.search-form, .amet-v2-shop-filter) :where(input, textarea)::placeholder {
  color: #aeb6bf !important;
}

body.amet-customer-v1 .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 10px;
  list-style: none;
}

body.amet-customer-v1 .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
}

body.amet-customer-v1 .woocommerce-MyAccount-navigation .is-active a {
  color: #fff;
  background: var(--amet-brand);
}

/* Custom V1 pages. */
.amet-v1-page {
  width: min(100% - 32px, 1160px);
  margin-inline: auto;
  padding: clamp(36px, 6vw, 78px) 0 clamp(54px, 8vw, 100px);
}

.amet-v1-page__hero {
  max-width: 900px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.amet-v1-page__hero h1 {
  max-width: 820px;
  margin: 8px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.amet-v1-page__hero p {
  max-width: 760px;
  margin: 0;
  color: var(--amet-muted-light);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.amet-v1-eyebrow {
  color: var(--amet-brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
}

.amet-v1-card {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--amet-border-light);
  border-radius: var(--amet-radius-lg);
  background: var(--amet-surface-light);
  box-shadow: var(--amet-shadow-sm);
}

.amet-v1-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.amet-v1-section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amet-v1-section-heading h2,
.amet-v1-story h2,
.amet-v1-cta h2,
.amet-v1-video-feature h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -.025em;
}

.amet-v1-section-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--amet-muted-light);
}

.amet-v1-step,
.amet-v1-proof-grid article > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  color: var(--amet-brand);
  background: rgba(242, 106, 33, .12);
  font-weight: 900;
  place-items: center;
}

.amet-v1-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.amet-v1-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--amet-text-dark);
  font-weight: 800;
}

.amet-v1-form input,
.amet-v1-form select {
  width: 100%;
  padding: 10px 12px;
  color: var(--amet-text-dark);
  background: #fff;
  border: 1px solid var(--amet-border-light);
}

.amet-v1-form__actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.amet-v1-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--amet-radius-sm);
  font-weight: 900;
  text-decoration: none !important;
}

.amet-v1-button--primary {
  color: #fff !important;
  background: var(--amet-brand);
  border-color: var(--amet-brand);
}

.amet-v1-button--primary:hover {
  background: var(--amet-brand-hover);
  border-color: var(--amet-brand-hover);
}

.amet-v1-button--secondary {
  color: var(--amet-text-dark) !important;
  background: transparent;
  border-color: var(--amet-border-light);
}

.amet-v1-result {
  margin-top: 24px;
  padding: 20px;
  border-left: 4px solid var(--amet-warning);
  border-radius: 10px;
  background: #fff7e8;
}

.amet-v1-result:focus {
  outline: 2px solid var(--amet-brand);
  outline-offset: 3px;
}

.amet-v1-result h3,
.amet-v1-result p {
  margin: 0 0 8px;
}

.amet-v1-result__warning {
  color: #6f4a00;
}

.amet-v1-safety-grid,
.amet-v1-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.amet-v1-safety-grid article,
.amet-v1-proof-grid article {
  padding: 24px;
  border-radius: var(--amet-radius-md);
  background: var(--amet-surface-dark);
  border: 1px solid var(--amet-border-dark);
}

.amet-v1-safety-grid strong,
.amet-v1-proof-grid h2 {
  color: var(--amet-text-light);
}

.amet-v1-safety-grid p,
.amet-v1-proof-grid p {
  margin: 8px 0 0;
  color: var(--amet-muted-dark);
  line-height: 1.7;
}

.amet-v1-proof-grid article > span {
  margin-bottom: 26px;
}

.amet-v1-proof-grid h2 {
  margin: 0;
  font-size: 22px;
}

.amet-v1-story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  margin-top: 24px;
}

.amet-v1-story p {
  margin: 0;
  color: var(--amet-muted-light);
  font-size: 18px;
  line-height: 1.8;
}

.amet-v1-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
  color: var(--amet-text-light);
  background: linear-gradient(120deg, #151c24, #0d1116 62%, #3a190a);
  border: 1px solid rgba(242, 106, 33, .45);
  border-radius: var(--amet-radius-lg);
}

.amet-v1-cta p {
  margin: 8px 0 0;
  color: var(--amet-muted-dark);
}

.amet-v1-cta > div:last-child {
  display: flex;
  gap: 10px;
}

.amet-v1-cta .amet-v1-button--secondary {
  color: var(--amet-text-light) !important;
  border-color: var(--amet-border-dark);
}

.amet-v1-video-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.amet-v1-video-feature__mark {
  display: grid;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  color: #fff;
  background: var(--amet-brand);
  font-size: 30px;
  place-items: center;
}

.amet-v1-video-feature p {
  max-width: 680px;
  color: var(--amet-muted-light);
}

.amet-v1-empty {
  padding: clamp(34px, 7vw, 78px);
  border: 1px dashed var(--amet-border-light);
  border-radius: var(--amet-radius-lg);
  background: rgba(255, 255, 255, .72);
  text-align: center;
}

.amet-v1-empty > span {
  display: block;
  color: var(--amet-brand);
  font-size: 58px;
}

.amet-v1-empty h2 {
  margin: 10px 0;
  font-size: clamp(28px, 4vw, 42px);
}

.amet-v1-empty p {
  max-width: 650px;
  margin: 0 auto 24px;
  color: var(--amet-muted-light);
}

.amet-v1-empty > div {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Legal, standard pages and 404. */
body.amet-customer-v1.page:not(.home):not(.woocommerce-page) .entry-content,
body.amet-customer-v1.single-post .entry-content {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--amet-border-light);
  border-radius: var(--amet-radius-lg);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--amet-shadow-sm);
}

body.amet-customer-v1.amet-v1-shortcode-page .hero-section {
  display: none;
}

body.amet-customer-v1.amet-v1-shortcode-page .entry-content {
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.amet-customer-v1.error404 .site-main {
  display: grid;
  min-height: 58vh;
  align-content: center;
  text-align: center;
}

body.amet-customer-v1.error404 .search-form {
  max-width: 620px;
  margin: 24px auto 0;
}

@media (max-width: 1023px) {
  body.amet-customer-v1.single-product .product.type-product {
    grid-template-columns: 1fr;
  }

  body.amet-customer-v1.single-product .woocommerce-tabs,
  body.amet-customer-v1.single-product .related,
  body.amet-customer-v1.single-product .upsells {
    grid-column: auto;
  }

  .amet-v1-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amet-v1-safety-grid,
  .amet-v1-proof-grid {
    grid-template-columns: 1fr;
  }

  .amet-v1-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.amet-customer-v1 .ct-container,
  .amet-v1-page {
    width: min(100% - 32px, 1200px);
  }

  body.amet-customer-v1 :where(.woocommerce .products, .wc-block-grid__products) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .amet-v1-form,
  .amet-v1-video-feature {
    grid-template-columns: 1fr;
  }

  .amet-v1-section-heading,
  .amet-v1-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .amet-v1-cta > div:last-child,
  .amet-v1-empty > div,
  .amet-v1-form__actions {
    flex-direction: column;
  }

  .amet-v1-button,
  .amet-v1-form__actions > * {
    width: 100%;
  }
}

/* V0.3.14: final responsive release-gate corrections. */
body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) .hero-section {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  padding-block: 22px 6px !important;
}

body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) .hero-section .entry-header {
  display: flex !important;
  min-height: 0 !important;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 52px);
}

body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) .hero-section .page-title {
  margin: 0;
  color: #fff !important;
}

body.amet-customer-v1:is(.woocommerce-account, .woocommerce-cart, .woocommerce-checkout) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-color: #737b84 !important;
}

body.amet-customer-v1 :where(nav.woocommerce-pagination, .woocommerce-pagination) .page-numbers.current {
  color: #111820 !important;
  background: #ffb078 !important;
}

body.amet-customer-v1 .wc-block-cart__sidebar .amet-vat-inclusive-block-note,
body.amet-customer-v1 .wc-block-components-sidebar .amet-vat-inclusive-block-note {
  color: #d8dde3 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.amet-customer-v1 :where(.wc-block-components-shipping-rates-control__package__description, .wc-block-components-totals-shipping__via, .wc-block-components-shipping-rates-control__package__rate) {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.amet-customer-v1 :where(.reset_variations, .woocommerce-LostPassword a, .woocommerce-form-login__rememberme, a[href*="m.me/"]) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

body.amet-customer-v1 .woocommerce-breadcrumb a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

@media (max-width: 767px) {
  body.amet-customer-v1.woocommerce-cart :where(.wp-block-woocommerce-cart, .wc-block-cart, .wc-block-cart__main, .wc-block-cart-items, .wc-block-cart-items__row) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }

  body.amet-customer-v1.woocommerce-cart .wc-block-cart-items {
    table-layout: fixed;
  }

  body.amet-customer-v1.woocommerce-cart .wc-block-cart-items :where(td, .wc-block-cart-item__product, .wc-block-cart-item__total, .wc-block-components-product-metadata) {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  body.amet-customer-v1.woocommerce-cart .wc-block-components-product-badge {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 4px 6px !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

/* V0.3.12: responsive archive, form, contact and touch-target corrections. */
body.amet-customer-v1 :where(input, select, textarea):focus-visible,
body.amet-customer-v1 .quantity input:focus-visible,
body.amet-customer-v1.woocommerce-account :where(input, button):focus-visible {
  outline: 3px solid #f26a21 !important;
  outline-offset: 2px !important;
  border-color: #f26a21 !important;
  box-shadow: 0 0 0 4px rgba(242, 106, 33, .24) !important;
}

body.amet-customer-v1:is(.woocommerce-account, .woocommerce-cart, .woocommerce-checkout) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  color: #17191d !important;
  background: #fff !important;
  font-size: 16px !important;
}

body.amet-customer-v1:is(.woocommerce-account, .woocommerce-cart, .woocommerce-checkout) :where(input, textarea)::placeholder {
  color: #68717b !important;
  opacity: 1 !important;
}

body.amet-customer-v1.woocommerce-account :where(.woocommerce-form-login__submit, .woocommerce-form-register__submit, .woocommerce-Button) {
  color: #fff !important;
  background: #9f3200 !important;
}

body.amet-customer-v1 #header :where(.ct-header-search, .ct-button),
body.amet-customer-v1 #header-menu-1 .menu-item-412 > a {
  width: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px !important;
  color: #fff !important;
  background-color: transparent !important;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__nav {
  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  flex: 0 0 44px !important;
}

.amet-v2-shop-filter-disclosure > summary {
  display: none;
}

.amet-v2-shop-filter-disclosure > .amet-v2-shop-filter-inner {
  display: block !important;
}

body.amet-customer-v1 .woocommerce-pagination .page-numbers.current {
  color: #111820 !important;
  background: #ff9a55 !important;
}

body.amet-customer-v1 :where(.show-password-input, .wc-block-cart-item__remove-link, .wc-block-components-product-badge) {
  min-width: 44px;
  min-height: 44px;
}

body.amet-customer-v1 .wc-block-components-product-badge {
  max-width: 100%;
  height: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.amet-customer-v1 .wc-block-components-sidebar :where(.wc-block-components-totals-item__description, .wc-block-components-product-metadata, .wc-block-components-product-details__value, small) {
  color: #d8dde3 !important;
  font-size: max(14px, .875rem) !important;
  line-height: 1.5 !important;
}

body.amet-customer-v1 :where(.quantity input, .wc-block-components-quantity-selector input) {
  font-size: 16px !important;
}

@media (max-width: 1023px) {
  .amet-v2-safety-note p {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 767px) {
  body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) .woo-listing-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) :where(.woocommerce-ordering, .woocommerce-ordering select) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    font-size: 16px !important;
  }

  .amet-v2-shop-filter-disclosure > summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #fff;
    background: #151c23;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
  }

  .amet-v2-shop-filter-disclosure > summary::after {
    content: "+";
    color: #ff8a3d;
    font-size: 24px;
  }

  .amet-v2-shop-filter-disclosure[open] > summary::after {
    content: "−";
  }

  .amet-v2-shop-filter-disclosure > .amet-v2-shop-filter-inner {
    display: none !important;
    padding-top: 16px;
  }

  .amet-v2-shop-filter-disclosure[open] > .amet-v2-shop-filter-inner {
    display: block !important;
  }

  body.amet-customer-v1.page-id-45 .entry-content > div > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100% !important;
  }

  body.amet-customer-v1.page-id-45 .entry-content a,
  body.amet-customer-v1.page-id-45 .entry-content > div > div > div {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .amet-v2-footer a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 420px) {
  body.amet-customer-v1:is(.page-id-36, .page-id-38, .page-id-40) .entry-content {
    padding-inline: 16px !important;
  }

  body.amet-customer-v1:is(.page-id-36, .page-id-38, .page-id-40) .entry-content :where(ul, ol) {
    padding-inline-start: 22px;
  }
}

@media (max-width: 479px) {
  body.amet-customer-v1 :where(.woocommerce .products, .wc-block-grid__products) {
    grid-template-columns: 1fr !important;
  }

  body.amet-customer-v1 :where(.woocommerce .products .product, .wc-block-grid__product) {
    padding: 12px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.amet-customer-v1 *,
  body.amet-customer-v1 *::before,
  body.amet-customer-v1 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ================================================================
   Reference theme v2 — matches the approved black / ivory / orange pack.
   ================================================================ */
body.amet-customer-v1 {
  --amet-brand: #ff620d;
  --amet-brand-hover: #e84d00;
  --amet-bg-dark: #0b1117;
  --amet-surface-dark: #151c23;
  --amet-bg-light: #f8f4ee;
  --amet-surface-light: #fffdf9;
  --amet-border-light: #ded9d2;
  font-family: "Prompt", "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
}

body.amet-customer-v1 #header [data-row="middle"] {
  color: #fff;
  background: #020304;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.amet-customer-v1 #header [data-row="middle"] > .ct-container {
  width: min(calc(100% - 48px), 1360px);
  height: 78px;
  min-height: 78px;
}

body.amet-customer-v1 #header .site-logo-container {
  --logo-max-height: 64px !important;
  height: 64px !important;
}

body.amet-customer-v1 #header .site-logo-container img {
  width: 210px;
  max-height: 64px;
  object-fit: contain;
}

body.amet-customer-v1 #header-menu-1 > ul {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 26px);
}

body.amet-customer-v1 #header-menu-1 > ul > li > a {
  min-height: 48px;
  padding-inline: 4px;
  color: #f4f5f6;
  font-size: 15px;
  font-weight: 600;
}

body.amet-customer-v1 #header-menu-1 > ul > li > a:hover,
body.amet-customer-v1 #header-menu-1 > ul > li.current-menu-item > a {
  color: #ff6a13;
}

body.amet-customer-v1 #header-menu-1 .menu-item-51 { order: 1; }
body.amet-customer-v1 #header-menu-1 .amet-nav-ai-btn { order: 2; }
body.amet-customer-v1 #header-menu-1 .menu-item-48 { order: 3; }
body.amet-customer-v1 #header-menu-1 .amet-v2-nav-blog { order: 4; }
body.amet-customer-v1 #header-menu-1 .amet-v2-nav-contact { order: 5; }
body.amet-customer-v1 #header-menu-1 .menu-item-412 { order: 8; }
body.amet-customer-v1 #header-menu-1 :where(.menu-item-411, .menu-item-49, .menu-item-47) { display: none !important; }
body.amet-customer-v1 #header-menu-1 .more-items-container { display: none; }

body.amet-customer-v1 #header .ct-header-search,
body.amet-customer-v1 #header .ct-button {
  display: grid;
  width: 38px;
  min-width: 38px;
  padding: 0;
  place-items: center;
}

body.amet-customer-v1 #header .ct-button {
  position: relative;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 0;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
}

body.amet-customer-v1 #header .ct-button::before {
  display: block !important;
  width: 25px;
  height: 25px;
  content: "";
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjgiIHI9IjMuNCIvPjxwYXRoIGQ9Ik01LjUgMjBjLjUtNCAyLjctNiA2LjUtNnM2IDIgNi41IDYiLz48L3N2Zz4=") center / contain no-repeat;
  text-indent: 0;
}

body.amet-customer-v1 #header-menu-1 .menu-item-412 > a {
  display: grid;
  width: 42px;
  overflow: hidden;
  padding: 0;
  font-size: 0;
  place-items: center;
}

body.amet-customer-v1 #header-menu-1 .menu-item-412 > a::before {
  width: 24px;
  height: 24px;
  content: "";
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMyA0aDJsMi4yIDEwLjJoOS45bDItNy4ySDYiLz48Y2lyY2xlIGN4PSI5IiBjeT0iMTkiIHI9IjEuMiIvPjxjaXJjbGUgY3g9IjE3IiBjeT0iMTkiIHI9IjEuMiIvPjwvc3ZnPg==") center / contain no-repeat;
}

body.amet-customer-v1 .hero-section {
  padding-block: 32px;
}

body.amet-customer-v1 .hero-section .page-title,
body.amet-customer-v1 .hero-section h1 {
  font-size: clamp(34px, 4vw, 52px);
}

body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat, .search) .hero-section {
  height: 132px !important;
  min-height: 132px;
  padding-block: 24px;
}

/* Shop and product search reference. */
body.amet-customer-v1.woocommerce-shop,
body.amet-customer-v1.tax-product_cat,
body.amet-customer-v1.search {
  background: radial-gradient(circle at 50% 0, rgba(41, 65, 87, .18), transparent 40%), #0b1117;
}

.amet-v2-shop-categories {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.amet-v2-shop-categories a {
  display: grid;
  min-height: 56px;
  place-items: center;
  color: #f1f3f5;
  background: #151c23;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 7px;
  font-weight: 700;
  text-align: center;
}

.amet-v2-shop-categories a:hover,
.amet-v2-shop-categories a.is-active {
  color: #111820;
  background: linear-gradient(135deg, #ff750e, #f14b00);
  border-color: #ff6a13;
}

.amet-v2-shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
}

.amet-v2-shop-filter {
  grid-row: 1 / span 3;
  padding: 20px;
  color: #f2f4f6;
  background: #151c23;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
}

body.amet-customer-v1.amet-v1-dark-surface .amet-v2-shop-filter h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px !important;
  line-height: 1.4 !important;
  letter-spacing: 0;
}

body.amet-customer-v1.amet-v1-dark-surface .amet-v2-shop-filter p,
body.amet-customer-v1.amet-v1-dark-surface .amet-v2-shop-filter hr {
  margin: 0 0 20px;
}

body.amet-customer-v1.amet-v1-dark-surface .amet-v2-shop-filter a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: #ff6a13;
  font-size: 15px;
  line-height: 1.4;
}

.amet-v2-shop-filter hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.amet-v2-shop-filter form > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 7px;
}

.amet-v2-shop-filter label {
  display: grid;
  gap: 5px;
  color: #aeb6bf;
  font-size: 12px;
}

.amet-v2-shop-filter input {
  width: 100%;
  min-width: 0;
  padding: 8px;
  color: #fff;
  background: #10161c;
  border: 1px solid rgba(255, 255, 255, .18);
}

.amet-v2-shop-filter button {
  width: 100%;
  margin-top: 16px;
  color: #fff;
  background: linear-gradient(135deg, #ff750e, #f14b00);
  border: 0;
}

.amet-v2-shop-results {
  min-width: 0;
}

body.amet-customer-v1 .amet-v2-shop-results .products {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.amet-customer-v1 :where(.woocommerce .products .product, .wc-block-grid__product) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 12px !important;
  color: #f5f6f7;
  background: linear-gradient(180deg, #171e25, #11171d);
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 8px;
  box-shadow: none;
}

body.amet-customer-v1 :where(.woocommerce .products .product figure, .wc-block-grid__product-image) {
  margin-bottom: 12px;
}

body.amet-customer-v1 :where(.woocommerce .products .product img, .wc-block-grid__product-image img) {
  width: 100%;
  aspect-ratio: 1.25 / 1 !important;
  background: #171c21;
  border-radius: 6px;
  object-fit: contain;
}

body.amet-customer-v1 .woocommerce .products .product .woocommerce-loop-product__title {
  min-height: 44px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

body.amet-customer-v1 .woocommerce .products .product .entry-meta {
  display: none;
}

body.amet-customer-v1 .woocommerce .products .product .price {
  margin-top: auto;
  color: #ff6a13 !important;
  font-size: 17px;
}

body.amet-customer-v1 .woocommerce .products .product .price del {
  color: #8e98a2;
  font-size: 12px;
}

body.amet-customer-v1 .woocommerce .products .product .amet-v2-detail-button {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  color: #fff !important;
  background: transparent !important;
  border: 1px solid #ff6a13 !important;
  text-align: center;
}

/* Single product reference. */
body.amet-customer-v1.single-product {
  background: #faf7f2;
}

body.amet-customer-v1.single-product .site-main {
  padding-block: 26px 0;
}

body.amet-customer-v1.single-product .product.type-product {
  display: block;
}

body.amet-customer-v1.single-product .product-entry-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(440px, .96fr);
  gap: clamp(32px, 5vw, 72px);
  width: min(calc(100% - 48px), 1240px) !important;
  max-width: 1240px !important;
  margin-inline: auto !important;
}

body.amet-customer-v1.single-product .woocommerce-product-gallery {
  width: 100% !important;
  max-width: none !important;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(25, 22, 18, .08);
}

body.amet-customer-v1.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  max-height: 560px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

body.amet-customer-v1.single-product .woocommerce-product-gallery :where(.flexy, .flexy-view, .flexy-items, .flexy-item, .ct-media-container) {
  height: 520px !important;
  max-height: 520px !important;
}

body.amet-customer-v1.single-product .woocommerce-product-gallery .ct-media-container img {
  width: 100% !important;
  height: 520px !important;
  object-fit: contain !important;
}

/* V0.3.45: expose the dedicated IMMO category alongside the approved shop taxonomy. */

body.amet-customer-v1.single-product .summary.entry-summary h1.product_title.entry-title {
  --theme-heading-color: #17191d;
  color: #17191d !important;
  font-size: clamp(34px, 3.7vw, 54px);
  line-height: 1.15;
}

body.amet-customer-v1.single-product .summary .price {
  color: #ff5b08;
}

.amet-v2-product-fit {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 18px;
  margin: 22px 0 12px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(145deg, #111820, #0c1218);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 9px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .15);
}

.amet-v2-product-fit strong,
.amet-v2-product-fit small {
  display: block;
}

.amet-v2-product-fit small {
  margin-top: 5px;
  color: #aeb6bf;
}

.amet-v2-product-fit__fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.amet-v2-product-fit__fields span {
  display: grid;
  min-height: 46px;
  align-items: center;
  padding: 8px 10px;
  color: #c8cdd2;
  background: #151c23;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  font-size: 13px;
}

.amet-v2-product-fit > a {
  display: grid;
  min-height: 46px;
  align-items: center;
  padding: 8px 16px;
  color: #fff;
  border: 1px solid #ff6a13;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
}

body.amet-customer-v1.single-product .summary .cart {
  display: flex;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
}

body.amet-customer-v1.single-product .summary .cart .single_add_to_cart_button {
  flex: 1;
  background: linear-gradient(135deg, #ff750e, #f14b00) !important;
}

body.amet-customer-v1.single-product .woocommerce-tabs {
  margin-inline: calc(50% - 50vw);
  padding: 30px max(calc((100vw - 1240px) / 2), 24px);
  border-radius: 0;
  background: linear-gradient(180deg, #101820, #0b1117);
}

/* Cart, checkout and account use the ivory reference canvas. */
body.amet-customer-v1:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) {
  background: #faf7f2;
}

body.amet-customer-v1 :where(.wc-block-cart-items, .woocommerce-cart-form, .cart_totals, .woocommerce-checkout > *, .woocommerce-MyAccount-content) {
  border-radius: 9px;
  background: #fffdf9;
  box-shadow: 0 7px 18px rgba(28, 24, 20, .08);
}

body.amet-customer-v1 .wc-block-components-sidebar {
  background: linear-gradient(180deg, #111820, #0c1218);
  border-radius: 9px;
}

body.amet-customer-v1 .wc-block-components-button,
body.amet-customer-v1 .checkout-button,
body.amet-customer-v1 #place_order {
  background: linear-gradient(135deg, #ff750e, #f14b00) !important;
}

body.amet-customer-v1.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 0;
}

body.amet-customer-v1.woocommerce-account .woocommerce-MyAccount-navigation {
  min-height: 590px;
  padding: 16px;
  color: #fff;
  background: linear-gradient(180deg, #111820, #0b1117);
  border-radius: 9px 0 0 9px;
}

body.amet-customer-v1.woocommerce-account .woocommerce-MyAccount-navigation a {
  color: #fff;
}

body.amet-customer-v1.woocommerce-account .woocommerce-MyAccount-content {
  min-height: 590px;
  border-radius: 0 9px 9px 0;
}

/* Compatibility reference. The shortcode-owned class is portable across environments. */
body.amet-customer-v1.amet-v1-compatibility-page {
  color: #f4f5f6;
  background: radial-gradient(circle at 50% 0, rgba(38, 64, 87, .17), transparent 40%), #0b1117;
}

body.amet-customer-v1:is(.amet-v1-compatibility-page, .page-id-823, .page-id-825, .page-id-827) .entry-content {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
}

body.amet-customer-v1.amet-v1-compatibility-page .amet-v1-page__hero {
  max-width: none;
  margin-bottom: 26px;
  text-align: center;
}

body.amet-customer-v1.amet-v1-compatibility-page .amet-v1-page__hero h1,
body.amet-customer-v1.amet-v1-compatibility-page .amet-v1-page__hero p {
  margin-inline: auto;
  color: #fff;
}

.amet-v2-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 850px;
  margin: 0 auto 38px;
  padding: 0;
}

.amet-v2-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #aeb6bf;
  list-style: none;
}

.amet-v2-progress li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: -50%;
  width: 100%;
  height: 1px;
  background: #666d75;
}

.amet-v2-progress li:first-child::before { display: none; }

.amet-v2-progress span {
  display: grid;
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  color: #fff;
  background: #4f5358;
  border: 1px solid #7b8085;
  border-radius: 50%;
  place-items: center;
}

.amet-v2-progress .is-current {
  color: #ff6a13;
}

.amet-v2-progress .is-current span {
  background: #ff620d;
  border-color: #ff620d;
}

.amet-v2-compat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: stretch;
  gap: 24px;
}

.amet-v2-compat-layout .amet-v1-card {
  padding: 34px;
  color: #17191d;
  background: #fffaf4;
  border-radius: 10px;
}

.amet-v2-compat-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.amet-v2-vehicle-fields {
  display: grid;
  gap: 14px;
}

.amet-v2-compat-form label,
.amet-v2-task-list legend {
  color: #202226;
}

.amet-v2-task-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.amet-v2-task-list legend {
  margin-bottom: 10px;
  font-weight: 800;
}

.amet-v2-task-list label {
  display: flex;
  min-height: 44px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.amet-v2-task-list input {
  width: 20px;
  min-height: 20px !important;
}

.amet-v2-level,
.amet-v2-compat-form .amet-v1-form__actions {
  grid-column: 1 / -1;
}

.amet-v2-compat-form .amet-v1-form__actions {
  justify-content: center;
}

.amet-v2-compat-form .amet-v1-form__actions button {
  width: min(100%, 520px);
}

.amet-v2-compat-summary {
  padding: 28px;
  color: #f4f5f6;
  background: linear-gradient(180deg, #171e25, #10161c);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
}

.amet-v2-compat-summary h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 22px;
}

.amet-v2-compat-summary dl {
  margin: 0;
}

.amet-v2-compat-summary dt {
  color: #aeb6bf;
  font-size: 13px;
}

.amet-v2-compat-summary dd {
  margin: 0 0 12px;
  color: #ff6a13;
  font-weight: 800;
}

.amet-v2-compat-summary > div {
  margin-top: 22px;
  color: #aeb6bf;
  font-size: 72px;
  text-align: center;
}

.amet-v2-compat-summary p {
  color: #aeb6bf;
  text-align: center;
}

.amet-v2-safety-note {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 24px;
  color: #c6ccd2;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
}

.amet-v2-safety-note span {
  color: #ff6a13;
  font-size: 28px;
}

.amet-v2-safety-note p { margin: 0; }

.amet-v2-progress {
  grid-template-columns: repeat(3, 1fr);
}

.amet-v2-compat-form > h2,
.amet-v2-compat-layout .amet-v1-card--form > h2 {
  margin: 0 0 22px;
  color: #17191d;
  font-size: 24px;
}

.amet-v2-safety-note p {
  white-space: nowrap;
}

/* Video library and contact dark surfaces. */
body.amet-customer-v1.page-id-825,
body.amet-customer-v1.page-id-45 {
  color: #f4f5f6;
  background: radial-gradient(circle at 50% 0, rgba(38, 64, 87, .16), transparent 42%), #0b1117;
}

body.amet-customer-v1.page-id-825 .amet-v1-page__hero {
  padding: 52px;
  max-width: none;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 7, 10, .98), rgba(4, 7, 10, .35)),
    url("../images/amet-garage-hero-v2.png") 72% center / cover no-repeat;
  border-radius: 10px;
}

body.amet-customer-v1.page-id-825 .amet-v1-page__hero :where(h1, p) {
  color: #fff;
}

.amet-v2-channel-card {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 22px;
  color: #fff;
  background: #151c23;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 9px;
}

.amet-v2-channel-mark {
  display: grid;
  width: 78px;
  height: 78px;
  border: 1px solid #ff6a13;
  border-radius: 50%;
  color: #ff6a13;
  font-weight: 900;
  place-items: center;
}

.amet-v2-channel-card h2 { margin: 4px 0; color: #fff; font-size: 24px; }
.amet-v2-channel-card p { margin: 0; color: #aeb6bf; }

.amet-v2-video-tabs {
  display: flex;
  gap: 10px;
  margin: 24px 0 18px;
}

.amet-v2-video-tabs span {
  padding: 10px 18px;
  color: #c6cbd0;
  background: #151c23;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 7px;
}

.amet-v2-video-tabs .is-active { color: #fff; border-color: #ff6a13; }

.amet-v2-video-library {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.amet-v2-video-library a {
  display: grid;
  min-height: 220px;
  align-content: end;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(5, 7, 9, .1), rgba(5, 7, 9, .9)),
    url("../images/amet-garage-hero-v2.png") 72% center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}

.amet-v2-video-library .amet-v2-video-play {
  margin: 0 auto 42px;
}

.amet-v2-video-library small { color: #aeb6bf; }

body.amet-customer-v1.page-id-45 .entry-content {
  max-width: 1160px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.amet-customer-v1.page-id-45 .entry-content > div {
  padding: 48px !important;
  background: linear-gradient(180deg, #151c23, #10161c) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 10px !important;
}

body.amet-customer-v1.page-id-45 .entry-content h1 {
  color: #fff !important;
  font-size: clamp(36px, 5vw, 58px) !important;
}

body.amet-customer-v1.page-id-45 .entry-content a,
body.amet-customer-v1.page-id-45 .entry-content > div > div > div {
  background: #111820 !important;
  border-color: rgba(255, 255, 255, .18) !important;
}

/* Blog, legal and 404 light reference canvases. */
body.amet-customer-v1.page-id-827,
body.amet-customer-v1.single-post,
body.amet-customer-v1.error404,
body.amet-customer-v1.page-id-36,
body.amet-customer-v1.page-id-38,
body.amet-customer-v1.page-id-40,
body.amet-customer-v1.page-id-13 {
  color: #17191d;
  background: #faf7f2;
}

body.amet-customer-v1.page-id-827 .amet-v1-page__hero {
  max-width: none;
  padding: 46px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 7, 10, .97), rgba(4, 7, 10, .38)),
    url("../images/amet-garage-hero-v2.png") 70% center / cover no-repeat;
  border-radius: 10px;
}

body.amet-customer-v1.page-id-827 .amet-v1-page__hero :where(h1, p) { color: #fff; }

body.amet-customer-v1:is(.page-id-36, .page-id-38, .page-id-40, .page-id-13) .entry-content,
body.amet-customer-v1.single-post .entry-content {
  max-width: 1040px;
  background: #fffdf9;
}

body.amet-customer-v1.error404 .site-main {
  min-height: 72vh;
  color: #17191d;
  background: #faf7f2;
}

body.amet-customer-v1.error404 .page-title {
  color: #111315;
  font-size: clamp(60px, 12vw, 140px);
}

body.amet-customer-v1.error404 .search-form input[type="search"] {
  color: #17191d;
  background: #fff;
  border-color: #cfc9c1;
}

/* Full reference footer assembled without replacing Blocksy footer ownership. */
body.amet-customer-v1 #footer {
  color: #aeb6bf;
  background: #080d12;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.amet-v2-footer {
  display: grid;
  width: min(calc(100% - 48px), 1280px);
  grid-template-columns: 1.15fr 1fr 1.1fr .8fr .8fr;
  gap: 32px;
  margin-inline: auto;
  padding: 34px 0 26px;
}

.amet-v2-footer > div {
  display: grid;
  align-content: start;
  gap: 6px;
}

.amet-v2-footer strong { color: #fff; }
.amet-v2-footer a { color: #aeb6bf; font-size: 14px; }
.amet-v2-footer a:hover { color: #ff6a13; }

/* V0.3.31: official DBD Registered trust mark in the existing social footer column. */
.amet-v2-footer .amet-v2-dbd-badge {
  display: inline-flex;
  width: 162px;
  max-width: 100%;
  min-height: 77px;
  margin-top: 12px;
  justify-self: start;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: #414141;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
}

.amet-v2-footer .amet-v2-dbd-badge:hover {
  border-color: #ff6a13;
}

.amet-v2-footer .amet-v2-dbd-badge:focus-visible {
  outline: 3px solid #ff8a3d;
  outline-offset: 4px;
}

.amet-v2-footer .amet-v2-dbd-badge img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 162px;
}

body.amet-customer-v1 #footer [data-row="bottom"] {
  border-top: 1px solid rgba(255, 255, 255, .1);
}

body.amet-customer-v1 #footer .ct-footer-copyright {
  font-size: 12px;
}

@media (max-width: 1100px) {
  body.amet-customer-v1 #header-menu-1 > ul { gap: 7px; }
  body.amet-customer-v1 .amet-v2-shop-results .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .amet-v2-video-library { grid-template-columns: repeat(2, 1fr); }
  .amet-v2-footer { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  body.amet-customer-v1.single-product .product.type-product,
  body.amet-customer-v1.single-product .product-entry-wrapper,
  .amet-v2-compat-layout,
  body.amet-customer-v1.woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .amet-v2-product-fit {
    grid-template-columns: 1fr;
  }

  body.amet-customer-v1.woocommerce-account .woocommerce-MyAccount-navigation,
  body.amet-customer-v1.woocommerce-account .woocommerce-MyAccount-content {
    min-height: auto;
    border-radius: 9px;
  }
}

@media (max-width: 767px) {
  body.amet-customer-v1 #header [data-row="middle"] > .ct-container,
  .amet-v2-footer {
    width: min(calc(100% - 30px), 1280px);
  }

  body.amet-customer-v1 #header .site-logo-container img {
    width: 160px;
  }

  .amet-v2-shop-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .amet-v2-shop-layout {
    grid-template-columns: 1fr;
  }

  .amet-v2-shop-filter {
    grid-row: auto;
  }

  body.amet-customer-v1 .amet-v2-shop-results .products,
  .amet-v2-video-library,
  .amet-v2-compat-form,
  .amet-v2-footer {
    grid-template-columns: 1fr !important;
  }

  .amet-v2-progress strong {
    font-size: 13px;
    text-align: center;
  }

  .amet-v2-progress span {
    width: 38px;
    height: 38px;
  }

  .amet-v2-progress li::before {
    top: 18px;
  }

  .amet-v2-compat-layout .amet-v1-card,
  body.amet-customer-v1.page-id-825 .amet-v1-page__hero,
  body.amet-customer-v1.page-id-827 .amet-v1-page__hero,
  body.amet-customer-v1.page-id-45 .entry-content > div {
    padding: 24px !important;
  }

  .amet-v2-channel-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .amet-v2-safety-note p {
    white-space: normal;
  }

  .amet-v2-video-tabs {
    overflow-x: auto;
  }

  .amet-v2-video-tabs span {
    flex: 0 0 auto;
  }
}

/* V0.3.4: actionable compatibility results and correctly sized shop navigation. */
.amet-v1-result__eyebrow {
  color: #b84400;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.amet-v1-result__selection {
  padding: 10px 12px;
  color: #30343a;
  background: #fff;
  border: 1px solid #ead7ba;
  border-radius: 7px;
}

.amet-v1-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.amet-v1-result__actions .amet-v1-button {
  min-height: 48px;
  flex: 1 1 180px;
  padding: 10px 16px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

.amet-v1-result__actions .amet-v1-button--secondary {
  color: #202226 !important;
  background: #fff;
  border-color: #b7bec6;
}

body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) .hero-section {
  display: none !important;
}

.amet-v2-shop-categories {
  position: relative;
  z-index: 2;
}

.amet-v2-shop-categories a {
  min-height: 64px;
  padding: 10px 14px;
  overflow: hidden;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.25;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}

.amet-v2-shop-categories a:focus-visible,
.amet-v1-result__actions a:focus-visible {
  outline: 3px solid #ff9a55;
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .amet-v2-shop-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .amet-v2-shop-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .amet-v2-shop-categories a {
    min-height: 58px;
    padding: 9px 10px;
  }
}

@media (max-width: 420px) {
  .amet-v2-shop-categories {
    grid-template-columns: 1fr;
  }
}

/* V0.3.11: scoped cross-page type scale and light/dark contrast corrections. */
body.amet-customer-v1:not(.amet-v1-home) .hero-section .entry-header {
  box-sizing: border-box;
  width: 100%;
  padding-inline: clamp(24px, 4vw, 52px);
}

body.amet-customer-v1:not(.amet-v1-home) .hero-section :where(.page-title, h1) {
  font-size: clamp(30px, 3.4vw, 40px) !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}

body.amet-customer-v1.amet-v1-shortcode-page .amet-v1-page__hero h1,
body.amet-customer-v1.page-id-45 .entry-content h1 {
  font-size: clamp(34px, 4vw, 44px) !important;
  line-height: 1.15 !important;
}

body.amet-customer-v1.single-product .summary.entry-summary h1.product_title.entry-title {
  font-size: clamp(30px, 3.2vw, 40px) !important;
  line-height: 1.2 !important;
}

body.amet-customer-v1.single-product .summary .price {
  color: #b33b00 !important;
}

body.amet-customer-v1.single-product :where(.related, .upsells) > h2 {
  color: #17191d !important;
  font-size: clamp(24px, 2.5vw, 28px) !important;
  line-height: 1.3 !important;
}

body.amet-customer-v1.single-product .woocommerce-tabs h2 {
  color: #f7f8fa !important;
  font-size: clamp(22px, 2.2vw, 26px) !important;
  line-height: 1.35 !important;
}

body.amet-customer-v1 .amet-v1-page :where(.amet-v1-section-heading h2, .amet-v1-story h2, .amet-v1-cta h2, .amet-v1-video-feature h2) {
  font-size: clamp(24px, 2.7vw, 32px) !important;
  line-height: 1.3 !important;
}

body.amet-customer-v1 .amet-v1-proof-grid h2,
body.amet-customer-v1 .amet-v2-compat-summary h2,
body.amet-customer-v1 .amet-v2-channel-card h2 {
  font-size: 22px !important;
  line-height: 1.35 !important;
}

body.amet-customer-v1.amet-v1-compatibility-page .amet-v2-compat-layout .amet-v1-card--form > h2 {
  font-size: clamp(21px, 2.2vw, 24px) !important;
  line-height: 1.35 !important;
}

body.amet-customer-v1 .amet-v1-empty h2 {
  font-size: clamp(24px, 2.7vw, 30px) !important;
  line-height: 1.35 !important;
}

body.amet-customer-v1.page:not(.home):not(.woocommerce-page) .entry-content > h2,
body.amet-customer-v1.single-post .entry-content > h2 {
  font-size: clamp(23px, 2.4vw, 28px) !important;
  line-height: 1.4 !important;
}

body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block > h2 {
  color: #17191d !important;
  font-size: clamp(24px, 2.6vw, 30px) !important;
  line-height: 1.35 !important;
}

body.amet-customer-v1.woocommerce-cart .wc-block-cart__empty-cart__title::before {
  color: #68717b !important;
  opacity: 1 !important;
}

body.amet-customer-v1.woocommerce-account .woocommerce-MyAccount-content :where(p, li, strong) {
  color: #30343a !important;
}

body.amet-customer-v1.woocommerce-account .woocommerce-MyAccount-content a {
  color: #a52e22 !important;
}

body.amet-customer-v1.woocommerce-account .entry-content > div[style*="rgba(201,165,92"] p:first-child {
  color: #765000 !important;
}

body.amet-customer-v1.woocommerce-account .entry-content > div[style*="rgba(201,165,92"] p:last-child {
  color: #3f444b !important;
}

body.amet-customer-v1.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.amet-customer-v1.amet-v1-compatibility-page .amet-v2-progress .is-current span {
  color: #111820 !important;
}

body.amet-customer-v1.page-id-823 .amet-v1-eyebrow {
  color: #963300 !important;
}

body.amet-customer-v1 :where(.site-main, .entry-content, #amethome) :where(button[type="submit"], input[type="submit"], .wc-block-components-button, .amet-v1-button--primary) {
  color: #111820 !important;
}

body.amet-customer-v1 #header :where(.ct-header-search, .ct-button) {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
}

body.amet-customer-v1.amet-v1-home #amethome .amet-product-category__nav button {
  width: 44px;
  min-width: 44px;
  height: 44px;
}

@media (max-width: 767px) {
  body.amet-customer-v1:not(.amet-v1-home) .hero-section .entry-header {
    padding-inline: 20px;
  }

  body.amet-customer-v1:not(.amet-v1-home) .hero-section :where(.page-title, h1) {
    font-size: clamp(28px, 8vw, 34px) !important;
  }

  body.amet-customer-v1.amet-v1-shortcode-page .amet-v1-page__hero h1,
  body.amet-customer-v1.page-id-45 .entry-content h1,
  body.amet-customer-v1.single-product .summary.entry-summary h1.product_title.entry-title {
    font-size: clamp(30px, 9vw, 36px) !important;
  }
}

/* V0.3.14 final cascade override: keep release-gate fixes after legacy blocks. */
body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) .hero-section {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  padding-block: 22px 6px !important;
}

body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) .hero-section .entry-header {
  display: flex !important;
  min-height: 0 !important;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 52px);
}

body.amet-customer-v1:is(.woocommerce-shop, .tax-product_cat) .hero-section .page-title {
  margin: 0;
  color: #fff !important;
}

body.amet-customer-v1:is(.woocommerce-account, .woocommerce-cart, .woocommerce-checkout) :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  border-color: #737b84 !important;
}

body.amet-customer-v1 :where(nav.woocommerce-pagination, .woocommerce-pagination) .page-numbers.current {
  color: #111820 !important;
  background: #ffb078 !important;
}

body.amet-customer-v1 .wc-block-cart__sidebar .amet-vat-inclusive-block-note,
body.amet-customer-v1 .wc-block-components-sidebar .amet-vat-inclusive-block-note {
  color: #d8dde3 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.amet-customer-v1 :where(.wc-block-components-shipping-rates-control__package__description, .wc-block-components-totals-shipping__via, .wc-block-components-shipping-rates-control__package__rate) {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.amet-customer-v1 :where(.reset_variations, .woocommerce-LostPassword a, .woocommerce-form-login__rememberme, a[href*="m.me/"]) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

body.amet-customer-v1 .woocommerce-breadcrumb a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

@media (max-width: 767px) {
  body.amet-customer-v1.woocommerce-cart :where(.wp-block-woocommerce-cart, .wc-block-cart, .wc-block-cart__main, .wc-block-cart-items, .wc-block-cart-items__row) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
  }

  body.amet-customer-v1.woocommerce-cart .wc-block-cart-items {
    table-layout: fixed;
  }

  body.amet-customer-v1.woocommerce-cart .wc-block-cart-items :where(td, .wc-block-cart-item__product, .wc-block-cart-item__total, .wc-block-components-product-metadata) {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  body.amet-customer-v1.woocommerce-cart .wc-block-components-product-badge {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 4px 6px !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

/* V0.3.16 final accessibility and mobile-navigation QA corrections. */
body.amet-customer-v1.woocommerce-account input[type="checkbox"] {
  border: 2px solid #737b84 !important;
  background-color: #fff !important;
}

body.amet-customer-v1.woocommerce-account input[type="checkbox"]:checked {
  border-color: #9f3200 !important;
  background-color: #9f3200 !important;
}

body.amet-customer-v1 .ct-pagination .page-numbers.current {
  color: #111820 !important;
  background: #ffb078 !important;
}

@media (max-width: 767px) {
  body.amet-customer-v1.woocommerce-cart .wc-block-components-product-badge {
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }

  body.amet-customer-v1.page-id-45 a[href*="m.me/"] {
    display: block !important;
    min-height: 0;
    line-height: 1.5;
  }
}

/* V0.3.22 P0: scoped product metadata, portable safety contrast and Chaty clearance. */
body.amet-customer-v1.single-product .summary.entry-summary .product_meta {
  color: #444b54 !important;
}

/* V0.3.53: keep internal catalogue SKUs available to WooCommerce while
   preventing DRAFT-WING identifiers from appearing in customer-facing UI. */
body.amet-customer-v1.single-product .summary.entry-summary .product_meta .sku_wrapper {
  display: none !important;
}

body.amet-customer-v1.single-product .summary.entry-summary .product_meta a {
  color: #7b2d00 !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

body.amet-customer-v1.single-product .summary.entry-summary .product_meta a:hover {
  color: #4f1d00 !important;
}

body.amet-customer-v1.single-product .summary.entry-summary .product_meta a:focus-visible {
  color: #4f1d00 !important;
  outline: 3px solid #b84400 !important;
  outline-offset: 3px;
  border-radius: 2px;
}

body.amet-customer-v1.amet-v1-compatibility-page .amet-v2-safety-note {
  color: #30343a;
  background: #fffaf4;
  border-color: #a9b0b7;
}

body.amet-customer-v1.amet-v1-compatibility-page .amet-v2-safety-note p {
  color: inherit;
}

body.amet-customer-v1.amet-v1-compatibility-page .amet-v2-safety-note span {
  color: #9f3200;
}

/* V0.3.32: keep the closed Chaty trigger clear of captured controls by surface. */
@media (max-width: 1280px) {
  /* V0.3.51: catalog grids have no collision-free fixed dock at compact widths.
     Inline LINE/Facebook assistance remains available inside the Shop filters. */
  body.amet-customer-v1.woocommerce-shop #chaty-widget-0,
  body.amet-customer-v1.tax-product_cat #chaty-widget-0,
  body.amet-customer-v1.tax-product_tag #chaty-widget-0 {
    display: none !important;
  }

  body.amet-customer-v1 #chaty-widget-0 {
    pointer-events: none !important;
  }

  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position {
    bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important;
    right: calc(24px + env(safe-area-inset-right, 0px)) !important;
  }

  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover > .on-hover-text {
    display: none !important;
  }

  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover > .chaty-cta-button > button.open-chaty {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    pointer-events: auto !important;
  }

  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position.chaty-open .chaty-channel:not(.chaty-cta-main),
  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position.chaty-open .chaty-channel:not(.chaty-cta-main) * {
    pointer-events: auto !important;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position {
    bottom: calc(25px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.amet-customer-v1.woocommerce-account #chaty-widget-0 > .chaty-widget.right-position {
    right: auto !important;
    left: calc(86px + env(safe-area-inset-left, 0px)) !important;
  }
}

@media (min-width: 1281px) {
  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover > .on-hover-text {
    display: none !important;
  }

  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover:hover > .on-hover-text,
  body.amet-customer-v1 #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover:focus-within > .on-hover-text {
    display: block !important;
  }
}

@media (min-width: 600px) and (max-width: 1024px) {
  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position {
    right: auto !important;
    left: calc(86px + env(safe-area-inset-left, 0px)) !important;
  }

  /* The two-column video library has no collision-free fixed dock at tablet widths. */
  body.amet-customer-v1.amet-v1-videos-page #chaty-widget-0 {
    display: none !important;
  }
}

@media (min-width: 900px) and (max-width: 1280px) {
  body.amet-customer-v1.woocommerce-account #chaty-widget-0 > .chaty-widget.right-position {
    right: auto !important;
    left: calc(86px + env(safe-area-inset-left, 0px)) !important;
  }
}

@media (min-width: 1000px) and (max-width: 1024px) {
  body.amet-customer-v1.amet-v1-home #chaty-widget-0 > .chaty-widget.right-position {
    bottom: calc(25px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 599px) {
  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position {
    bottom: calc(164px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.amet-customer-v1.woocommerce-account #chaty-widget-0 > .chaty-widget.right-position {
    bottom: calc(4px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position,
  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels,
  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger,
  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover,
  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover > .chaty-cta-button {
    pointer-events: none !important;
  }

  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover > .chaty-cta-button * {
    pointer-events: none !important;
  }

  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover > .chaty-cta-button > button.open-chaty {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    pointer-events: auto !important;
  }

  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position > .chaty-channels > .chaty-i-trigger.csaas-widget-trigger > .chaty-channel.chaty-cta-main.chaty-tooltip.has-on-hover > .chaty-cta-button > button.open-chaty * {
    pointer-events: none !important;
  }
}

@media (max-width: 360px) {
  body.amet-customer-v1.woocommerce-shop #chaty-widget-0 > .chaty-widget.right-position {
    bottom: calc(168px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.amet-customer-v1.amet-v1-home #chaty-widget-0 > .chaty-widget.right-position {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* V0.3.24: exact Woo controls/review contrast and mobile Blog overlay. */
body.amet-customer-v1.single-product .woocommerce-tabs #reply-title.comment-reply-title {
  color: #f7f8fa !important;
}

body.amet-customer-v1.single-product .summary.entry-summary .quantity[data-type="type-2"] {
  --quantity-arrows-initial-color: #30343a;
  --quantity-arrows-hover-color: #fff;
  --quantity-hover-color: #7b2d00;
}

body.amet-customer-v1.single-product .summary.entry-summary .quantity[data-type="type-2"] :is(.ct-increase, .ct-decrease) {
  color: #30343a;
}

body.amet-customer-v1.single-product .summary.entry-summary .quantity[data-type="type-2"] :is(.ct-increase, .ct-decrease):hover {
  color: #fff;
  background: #7b2d00;
}

body.amet-customer-v1.single-product .summary.entry-summary .quantity[data-type="type-2"]:focus-within :is(.ct-increase, .ct-decrease) {
  color: #4f1d00;
  background: #fff7f0;
  box-shadow: inset 0 0 0 2px #b84400;
}

@media (max-width: 767px) {
  body.amet-customer-v1 .amet-v1-blog .amet-v1-page__hero {
    background:
      linear-gradient(90deg, rgba(4, 7, 10, .96), rgba(4, 7, 10, .82)),
      url("../images/amet-garage-hero-v2.png") 70% center / cover no-repeat;
  }

  body.amet-customer-v1 .amet-v1-blog .amet-v1-page__hero :where(h1, p) {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .65);
  }
}

/* V0.3.34: privacy-first assisted-selling handoff for LINE and Facebook Messenger. */
body.amet-customer-v1 .amet-lead-assist {
  --amet-lead-accent: #f26a21;
  --amet-lead-focus: #ff9a5c;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 28px;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid #46515d;
  border-radius: 14px;
  background: linear-gradient(135deg, #171e25, #0f1419);
  color: #f7f8fa;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}

body.amet-customer-v1.single-product .amet-lead-assist {
  --amet-lead-focus: #b84400;
  margin: 24px 0 18px;
  border-color: #d3cbc2;
  background: #fffaf4;
  color: #17191d;
  box-shadow: 0 10px 24px rgba(34, 28, 22, .1);
}

body.amet-customer-v1 .amet-lead-assist *,
body.amet-customer-v1 .amet-lead-assist *::before,
body.amet-customer-v1 .amet-lead-assist *::after {
  box-sizing: border-box;
}

body.amet-customer-v1 .amet-lead-assist__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

body.amet-customer-v1 .amet-lead-assist__icon {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--amet-lead-accent);
  border-radius: 50%;
  color: #ffb078;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

body.amet-customer-v1.single-product .amet-lead-assist__icon {
  color: #9f3200;
}

body.amet-customer-v1 .amet-lead-assist :where(h2, p, fieldset, legend) {
  margin: 0;
}

body.amet-customer-v1 .amet-lead-assist h2 {
  color: inherit !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  line-height: 1.3 !important;
}

body.amet-customer-v1 .amet-lead-assist__header p {
  margin-top: 5px;
  color: #d8dde3 !important;
  font-size: 15px;
  line-height: 1.6;
}

body.amet-customer-v1.single-product .amet-lead-assist__header p {
  color: #444b54 !important;
}

body.amet-customer-v1 .amet-lead-assist__fields {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(210px, .7fr);
  gap: 20px;
  align-items: start;
}

body.amet-customer-v1 .amet-lead-assist fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

body.amet-customer-v1 .amet-lead-assist legend,
body.amet-customer-v1 .amet-lead-assist__level {
  display: block;
  width: 100%;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

body.amet-customer-v1 .amet-lead-assist__tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.amet-customer-v1 .amet-lead-assist__tasks legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

body.amet-customer-v1 .amet-lead-assist__tasks label,
body.amet-customer-v1 .amet-lead-assist__consent {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
}

body.amet-customer-v1 .amet-lead-assist__tasks label {
  padding: 8px 10px;
  border: 1px solid #46515d;
  border-radius: 9px;
  background: #111820;
}

body.amet-customer-v1.single-product .amet-lead-assist__tasks label {
  border-color: #c9c1b8;
  background: #fff;
}

body.amet-customer-v1 .amet-lead-assist input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  accent-color: #b84400;
}

body.amet-customer-v1 .amet-lead-assist select {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 42px 0 13px;
  border: 1px solid #697481;
  border-radius: 9px;
  background-color: #111820;
  color: #f7f8fa;
  font-size: 16px;
}

body.amet-customer-v1.single-product .amet-lead-assist select {
  border-color: #8d8277;
  background-color: #fff;
  color: #17191d;
}

body.amet-customer-v1 .amet-lead-assist__consent {
  align-items: flex-start;
  margin-top: 18px;
  color: #d8dde3;
  font-weight: 500;
}

body.amet-customer-v1.single-product .amet-lead-assist__consent {
  color: #30343a;
}

body.amet-customer-v1 .amet-lead-assist__consent input {
  margin-top: 2px !important;
}

body.amet-customer-v1 .amet-lead-assist__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
}

body.amet-customer-v1 .amet-lead-assist__channel-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 12px;
}

body.amet-customer-v1 .amet-lead-assist__button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: 9px;
  background: var(--amet-lead-accent);
  color: #111820;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

body.amet-customer-v1.single-product .amet-lead-assist__button {
  background: #b84400;
  color: #fff;
}

body.amet-customer-v1 .amet-lead-assist__button--facebook,
body.amet-customer-v1.single-product .amet-lead-assist__button--facebook {
  background: #0b57b7;
  color: #fff;
}

body.amet-customer-v1 .amet-lead-assist__button:hover {
  filter: brightness(1.08);
}

body.amet-customer-v1 .amet-lead-assist :is(input, select, textarea, button, [data-amet-facebook-link]):focus-visible {
  outline: 3px solid var(--amet-lead-focus) !important;
  outline-offset: 3px;
}

body.amet-customer-v1 .amet-lead-assist__status {
  min-height: 24px;
  color: #d8dde3;
  font-size: 14px;
  line-height: 1.5;
}

body.amet-customer-v1.single-product .amet-lead-assist__status {
  color: #30343a;
}

body.amet-customer-v1 .amet-lead-assist__status.is-error {
  color: #ffbdad;
  font-weight: 700;
}

body.amet-customer-v1.single-product .amet-lead-assist__status.is-error {
  color: #8a2600;
}

body.amet-customer-v1 .amet-lead-assist__facebook-draft[hidden] {
  display: none !important;
}

body.amet-customer-v1 .amet-lead-assist__facebook-draft {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #596775;
  border-radius: 10px;
  background: #101820;
}

body.amet-customer-v1.single-product .amet-lead-assist__facebook-draft {
  border-color: #c9c1b8;
  background: #fff;
}

body.amet-customer-v1 .amet-lead-assist__facebook-draft > label {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

body.amet-customer-v1 .amet-lead-assist__facebook-draft textarea {
  width: 100%;
  min-height: 132px;
  padding: 12px;
  border: 1px solid #8d99a5;
  border-radius: 8px;
  background: #fff;
  color: #17191d;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}

body.amet-customer-v1 .amet-lead-assist__facebook-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
}

body.amet-customer-v1 .amet-lead-assist__copy,
body.amet-customer-v1 .amet-lead-assist__messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

body.amet-customer-v1 .amet-lead-assist__copy {
  border: 1px solid #9ba6b1;
  background: transparent;
  color: #f7f8fa;
  cursor: pointer;
}

body.amet-customer-v1.single-product .amet-lead-assist__copy {
  border-color: #8d8277;
  color: #30343a;
}

body.amet-customer-v1 .amet-lead-assist__messenger {
  border: 1px solid #0b57b7;
  background: #0b57b7;
  color: #fff;
}

body.amet-customer-v1 .amet-lead-assist__facebook-draft > p {
  color: #d8dde3 !important;
  font-size: 13px;
  line-height: 1.5;
}

body.amet-customer-v1.single-product .amet-lead-assist__facebook-draft > p {
  color: #444b54 !important;
}

@media (max-width: 1024px) {
  body.amet-customer-v1.single-product .amet-lead-assist__channel-buttons,
  body.amet-customer-v1.single-product .amet-lead-assist__facebook-actions {
    padding-right: 60px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.amet-customer-v1 .amet-lead-assist--shop .amet-lead-assist__fields {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  body.amet-customer-v1 .amet-lead-assist {
    padding: 18px;
  }

  body.amet-customer-v1 .amet-lead-assist__fields,
  body.amet-customer-v1 .amet-lead-assist__tasks,
  body.amet-customer-v1 .amet-lead-assist__actions,
  body.amet-customer-v1 .amet-lead-assist__channel-buttons,
  body.amet-customer-v1 .amet-lead-assist__facebook-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body.amet-customer-v1 .amet-lead-assist__level {
    margin-top: 2px;
  }

  body.amet-customer-v1 .amet-lead-assist__channel-buttons,
  body.amet-customer-v1 .amet-lead-assist__facebook-actions {
    gap: 10px;
  }
}

/* V0.3.35: consistent catalogue-product preparation state while supplier pricing is pending. */
body.amet-customer-v1.amet-v1-draft-product .out-of-stock-badge,
body.amet-customer-v1.amet-v1-draft-product .summary.entry-summary .price:empty,
body.amet-customer-v1.amet-v1-draft-product .summary.entry-summary .ct-product-divider,
body.amet-customer-v1.amet-v1-draft-product .summary.entry-summary .ct-product-add-to-cart:empty,
body.amet-customer-v1.amet-v1-draft-product .summary.entry-summary .amet-obd-policy-notice {
  display: none !important;
}

body.amet-customer-v1.amet-v1-catalog-product .woocommerce-product-gallery::after {
  content: "ภาพอ้างอิงจากแค็ตตาล็อกผู้ผลิต · สี อุปกรณ์ในกล่อง และแพ็กเกจอาจแตกต่างตามรุ่นที่ยืนยัน";
  display: block;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #d8d0c7;
  border-radius: 8px;
  background: #fffaf4;
  color: #4b4037;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

body.amet-customer-v1.amet-v1-catalog-product .woocommerce-product-details__short-description {
  color: #34383e;
  font-size: 16px;
  line-height: 1.75;
}

body.amet-customer-v1 .amet-draft-product-status {
  box-sizing: border-box;
  display: grid;
  gap: 18px;
  width: 100%;
  margin: 20px 0 22px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid #3c4752;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 106, 19, .19), transparent 34%),
    linear-gradient(145deg, #18212a, #0e141a);
  color: #f7f9fb;
  box-shadow: 0 14px 28px rgba(20, 24, 28, .18);
}

body.amet-customer-v1 .amet-draft-product-status *,
body.amet-customer-v1 .amet-draft-product-status *::before,
body.amet-customer-v1 .amet-draft-product-status *::after {
  box-sizing: border-box;
}

body.amet-customer-v1 .amet-draft-product-status__heading {
  display: grid;
  gap: 8px;
}

body.amet-customer-v1 .amet-draft-product-status__badge {
  justify-self: start;
  padding: 6px 10px;
  border: 1px solid #ff8a43;
  border-radius: 999px;
  color: #ffd6bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.35;
}

body.amet-customer-v1 .amet-draft-product-status h2 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(24px, 2.4vw, 32px) !important;
  line-height: 1.25 !important;
}

body.amet-customer-v1 .amet-draft-product-status__heading p,
body.amet-customer-v1 .amet-draft-product-status__note {
  margin: 0;
  color: #d8dfe6 !important;
  font-size: 15px;
  line-height: 1.65;
}

body.amet-customer-v1 .amet-draft-product-status__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.amet-customer-v1 .amet-draft-product-status__steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #46515d;
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}

body.amet-customer-v1 .amet-draft-product-status__steps li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #7c8792;
  border-radius: 50%;
  color: #d8dfe6;
  font-weight: 800;
  line-height: 1;
}

body.amet-customer-v1 .amet-draft-product-status__steps li.is-complete > span {
  border-color: #72c799;
  background: #174d34;
  color: #eafff2;
}

body.amet-customer-v1 .amet-draft-product-status__steps li.is-current {
  border-color: #ff8a43;
  background: rgba(255, 106, 19, .1);
}

body.amet-customer-v1 .amet-draft-product-status__steps li.is-current > span {
  border-color: #ff8a43;
  color: #ffd6bd;
}

body.amet-customer-v1 .amet-draft-product-status__steps div {
  min-width: 0;
}

body.amet-customer-v1 .amet-draft-product-status__steps strong,
body.amet-customer-v1 .amet-draft-product-status__steps small {
  display: block;
}

body.amet-customer-v1 .amet-draft-product-status__steps strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

body.amet-customer-v1 .amet-draft-product-status__steps small {
  margin-top: 3px;
  color: #bec7d0;
  font-size: 12px;
  line-height: 1.5;
}

body.amet-customer-v1 .amet-draft-product-status__note {
  padding: 12px 14px;
  border-left: 3px solid #ff6a13;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 106, 19, .08);
}

body.amet-customer-v1 .amet-draft-product-status__note strong {
  color: #fff;
}

body.amet-customer-v1.amet-v1-catalog-product .woocommerce-tabs .woocommerce-Tabs-panel--description {
  max-width: 980px;
  margin-inline: auto;
}

body.amet-customer-v1.amet-v1-catalog-product .woocommerce-tabs .woocommerce-Tabs-panel--description h2 {
  margin: 30px 0 12px;
  padding-left: 14px;
  border-left: 3px solid #ff6a13;
  color: #fff !important;
  font-size: clamp(21px, 2.2vw, 28px) !important;
  line-height: 1.35 !important;
}

body.amet-customer-v1.amet-v1-catalog-product .woocommerce-tabs .woocommerce-Tabs-panel--description h2:first-child {
  margin-top: 4px;
}

body.amet-customer-v1.amet-v1-catalog-product .woocommerce-tabs .woocommerce-Tabs-panel--description :where(p, li) {
  color: #e0e5ea !important;
  font-size: 16px;
  line-height: 1.75;
}

body.amet-customer-v1.amet-v1-catalog-product .woocommerce-tabs .woocommerce-Tabs-panel--description ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 14px 0 0;
  padding: 16px 18px 16px 38px;
  border: 1px solid #394651;
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
}

@media (max-width: 1024px) {
  body.amet-customer-v1 .amet-draft-product-status__steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  body.amet-customer-v1 .amet-draft-product-status {
    margin-top: 16px;
    padding: 18px;
  }

  body.amet-customer-v1 .amet-draft-product-status__steps li {
    padding: 12px;
  }

  body.amet-customer-v1.amet-v1-catalog-product .woocommerce-tabs .woocommerce-Tabs-panel--description ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* V0.3.36: explicit, non-purchasable Staging Pre-order catalogue state. */
body.amet-customer-v1.amet-v1-preorder-product .out-of-stock-badge,
body.amet-customer-v1.amet-v1-preorder-product .summary.entry-summary .ct-product-divider,
body.amet-customer-v1.amet-v1-preorder-product .summary.entry-summary .ct-product-add-to-cart:empty,
body.amet-customer-v1.amet-v1-preorder-product .summary.entry-summary .amet-obd-policy-notice,
body.amet-customer-v1 .products .product.amet-v1-preorder-product .out-of-stock-badge {
  display: none !important;
}

body.amet-customer-v1 .amet-preorder-price {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #ff6a13;
  border-radius: 999px;
  background: rgba(255, 106, 19, .1);
  color: #ffb27f !important;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .01em;
}

body.amet-customer-v1.single-product .summary.entry-summary .amet-preorder-price {
  margin-block: 4px 10px;
  padding: 8px 16px;
  background: #fff0e6;
  color: #7a2d00 !important;
  font-size: clamp(20px, 2.3vw, 28px);
}

body.amet-customer-v1 .products .product.amet-v1-preorder-product .price {
  min-height: 38px;
}

body.amet-customer-v1 .products .product.amet-v1-preorder-product .amet-preorder-price {
  min-height: 30px;
  padding: 4px 10px;
  font-size: 14px;
}

body.amet-customer-v1 .amet-preorder-availability {
  color: #f3d0ba !important;
  font-weight: 650;
}

body.amet-customer-v1 .amet-preorder-brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 2px 0 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

body.amet-customer-v1 .amet-preorder-brand span {
  padding: 3px 8px;
  border: 1px solid #49545f;
  border-radius: 999px;
  color: #c8d0d7;
  font-size: 12px;
  font-weight: 650;
}

body.amet-customer-v1.single-product .summary.entry-summary .amet-preorder-brand {
  color: #171c21;
}

body.amet-customer-v1.single-product .summary.entry-summary .amet-preorder-brand span {
  border-color: #8a949e;
  color: #444b54;
}

body.amet-customer-v1 .amet-preorder-brand-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.amet-customer-v1 .amet-preorder-brand-filter a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #3c4752;
  border-radius: 8px;
  color: #f4f6f8;
  font-weight: 750;
  text-decoration: none;
}

body.amet-customer-v1 .amet-preorder-brand-filter a:hover,
body.amet-customer-v1 .amet-preorder-brand-filter a:focus-visible,
body.amet-customer-v1 .amet-preorder-brand-filter a.is-active {
  border-color: #ff6a13;
  background: rgba(255, 106, 19, .12);
  color: #fff;
}

body.amet-customer-v1 .amet-preorder-brand-filter a:focus-visible {
  outline: 3px solid #b84400;
  outline-offset: 3px;
}

body.amet-customer-v1 .amet-preorder-brand-filter span {
  color: #c2cbd3;
  font-size: 12px;
  font-weight: 600;
}

/* V0.3.61: keep OBD2 brands and LAUNCH product families separate. */
body.amet-customer-v1 .amet-obd2-group-filter {
  grid-template-columns: minmax(0, 1fr);
}

body.amet-customer-v1 .amet-obd2-group-filter a {
  min-height: 46px;
  line-height: 1.35;
}

body.amet-customer-v1 .amet-obd2-group-filter .amet-obd2-group-name {
  color: inherit;
  font-size: 13px;
  font-weight: 750;
}

body.amet-customer-v1 .amet-obd2-group-filter .amet-obd2-group-count {
  display: inline-flex;
  min-width: 28px;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #596572;
  border-radius: 999px;
  color: #e6ebef;
  font-size: 12px;
}

@media (max-width: 767px) {
  body.amet-customer-v1 .amet-preorder-brand-filter {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* V0.3.44: uncropped, centered product-image frames for catalogue and detail pages. */
body.amet-customer-v1 :where(.woocommerce .products .product figure, .wc-block-grid__product-image) {
  overflow: hidden;
  border-radius: 8px;
  background: #171c21;
}

body.amet-customer-v1 :where(.woocommerce .products .product figure .ct-media-container, .wc-block-grid__product-image a) {
  --amet-product-image-pad: clamp(6px, .75vw, 10px);
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  padding: 0;
  background: #171c21;
}

body.amet-customer-v1 :where(.woocommerce .products .product figure .ct-media-container img, .wc-block-grid__product-image a img) {
  box-sizing: border-box;
  position: absolute !important;
  inset: var(--amet-product-image-pad);
  width: calc(100% - (2 * var(--amet-product-image-pad))) !important;
  height: calc(100% - (2 * var(--amet-product-image-pad))) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  padding: 0 !important;
  border-radius: 4px;
  background: transparent;
}

body.amet-customer-v1.single-product .woocommerce-product-gallery :where(.flexy, .flexy-view, .flexy-items, .flexy-item, .ct-media-container) {
  height: clamp(360px, 45vw, 520px) !important;
  max-height: clamp(360px, 45vw, 520px) !important;
}

body.amet-customer-v1.single-product .woocommerce-product-gallery .ct-media-container {
  --amet-gallery-image-pad: clamp(12px, 2vw, 24px);
  box-sizing: border-box;
  position: relative;
  display: block !important;
  overflow: hidden;
  padding: 0;
  background: #fff;
}

body.amet-customer-v1.single-product .woocommerce-product-gallery .ct-media-container img {
  position: absolute !important;
  inset: var(--amet-gallery-image-pad);
  width: calc(100% - (2 * var(--amet-gallery-image-pad))) !important;
  height: calc(100% - (2 * var(--amet-gallery-image-pad))) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  padding: 0 !important;
}

/* V0.3.48: keep Blocksy gallery pills compact; the large-image frame is for the main carousel only. */
body.amet-customer-v1.single-product .woocommerce-product-gallery .flexy-pills .ct-media-container {
  --amet-gallery-image-pad: 4px;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1;
}

body.amet-customer-v1.single-product .woocommerce-product-gallery .flexy-pills .ct-media-container img {
  position: absolute !important;
  inset: var(--amet-gallery-image-pad);
  width: calc(100% - (2 * var(--amet-gallery-image-pad))) !important;
  height: calc(100% - (2 * var(--amet-gallery-image-pad))) !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
}

/* V0.3.46: revenue-readiness contrast correction for the About conversion CTA. */
body.amet-customer-v1 .amet-v1-about .amet-v1-cta h2 {
  color: #ffffff !important;
}

body.amet-customer-v1 .amet-v1-about .amet-v1-cta p {
  color: #d8dde3 !important;
}

/* V0.3.54: Checkout Blocks moved to the ivory commerce canvas in V1, but a
   legacy site-level rule still forces light text intended for the old dark
   Checkout. Keep the form/main column dark-on-ivory without changing gateway,
   shipping, tax, total or order behavior. */
body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main,
body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main :where(
  h1,
  h2,
  h3,
  p,
  label,
  legend,
  .wc-block-components-title,
  .wc-block-components-checkout-step__heading,
  .wc-block-components-checkout-step__description,
  .wc-block-components-payment-method-label,
  .wc-block-components-product-price,
  .price,
  .wc-block-components-formatted-money-amount,
  .wc-block-components-totals-item__label,
  .wc-block-components-totals-item__value,
  .wc-block-components-product-name,
  .wc-block-components-product-metadata,
  .wc-block-components-address-card__address-section,
  .wc-block-components-radio-control__label,
  .wc-block-components-radio-control__secondary-label,
  .wc-block-components-checkbox__label,
  .wc-block-components-notice-banner,
  .wc-block-components-notice-banner__content,
  [aria-live],
  [role="status"],
  [role="alert"]
) {
  color: #24282d !important;
}

body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main
  h2.wc-block-components-title.wc-block-components-checkout-step__title,
body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main
  .wc-block-components-checkout-step__heading > h2.wc-block-components-checkout-step__title {
  color: #24282d !important;
}

body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main :where(
  .wc-block-components-text-input label,
  .wc-blocks-components-select__label
) {
  color: #444b54 !important;
  opacity: 1 !important;
}

body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main a {
  color: #7b2d00 !important;
}

body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main a:hover,
body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main a:focus-visible {
  color: #4f1d00 !important;
}

body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main .wc-block-components-radio-control__option,
body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main .wc-block-components-checkout-step {
  border-color: #aeb4ba !important;
}

body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main .wc-block-components-radio-control__option-checked {
  border-color: #b84400 !important;
}

body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main
  #radio-control-wc-payment-method-options-omise_installment__label
  .wc-block-components-payment-method-label::before {
  color: #24282d !important;
}

body.amet-customer-v1.woocommerce-checkout .entry-content .wc-block-checkout__main
  #radio-control-wc-payment-method-options-omise_installment__label
  .wc-block-components-payment-method-label::after {
  color: #444b54 !important;
}

/* The completed-order surface uses the same ivory canvas. */
body.amet-customer-v1.woocommerce-order-received .entry-content,
body.amet-customer-v1.woocommerce-order-received .entry-content :where(
  h1,
  h2,
  h3,
  p,
  li,
  th,
  td,
  address
) {
  color: #24282d !important;
}

/* V0.3.59: the refund/cancellation policy uses an ivory content canvas.
   Override the inherited light site text only on Page ID 13 so policy copy
   remains readable without changing other legal pages or commerce behavior. */
body.amet-customer-v1.page-id-13 .entry-content,
body.amet-customer-v1.page-id-13 .entry-content :where(
  h1,
  h2,
  h3,
  h4,
  p,
  li,
  th,
  td,
  address,
  strong,
  em
) {
  color: #24282d !important;
}

body.amet-customer-v1.page-id-13 .entry-content a {
  color: #7b2d00 !important;
}

body.amet-customer-v1.page-id-13 .entry-content a:hover,
body.amet-customer-v1.page-id-13 .entry-content a:focus-visible {
  color: #4f1d00 !important;
}

/* V0.3.64: empty-cart recommendation presentation only; no commerce behavior. */
body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
  color: #f4f4f5 !important;
  font-size: 16px !important;
  line-height: 1.5;
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-inline: 16px;
  }

  body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding-inline: 0;
  }

  body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
  }
}

/* V0.3.65: explicit columns avoid WC flex percentages plus gaps wrapping 4 into 3+1. */
body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid.has-4-columns > .wc-block-grid__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
  margin-inline: 0;
  padding-inline: 0;
  justify-items: stretch;
  align-items: stretch;
}

body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid.has-4-columns > .wc-block-grid__products > .wc-block-grid__product {
  box-sizing: border-box;
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
}

@media (max-width: 1023px) {
  body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid.has-4-columns > .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  body.amet-customer-v1.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid.has-4-columns > .wc-block-grid__products {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* V0.3.70: fit the existing shop filters inside the 240px sidebar. */
body.amet-customer-v1 .amet-v2-shop-filter {
  min-width: 0;
  box-sizing: border-box;
}

body.amet-customer-v1 .amet-v2-shop-filter .amet-preorder-brand-filter:not(.amet-obd2-group-filter) {
  grid-template-columns: minmax(0, 1fr);
}

body.amet-customer-v1 .amet-v2-shop-filter .amet-preorder-brand-filter:not(.amet-obd2-group-filter) > a {
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

body.amet-customer-v1 .amet-v2-shop-filter .amet-preorder-brand-filter:not(.amet-obd2-group-filter) > a > span {
  flex: 0 0 auto;
  white-space: nowrap;
}

body.amet-customer-v1 .amet-v2-shop-filter .amet-v2-shop-filter-inner > hr {
  margin: 20px 0;
}

body.amet-customer-v1 .amet-v2-shop-filter .amet-v2-shop-filter-inner > form > div {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

body.amet-customer-v1 .amet-v2-shop-filter .amet-v2-shop-filter-inner > form > div > label {
  min-width: 0;
  margin: 0;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
}

body.amet-customer-v1 .amet-v2-shop-filter .amet-v2-shop-filter-inner > form > div > span {
  justify-self: start;
  color: #aeb6bf;
  font-size: 14px;
  line-height: 1.5;
}

body.amet-customer-v1 .amet-v2-shop-filter .amet-v2-shop-filter-inner > form input[type="number"] {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
