:root {
  --acx-ink: #422f23;
  --acx-paper: #efedde;
  --acx-soft: #efedde;
  --acx-line: rgba(66, 47, 35, 0.22);
  --acx-muted: rgba(66, 47, 35, 0.66);
  --acx-nav-brown: #422f23;
  /* Canonical family from MRQA Global Fonts. Use weight 400/700 instead of file-name aliases. */
  --acx-font-family: "HV Fitzgerald", Georgia, serif;
  --acx-font-body: var(--acx-font-family);
  --acx-font-heading: var(--acx-font-family);
  --acx-font: var(--acx-font-body);
  --acx-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.acx-products,
.acx-products *,
.acx-wishlist,
.acx-wishlist *,
.acx-drawer,
.acx-drawer * {
  box-sizing: border-box;
}

/* Commerce typography. Product cards on archives are intentionally excluded;
   their visual typography remains owned by the dedicated card UI plugin. */
html body :is(.acx-wishlist, .acx-drawer) {
  font-family: var(--acx-font-body) !important;
  font-weight: 400 !important;
}

/* Links need an explicit family because themes commonly assign their own
   font-family directly to anchors. Keep weight ownership component-specific:
   product links remain Regular while CTA links can still opt into Bold. */
html body :is(.acx-wishlist, .acx-drawer)
  :is(a, p, span, label, input, select, textarea, td, small) {
  font-family: var(--acx-font-body) !important;
}

html body :is(.acx-wishlist, .acx-drawer)
  :is(p, span, label, input, select, textarea, td, small) {
  font-weight: 400 !important;
}

html body :is(.acx-wishlist, .acx-drawer)
  :is(h1, h2, h3, h4, h5, h6, legend, th, strong, summary, button) {
  font-family: var(--acx-font-heading) !important;
  font-weight: 700 !important;
}

/* Catalogue geometry is intentionally owned by Nova Atelier Editorial Layouts. */

.acx-heart {
  position: absolute;
  z-index: 6;
  top: 12px;
  right: 12px;
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--acx-ink);
  cursor: pointer;
  filter: none;
  transform: translateZ(0);
  transition:
    opacity 0.22s var(--acx-ease),
    transform 0.24s var(--acx-ease);
}
.acx-heart svg {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
}
.acx-heart .dalya-wl-outline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.2s ease;
}
.acx-heart .dalya-wl-fill {
  fill: currentColor;
  stroke: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.acx-heart:hover {
  opacity: 0.58;
  transform: translateY(-1px);
}
.acx-heart.is-active .dalya-wl-outline {
  opacity: 0;
}
.acx-heart.is-active .dalya-wl-fill {
  opacity: 1;
}
.acx-heart:disabled {
  opacity: 0.4;
}

.acx-quick-trigger {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 38px;
  margin: 0;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  color: var(--acx-ink);
  font: 400 10px/1 var(--acx-font);
  letter-spacing: 0.055em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transform: translateY(100%);
  transition:
    opacity 0.25s var(--acx-ease),
    visibility 0.25s var(--acx-ease),
    transform 0.32s var(--acx-ease),
    background 0.2s ease,
    color 0.2s ease;
  backdrop-filter: blur(8px);
}
.acx-quick-trigger:hover:not(:disabled) {
  background: var(--acx-ink);
  color: #fff;
}
.acx-quick-trigger:disabled {
  color: #777;
  cursor: not-allowed;
}
.acx-quick-trigger.is-loading::after,
.acx-option-submit.is-loading::after {
  width: 11px;
  height: 11px;
  margin-left: 8px;
  border: 1px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: acxSpin 0.75s linear infinite;
}

.acx-quick-panel {
  position: absolute;
  z-index: 9;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 82%;
  overflow: auto;
  border-top: 1px solid var(--acx-ink);
  background: rgba(255, 255, 255, 0.98);
  color: var(--acx-ink);
  animation: acxPanelIn 0.28s var(--acx-ease) both;
  backdrop-filter: blur(12px);
}
.acx-quick-panel[hidden] {
  display: none;
}
.acx-options {
  position: relative;
  padding: 16px 14px 14px;
}
.acx-options-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--acx-ink);
  font: 400 21px/1 var(--acx-font);
  cursor: pointer;
}
.acx-option-group {
  min-width: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.acx-option-group legend {
  margin: 0 30px 9px 0;
  padding: 0;
  color: var(--acx-ink);
  font: 400 9px/1.2 var(--acx-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.acx-option-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.acx-option {
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #a8a8a4;
  border-radius: 0;
  background: transparent;
  color: var(--acx-ink);
  font: 400 10px/1 var(--acx-font);
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}
.acx-option:hover:not(:disabled),
.acx-option.is-selected {
  border-color: var(--acx-ink);
  background: var(--acx-ink);
  color: #fff;
}
.acx-option:disabled {
  opacity: 0.28;
  text-decoration: line-through;
  cursor: not-allowed;
}
.acx-option-message {
  min-height: 15px;
  margin: 0 0 8px;
  color: var(--acx-muted);
  font: 400 9px/1.4 var(--acx-font);
}
.acx-option-submit {
  display: flex;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--acx-ink);
  border-radius: 0;
  background: var(--acx-ink);
  color: #fff;
  font: 400 10px/1 var(--acx-font);
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.acx-option-submit:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}
.acx-option-error {
  margin: 0;
  padding: 16px;
  color: #9c1616;
  font: 400 10px/1.4 var(--acx-font);
}
.acx-inline-loading,
.acx-drawer-loading {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.acx-inline-loading span,
.acx-drawer-loading span {
  width: 4px;
  height: 4px;
  background: currentColor;
  animation: acxPulse 0.9s ease infinite;
}
.acx-inline-loading span:nth-child(2),
.acx-drawer-loading span:nth-child(2) {
  animation-delay: 0.12s;
}
.acx-inline-loading span:nth-child(3),
.acx-drawer-loading span:nth-child(3) {
  animation-delay: 0.24s;
}

.acx-loop-data[hidden] {
  display: none !important;
}
[data-acx-legacy-adopted] {
  display: none !important;
}
[data-acx-external-card] {
  position: relative !important;
  isolation: isolate;
  font-family: var(--acx-font);
}
[data-acx-external-card]
  :where(
    .woocommerce-loop-product__title,
    .wc-block-grid__product-title,
    .product-title,
    .product-name,
    .price,
    .amount
  ) {
  font-family: var(--acx-font) !important;
}
.acx-external-actions {
  position: absolute;
  z-index: 40;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}
.acx-external-heart {
  top: calc(var(--acx-ext-top, 0px) + 10px);
  right: auto;
  left: calc(var(--acx-ext-left, 0px) + var(--acx-ext-width, 100%) - 40px);
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 4px, 0);
}
.acx-external-quick {
  position: absolute;
  top: calc(var(--acx-ext-top, 0px) + var(--acx-ext-height, 100%) - 42px);
  left: calc(var(--acx-ext-left, 0px) + var(--acx-ext-width, 100%) - 42px);
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--acx-ink);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  pointer-events: auto;
  transform: translate3d(0, 4px, 0);
  transition:
    color 0.24s var(--acx-ease),
    opacity 0.24s var(--acx-ease),
    visibility 0.24s var(--acx-ease),
    transform 0.28s var(--acx-ease);
}
.acx-external-quick span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s ease,
    transform 0.2s ease;
}
.acx-external-quick span:last-child {
  transform: translate(-50%, -50%) rotate(90deg);
}
.acx-external-quick:hover:not(:disabled) {
  background: transparent;
  color: var(--acx-ink);
  opacity: 0.58;
  transform: translate3d(0, -1px, 0);
}
.acx-external-quick:hover span {
  width: 15px;
}
.acx-external-quick:disabled {
  border-color: #aaa;
  color: #777;
  cursor: not-allowed;
}
[data-acx-external-card]:hover .acx-external-heart,
[data-acx-external-card]:hover .acx-external-quick,
[data-acx-external-card]:focus-within .acx-external-heart,
[data-acx-external-card]:focus-within .acx-external-quick,
[data-acx-external-card].is-choosing .acx-external-heart,
[data-acx-external-card].is-choosing .acx-external-quick {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}
.acx-external-quick-panel {
  right: auto;
  bottom: auto;
  top: calc(var(--acx-ext-top, 0px) + var(--acx-ext-height, 100%));
  left: var(--acx-ext-left, 0px);
  width: var(--acx-ext-width, 100%);
  max-height: calc(var(--acx-ext-height, 420px) - 8px);
  border: 1px solid var(--acx-ink);
  background: rgba(255, 255, 255, 0.985);
  transform: translateY(-100%);
  animation: acxExternalPanelIn 0.3s var(--acx-ease) both;
}
.acx-external-badge {
  position: absolute;
  z-index: 39;
  top: calc(var(--acx-ext-top, 0px) + 11px);
  left: calc(var(--acx-ext-left, 0px) + 11px);
  padding: 5px 7px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--acx-ink);
  font: 700 8px/1 var(--acx-font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.acx-wishlist > h1 {
  margin: 0 0 24px;
  color: inherit;
  font: 700 18px/1.2 var(--acx-font-heading);
  text-transform: uppercase;
}
/* Header commerce controls.
   The shortcode name is the compatibility API; the rendered DOM is deliberately
   isolated from all legacy FXH / DGQA / ACX header classes. Bag and Wishlist
   are both anchors, so browser/theme button defaults cannot make them diverge.
   No position, inset, transform, width, height, margin, flex/grid alignment,
   float or mobile offset is declared here. Elementor owns placement. */
html body .acxsc-control,
html body .acxsc-control:hover,
html body .acxsc-control:focus,
html body .acxsc-control:focus-visible,
html body .acxsc-control:active,
html body .acxsc-control > .acxsc-label,
html body .acxsc-control > .acxsc-count {
  color: var(--acx-nav-brown) !important;
  -webkit-text-fill-color: currentColor !important;
  font-family: var(--acx-font-heading) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.035em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html body .acxsc-control,
html body .acxsc-control:hover,
html body .acxsc-control:focus,
html body .acxsc-control:focus-visible,
html body .acxsc-control:active {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

html body .acxsc-count {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .acxsc-count[hidden] {
  display: none !important;
}

html body .acxsc-count.is-count-updated {
  animation: acxCountRefine 0.42s cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

@media (max-width: 767px) {
  html body .acxsc-control,
  html body .acxsc-control > .acxsc-label,
  html body .acxsc-control > .acxsc-count {
    font-size: 11px !important;
  }
}

html.acx-lock,
html.acx-lock body {
  overflow: hidden;
}
.acx-drawer[hidden] {
  display: none;
}
.acx-drawer {
  position: fixed;
  z-index: 999999;
  inset: 0;
  font-family: var(--acx-font);
  /* The full-screen drawer root is only a positioning layer. Never let theme
     or legacy cart CSS paint it white; the backdrop and panel own their own
     surfaces below. */
  background: transparent !important;
  background-image: none !important;
}
.acx-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(30, 24, 20, 0.26);
  opacity: 0;
  cursor: default;
  transition: opacity 0.32s var(--acx-ease);
}
.acx-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(500px, 100vw);
  flex-direction: column;
  border-left: 1px solid var(--acx-ink);
  background: var(--acx-paper);
  color: var(--acx-ink);
  outline: 0;
  transform: translateX(100%);
  transition: transform 0.38s var(--acx-ease);
}
.acx-drawer.is-open .acx-drawer-backdrop {
  opacity: 1;
}
.acx-drawer.is-open .acx-drawer-panel {
  transform: none;
}
.acx-drawer-header {
  display: flex;
  min-height: 64px;
  padding: 0 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--acx-line);
}
.acx-drawer-header h2 {
  margin: 0;
  padding: 0;
  color: inherit;
  font: 400 14px/1 var(--acx-font);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.acx-drawer-header button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 700 28px/1 var(--acx-font-heading);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.acx-drawer-header button:hover {
  transform: rotate(90deg);
}
.acx-drawer-notices:empty {
  display: none;
}
.acx-drawer-notices {
  padding: 10px 24px;
  border-bottom: 1px solid var(--acx-line);
  color: #8b1616;
  font: 400 10px/1.45 var(--acx-font);
}
.acx-drawer-notices > * {
  margin: 0 !important;
}
.acx-drawer-notices .woocommerce-error,
.acx-drawer-notices .woocommerce-info,
.acx-drawer-notices .woocommerce-message {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}
.acx-drawer-notices .woocommerce-error::before,
.acx-drawer-notices .woocommerce-info::before,
.acx-drawer-notices .woocommerce-message::before {
  display: none !important;
}
.acx-drawer-notices a {
  float: none !important;
  margin-left: 8px;
  color: inherit;
  font: 700 9px/1.4 var(--acx-font-heading);
  text-decoration: underline;
}
.acx-drawer-body {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--acx-ink) var(--acx-soft);
  scrollbar-width: thin;
}
.acx-drawer-body::-webkit-scrollbar {
  width: 5px;
}
.acx-drawer-body::-webkit-scrollbar-track {
  background: var(--acx-soft);
}
.acx-drawer-body::-webkit-scrollbar-thumb {
  background: var(--acx-ink);
}
.acx-drawer.is-busy .acx-drawer-body,
.acx-checkout-form.is-updating {
  pointer-events: none;
  opacity: 0.62;
}

.acx-drawer-items {
  padding: 8px 24px 0;
}
.acx-drawer-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--acx-line);
}
.acx-drawer-item-image {
  display: block;
  width: 80px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--acx-soft);
}
.acx-drawer-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.acx-drawer-item-copy {
  min-width: 0;
}
.acx-drawer-item-name {
  display: block;
  margin: 0 0 6px;
  color: inherit;
  font: 400 11px/1.35 var(--acx-font);
  text-decoration: none;
}
.acx-drawer-item-meta {
  color: var(--acx-muted);
  font: 400 9px/1.4 var(--acx-font);
  text-transform: uppercase;
}
.acx-drawer-item-meta dl,
.acx-drawer-item-meta p {
  margin: 0;
}
.acx-drawer-item-meta dt,
.acx-drawer-item-meta dd {
  display: inline;
  margin: 0;
}
.acx-drawer-item-meta dd::after {
  display: block;
  content: "";
}
.acx-drawer-item-side {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: space-between;
  white-space: nowrap;
  font: 400 10px/1.3 var(--acx-font);
}
.acx-drawer-item-side button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: 400 9px/1.2 var(--acx-font);
  cursor: pointer;
}
.acx-qty {
  display: inline-grid;
  grid-template-columns: 28px 28px 28px;
  margin-top: 12px;
  border: 1px solid var(--acx-line);
}
.acx-qty button,
.acx-qty span {
  display: grid;
  width: 28px;
  height: 27px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: 400 11px/1 var(--acx-font);
}
.acx-qty button {
  cursor: pointer;
}

