.woocommerce .products,
.wc-block-product-template {
  gap: clamp(1rem, 2vw, 1.6rem);
}

.woocommerce ul.products li.product,
.wc-block-product {
  margin: 0;
}

.woocommerce ul.products li.product a img,
.wc-block-components-product-image img,
.wc-block-grid__product-image img {
  border-radius: 16px;
  background: var(--anini-white, #fff);
  border: 1px solid color-mix(in srgb, var(--anini-gold, #ca9f42) 35%, transparent);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-components-product-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price,
.wc-block-components-product-price {
  color: var(--anini-gold, #ca9f42);
  font-weight: 700;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
.wc-block-components-product-button__button {
  border-radius: 999px !important;
  min-height: 44px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
.wc-block-components-product-button__button {
  border: 1px solid var(--anini-gold, #ca9f42) !important;
  background: var(--anini-gold, #ca9f42) !important;
  color: var(--anini-black, #000) !important;
  font-weight: 700;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover,
.wc-block-components-product-button__button:hover {
  border-color: var(--anini-black, #000) !important;
  background: var(--anini-black, #000) !important;
  color: var(--anini-white, #fff) !important;
}

.woocommerce div.product div.images img,
.wc-block-woocommerce-product-gallery img {
  border-radius: 18px;
}

.woocommerce div.product .product_title { font-size: clamp(2rem, 4vw, 4rem); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--anini-gold, #ca9f42); font-weight: 700; }

.wc-block-cart,
.wc-block-checkout,
.woocommerce-cart-form,
.woocommerce-checkout {
  margin-block: 2rem 5rem;
}

.wc-block-components-sidebar,
.wc-block-components-totals-wrapper,
.wc-block-checkout__order-notes,
.wc-block-checkout__shipping-fields,
.wc-block-checkout__billing-fields {
  border-radius: 16px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--anini-gold, #ca9f42);
  border-radius: 12px;
  background: var(--anini-white, #fff);
  color: var(--anini-black, #000);
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { color: var(--anini-gold, #ca9f42); }

/* Shop/catalog: 4 products per row on desktop, 2 on tablet, 1 on narrow mobile. */
.post-type-archive-product .wc-block-product-template,
.tax-product_cat .wc-block-product-template,
.tax-product_tag .wc-block-product-template,
.tax-product_brand .wc-block-product-template {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.woocommerce.post-type-archive-product ul.products,
.woocommerce.tax-product_cat ul.products,
.woocommerce.tax-product_tag ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.woocommerce.post-type-archive-product ul.products::before,
.woocommerce.post-type-archive-product ul.products::after,
.woocommerce.tax-product_cat ul.products::before,
.woocommerce.tax-product_cat ul.products::after,
.woocommerce.tax-product_tag ul.products::before,
.woocommerce.tax-product_tag ul.products::after { display: none; }
.woocommerce.post-type-archive-product ul.products li.product,
.woocommerce.tax-product_cat ul.products li.product,
.woocommerce.tax-product_tag ul.products li.product { width: auto !important; float: none !important; }

@media (max-width: 900px) {
  .post-type-archive-product .wc-block-product-template,
  .tax-product_cat .wc-block-product-template,
  .tax-product_tag .wc-block-product-template,
  .tax-product_brand .wc-block-product-template,
  .woocommerce.post-type-archive-product ul.products,
  .woocommerce.tax-product_cat ul.products,
  .woocommerce.tax-product_tag ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  .post-type-archive-product .wc-block-product-template,
  .tax-product_cat .wc-block-product-template,
  .tax-product_tag .wc-block-product-template,
  .tax-product_brand .wc-block-product-template,
  .woocommerce.post-type-archive-product ul.products,
  .woocommerce.tax-product_cat ul.products,
  .woocommerce.tax-product_tag ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* Single product: remove classic tabs and use a four-item recent-products strip instead. */
.single-product .woocommerce-tabs,
.single-product .wc-tabs-wrapper {
  display: none !important;
}

.anini-recent-products {
  clear: both;
  margin-block: clamp(3rem, 6vw, 6rem);
}

.anini-recent-products > h2 {
  margin: 0 0 clamp(1.25rem, 2vw, 2rem);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.15;
}

.anini-recent-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.anini-recent-products ul.products::before,
.anini-recent-products ul.products::after {
  display: none !important;
}

.anini-recent-products ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

/* Variation swatches: semantic radios, visually styled like modern checkbox options. */
.single-product form.variations_form .variations select.anini-variation-select--enhanced {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.single-product .variations .value {
  position: relative;
}

.anini-variation-options {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-block: .25rem .5rem;
}

.anini-variation-choice {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  user-select: none;
}

.anini-variation-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.anini-variation-choice span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 44px;
  padding: .65rem .9rem;
  border: 1px solid color-mix(in srgb, var(--anini-gold, #ca9f42) 65%, transparent);
  border-radius: 12px;
  background: var(--anini-white, #fff);
  color: var(--anini-black, #000);
  font-size: .925rem;
  font-weight: 600;
  line-height: 1;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}

.anini-variation-choice:hover span {
  border-color: var(--anini-gold, #ca9f42);
  transform: translateY(-1px);
}

.anini-variation-choice input:focus-visible + span {
  outline: 2px solid var(--anini-gold, #ca9f42);
  outline-offset: 3px;
}

.anini-variation-choice input:checked + span {
  border-color: var(--anini-gold, #ca9f42);
  background: var(--anini-gold, #ca9f42);
  color: var(--anini-black, #000);
}

.anini-variation-choice input:disabled + span,
.anini-variation-choice.is-disabled span {
  opacity: .38;
  cursor: not-allowed;
  text-decoration: line-through;
  transform: none;
}

.single-product .reset_variations {
  display: inline-block;
  margin-top: .55rem;
  font-size: .875rem;
}

/* Always-visible quantity minus/plus controls. */
.single-product .quantity .anini-qty-control {
  display: inline-grid;
  grid-template-columns: 42px minmax(52px, 66px) 42px;
  align-items: stretch;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid var(--anini-gold, #ca9f42);
  border-radius: 999px;
  background: var(--anini-white, #fff);
}

.single-product .quantity .anini-qty-control input.qty {
  width: 100% !important;
  min-width: 0;
  padding: .5rem .15rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: center;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

.single-product .quantity .anini-qty-control input.qty::-webkit-outer-spin-button,
.single-product .quantity .anini-qty-control input.qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.single-product .anini-qty-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, opacity .15s ease;
}

.single-product .anini-qty-button:hover:not(:disabled) {
  background: var(--anini-gold, #ca9f42);
  color: var(--anini-black, #000);
}

.single-product .anini-qty-button:focus-visible {
  outline: 2px solid var(--anini-gold, #ca9f42);
  outline-offset: -3px;
}

.single-product .anini-qty-button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .anini-recent-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .anini-recent-products ul.products {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Anini black / gold / white WooCommerce palette. */
.woocommerce a:not(.button),
.wc-block-components-product-name,
.wc-block-components-totals-item__label { color: var(--anini-black, #000); }

.woocommerce a:not(.button):hover,
.wc-block-components-product-name:hover { color: var(--anini-gold, #ca9f42); }

.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-product-price,
.wc-block-components-totals-item__value,
.woocommerce .amount { color: var(--anini-gold, #ca9f42); }

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus {
  border-color: var(--anini-gold, #ca9f42) !important;
  box-shadow: 0 0 0 1px var(--anini-gold, #ca9f42) !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
  border-color: var(--anini-gold, #ca9f42) !important;
  background: var(--anini-gold, #ca9f42) !important;
  color: var(--anini-black, #000) !important;
}

/* Mini-cart, pagination and WooCommerce navigation accents. */
.wc-block-mini-cart__drawer,
.wc-block-components-drawer,
.wc-block-components-modal__screen-overlay .wc-block-components-modal__content {
  background: var(--anini-white, #fff);
  color: var(--anini-black, #000);
}

.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul li {
  border-color: var(--anini-gold, #ca9f42);
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  color: var(--anini-black, #000);
  background: var(--anini-white, #fff);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  color: var(--anini-black, #000);
  background: var(--anini-gold, #ca9f42);
}

/* v1.1.7 — restrained WooCommerce hover motion. */
.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-grid__product {
  transition: transform .2s ease;
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover,
.wc-block-grid__product:hover {
  transform: translateY(-3px);
}

.woocommerce ul.products li.product a img,
.wc-block-components-product-image img,
.wc-block-grid__product-image img {
  transition: transform .24s ease, border-color .2s ease, box-shadow .2s ease;
}

.woocommerce ul.products li.product:hover a img,
.wc-block-product:hover .wc-block-components-product-image img,
.wc-block-grid__product:hover .wc-block-grid__product-image img {
  border-color: var(--anini-gold, #ca9f42);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .07);
  transform: scale(1.012);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button,
.wc-block-components-product-button__button {
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:hover,
.wc-block-components-product-button__button:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .10);
  transform: translateY(-1px);
}

/* v1.1.9 — single-product UI polish from real storefront rendering. */
.single-product .woocommerce-notices-wrapper {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
}

.single-product .woocommerce-message,
.single-product .woocommerce-info,
.single-product .woocommerce-error {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  margin: 0 !important;
  padding: 1rem 1rem 1rem 3.25rem !important;
  border: 1px solid color-mix(in srgb, var(--anini-gold, #ca9f42) 70%, transparent) !important;
  border-top-width: 1px !important;
  border-radius: 14px;
  background: var(--anini-white, #fff) !important;
  color: var(--anini-black, #000) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .045);
  line-height: 1.45;
}

.single-product .woocommerce-message::before,
.single-product .woocommerce-info::before,
.single-product .woocommerce-error::before {
  top: 50% !important;
  left: 1.1rem !important;
  color: var(--anini-gold, #ca9f42) !important;
  transform: translateY(-50%);
}

.single-product .woocommerce-message .button,
.single-product .woocommerce-info .button,
.single-product .woocommerce-error .button {
  float: none !important;
  flex: 0 0 auto;
  order: 2;
  min-height: 40px;
  margin: 0 0 0 auto !important;
  padding: .62rem 1rem !important;
  border: 1px solid var(--anini-gold, #ca9f42) !important;
  border-radius: 999px !important;
  background: var(--anini-white, #fff) !important;
  color: var(--anini-black, #000) !important;
  box-shadow: none !important;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none !important;
  white-space: nowrap;
}

.single-product .woocommerce-message .button:hover,
.single-product .woocommerce-message .button:focus-visible,
.single-product .woocommerce-info .button:hover,
.single-product .woocommerce-info .button:focus-visible,
.single-product .woocommerce-error .button:hover,
.single-product .woocommerce-error .button:focus-visible {
  border-color: var(--anini-black, #000) !important;
  background: var(--anini-black, #000) !important;
  color: var(--anini-white, #fff) !important;
  transform: translateY(-1px);
}

.single-product .woocommerce-breadcrumb {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
  color: color-mix(in srgb, var(--anini-black, #000) 62%, transparent);
  font-size: .9rem;
  line-height: 1.5;
}

.single-product .woocommerce-breadcrumb a,
.single-product .product_meta a {
  color: var(--anini-black, #000) !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: color .18s ease;
}

.single-product .woocommerce-breadcrumb a:hover,
.single-product .woocommerce-breadcrumb a:focus-visible,
.single-product .product_meta a:hover,
.single-product .product_meta a:focus-visible {
  color: var(--anini-gold, #ca9f42) !important;
  text-decoration: none !important;
}

.single-product div.product .product_title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  line-height: 1.08;
}

.single-product div.product p.price,
.single-product div.product span.price {
  margin: 0 0 1.4rem;
  font-size: clamp(1.85rem, 2.6vw, 2.65rem);
  line-height: 1.1;
}

.single-product div.product .woocommerce-product-details__short-description {
  margin: 0 0 1.55rem;
  max-width: 62ch;
}

.single-product div.product .woocommerce-product-details__short-description > :first-child {
  margin-top: 0;
}
.single-product div.product .woocommerce-product-details__short-description > :last-child {
  margin-bottom: 0;
}

/* WooCommerce's variation table is visually a form group, not tabular data. */
.single-product form.variations_form table.variations {
  display: block;
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
}

.single-product form.variations_form table.variations tbody,
.single-product form.variations_form table.variations tr,
.single-product form.variations_form table.variations th,
.single-product form.variations_form table.variations td {
  display: block;
  width: 100% !important;
}

.single-product form.variations_form table.variations tr {
  margin: 0 0 1.15rem;
}

.single-product form.variations_form table.variations th.label,
.single-product form.variations_form table.variations td.value {
  padding: 0 !important;
  border: 0 !important;
  text-align: left;
}

.single-product form.variations_form table.variations th.label {
  margin: 0 0 .6rem;
}

.single-product form.variations_form table.variations th.label label {
  display: block;
  margin: 0;
  color: var(--anini-black, #000);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}

.single-product .anini-variation-options {
  gap: .65rem;
  margin: 0;
}

.single-product .anini-variation-choice span {
  min-height: 46px;
  padding: .72rem 1rem;
  border-radius: 12px;
  font-size: .93rem;
}

.single-product .reset_variations {
  display: inline-flex !important;
  align-items: center;
  width: auto;
  margin: .7rem 0 0 !important;
  padding: .3rem .15rem;
  color: color-mix(in srgb, var(--anini-black, #000) 64%, transparent) !important;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: color .16s ease, transform .16s ease;
}

.single-product .reset_variations:hover,
.single-product .reset_variations:focus-visible {
  color: var(--anini-gold, #ca9f42) !important;
  text-decoration: none !important;
  transform: translateX(2px);
}

.single-product form.cart.variations_form .single_variation_wrap {
  margin-top: .55rem;
}

.single-product form.cart.variations_form .woocommerce-variation {
  margin: 0 0 .85rem;
}

.single-product form.cart .woocommerce-variation-add-to-cart,
.single-product form.cart:not(.variations_form) {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}

.single-product form.cart .quantity {
  float: none !important;
  margin: 0 !important;
}

.single-product .quantity .anini-qty-control {
  grid-template-columns: 44px minmax(54px, 64px) 44px;
  min-height: 52px;
}

.single-product .anini-qty-button {
  width: 44px;
  min-width: 44px;
}

.single-product form.cart .single_add_to_cart_button {
  float: none !important;
  min-height: 52px;
  margin: 0 !important;
  padding: .8rem 1.55rem !important;
  border-radius: 999px !important;
}

.single-product div.product .product_meta {
  clear: both;
  margin-top: 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid color-mix(in srgb, var(--anini-gold, #ca9f42) 28%, transparent);
  color: color-mix(in srgb, var(--anini-black, #000) 70%, transparent);
  font-size: .9rem;
  line-height: 1.65;
}

.single-product div.product .product_meta a {
  font-weight: 600;
}

.single-product div.product .woocommerce-product-gallery__trigger {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--anini-gold, #ca9f42) 42%, transparent);
  border-radius: 999px;
  background: var(--anini-white, #fff);
  color: var(--anini-black, #000);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.single-product div.product .woocommerce-product-gallery__trigger:hover,
.single-product div.product .woocommerce-product-gallery__trigger:focus-visible {
  border-color: var(--anini-gold, #ca9f42);
  background: var(--anini-gold, #ca9f42);
  color: var(--anini-black, #000);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .single-product .woocommerce-message,
  .single-product .woocommerce-info,
  .single-product .woocommerce-error {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-right: 1rem !important;
  }

  .single-product .woocommerce-message .button,
  .single-product .woocommerce-info .button,
  .single-product .woocommerce-error .button {
    flex-basis: auto;
    margin-left: 0 !important;
  }

  .single-product div.product .product_title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
}


/* v1.1.10 — WooCommerce Blocks store notices (actual block markup). */
.single-product .wc-block-store-notices {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
}

.single-product .wc-block-store-notices .wc-block-components-notice-banner,
.single-product .wc-block-components-notice-banner.is-success,
.single-product .wc-block-components-notice-banner.is-info,
.single-product .wc-block-components-notice-banner.is-error {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 64px;
  margin: 0 !important;
  padding: 1rem 1.1rem !important;
  border: 1px solid var(--anini-gold, #ca9f42) !important;
  border-radius: 14px !important;
  background: var(--anini-white, #fff) !important;
  color: var(--anini-black, #000) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .045) !important;
}

.single-product .wc-block-components-notice-banner > svg {
  flex: 0 0 28px;
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 3px;
  border-radius: 999px;
  background: var(--anini-gold, #ca9f42) !important;
  fill: var(--anini-black, #000) !important;
}

.single-product .wc-block-components-notice-banner > svg path {
  fill: var(--anini-black, #000) !important;
}

.single-product .wc-block-components-notice-banner__content {
  box-sizing: border-box;
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 0 !important;
  color: var(--anini-black, #000) !important;
  line-height: 1.45;
}

.single-product .wc-block-components-notice-banner__content > .wc-forward,
.single-product .wc-block-components-notice-banner__content > a.button,
.single-product .wc-block-components-notice-banner__content > a.wp-element-button {
  position: static !important;
  inset: auto !important;
  float: none !important;
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  height: auto !important;
  margin: 0 0 0 auto !important;
  padding: .7rem 1.15rem !important;
  border: 1px solid var(--anini-gold, #ca9f42) !important;
  border-radius: 999px !important;
  background: var(--anini-gold, #ca9f42) !important;
  color: var(--anini-black, #000) !important;
  box-shadow: none !important;
  font-size: .875rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.single-product .wc-block-components-notice-banner__content > .wc-forward:hover,
.single-product .wc-block-components-notice-banner__content > .wc-forward:focus-visible,
.single-product .wc-block-components-notice-banner__content > a.button:hover,
.single-product .wc-block-components-notice-banner__content > a.button:focus-visible,
.single-product .wc-block-components-notice-banner__content > a.wp-element-button:hover,
.single-product .wc-block-components-notice-banner__content > a.wp-element-button:focus-visible {
  border-color: var(--anini-black, #000) !important;
  background: var(--anini-black, #000) !important;
  color: var(--anini-white, #fff) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .10) !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .single-product .wc-block-components-notice-banner {
    align-items: flex-start;
  }

  .single-product .wc-block-components-notice-banner__content {
    display: block !important;
  }

  .single-product .wc-block-components-notice-banner__content > .wc-forward,
  .single-product .wc-block-components-notice-banner__content > a.button,
  .single-product .wc-block-components-notice-banner__content > a.wp-element-button {
    margin: .8rem 0 0 !important;
  }
}


/* v1.1.27 — compact Mini Cart header; keep the title/count on one clean line. */
.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
  box-sizing: border-box;
  min-width: 0;
  padding-right: 4.75rem;
  display: flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 0.45rem !important;
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title-heading {
  min-width: 0;
  margin: 0;
  font: inherit !important;
  line-height: inherit !important;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title-items-counter {
  flex: 0 0 auto;
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer {
  font-size: 0.875rem;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-item__value {
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-mini-cart__drawer .wc-block-mini-cart__footer .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 1.05rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
  gap: 0.75rem !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button {
  box-sizing: border-box;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 0.875rem !important;
  font-size: 0.875rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button__text {
  min-width: 0;
  line-height: inherit;
  text-align: center;
}

@media (min-width: 521px) {
  .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions .wc-block-components-button__text {
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .wc-block-mini-cart__drawer .wc-block-mini-cart__title {
    padding-right: 4rem;
    gap: 0.35rem !important;
    font-size: 1.2rem !important;
  }

  .wc-block-mini-cart__drawer .wc-block-mini-cart__title-items-counter {
    font-size: 0.85rem !important;
  }

  .wc-block-mini-cart__drawer .wc-block-mini-cart__footer-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}

/* Order received / thank-you page — ANINI luxury / premium */
body.woocommerce-order-received {
  --anini-luxury-ink: #1b1511;
  --anini-luxury-ink-soft: #3b2e25;
  --anini-luxury-gold: #b88b4a;
  --anini-luxury-gold-light: #e8d1a8;
  --anini-luxury-cream: #f8f2e9;
  --anini-luxury-paper: #fffdfa;
  --anini-luxury-line: rgba(130, 96, 60, 0.18);
  background:
    radial-gradient(circle at 12% 8%, rgba(213, 184, 145, 0.22), transparent 24rem),
    radial-gradient(circle at 88% 36%, rgba(231, 213, 188, 0.28), transparent 28rem),
    linear-gradient(180deg, #fbf7f1 0%, #f4ede4 55%, #faf7f2 100%);
  color: var(--anini-luxury-ink);
}

body.woocommerce-order-received .anini-commerce-page-shell {
  max-width: 1240px;
  padding-top: clamp(2rem, 5vw, 4.5rem) !important;
  padding-bottom: clamp(3rem, 6vw, 6rem) !important;
}

body.woocommerce-order-received .wp-block-post-content,
body.woocommerce-order-received .entry-content {
  position: relative;
}

/* The hero is built from the existing translated WooCommerce title + message. */
body.woocommerce-order-received .anini-order-luxury-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.4rem, 5vw, 4.5rem) 5.8rem;
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% -15%, rgba(235, 206, 158, 0.18), transparent 42%),
    radial-gradient(circle at 8% 75%, rgba(179, 133, 72, 0.14), transparent 24%),
    linear-gradient(145deg, #17110e 0%, #2a1f18 50%, #5a412c 100%);
  box-shadow:
    0 42px 90px rgba(52, 31, 16, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.woocommerce-order-received .anini-order-luxury-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(232, 209, 168, 0.26);
  border-radius: 27px;
  pointer-events: none;
}

body.woocommerce-order-received .anini-order-luxury-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  top: -420px;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  border: 1px solid rgba(232, 209, 168, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(232, 209, 168, 0.025),
    0 0 0 140px rgba(232, 209, 168, 0.018);
  pointer-events: none;
}

body.woocommerce-order-received .anini-order-luxury-hero__inner {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.woocommerce-order-received .anini-order-luxury-hero__brand {
  margin-bottom: 1.7rem;
  color: var(--anini-luxury-gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.36em;
}

body.woocommerce-order-received .anini-order-success-mark {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin-bottom: 1.45rem;
  border: 1px solid rgba(231, 206, 164, 0.42);
  border-radius: 50%;
  color: #f1d9ae;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.015));
  box-shadow:
    0 22px 60px rgba(0,0,0,0.25),
    inset 0 0 26px rgba(231, 206, 164, 0.05);
}

body.woocommerce-order-received .anini-order-success-mark svg {
  width: 46px;
  height: 46px;
}

body.woocommerce-order-received .anini-order-success-ring {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(231, 206, 164, 0.11);
  border-radius: 50%;
}

body.woocommerce-order-received .anini-order-luxury-hero__title,
body.woocommerce-order-received .anini-order-luxury-hero h1,
body.woocommerce-order-received .anini-order-luxury-hero .wp-block-post-title {
  max-width: 900px;
  margin: 0 !important;
  padding: 0 !important;
  color: #fffaf3 !important;
  background: none !important;
  font-size: clamp(2.55rem, 5.8vw, 5rem) !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

body.woocommerce-order-received .anini-order-luxury-hero__message,
body.woocommerce-order-received .anini-order-luxury-hero .woocommerce-thankyou-order-received,
body.woocommerce-order-received .anini-order-luxury-hero .woocommerce-notice--success,
body.woocommerce-order-received .anini-order-luxury-hero p {
  max-width: 650px;
  margin: 1.2rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 250, 243, 0.72) !important;
  font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
  line-height: 1.65 !important;
}

body.woocommerce-order-received .anini-order-luxury-hero__ornament {
  display: grid;
  grid-template-columns: 54px 5px 54px;
  align-items: center;
  gap: 12px;
  margin-top: 1.9rem;
}

body.woocommerce-order-received .anini-order-luxury-hero__ornament span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 209, 168, 0.7));
}

body.woocommerce-order-received .anini-order-luxury-hero__ornament span:last-child {
  transform: scaleX(-1);
}

body.woocommerce-order-received .anini-order-luxury-hero__ornament i {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: #dfbf89;
}

/* Order facts overlap the hero like a premium confirmation card. */
body.woocommerce-order-received .anini-order-summary-bridge {
  position: relative;
  z-index: 3;
  width: calc(100% - clamp(1.5rem, 6vw, 5rem));
  margin: -3.4rem auto 2rem;
}

body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order-overview.anini-order-summary-list,
body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(126, 89, 49, 0.16);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow:
    0 24px 65px rgba(71, 43, 21, 0.14),
    inset 0 1px 0 #fff;
  backdrop-filter: blur(14px);
  list-style: none;
}

body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li,
body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
  position: relative;
  min-width: 0;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
  padding: 1.35rem 1.25rem !important;
  border: 0 !important;
  border-right: 1px solid var(--anini-luxury-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #87705d !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  line-height: 1.3 !important;
  letter-spacing: 0.075em !important;
  text-transform: uppercase;
}

body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li:last-child,
body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child {
  border-right: 0 !important;
}

body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li::before,
body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item::before {
  content: "";
  width: 26px;
  height: 2px;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--anini-luxury-gold), var(--anini-luxury-gold-light));
}

body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li strong,
body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li .amount,
body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item > span:last-child,
body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item .wc-block-components-formatted-money-amount {
  display: block;
  margin-top: 0.5rem !important;
  color: #1f1712 !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
}

/* Main receipt surface */
body.woocommerce-order-received .anini-order-luxury-content,
body.woocommerce-order-received .woocommerce-order:not(.anini-order-luxury-content) {
  margin: 0;
  padding: clamp(1.15rem, 2.5vw, 2rem) !important;
  border: 1px solid rgba(126, 89, 49, 0.14) !important;
  border-radius: 30px !important;
  background: rgba(255, 253, 249, 0.88) !important;
  box-shadow: 0 24px 70px rgba(66, 40, 20, 0.08) !important;
}

body.woocommerce-order-received .anini-order-luxury-content > .woocommerce-thankyou-order-received,
body.woocommerce-order-received .anini-order-luxury-content > .woocommerce-notice--success,
body.woocommerce-order-received .anini-order-luxury-content > .woocommerce-order-overview {
  display: none !important;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .anini-order-luxury-panel,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-totals,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-addresses,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-downloads {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.5rem !important;
  padding: clamp(1.25rem, 2.4vw, 2rem) !important;
  border: 1px solid rgba(132, 98, 61, 0.15) !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, #fffefa 0%, #fbf6ef 100%) !important;
  box-shadow: none !important;
}

body.woocommerce-order-received .woocommerce-order-details::before,
body.woocommerce-order-received .woocommerce-customer-details::before,
body.woocommerce-order-received .anini-order-luxury-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #9f6f35, #e2c591 48%, #9f6f35);
}

body.woocommerce-order-received .woocommerce-order-details h2,
body.woocommerce-order-received .woocommerce-customer-details h2,
body.woocommerce-order-received .anini-order-luxury-panel h2,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-totals h2,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-addresses h2,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-downloads h2 {
  margin: 0 0 1.35rem !important;
  color: var(--anini-luxury-ink) !important;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
}

/* Receipt-like order table instead of a conventional boxed table. */
body.woocommerce-order-received .shop_table,
body.woocommerce-order-received .woocommerce-table,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper table,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-downloads table {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-order-received .shop_table th,
body.woocommerce-order-received .shop_table td,
body.woocommerce-order-received .woocommerce-table th,
body.woocommerce-order-received .woocommerce-table td,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper th,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper td,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-downloads th,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-downloads td {
  padding: 1.05rem 0.45rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(126, 89, 49, 0.14) !important;
  background: transparent !important;
  color: var(--anini-luxury-ink-soft) !important;
  vertical-align: middle;
}

body.woocommerce-order-received .shop_table thead th,
body.woocommerce-order-received .woocommerce-table thead th,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper thead th,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-downloads thead th {
  padding-top: 0 !important;
  color: #8f745d !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase;
}

body.woocommerce-order-received .shop_table th:last-child,
body.woocommerce-order-received .shop_table td:last-child,
body.woocommerce-order-received .woocommerce-table th:last-child,
body.woocommerce-order-received .woocommerce-table td:last-child {
  text-align: right;
}

body.woocommerce-order-received .shop_table tbody td,
body.woocommerce-order-received .woocommerce-table tbody td {
  font-size: 0.98rem;
}

body.woocommerce-order-received .product-name a,
body.woocommerce-order-received .woocommerce-table__product-name a,
body.woocommerce-order-received .woocommerce-order-details a {
  color: #1c1511 !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

body.woocommerce-order-received .product-name a:hover,
body.woocommerce-order-received .woocommerce-table__product-name a:hover,
body.woocommerce-order-received .woocommerce-order-details a:hover {
  color: #8f642f !important;
}

body.woocommerce-order-received .shop_table tfoot th,
body.woocommerce-order-received .shop_table tfoot td,
body.woocommerce-order-received .woocommerce-table tfoot th,
body.woocommerce-order-received .woocommerce-table tfoot td,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper tfoot th,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper tfoot td {
  font-weight: 600 !important;
}

body.woocommerce-order-received .shop_table tfoot tr:last-child th,
body.woocommerce-order-received .shop_table tfoot tr:last-child td,
body.woocommerce-order-received .woocommerce-table tfoot tr:last-child th,
body.woocommerce-order-received .woocommerce-table tfoot tr:last-child td,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper tfoot tr:last-child th,
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper tfoot tr:last-child td {
  padding-top: 1.3rem !important;
  border-bottom: 0 !important;
  color: #1b1511 !important;
  font-size: 1.15rem !important;
  font-weight: 750 !important;
}

body.woocommerce-order-received .woocommerce-columns,
body.woocommerce-order-received .woocommerce-columns--addresses,
body.woocommerce-order-received .wc-block-order-confirmation-addresses-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

body.woocommerce-order-received .woocommerce-column,
body.woocommerce-order-received .woocommerce-column--1,
body.woocommerce-order-received .woocommerce-column--2,
body.woocommerce-order-received .wc-block-order-confirmation-addresses-column {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title,
body.woocommerce-order-received .wc-block-order-confirmation-addresses-column__title {
  margin: 0 0 0.75rem !important;
  color: #30231a !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase;
}

body.woocommerce-order-received .woocommerce-customer-details address,
body.woocommerce-order-received .wc-block-order-confirmation-addresses-column__address {
  height: 100%;
  margin: 0 !important;
  padding: 1.25rem !important;
  border: 1px solid rgba(126, 89, 49, 0.14) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9) !important;
  color: #5f4d3e !important;
  font-style: normal;
  line-height: 1.75 !important;
}

body.woocommerce-order-received .wc-item-meta {
  margin: 0.55rem 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.woocommerce-order-received .wc-item-meta li {
  color: #897361 !important;
  font-size: 0.86rem !important;
}

/* WooCommerce Blocks fallback: make the separate summary block visually match. */
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-summary {
  position: relative;
  z-index: 3;
  margin: -3.4rem auto 2rem !important;
}

body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-status:not(.anini-order-luxury-hero *) {
  margin-bottom: 1.5rem;
}

@media (max-width: 1020px) {
  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview,
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li:nth-child(3),
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:nth-child(3) {
    border-right: 0 !important;
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li:nth-child(n+4),
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:nth-child(n+4) {
    border-top: 1px solid var(--anini-luxury-line) !important;
  }
}

@media (max-width: 720px) {
  body.woocommerce-order-received .anini-commerce-page-shell {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.woocommerce-order-received .anini-order-luxury-hero {
    min-height: 360px;
    padding: 2.4rem 1.1rem 5rem;
    border-radius: 26px;
  }

  body.woocommerce-order-received .anini-order-luxury-hero::before {
    inset: 10px;
    border-radius: 20px;
  }

  body.woocommerce-order-received .anini-order-success-mark {
    width: 78px;
    height: 78px;
  }

  body.woocommerce-order-received .anini-order-success-mark svg {
    width: 39px;
    height: 39px;
  }

  body.woocommerce-order-received .anini-order-summary-bridge {
    width: calc(100% - 20px);
    margin-top: -2.7rem;
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview,
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li,
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
    min-height: 108px;
    border-right: 1px solid var(--anini-luxury-line) !important;
    border-top: 1px solid var(--anini-luxury-line) !important;
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li:nth-child(-n+2),
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:nth-child(-n+2) {
    border-top: 0 !important;
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li:nth-child(even),
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:nth-child(even) {
    border-right: 0 !important;
  }

  body.woocommerce-order-received .woocommerce-columns,
  body.woocommerce-order-received .woocommerce-columns--addresses,
  body.woocommerce-order-received .wc-block-order-confirmation-addresses-columns {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received .anini-order-luxury-content,
  body.woocommerce-order-received .woocommerce-order:not(.anini-order-luxury-content) {
    padding: 0.8rem !important;
    border-radius: 24px !important;
  }

  body.woocommerce-order-received .woocommerce-order-details,
  body.woocommerce-order-received .woocommerce-customer-details,
  body.woocommerce-order-received .anini-order-luxury-panel {
    padding: 1.15rem !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 480px) {
  body.woocommerce-order-received .anini-order-luxury-hero {
    min-height: 330px;
  }

  body.woocommerce-order-received .anini-order-luxury-hero__brand {
    margin-bottom: 1.25rem;
  }

  body.woocommerce-order-received .anini-order-luxury-hero__title,
  body.woocommerce-order-received .anini-order-luxury-hero h1,
  body.woocommerce-order-received .anini-order-luxury-hero .wp-block-post-title {
    font-size: clamp(2rem, 10.5vw, 3rem) !important;
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview,
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li,
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
    min-height: 96px;
    border-right: 0 !important;
    border-top: 1px solid var(--anini-luxury-line) !important;
  }

  body.woocommerce-order-received .anini-order-summary-bridge .woocommerce-order-overview li:first-child,
  body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:first-child {
    border-top: 0 !important;
  }
}

/* v1.1.34 — give WooCommerce breadcrumbs comfortable breathing room below the site header. */
body.woocommerce .woocommerce-breadcrumb,
body.woocommerce-page .woocommerce-breadcrumb {
  box-sizing: border-box;
  padding-top: clamp(1rem, 1.5vw, 1.35rem);
}

@media (max-width: 600px) {
  body.woocommerce .woocommerce-breadcrumb,
  body.woocommerce-page .woocommerce-breadcrumb {
    padding-top: .8rem;
  }
}

/* v1.1.35 — Checkout Blocks layout repair and polish. */
body.woocommerce-checkout:not(.woocommerce-order-received) .anini-commerce-page-shell {
  box-sizing: border-box;
  padding-top: clamp(1.5rem, 2vw, 2.25rem) !important;
  padding-bottom: clamp(3.5rem, 6vw, 5rem) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout {
  margin-block: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout {
  align-items: start;
  column-gap: clamp(2.25rem, 5vw, 5.75rem);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__main,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar {
  margin-top: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar {
  position: sticky;
  top: calc(32px + 1.5rem);
  align-self: start;
}

body.woocommerce-checkout:not(.woocommerce-order-received).admin-bar .wc-block-checkout__sidebar {
  top: calc(32px + 1.5rem);
}

/* Keep checkout sections visually separated without the oversized default gaps. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-step {
  margin-bottom: clamp(1.7rem, 3vw, 2.5rem) !important;
  padding-bottom: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-step__heading {
  margin-bottom: .85rem !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-step__title,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-title {
  margin: 0 !important;
  font-size: clamp(1.35rem, 1.8vw, 1.7rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -.025em;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-step__container {
  margin-top: 0 !important;
}

/* The theme's generic form-field styles used to add full-width padding to
   checkbox/radio inputs. Give WooCommerce controls explicit intrinsic sizing. */
body.woocommerce-checkout:not(.woocommerce-order-received) input[type="checkbox"],
body.woocommerce-checkout:not(.woocommerce-order-received) input[type="radio"],
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox__input,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__input {
  box-sizing: border-box !important;
  width: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  height: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 21px !important;
  vertical-align: middle;
}

body.woocommerce-checkout:not(.woocommerce-order-received) input[type="checkbox"],
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox__input {
  border-radius: 5px !important;
  accent-color: var(--anini-gold, #ca9f42);
}

body.woocommerce-checkout:not(.woocommerce-order-received) input[type="radio"],
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__input {
  border-radius: 50% !important;
  accent-color: var(--anini-gold, #ca9f42);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox > label,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__option {
  align-items: center !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox > label {
  gap: .7rem !important;
  min-height: 28px;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox__label,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__label {
  line-height: 1.45 !important;
}

/* Inputs and address cards. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-text-input input,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
  min-height: 56px;
  border-radius: 12px !important;
  background: #fff !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-card {
  border-color: rgba(36, 27, 20, .18) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(42, 28, 17, .035);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-card__edit {
  color: #6c543c !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-address-card__edit:hover {
  color: var(--anini-gold, #ca9f42) !important;
}

/* Shipping / validation notice: compact and aligned with the rest of the form. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-notice-banner {
  box-sizing: border-box;
  min-height: 0 !important;
  margin: .8rem 0 0 !important;
  padding: .9rem 1rem !important;
  border-radius: 12px !important;
  line-height: 1.45 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-notice-banner > svg {
  flex: 0 0 auto;
  margin-top: .08rem;
}

/* Payment methods: replace the harsh black rectangle with a consistent card. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__payment-method,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option {
  overflow: hidden;
  border: 1px solid rgba(36, 27, 20, .18) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(42, 28, 17, .035);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option {
  margin-top: .75rem;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  min-height: 54px;
  padding: .9rem 1rem !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content {
  padding: 0 1rem 1rem calc(1rem + 21px + .7rem) !important;
  color: #635448;
  line-height: 1.55;
}

/* Order summary: make the sidebar read as one cohesive premium card. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar .wc-block-components-sidebar-layout__sidebar,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar .wc-block-components-sidebar,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar .wc-block-components-totals-wrapper,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar .wc-block-components-order-summary {
  border-color: rgba(36, 27, 20, .16) !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar > div,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar .wc-block-components-sidebar {
  border-radius: 16px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item {
  padding-top: .85rem !important;
  padding-bottom: .85rem !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item__image > img,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-order-summary-item__image img {
  border-radius: 9px;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-item {
  align-items: center;
  min-height: 44px;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-footer-item {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* Prevent narrow translated labels from producing awkward wrapping. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-item__label,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-totals-item__value {
  line-height: 1.35;
}

@media (max-width: 1080px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout {
    column-gap: 2rem;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar {
    position: static;
  }
}

@media (max-width: 782px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .anini-commerce-page-shell {
    padding-top: 1.35rem !important;
    padding-bottom: 3rem !important;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-step {
    margin-bottom: 1.6rem !important;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content {
    padding-left: 1rem !important;
  }
}

/* v1.1.36 — Checkout desktop structure, checkbox mark centering and payment copy alignment. */

/* WooCommerce Blocks uses a wrapping flex sidebar layout by default. Explicitly
   define the desktop columns so the order summary cannot drop beneath the form
   at normal desktop widths after theme spacing/customisation changes. */
@media (min-width: 961px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout.wc-block-components-sidebar-layout,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-sidebar-layout.wc-block-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) !important;
    grid-template-rows: auto !important;
    column-gap: clamp(2.25rem, 4vw, 4.5rem) !important;
    row-gap: 0 !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__main,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-sidebar-layout .wc-block-components-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-right: 0 !important;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
    grid-column: 2 !important;
    grid-row: 1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 440px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    align-self: start !important;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar {
    position: sticky !important;
    top: 1.25rem;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received).admin-bar .wc-block-checkout__sidebar {
    top: calc(32px + 1.25rem);
  }
}

/* At tablet/mobile widths the checkout intentionally becomes one column. */
@media (max-width: 960px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout.wc-block-components-sidebar-layout,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-sidebar-layout.wc-block-checkout {
    display: block !important;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__main,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-sidebar-layout .wc-block-components-main,
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__sidebar {
    position: static !important;
    margin-top: 2rem !important;
  }
}

/* WooCommerce renders the checkbox tick as a sibling SVG. Put input, mark and
   label on an explicit grid so the tick remains mathematically centred even
   when Armenian/Russian text changes the line box height. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox > label {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 21px minmax(0, 1fr) !important;
  grid-template-rows: minmax(21px, auto) !important;
  column-gap: .7rem !important;
  align-items: center !important;
  min-height: 28px !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox__input {
  grid-column: 1 !important;
  grid-row: 1 !important;
  place-self: center !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox__mark {
  position: static !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  place-self: center !important;
  width: 13px !important;
  height: 13px !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  pointer-events: none !important;
  z-index: 2;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkbox__label {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0;
  margin: 0 !important;
  align-self: center !important;
}

/* Keep the payment gateway description visually attached to its radio option,
   aligned with the payment label rather than with the card edge. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content {
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 1rem 1rem calc(1rem + 21px + .7rem) !important;
  color: #746354 !important;
  font-size: .9rem !important;
  line-height: 1.5 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content > :first-child {
  margin-top: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content > :last-child {
  margin-bottom: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  display: flex !important;
  align-items: center !important;
  gap: .7rem !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__input {
  align-self: center !important;
}

/* Terms + place-order area should stay part of the form column and not create
   an artificial full-width break before the summary column. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__terms,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__actions,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-checkout-place-order-button {
  max-width: 100%;
}

@media (max-width: 782px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content {
    padding-left: calc(1rem + 21px + .7rem) !important;
  }
}


/* v1.1.37 — Checkout legal copy and payment-method spacing/polish. */

/* The payment step itself is a layout section, not a card. Earlier styling put
   a border on this outer wrapper, which visually trapped the heading against
   the border. Keep only each actual gateway option as a card. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__payment-method {
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__payment-method .wc-block-components-radio-control {
  margin-top: 1rem !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option {
  overflow: hidden;
  border: 1px solid rgba(36, 27, 20, .16) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 9px 28px rgba(42, 28, 17, .04);
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  box-sizing: border-box;
  min-height: 58px !important;
  padding: 1rem 1.1rem !important;
  gap: .8rem !important;
}

/* Stable intrinsic radio control, with a centred gold selected dot instead of
   inheriting generic form-field appearance from the theme/browser. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__input {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-block !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #8e8379 !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__input:checked {
  border-color: var(--anini-gold, #ca9f42) !important;
  background:
    radial-gradient(circle at center, var(--anini-gold, #ca9f42) 0 4px, transparent 4.5px),
    #fff !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__label,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__label-group {
  min-width: 0;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Description belongs to the selected gateway. Give it breathing room and line
   it up with the payment label, never underneath the radio circle. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: .15rem 1.1rem 1.15rem 3.15rem !important;
  color: #776557 !important;
  font-size: .9rem !important;
  line-height: 1.55 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Keep legal consent copy visually separate from payment without creating a
   heavy extra card. Links retain the site's normal underline affordance. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__terms {
  margin-top: .2rem !important;
  padding-top: 1.35rem !important;
  border-top: 1px solid rgba(36, 27, 20, .14);
  color: #5f5146;
  font-size: .9rem;
  line-height: 1.65;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__terms a {
  color: #34271d;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__terms a:hover {
  color: var(--anini-gold, #ca9f42);
}

@media (max-width: 782px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content {
    padding-left: 3.15rem !important;
  }
}


/* v1.1.38 — Final checkout payment alignment + resilient legal-copy layout. */

/* WooCommerce's radio option component normally reserves space for an
   absolutely positioned radio. The theme now owns this layout completely so
   Armenian/Russian labels can never slide underneath or be clipped by it. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option {
  overflow: visible !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  column-gap: .8rem !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 1rem 1.15rem !important;
  text-indent: 0 !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__input {
  position: static !important;
  inset: auto !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  place-self: center !important;
  transform: none !important;
  translate: none !important;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__label-group {
  position: static !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  text-indent: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
}

/* Align the gateway description with the payment title, not with the radio
   circle, and keep generous bottom spacing inside the same card. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: .15rem 1.15rem 1.2rem calc(1.15rem + 22px + .8rem) !important;
  overflow: visible !important;
}

/* Legal sentence can contain inline links and is re-rendered by Checkout Blocks.
   Keep it readable after localization and avoid awkward word clipping/wrapping. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__terms,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__terms p,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__terms span {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-checkout__terms p {
  margin: 0 !important;
}

@media (max-width: 782px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control-accordion-content {
    padding-left: calc(1.15rem + 22px + .8rem) !important;
  }
}


/* v1.1.39 — Remove duplicate WooCommerce radio marker. */
/* WooCommerce can render its own selected-state dot through a pseudo-element
   in addition to the custom gold radial-gradient marker above. Once the radio
   layout is theme-owned, suppress those legacy markers so only one indicator
   remains visible. */
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__input::before,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__input::after,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__option::before,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__option::after,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__label::before,
body.woocommerce-checkout:not(.woocommerce-order-received) .wc-block-components-radio-control__label::after {
  content: none !important;
  display: none !important;
}