.acx-totals {
  padding: 18px 24px;
  border-bottom: 1px solid var(--acx-line);
}
.acx-totals > div {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: inherit;
  font: 400 10px/1.3 var(--acx-font);
  text-transform: uppercase;
}
.acx-totals > div:last-child {
  margin-bottom: 0;
}
.acx-totals strong {
  font: inherit;
  text-align: right;
}
.acx-totals .is-total {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--acx-line);
  font-size: 12px;
}
.acx-totals .woocommerce-remove-coupon {
  display: none;
}
.acx-coupon {
  padding: 0 24px;
  border-bottom: 1px solid var(--acx-line);
}
.acx-coupon summary {
  padding: 18px 0;
  font: 400 10px/1.2 var(--acx-font);
  cursor: pointer;
  list-style: none;
}
.acx-coupon summary::-webkit-details-marker {
  display: none;
}
.acx-coupon > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0 0 18px;
}
.acx-coupon input {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--acx-ink);
  border-radius: 0;
  background: var(--acx-paper);
  color: inherit;
  font: 400 11px/1 var(--acx-font);
  outline: 0;
}
.acx-coupon button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--acx-ink);
  border-left: 0;
  border-radius: 0;
  background: var(--acx-ink);
  color: var(--acx-paper);
  font: 400 9px/1 var(--acx-font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.acx-checkout-section {
  padding: 22px 24px 6px;
  border-bottom: 1px solid var(--acx-line);
}
.acx-section-head {
  display: flex;
  margin: 0 0 18px;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
}
.acx-section-head h3,
.acx-section-head span {
  margin: 0;
  color: inherit;
  font: 400 10px/1.25 var(--acx-font);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.acx-section-head span {
  font-size: 9px;
  text-decoration: underline;
}
.acx-choice-card {
  position: relative;
  display: grid;
  min-height: 76px;
  margin: 0 0 8px;
  padding: 15px 14px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  background: var(--acx-soft);
  color: inherit;
  cursor: pointer;
}
.acx-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.acx-choice-radio {
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--acx-ink);
  border-radius: 50%;
}
.acx-choice-card input:checked + .acx-choice-radio::after {
  display: block;
  width: 8px;
  height: 8px;
  margin: 3px;
  border-radius: 50%;
  background: var(--acx-ink);
  content: "";
}
.acx-choice-label {
  font: 400 10px/1.45 var(--acx-font);
  text-transform: uppercase;
}
.acx-choice-card strong {
  font: 400 9px/1.3 var(--acx-font);
  text-align: right;
  white-space: nowrap;
}
.acx-choice-card img {
  width: auto;
  max-width: 54px;
  max-height: 24px;
}
.acx-muted {
  margin: 0 0 16px;
  color: var(--acx-muted);
  font: 400 10px/1.5 var(--acx-font);
}

.acx-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.acx-checkout-form .form-row {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  float: none;
}
.acx-checkout-form .form-row-wide,
.acx-checkout-form #billing_country_field,
.acx-checkout-form #billing_address_1_field,
.acx-checkout-form #billing_address_2_field,
.acx-checkout-form #billing_email_field,
.acx-checkout-form #billing_phone_field {
  grid-column: 1 / -1;
}
.acx-checkout-form .form-row label {
  display: block;
  margin: 0 0 5px;
  color: inherit;
  font: 400 8px/1.25 var(--acx-font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.acx-checkout-form .required {
  color: inherit;
  text-decoration: none;
}
.acx-checkout-form .optional {
  color: var(--acx-muted);
}
.acx-checkout-form input.input-text,
.acx-checkout-form textarea,
.acx-checkout-form select,
.acx-checkout-form .select2-container .select2-selection {
  display: block;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0 11px;
  border: 1px solid var(--acx-ink);
  border-radius: 0;
  background: var(--acx-paper);
  box-shadow: none;
  color: inherit;
  font: 400 11px/38px var(--acx-font);
  outline: 0;
}
.acx-checkout-form textarea {
  min-height: 76px;
  padding-top: 10px;
  line-height: 1.4;
  resize: vertical;
}
.acx-checkout-form .select2-container {
  width: 100% !important;
}
.acx-checkout-form .select2-selection__rendered {
  padding: 0 !important;
  line-height: 38px !important;
}
.acx-checkout-form .select2-selection__arrow {
  height: 38px !important;
}
.acx-checkbox {
  display: flex;
  margin: 5px 0 14px;
  align-items: center;
  gap: 8px;
  font: 400 9px/1.35 var(--acx-font);
  text-transform: uppercase;
}
.acx-checkbox input {
  accent-color: var(--acx-ink);
}
.acx-shipping-fields[hidden] {
  display: none;
}


.acx-payment-root,
.acx-payment-methods {
  margin: 0;
  padding: 0;
  list-style: none;
}
.acx-payment-methods > li {
  list-style: none;
}
.acx-payment-method .input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.acx-payment-method .payment_box[hidden] {
  display: none !important;
}
.acx-payment-method {
  margin-bottom: 8px;
}
.acx-payment-method .acx-choice-card {
  min-height: 58px;
  margin: 0;
}
.acx-payment-box {
  padding: 14px;
  border: 1px solid var(--acx-line);
  border-top: 0;
  color: inherit;
  font: 400 10px/1.5 var(--acx-font);
}
.acx-payment-box[hidden] {
  display: none;
}
.acx-payment-box p {
  margin: 0 0 9px;
}
.acx-payment-box p:last-child {
  margin-bottom: 0;
}
.acx-payment-box input,
.acx-payment-box select {
  max-width: 100%;
}

.acx-checkout-notices {
  margin: 0;
  padding: 0 24px;
  color: #941616;
  font: 400 10px/1.5 var(--acx-font);
}
.acx-checkout-notices:not(:empty) {
  padding-top: 18px;
}
.acx-checkout-notices ul,
.acx-drawer-notices ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.acx-checkout-form .woocommerce-terms-and-conditions-wrapper {
  padding: 18px 24px 0;
  color: var(--acx-muted);
  font: 400 9px/1.5 var(--acx-font);
}
.acx-checkout-form .woocommerce-terms-and-conditions-wrapper p {
  margin: 0 0 10px;
}
.acx-checkout-form .woocommerce-terms-and-conditions-checkbox-text {
  color: inherit;
  font: inherit;
}
.acx-terms {
  margin: 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--acx-line);
  background: var(--acx-paper);
  color: var(--acx-ink);
}
.acx-terms-content {
  max-height: 118px;
  margin: 0 0 14px;
  padding: 12px;
  overflow: auto;
  border: 1px solid var(--acx-line);
  background: var(--acx-paper);
  color: var(--acx-muted);
  font: 400 9px/1.55 var(--acx-font);
  scrollbar-width: thin;
  scrollbar-color: var(--acx-ink) var(--acx-soft);
}
.acx-terms-content p {
  margin: 0 0 8px;
}
.acx-terms-content p:last-child {
  margin-bottom: 0;
}
.acx-terms-accept {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: var(--acx-ink);
  font: 400 9px/1.45 var(--acx-font);
  cursor: pointer;
}
.acx-terms-accept input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.acx-checkmark {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--acx-ink);
  background: var(--acx-paper);
}
.acx-terms-accept input:checked + .acx-checkmark {
  background: var(--acx-ink);
}
.acx-terms-accept input:checked + .acx-checkmark::after {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid var(--acx-paper);
  border-width: 0 1px 1px 0;
  content: "";
  transform: rotate(45deg);
}
.acx-terms-accept input:focus-visible + .acx-checkmark {
  outline: 1px solid var(--acx-ink);
  outline-offset: 3px;
}
.acx-place-order {
  position: relative;
  z-index: 1;
  bottom: auto;
  display: flex;
  width: calc(100% - 48px);
  min-height: 54px;
  margin: 24px 24px 32px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--acx-ink);
  border-radius: 0;
  background: var(--acx-ink);
  color: var(--acx-paper);
  font: 700 10px/1 var(--acx-font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.acx-place-order:hover:not(:disabled) {
  background: var(--acx-ink);
  color: var(--acx-paper);
  opacity: 0.84;
}
.acx-place-order:disabled {
  opacity: 0.55;
  cursor: wait;
}
.acx-empty-bag {
  display: grid;
  min-height: 60vh;
  padding: 40px 24px;
  place-content: center;
  text-align: center;
}
.acx-empty-bag p {
  margin: 0 0 18px;
  font: 400 12px/1.4 var(--acx-font);
  text-transform: uppercase;
}
.acx-empty-bag button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--acx-ink);
  border-radius: 0;
  background: var(--acx-ink);
  color: var(--acx-paper);
  font: 400 10px/1 var(--acx-font);
  text-transform: uppercase;
  cursor: pointer;
}
.acx-drawer-error {
  margin: 24px;
  color: #941616;
  font: 400 11px/1.5 var(--acx-font);
}

/* Theme isolation: only plugin-owned controls are forced to the monochrome skin. */
.acx-products button,
.acx-wishlist button,
.acx-drawer button,
.acx-drawer input,
.acx-drawer select,
.acx-drawer textarea,
[data-acx-external-card] .acx-external-actions button,
[data-acx-external-card] .acx-quick-panel button {
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--acx-font) !important;
}
.acx-heart,
.acx-external-quick,
.acx-options-close,
.acx-drawer-header button {
  border: 0 !important;
  background: transparent !important;
  color: var(--acx-ink) !important;
  box-shadow: none !important;
}
.acx-option.is-selected,
.acx-option:hover:not(:disabled),
.acx-option-submit,
.acx-place-order,
.acx-empty-bag button,
.acx-coupon button {
  border-color: var(--acx-ink) !important;
  background: var(--acx-ink) !important;
  color: var(--acx-paper) !important;
}
.acx-quick-trigger,
.acx-option,
.acx-choice-card,
.acx-payment-box,
.acx-drawer-panel,
.acx-checkout-form input.input-text,
.acx-checkout-form textarea,
.acx-checkout-form select {
  background-color: var(--acx-paper) !important;
  color: var(--acx-ink) !important;
}
.acx-quick-trigger:hover:not(:disabled),
.acx-place-order:hover:not(:disabled) {
  background: var(--acx-ink) !important;
  color: var(--acx-paper) !important;
}
.acx-choice-card {
  background: var(--acx-soft) !important;
}
.acx-drawer input[type="radio"],
.acx-drawer input[type="checkbox"] {
  accent-color: var(--acx-ink) !important;
}
html body .acx-products button.acx-heart,
html body .acx-wishlist button.acx-heart,
html body [data-acx-external-card] button.acx-heart,
html body [data-acx-external-card] button.acx-external-quick,
html body .acx-products button.acx-heart:hover,
html body .acx-wishlist button.acx-heart:hover,
html body [data-acx-external-card] button.acx-heart:hover,
html body [data-acx-external-card] button.acx-external-quick:hover,
html body [data-acx-external-card] button.dgqa-media-nav,
html body [data-acx-external-card] button.dgqa-media-nav:hover,
html body [data-acx-external-card] button.dgqa-product-slider__arrow,
html body [data-acx-external-card] button.dgqa-product-slider__arrow:hover {
  border: 0 !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--acx-ink) !important;
  box-shadow: none !important;
}
html body .acx-products button.acx-quick-trigger:hover:not(:disabled),
html body .acx-products button.acx-option-submit,
html body [data-acx-external-card] button.acx-option-submit {
  border-color: var(--acx-ink) !important;
  background: var(--acx-ink) !important;
  color: #fff !important;
  box-shadow: none !important;
}
html body [data-acx-external-card],
html body [data-acx-external-card]:hover {
  background-color: transparent !important;
  background-image: none !important;
}

@keyframes acxSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes acxPulse {
  0%,
  100% {
    opacity: 0.22;
  }
  50% {
    opacity: 1;
  }
}
@keyframes acxPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes acxExternalPanelIn {
  from {
    opacity: 0;
    transform: translateY(calc(-100% + 12px));
  }
  to {
    opacity: 1;
    transform: translateY(-100%);
  }
}

@media (max-width: 1366px) {
}

@media (max-width: 1024px) {
  .acx-quick-trigger {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .acx-external-heart,
  .acx-external-quick {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 767px) {
  .acx-heart {
    top: 7px;
    right: 7px;
  }
  .acx-external-heart {
    top: calc(var(--acx-ext-top, 0px) + 7px);
    right: auto;
    left: calc(var(--acx-ext-left, 0px) + var(--acx-ext-width, 100%) - 37px);
  }
  .acx-external-quick {
    top: calc(var(--acx-ext-top, 0px) + var(--acx-ext-height, 100%) - 39px);
    left: calc(var(--acx-ext-left, 0px) + var(--acx-ext-width, 100%) - 37px);
    width: 30px;
    height: 30px;
  }
  .acx-quick-trigger {
    min-height: 36px;
    padding: 0 7px;
    font-size: 9px;
  }
  .acx-options {
    padding: 14px 10px 10px;
  }
  .acx-option {
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    font-size: 9px;
  }
  .acx-drawer-panel {
    width: 100vw;
    border-left: 0;
  }
  .acx-drawer-header {
    min-height: 56px;
    padding: 0 16px;
  }
  .acx-drawer-items {
    padding-right: 16px;
    padding-left: 16px;
  }
  .acx-drawer-item {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
  }
  .acx-drawer-item-image {
    width: 70px;
  }
  .acx-drawer-item-side {
    grid-column: 2;
    align-items: center;
    flex-direction: row;
  }
  .acx-totals,
  .acx-coupon,
  .acx-checkout-section,
  .acx-terms {
    padding-right: 16px;
    padding-left: 16px;
  }
  .acx-fields-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .acx-checkout-form .form-row {
    grid-column: 1 / -1;
  }
  .acx-choice-card {
    min-height: 68px;
    padding: 13px 10px;
  }
  .acx-choice-label {
    font-size: 9px;
  }
  .acx-place-order {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acx-quick-trigger,
  .acx-drawer-backdrop,
  .acx-drawer-panel {
    transition: none;
  }
  .acx-quick-panel {
    animation: none;
  }
}

/* Refined glass quick add. Gallery geometry is defined once with the card. */
.acx-quick-trigger {
  right: 10px;
  bottom: 10px;
  left: 10px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.075em;
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  transform: translate3d(0, calc(100% + 12px), 0);
}
.acx-quick-trigger:hover:not(:disabled) {
  border-color: rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.82);
  color: var(--acx-ink);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.acx-quick-panel,
.acx-external-quick-panel {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}
.acx-options {
  padding: 14px 12px 12px;
}
.acx-option-group {
  margin-bottom: 12px;
}
.acx-option-group legend {
  margin-bottom: 8px;
  font-size: 8px;
  letter-spacing: 0.09em;
}
.acx-option-group > div {
  gap: 5px;
}
.acx-option {
  min-width: 34px;
  height: 29px;
  padding: 0 9px;
  border-color: rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.28);
  font-size: 9px;
}
.acx-option-submit {
  min-height: 36px;
  font-size: 9px;
  letter-spacing: 0.075em;
}
.acx-options-close {
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  font-size: 19px;
}
.acx-external-quick {
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
}
.acx-external-quick:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.82);
  opacity: 1;
}
@media (max-width: 767px) {
  .acx-quick-trigger {
    right: 7px;
    bottom: 7px;
    left: 7px;
    min-height: 32px;
    font-size: 8.5px;
  }
  .acx-options {
    padding: 13px 10px 10px;
  }
}

/* v2.2.2: strict theme isolation and ECPDP coexistence */
html body .acx-drawer button.acx-drawer-backdrop,
html body .acx-drawer button.acx-drawer-backdrop:hover,
html body .acx-drawer button.acx-drawer-backdrop:focus,
html body .acx-drawer button.acx-drawer-backdrop:active {
  border: 0 !important;
  border-radius: 0 !important;
  background-color: rgba(0, 0, 0, 0.53) !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}
html body .ecpdp-root [data-acx-external-card],
html body .ecpdp-root .acx-external-actions,
html body .ecpdp-root .acx-external-quick-panel {
  display: none !important;
}

/* External-loop enhancer interaction model.
   Atelier product cards themselves have no icon/quick-add overlay. */
@media (hover: none), (pointer: coarse) {
  html body [data-acx-external-card] .acx-external-heart,
  html body [data-acx-external-card] .acx-external-quick {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(0, 4px, 0) !important;
  }

  html body [data-acx-external-card].is-touch-active .acx-external-heart,
  html body [data-acx-external-card].is-touch-active .acx-external-quick,
  html body [data-acx-external-card].is-choosing .acx-external-heart,
  html body [data-acx-external-card].is-choosing .acx-external-quick {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) !important;
  }

  html body [data-acx-external-card] .acx-external-heart {
    width: 28px !important;
    height: 28px !important;
  }
  html body [data-acx-external-card] .acx-external-heart svg {
    width: 15px !important;
    height: 15px !important;
  }
  html body [data-acx-external-card] .acx-external-quick {
    width: 28px !important;
    height: 28px !important;
  }
  html body [data-acx-external-card] .acx-external-quick span {
    width: 11px !important;
  }

  html body [data-acx-external-card] .acx-external-quick-panel {
    max-height: min(46%, 210px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }
  html body .acx-options {
    padding: 11px 9px 9px !important;
  }
  html body .acx-option-group {
    margin-bottom: 9px !important;
  }
  html body .acx-option-group legend {
    margin: 0 26px 6px 0 !important;
    font-size: 7.5px !important;
    letter-spacing: 0.07em !important;
  }
  html body .acx-option-group > div {
    gap: 4px !important;
  }
  html body .acx-option {
    min-width: 31px !important;
    height: 29px !important;
    padding: 0 7px !important;
    font-size: 8px !important;
    line-height: 1 !important;
  }
  html body .acx-options-close {
    top: 3px !important;
    right: 3px !important;
    width: 25px !important;
    height: 25px !important;
    font-size: 18px !important;
  }
  html body .acx-option-message {
    min-height: 12px !important;
    margin-bottom: 6px !important;
    font-size: 8px !important;
  }
  html body .acx-option-submit {
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: 8px !important;
  }
}

/* Product-card icon sizing. Header commerce shortcodes are text-only. */
.acx-heart .acx-custom-wishlist-icon {
  display: block;
  width: var(--acx-wishlist-icon-size, 18px);
  height: var(--acx-wishlist-icon-size, 18px);
  object-fit: contain;
}
.acx-heart.is-active .acx-custom-wishlist-icon {
  opacity: 0.48;
}
.acx-external-quick .acx-custom-quick-icon {
  display: block;
  width: var(--acx-quick-icon-size, 14px);
  height: var(--acx-quick-icon-size, 14px);
  object-fit: contain;
}
.acx-external-quick:has(.acx-custom-quick-icon) span {
  display: none;
}

@keyframes acxCountRefine {
  0% {
    opacity: 0.5;
    transform: scale(0.72);
  }
  58% {
    opacity: 1;
    transform: scale(1.12);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .acx-drawer-panel,
  html body .acx-drawer-backdrop,
  html body .acx-drawer button,
  html body .acx-drawer a,
  html body .acx-drawer summary {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Cart and checkout: one restrained two-colour system. */
html body .acx-drawer {
  --acx-drawer-bg: #efedde;
  --acx-drawer-ink: #422f23;
  --acx-drawer-line: rgba(66, 47, 35, 0.22);
  --acx-drawer-soft: rgba(66, 47, 35, 0.035);
  --acx-drawer-hover: rgba(66, 47, 35, 0.07);
  --acx-drawer-muted: rgba(66, 47, 35, 0.64);
  --acx-drawer-ease: cubic-bezier(0.22, 0.72, 0.28, 1);
  color: var(--acx-drawer-ink) !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body .acx-drawer .acx-drawer-backdrop,
html body .acx-drawer .acx-drawer-backdrop:hover,
html body .acx-drawer .acx-drawer-backdrop:focus,
html body .acx-drawer .acx-drawer-backdrop:active {
  border: 0 !important;
  outline: 0 !important;
  background: rgba(30, 24, 20, 0.26) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .acx-drawer .acx-drawer-panel {
  width: min(448px, 100vw) !important;
  border: 0 !important;
  border-left: 1px solid var(--acx-drawer-line) !important;
  background: var(--acx-drawer-bg) !important;
  color: var(--acx-drawer-ink) !important;
  box-shadow: -18px 0 54px rgba(66, 47, 35, 0.12) !important;
  transition: transform 0.48s var(--acx-drawer-ease) !important;
  will-change: transform;
}

html body .acx-drawer :is(
  .acx-drawer-header,
  .acx-drawer-body,
  .acx-checkout-form,
  .acx-checkout-section,
  .acx-totals,
  .acx-coupon,
  .acx-terms,
  .acx-terms-content,
  .acx-payment-root,
  .acx-payment-methods,
  .acx-payment-box
) {
  background: var(--acx-drawer-bg) !important;
  background-image: none !important;
  color: var(--acx-drawer-ink) !important;
}

html body .acx-drawer :is(
  .acx-drawer-header,
  .acx-drawer-item,
  .acx-totals,
  .acx-coupon,
  .acx-checkout-section,
  .acx-terms,
  .acx-payment-box
) {
  border-color: var(--acx-drawer-line) !important;
}

html body .acx-drawer .acx-drawer-header {
  min-height: 66px;
  padding: 0 22px;
  flex: 0 0 auto;
}

html body .acx-drawer .acx-drawer-header h2 {
  color: var(--acx-drawer-ink) !important;
  font-family: var(--acx-font-heading) !important;
  font-size: 12px;
  font-weight: 700 !important;
  letter-spacing: 0.075em;
}

html body .acx-drawer .acx-drawer-header button,
html body .acx-drawer .acx-drawer-header button:hover,
html body .acx-drawer .acx-drawer-header button:focus-visible,
html body .acx-drawer .acx-drawer-header button:active {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--acx-drawer-ink) !important;
  box-shadow: none !important;
}

html body .acx-drawer .acx-drawer-header button:hover,
html body .acx-drawer .acx-drawer-header button:focus-visible {
  opacity: 0.62;
  transform: rotate(90deg) !important;
}

html body .acx-drawer .acx-drawer-body {
  scrollbar-color: var(--acx-drawer-ink) var(--acx-drawer-bg);
}

html body .acx-drawer .acx-drawer-body::-webkit-scrollbar-track {
  background: var(--acx-drawer-bg);
}

html body .acx-drawer .acx-drawer-body::-webkit-scrollbar-thumb {
  background: var(--acx-drawer-ink);
}

html body .acx-drawer :is(a, button, summary, label),
html body .acx-drawer :is(a, button, summary, label):hover,
html body .acx-drawer :is(a, button, summary, label):focus,
html body .acx-drawer :is(a, button, summary, label):active {
  --wp--preset--color--vivid-red: var(--acx-drawer-ink);
  --wp--preset--color--pale-pink: var(--acx-drawer-bg);
}

html body .acx-drawer a,
html body .acx-drawer a:hover,
html body .acx-drawer a:focus,
html body .acx-drawer a:active {
  background: transparent !important;
  color: var(--acx-drawer-ink) !important;
  box-shadow: none !important;
}

html body .acx-drawer .acx-drawer-items {
  padding: 8px 22px 0;
}

html body .acx-drawer .acx-drawer-item {
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px 0;
  background: transparent !important;
  color: var(--acx-drawer-ink) !important;
  transition: background-color 0.22s ease !important;
}

html body .acx-drawer .acx-drawer-item:hover {
  background: var(--acx-drawer-soft) !important;
}

html body .acx-drawer .acx-drawer-item-image {
  width: 76px;
  background: var(--acx-drawer-bg) !important;
}

html body .acx-drawer :is(.acx-drawer-item-meta, .acx-muted, .optional) {
  color: var(--acx-drawer-muted) !important;
}

html body .acx-drawer .acx-drawer-item-side button,
html body .acx-drawer .acx-drawer-item-side button:hover,
html body .acx-drawer .acx-drawer-item-side button:focus,
html body .acx-drawer .acx-drawer-item-side button:active {
  padding: 3px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid currentColor !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--acx-drawer-ink) !important;
  box-shadow: none !important;
}

html body .acx-drawer .acx-drawer-item-side button:hover {
  opacity: 0.58;
}

html body .acx-drawer .acx-qty {
  overflow: hidden;
  border: 1px solid var(--acx-drawer-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body .acx-drawer .acx-qty :is(button, span),
html body .acx-drawer .acx-qty button:hover,
html body .acx-drawer .acx-qty button:focus,
html body .acx-drawer .acx-qty button:active {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--acx-drawer-ink) !important;
  box-shadow: none !important;
}

html body .acx-drawer .acx-qty span {
  border-right: 1px solid var(--acx-drawer-line) !important;
  border-left: 1px solid var(--acx-drawer-line) !important;
}

html body .acx-drawer .acx-qty button:hover,
html body .acx-drawer .acx-qty button:focus-visible {
  background: var(--acx-drawer-hover) !important;
}

html body .acx-drawer .acx-coupon summary,
html body .acx-drawer .acx-coupon summary:hover,
html body .acx-drawer .acx-coupon summary:focus,
html body .acx-drawer .acx-coupon summary:active {
  position: relative;
  padding: 19px 18px 19px 0;
  background: transparent !important;
  color: var(--acx-drawer-ink) !important;
  letter-spacing: 0.04em;
  box-shadow: none !important;
}

html body .acx-drawer .acx-coupon summary::after {
  position: absolute;
  top: 50%;
  right: 2px;
  content: "+";
  font-size: 16px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 0.28s var(--acx-drawer-ease);
}

html body .acx-drawer .acx-coupon[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

html body .acx-drawer :is(
  input:not([type="radio"]):not([type="checkbox"]),
  select,
  textarea,
  .select2-container .select2-selection
),
html body .acx-drawer :is(
  input:not([type="radio"]):not([type="checkbox"]),
  select,
  textarea,
  .select2-container .select2-selection
):hover,
html body .acx-drawer :is(
  input:not([type="radio"]):not([type="checkbox"]),
  select,
  textarea,
  .select2-container .select2-selection
):focus {
  border: 1px solid var(--acx-drawer-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--acx-drawer-ink) !important;
  caret-color: var(--acx-drawer-ink) !important;
  box-shadow: none !important;
  outline: 0 !important;
}

html body .acx-drawer :is(
  input:not([type="radio"]):not([type="checkbox"]),
  select,
  textarea,
  .select2-container .select2-selection
):focus {
  border-color: var(--acx-drawer-ink) !important;
  box-shadow: inset 0 0 0 1px var(--acx-drawer-ink) !important;
}

html body .acx-drawer :is(input, textarea)::placeholder {
  color: var(--acx-drawer-muted) !important;
  opacity: 1;
}

html body .acx-drawer input:-webkit-autofill,
html body .acx-drawer input:-webkit-autofill:hover,
html body .acx-drawer input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--acx-drawer-ink) !important;
  box-shadow: 0 0 0 1000px var(--acx-drawer-bg) inset !important;
}

html body .acx-drawer :is(input[type="radio"], input[type="checkbox"]) {
  accent-color: var(--acx-drawer-ink) !important;
}

html body .acx-drawer .acx-choice-card,
html body .acx-drawer .acx-choice-card:hover,
html body .acx-drawer .acx-choice-card:focus-within {
  border: 1px solid var(--acx-drawer-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--acx-drawer-ink) !important;
  box-shadow: none !important;
}

html body .acx-drawer .acx-choice-card:hover,
html body .acx-drawer .acx-choice-card:focus-within,
html body .acx-drawer .acx-choice-card:has(input:checked) {
  border-color: var(--acx-drawer-ink) !important;
  background: var(--acx-drawer-soft) !important;
}

html body .acx-drawer .acx-choice-radio {
  border-color: var(--acx-drawer-ink) !important;
  background: transparent !important;
}

html body .acx-drawer .acx-choice-card input:checked + .acx-choice-radio::after {
  background: var(--acx-drawer-ink) !important;
}

html body .acx-drawer .acx-payment-box {
  border: 1px solid var(--acx-drawer-line) !important;
  border-top: 0 !important;
}

html body .acx-drawer :is(.acx-checkout-notices, .acx-drawer-notices) {
  color: var(--acx-drawer-ink) !important;
}

html body .acx-drawer .acx-terms {
  padding-bottom: 4px;
}

html body .acx-drawer .acx-checkmark {
  border-color: var(--acx-drawer-ink) !important;
  background: transparent !important;
}

html body .acx-drawer .acx-terms-accept input:checked + .acx-checkmark {
  background: var(--acx-drawer-ink) !important;
}

html body .acx-drawer .acx-terms-accept input:checked + .acx-checkmark::after {
  border-color: var(--acx-drawer-bg) !important;
}

html body .acx-drawer :is(.acx-coupon button, .acx-empty-bag button),
html body .acx-drawer :is(.acx-coupon button, .acx-empty-bag button):hover,
html body .acx-drawer :is(.acx-coupon button, .acx-empty-bag button):focus,
html body .acx-drawer :is(.acx-coupon button, .acx-empty-bag button):active {
  border: 1px solid var(--acx-drawer-ink) !important;
  border-radius: 0 !important;
  background: var(--acx-drawer-ink) !important;
  color: var(--acx-drawer-bg) !important;
  box-shadow: none !important;
}

html body .acx-drawer .acx-place-order,
html body .acx-drawer .acx-place-order:hover,
html body .acx-drawer .acx-place-order:focus,
html body .acx-drawer .acx-place-order:active {
  position: relative !important;
  z-index: 1 !important;
  bottom: auto !important;
  display: flex !important;
  width: calc(100% - 48px) !important;
  min-height: 54px !important;
  margin: 24px 24px 32px !important;
  padding: 0 18px !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 1px solid var(--acx-drawer-ink) !important;
  border-radius: 0 !important;
  background: var(--acx-drawer-ink) !important;
  color: var(--acx-drawer-bg) !important;
  font-family: var(--acx-font-heading) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.055em !important;
  box-shadow: none !important;
  opacity: 1;
  transform: none !important;
}

html body .acx-drawer .acx-place-order:hover:not(:disabled),
html body .acx-drawer .acx-place-order:focus-visible:not(:disabled) {
  opacity: 0.84;
}

html body .acx-drawer .acx-place-order:disabled {
  opacity: 0.46;
}

html body .acx-drawer ::selection {
  background: var(--acx-drawer-ink) !important;
  color: var(--acx-drawer-bg) !important;
}
@media (max-width: 767px) {
  html body .acx-drawer .acx-drawer-panel {
    width: 100vw !important;
  }
  html body .acx-drawer .acx-drawer-header {
    padding: 0 17px;
  }
  html body .acx-drawer .acx-drawer-items {
    padding-right: 17px;
    padding-left: 17px;
  }
  html body .acx-drawer .acx-drawer-item {
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 11px;
  }
  html body .acx-drawer .acx-drawer-item-image {
    width: 70px;
  }
}

/* v2.9.2: catalogue-owned cart state. WooCommerce's generic View cart link is
   intentionally replaced by one stable status badge inside the product card. */
html body [data-acx-card] a.added_to_cart.wc-forward,
html body [data-acx-external-card] a.added_to_cart.wc-forward {
  display: none !important;
}

html body .acx-added-status {
  position: absolute;
  z-index: 42;
  top: 10px;
  left: 10px;
  display: inline-flex;
  min-height: 25px;
  padding: 0 9px;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  font: 700 8px/1 var(--acx-font-heading);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}
html body .acx-added-status::before {
  content: "✓";
  font-size: 9px;
  line-height: 1;
}
html body .acx-added-status[hidden] {
  display: none !important;
}
html body [data-acx-external-card] > .acx-external-badge ~ .acx-added-status {
  top: calc(var(--acx-ext-top, 0px) + 39px);
}
html body [data-acx-external-card] .acx-external-quick.is-added {
  border-color: rgba(0, 0, 0, 0.72);
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
}

@media (max-width: 767px) {
  html body .acx-added-status {
    top: 7px;
    left: 7px;
    min-height: 22px;
    padding: 0 7px;
    font-size: 7px;
  }
}

/* Wishlist is an Atelier-owned commerce surface, not a catalogue shortcode. */
.acx-wishlist[data-acx-layout="grid"] > .acx-product-list[data-acx-grid] {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(var(--acx-cols-d, 4), minmax(0, 1fr));
  column-gap: var(--acx-grid-column-gap, 8px);
  row-gap: var(--acx-grid-row-gap, 20px);
  align-items: start;
}
@media (max-width: 1366px) {
  .acx-wishlist[data-acx-layout="grid"] > .acx-product-list[data-acx-grid] {
    grid-template-columns: repeat(var(--acx-cols-l, 4), minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .acx-wishlist[data-acx-layout="grid"] > .acx-product-list[data-acx-grid] {
    grid-template-columns: repeat(var(--acx-cols-t, 3), minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .acx-wishlist[data-acx-layout="grid"] > .acx-product-list[data-acx-grid] {
    grid-template-columns: repeat(var(--acx-cols-m, 2), minmax(0, 1fr));
  }
}

/* Final colour-state guard. It sits last so Elementor/theme presets cannot
   paint ACX-owned actions pink on hover, keyboard focus, tap or selection. */
html body :is(.acx-wishlist, .acx-drawer) {
  --wp--preset--color--vivid-red: var(--acx-ink);
  --wp--preset--color--pale-pink: var(--acx-paper);
  -webkit-tap-highlight-color: transparent !important;
}

html body :is(.acx-wishlist, .acx-drawer)
  :is(button, a, summary, label, input, select, textarea):focus-visible {
  outline-color: currentColor !important;
  box-shadow: none !important;
}

/* Page-level UI stays transparent so the site background remains visible. */
html body .acx-wishlist {
  color: var(--acx-ink) !important;
  background-color: transparent !important;
}

/* Modal checkout surfaces remain opaque for legibility over the backdrop. */
html body :is(.acx-drawer, .acx-drawer-panel, .acx-drawer-body, .acx-drawer form) {
  color: var(--acx-ink) !important;
  background-color: var(--acx-paper) !important;
}

html body .acx-drawer :is(input, select, textarea),
html body .acx-drawer :is(input, select, textarea):hover,
html body .acx-drawer :is(input, select, textarea):active {
  border-color: var(--acx-line) !important;
  background: transparent !important;
  color: var(--acx-ink) !important;
  caret-color: var(--acx-ink) !important;
}

html body .acx-drawer :is(input, select, textarea):focus {
  border-color: var(--acx-ink) !important;
  background: transparent !important;
  color: var(--acx-ink) !important;
  caret-color: var(--acx-ink) !important;
}

html body .acx-drawer :is(button, summary, label, a):hover,
html body .acx-drawer :is(button, summary, label, a):focus,
html body .acx-drawer :is(button, summary, label, a):active {
  --wp--preset--color--pale-pink: var(--acx-paper);
}


/* ================================================================
   ACX 5.4.3 — SINGLE OVERLAY + TYPOGRAPHY OWNERSHIP
   When the ACX checkout drawer is open it owns the only page overlay.
   Legacy Xootix layers are suppressed only for the lifetime of acx-lock;
   their normal behavior remains untouched when ACX is closed.
   ================================================================ */
html.acx-lock .xoo-wsc-opac,
html.acx-lock .xoo-wsc-overlay,
html.acx-lock .xoo-wsc-modal,
html.acx-lock .xoo-wsc-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body .acx-drawer {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

html body .acx-drawer .acx-drawer-backdrop,
html body .acx-drawer .acx-drawer-backdrop:hover,
html body .acx-drawer .acx-drawer-backdrop:focus,
html body .acx-drawer .acx-drawer-backdrop:active {
  background: rgba(30, 24, 20, 0.26) !important;
  background-image: none !important;
  opacity: 0;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .acx-drawer.is-open .acx-drawer-backdrop {
  opacity: 1;
}


/* =========================================================
   ACX 6.2 — CART-ONLY DRAWER / SHOPIFY CHECKOUT HANDOFF
   Woo owns cart UI; Shopify owns checkout, shipping, tax and payment.
========================================================= */
html body .acx-drawer .acx-bag-content {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--acx-drawer-bg) !important;
  color: var(--acx-drawer-ink) !important;
}

html body .acx-drawer .acx-bag-summary {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin-top: auto;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--acx-drawer-line) !important;
  background: var(--acx-drawer-bg) !important;
}

html body .acx-drawer .acx-bag-subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 8px;
  color: var(--acx-drawer-ink) !important;
  font-size: 14px;
  line-height: 1.25;
}

html body .acx-drawer .acx-bag-subtotal strong {
  font: inherit;
  font-weight: 700;
  color: inherit !important;
}

html body .acx-drawer .acx-bag-checkout-note,
html body .acx-drawer .acx-secure-checkout-note {
  margin: 0;
  color: var(--acx-drawer-muted) !important;
  font-size: 11px;
  line-height: 1.45;
}

html body .acx-drawer .acx-bag-checkout-note {
  margin-bottom: 14px;
}

html body .acx-drawer .acx-secure-checkout-note {
  margin-top: 9px;
  text-align: center;
}

html body .acx-drawer .acx-secure-checkout-note.is-error {
  text-align: left;
}

html body .acx-drawer .acx-shopify-checkout,
html body .acx-drawer .acx-shopify-checkout:hover,
html body .acx-drawer .acx-shopify-checkout:focus,
html body .acx-drawer .acx-shopify-checkout:active {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  border: 1px solid var(--acx-drawer-ink) !important;
  border-radius: 0 !important;
  background: var(--acx-drawer-ink) !important;
  color: var(--acx-drawer-bg) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
}

html body .acx-drawer .acx-shopify-checkout strong {
  font: inherit;
  color: inherit !important;
}

html body .acx-drawer .acx-shopify-checkout:hover:not(.is-disabled),
html body .acx-drawer .acx-shopify-checkout:focus-visible:not(.is-disabled) {
  opacity: 0.88;
}

html body .acx-drawer .acx-shopify-checkout.is-loading {
  pointer-events: none;
  opacity: 0.68;
}

html body .acx-drawer .acx-shopify-checkout.is-disabled,
html body .acx-drawer button.acx-shopify-checkout:disabled {
  justify-content: center;
  cursor: not-allowed;
  opacity: 0.42;
}

@media (max-width: 767px) {
  html body .acx-drawer .acx-bag-summary {
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  }
  html body .acx-drawer .acx-shopify-checkout {
    min-height: 52px;
  }
}
