/* Small Django-specific fixes that keep the WP theme CSS intact */

/* Keep filter sections closed until a tab activates them (desktop tabs only).
   Mobile uses accordion headers and forces display:block in theme CSS. */
@media screen and (min-width: 1180px) {
  .section-filters .wpc-filters-widget-content .wpc-filters-section:not(.is-active) {
    display: none;
  }
  .section-filters .wpc-filters-widget-content .wpc-filters-section.is-active {
    display: block;
  }
  .section-filters .wpc-filter-header {
    display: none;
  }
}

/* Apply button spacing inside filter widget */
.section-filters .wpc-filters-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section-filters .wpc-filters-actions .wpc-filters-apply-button,
.section-filters .wpc-filters-actions .wpc-filters-clear-button.btn--outline {
  min-width: 12.5rem;
  padding: 1.5rem 1.5rem;
  box-sizing: border-box;
}

.section-filters .wpc-filters-actions .wpc-filters-apply-button {
  margin-top: 0;
}

.section-filters .wpc-filters-actions .wpc-filters-apply-button[hidden] {
  display: none !important;
}

.section-filters .wpc-filters-actions .wpc-filters-clear-button.btn--outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #000;
  border: 1px solid #000;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.35s ease;
}

.section-filters .wpc-filters-actions .wpc-filters-clear-button.btn--outline:after {
  background: #e8e8e8;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 0;
  z-index: 0;
  transform: translate(-100%, 0);
  pointer-events: none;
  transition: all 0.35s ease-in;
}

.section-filters .wpc-filters-actions .wpc-filters-clear-button.btn--outline span {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1180px) {
  .section-filters .wpc-filters-actions .wpc-filters-clear-button.btn--outline:hover {
    color: #000;
  }

  .section-filters .wpc-filters-actions .wpc-filters-clear-button.btn--outline:hover:after {
    max-width: 100%;
    transform: translate(0, 0);
  }
}

/* Applied filter chips — pill style with removable X */
.section-filters .wpc-filters-widget-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section-filters .wpc-filters-main-wrap {
  order: 1;
}

.section-filters .wpc-filters-widget-top-container {
  order: 2;
  margin-top: 0;
  margin-bottom: 0;
}

.section-filters .wpc-filters-widget-top-container ul.wpc-filter-chips-list {
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.section-filters .wpc-filter-chips-list .wpc-filter-chip {
  display: inline-flex;
}

.section-filters .wpc-filter-chips-list .wpc-filter-chip > a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #e8e8e8;
  padding: 0.625rem 0.75rem 0.625rem 1rem;
  transition: background-color 0.2s ease;
}

.section-filters .wpc-filter-chips-list .wpc-filter-chip > a:hover {
  background: #d4d4d4;
}

.section-filters .wpc-filter-chips-list .wpc-chip-content {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.section-filters .wpc-filter-chips-list .wpc-filter-chip-name {
  text-decoration: none;
  white-space: nowrap;
}

.section-filters .wpc-filter-chips-list .wpc-filter-chip-name:after {
  display: none !important;
}

.section-filters .wpc-filter-chips-list .wpc-chip-remove-icon {
  flex-shrink: 0;
}

/* Price range row layout (Filter Everything markup without plugin CSS) */
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-_price {
  max-width: none;
}

.section-filters .wpc-filters-section.wpc-filter-_price .wpc-filters-range-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.section-filters .wpc-filters-section.wpc-filter-_price .wpc-filters-range-column {
  position: relative;
  min-width: 0;
  flex: 0 1 14rem;
}

.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-_price input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 0.5rem 3.25rem 0.5rem 0.75rem;
}

.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-_price .wpc-filters-range-min-column:before,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-_price .wpc-filters-range-max-column:before {
  right: 0.75rem;
}

/* Generic pill chips for any attribute the theme CSS doesn't name
   (e.g. Size). Mirrors theme rules for product_cat / pa_color / etc. */
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-filters-ul-list,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-filters-ul-list,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-filters-ul-list,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-filters-ul-list,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-filters-ul-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1875rem;
  overflow: visible !important;
}
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-term-item-content-wrapper,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-term-item-content-wrapper,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-term-item-content-wrapper,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-term-item-content-wrapper,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-term-item-content-wrapper {
  position: relative;
}
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-term-item-content-wrapper input,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-term-item-content-wrapper input,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-term-item-content-wrapper input,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-term-item-content-wrapper input,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-term-item-content-wrapper input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  z-index: 2;
}
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-term-item-content-wrapper label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-term-item-content-wrapper label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-term-item-content-wrapper label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-term-item-content-wrapper label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-term-item-content-wrapper label {
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4.5rem;
  min-width: 10.375rem;
  padding: 0 16px;
  cursor: pointer;
}
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-term-item-content-wrapper:hover label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-term-item-content-wrapper:hover label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-term-item-content-wrapper:hover label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-term-item-content-wrapper:hover label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-term-item-content-wrapper:hover label {
  background-color: #d4d4d4;
}
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-term-item-content-wrapper input:checked + label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-term-item-content-wrapper input:checked + label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-term-item-content-wrapper input:checked + label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-term-item-content-wrapper input:checked + label,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-term-item-content-wrapper input:checked + label {
  background-color: #000;
}
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-term-name {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1rem;
  line-height: 100%;
  color: #000;
  text-decoration: none;
  pointer-events: none;
}
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-term-item-content-wrapper input:checked + label .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_size .wpc-term-item-content-wrapper input:checked + label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-term-item-content-wrapper input:checked + label .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_bracelet-size .wpc-term-item-content-wrapper input:checked + label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-term-item-content-wrapper input:checked + label .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_name-type .wpc-term-item-content-wrapper input:checked + label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-term-item-content-wrapper input:checked + label .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_diamond-diameter .wpc-term-item-content-wrapper input:checked + label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-term-item-content-wrapper input:checked + label .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-term-item-content-wrapper input:checked + label .wpc-term-name {
  color: #fff;
}

/* Theme filter pills: stop # links from navigating */
.section-filters .wpc-filter-link {
  text-decoration: none;
  pointer-events: none;
}

/* Absolute inputs need a positioned wrapper (plugin CSS normally provides this) */
.section-filters .wpc-term-item-content-wrapper {
  position: relative;
}

/* Search page: search box full-width above title + sort */
.shop-results .search-header.search-header--has-search {
  flex-direction: column;
  align-items: stretch;
  padding-right: 0;
  padding-left: 0;
}

.shop-results .search-header.search-header--has-search .search-block {
  width: 100%;
  max-width: 100%;
  flex: none;
}

.shop-results .search-header .search-header__main {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding-right: 16.25rem;
}

html[dir="rtl"] .shop-results .search-header .search-header__main {
  padding-right: 0;
  padding-left: 16.25rem;
}

@media screen and (max-width: 1179px) {
  .shop-results .search-header .search-header__main {
    padding-right: 0;
    padding-left: 0;
  }
}

/* Shop/category: unwrap so heading + sort stay direct flex children of .search-header */
.shop-results .search-header:not(.search-header--has-search) .search-header__main {
  display: contents;
  padding: 0;
}

/* Shop grid: 2 columns on small screens instead of 1 */
@media screen and (max-width: 768px) {
  .search-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 1.5rem;
  }

  .search-products-grid .product-grid-item.search-product .title {
    font-size: 0.8rem;
  }

  .search-products-grid .product-grid-item.search-product .price {
    font-size: 0.8rem;
  }
}

/* Ensure CDN product images fill the photo frame */
.search-products-grid .photo img,
.product-card .photo img,
.item-image img,
.order-item-product .photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Hide empty gallery carousel shell */
.my-gallery-grid:empty {
  display: none !important;
}

/* Parent menu items that only open dropdowns */
.header-wg .main-menu > ul > li > a[href="#"] {
  cursor: default;
}

/* Variation swatches (theme styles target vi-wpvs_*; plugin CSS is not bundled) */
.section-product-view .product-view-block .summary .variations,
.section-product-view .product-view-block .summary .variations tbody,
.section-product-view .product-view-block .summary .variations tr.vi-wpvs-variation-style {
  display: block;
  width: 100%;
  border: 0;
}

.section-product-view .product-view-block .summary .variations th.label,
.section-product-view .product-view-block .summary .variations td.value {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  vertical-align: top;
}

.section-product-view .product-view-block .summary .variations th.label {
  margin-bottom: 0.75rem;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1rem;
}

.section-product-view .product-view-block .summary .variations th.label label {
  font-weight: 500;
}

.variations .vi-wpvs-select {
  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;
  border: 0 !important;
}

.section-product-view .product-view-block .product-view-top .vi-wpvs-variation-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  pointer-events: auto;
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design
  .vi-wpvs-option-wrap {
  display: flex;
  cursor: pointer;
  box-sizing: border-box;
  padding: 12px 16px;
  min-width: auto;
  min-height: auto;
  margin: 0 !important;
  background-color: transparent;
  border: 1px solid #adadad;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design
  .vi-wpvs-option-wrap:hover:not(.vi-wpvs-option-wrap-selected) {
  background-color: #ececec;
  border-color: #000;
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design
  .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected {
  background-color: #000;
  border-color: #000;
  color: #fff;
  box-shadow: none;
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design
  .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected
  .vi-wpvs-option-tooltip {
  color: #fff;
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-option-tooltip {
  display: block;
  position: relative;
  visibility: visible;
  opacity: 1;
  left: unset;
  bottom: unset;
  transform: none;
  margin-top: 0;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  color: #000;
  text-align: center;
  white-space: nowrap;
}

/* Gold / color: circles only, no label text */
.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap[data-attribute="attribute_pa_gold-color"]
  .vi-wpvs-option-wrap,
.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap[data-attribute="attribute_pa_color"]
  .vi-wpvs-option-wrap,
.section-product-view .product-view-block .product-view-top
  .vi-wpvs-option-wrap--swatch {
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap[data-attribute="attribute_pa_gold-color"]
  .vi-wpvs-option-wrap:hover:not(.vi-wpvs-option-wrap-selected),
.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap[data-attribute="attribute_pa_color"]
  .vi-wpvs-option-wrap:hover:not(.vi-wpvs-option-wrap-selected),
.section-product-view .product-view-block .product-view-top
  .vi-wpvs-option-wrap--swatch:hover:not(.vi-wpvs-option-wrap-selected) {
  background: transparent !important;
  border-color: #adadad;
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap[data-attribute="attribute_pa_gold-color"]
  .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected,
.section-product-view .product-view-block .product-view-top
  .vi-wpvs-variation-wrap[data-attribute="attribute_pa_color"]
  .vi-wpvs-option-wrap.vi-wpvs-option-wrap-selected,
.section-product-view .product-view-block .product-view-top
  .vi-wpvs-option-wrap--swatch.vi-wpvs-option-wrap-selected {
  background: transparent !important;
  border-color: #000;
  box-shadow: none !important;
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-option.vi-wpvs-option-swatch {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  flex-shrink: 0;
  filter: none !important;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.section-product-view .product-view-block .product-view-top
  .vi-wpvs-option-wrap-selected
  .vi-wpvs-option.vi-wpvs-option-swatch {
  opacity: 1;
  filter: none !important;
}

.vi-wpvs-swatch--18k-rose-gold,
.vi-wpvs-swatch--rose-gold {
  background-color: #e0a090;
}
.vi-wpvs-swatch--18k-white-gold,
.vi-wpvs-swatch--white-gold {
  background-color: #d8d8d8;
}
.vi-wpvs-swatch--18k-yellow-gold,
.vi-wpvs-swatch--yellow-gold {
  background-color: #d4af37;
}

@media screen and (max-width: 1179px) {
  .section-product-view .product-view-block .product-view-top
    .vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design
    .vi-wpvs-option-wrap:not(.vi-wpvs-option-wrap--swatch) {
    min-width: calc(33.333% - 0.375rem);
    min-height: 52px;
    justify-content: center;
  }
}

@media screen and (max-width: 567px) {
  .section-product-view .product-view-block .product-view-top
    .vi-wpvs-variation-wrap.vi-wpvs-variation-wrap-vi_wpvs_button_design
    .vi-wpvs-option-wrap:not(.vi-wpvs-option-wrap--swatch) {
    min-width: calc(50% - 0.25rem);
  }
}

/* Custom option ring-size buttons */
.custom-fields-wrapper .ring-size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.custom-fields-wrapper .ring-size-button {
  padding: 8px 12px;
  border: 1px solid #adadad;
  background: #fff;
  cursor: pointer;
  min-width: 45px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1rem;
  color: #000;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.custom-fields-wrapper .ring-size-button:hover {
  border-color: #000;
}

.custom-fields-wrapper .ring-size-button.selected,
.custom-fields-wrapper .ring-size-button.active {
  border-color: #000;
  background: #000;
  color: #fff;
}

/* Checkout: shipping methods (theme styles were cart-only) */
.woocommerce:not(body) .checkout.woocommerce-checkout .checkout-shipping-methods {
  margin-top: 3.25rem;
  max-width: 47.5rem;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  padding-left: 0;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .woocommerce-shipping-methods li label {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1rem;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .woocommerce-shipping-methods .shipping-price {
  white-space: nowrap;
  opacity: 0.7;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .wc_payment_methods li label img {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
  height: 1.5rem;
  width: auto;
}

/* Notes + attach in payment step */
.woocommerce:not(body) .checkout.woocommerce-checkout .notes-attach-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .notes-attach-wrap .textarea-controls {
  display: inline-flex;
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  gap: 0.25rem;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .notes-attach-wrap .ctrl-btn.attach-btn {
  width: 4.5rem;
  height: 4.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: all 0.35s ease;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .notes-attach-wrap .ctrl-btn.attach-btn input[type="file"] {
  display: none;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .notes-attach-wrap .ctrl-btn.attach-btn .attach-label {
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .notes-attach-wrap .file-status {
  position: absolute;
  left: 0;
  top: -10px;
  transform: translate(0%, -100%);
  font-size: 12px;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .checkout-item .variation {
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .checkout-item .variation dt,
.woocommerce:not(body) .checkout.woocommerce-checkout .checkout-item .variation dd {
  display: inline;
  margin: 0;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .checkout-item .variation dt {
  font-weight: 500;
  margin-right: 0.25rem;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .checkout-item .variation dd {
  margin-right: 0.75rem;
  opacity: 0.7;
}

@media screen and (max-width: 1179px) {
  .woocommerce:not(body) .checkout.woocommerce-checkout .checkout-shipping-methods {
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .woocommerce:not(body) .checkout.woocommerce-checkout .notes-attach-wrap .ctrl-btn.attach-btn {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* Account pages */
body.woocommerce-account .woocommerce {
  width: 100%;
}

.woocommerce:not(body) .woocommerce-block .woocommerce-MyAccount-content .heading.entry-title-account {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 3.5rem;
  line-height: 93%;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

@media screen and (max-width: 1179px) {
  .woocommerce:not(body) .woocommerce-block .woocommerce-MyAccount-content .heading.entry-title-account {
    font-size: 40px;
    margin-bottom: 24px;
  }
}

form.woocommerce-EditAccountForm .form-row-first,
form.woocommerce-EditAccountForm .form-row-last,
form.form-edit-address .form-row-first,
form.form-edit-address .form-row-last {
  width: 48%;
  display: inline-block;
  vertical-align: top;
}

form.woocommerce-EditAccountForm .form-row-first,
form.form-edit-address .form-row-first {
  margin-right: 4%;
}

form.woocommerce-EditAccountForm .clear,
form.form-edit-address .clear {
  clear: both;
}

form.woocommerce-EditAccountForm .input-text,
form.form-edit-address .input-text,
.woocommerce-account-forms .input-text {
  width: 100%;
}

form.woocommerce-EditAccountForm #account_display_name_description {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.45);
}

.woocommerce-Addresses.col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0 3rem;
}

@media screen and (max-width: 1179px) {
  .woocommerce-Addresses.col2-set {
    grid-template-columns: 1fr;
  }

  form.woocommerce-EditAccountForm .form-row-first,
  form.woocommerce-EditAccountForm .form-row-last,
  form.form-edit-address .form-row-first,
  form.form-edit-address .form-row-last {
    width: 100%;
    margin-right: 0;
  }
}

/* Fixed header clearance for all non-home pages */
body:not(.home):not(.page-template-about):not(.page-partner-program) .content-wg {
  padding-top: 10rem; /* ~160px — clears fixed .header-wg */
}

@media screen and (max-width: 1179px) {
  body:not(.home):not(.page-template-about):not(.page-partner-program) .content-wg {
    padding-top: 112px;
  }
}

/*
 * Theme sections bake header clearance into their own margin-top.
 * Reset those so we don't get a double gap under the global offset.
 * About keeps its native .section-about-top margin (page uses no content-wg pad).
 */
body:not(.home) .shop-search-results,
body:not(.home) .section-page-cart,
body:not(.home) .section-product-view,
body:not(.home) .auth--login,
body:not(.home) .auth--register,
body:not(.home) .auth--lost-password,
body:not(.home) .section-contacts-top,
body:not(.home) .section-delivery-option,
body:not(.home) .section-legal,
body:not(.home) .woocommerce:not(body) {
  margin-top: 0 !important;
}

/* Social login icons are <a> tags — keep theme button look */
.reg-block .links a.link {
  text-decoration: none;
  color: inherit;
}

/* Legal pages: keep text column visible beside the flower image */
body:has(.section-legal) .content-wg {
  overflow-y: visible;
}

.section-legal .wrapper-main {
  flex-wrap: wrap;
}

.section-legal .section-legal__block {
  flex: 1 1 20rem;
  min-width: 0;
}

.section-legal .content {
  overflow: visible;
}

/* Custom jewelry request form */
.section-custom-jewelry {
  padding: 1.5rem 0 6rem;
}

.section-custom-jewelry .custom-jewelry-intro {
  max-width: none;
  margin: 1rem 0 2.5rem;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.55);
}

.custom-jewelry-form {
  max-width: none;
  width: 100%;
}

.custom-form-section {
  margin-bottom: 3.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.custom-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
}

.custom-form-section__title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.custom-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.custom-jewelry-form .form-group {
  margin-bottom: 0;
  min-width: 0;
}

.custom-jewelry-form .form-group--full,
.custom-jewelry-form .form-group--submit {
  grid-column: 1 / -1;
}

.custom-jewelry-form .form-group--submit {
  margin-top: 0.5rem;
}

.custom-jewelry-form label {
  display: block;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: #000;
}

.custom-jewelry-form label .req {
  color: #000;
}

.custom-jewelry-form .input-text,
.custom-jewelry-form select.input-text,
.custom-jewelry-form textarea.input-text {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #fff;
  font-family: var(--font-family);
  font-size: 1rem;
  color: #000;
  border-radius: 0;
}

.custom-jewelry-form textarea.input-text {
  min-height: 150px;
  resize: vertical;
  height: 150px;
}

.custom-jewelry-form .field-hint {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.4);
}

.custom-jewelry-form .upload-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 500;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.custom-jewelry-form .upload-btn input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 0;
}

.custom-jewelry-form .upload-file-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.875rem;
}

.custom-jewelry-form .upload-file-list li {
  margin-top: 0.25rem;
  color: rgba(0, 0, 0, 0.55);
}

.custom-jewelry-form .custom-submit-btn {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.custom-jewelry-form .custom-submit-btn span {
  color: #fff;
}

.custom-jewelry-form .iti {
  width: 100%;
  display: block;
}

.custom-jewelry-form .iti .input-text {
  padding-left: 5.5rem;
}

/* PDP: favourites button under Add to cart, matching .btn look */
.section-product-view .product-view-block .product-view-top .single_add_to_wishlist_button {
  width: 100%;
  margin-top: 0.75rem;
  display: inline-flex;
}

.section-product-view .product-view-block .product-view-top .affiliate-copy-btn {
  width: 100%;
  margin-top: 0.75rem;
  display: inline-flex;
}

.section-product-view .product-view-block .product-view-top .single_add_to_cart_button {
  margin-bottom: 0;
}

@media screen and (max-width: 1179px) {
  .section-custom-jewelry {
    padding: 1rem 0 4rem;
  }

  .custom-form-section__title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .custom-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Footer: match theme subscribe form + social icon sizing */
.footer-wg .top .subscribe-form {
  width: 100%;
  max-width: 32.3125rem;
}

.footer-wg .top .subscribe-form .wpcf7-form-control-wrap {
  position: relative;
  flex-grow: 1;
  display: inline-flex;
  max-width: calc(100% - 14.0625rem);
  align-items: center;
  min-width: 0;
}

.footer-wg .top .subscribe-form .subscribe-input {
  flex-grow: 1;
  min-width: 0;
  width: 100%;
}

.footer-wg .bottom .l .logo img {
  max-width: 10.875rem;
  max-height: 3rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-wg .bottom .social-links {
  gap: 1.5rem;
}

.footer-wg .bottom .social-links__item {
  max-width: 65px;
  flex: 0 0 auto;
}

.footer-wg .bottom .social-links__item img {
  width: 100%;
  height: auto;
  max-width: 65px;
  aspect-ratio: 1;
  object-fit: contain;
}

/* Native country selects — match checkout / address text inputs */
.woocommerce:not(body) .checkout.woocommerce-checkout .form-row select.input-text,
.woocommerce:not(body) .checkout.woocommerce-checkout .form-row select.country-select,
form.form-edit-address select.input-text,
form.form-edit-address select.country-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 47.5rem;
  display: block;
  box-sizing: border-box;
  background-color: #f7f7f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 0.75rem 0.5rem;
  border: 1px solid #adadad;
  border-radius: 0;
  padding: 0.5rem 2.75rem 0.5rem 1.375rem;
  height: 4rem;
  font-weight: 400;
  font-size: 1rem;
  color: #000;
  font-family: var(--font-family);
  line-height: 138%;
  cursor: pointer;
}

html[dir="rtl"] .woocommerce:not(body) .checkout.woocommerce-checkout .form-row select.input-text,
html[dir="rtl"] .woocommerce:not(body) .checkout.woocommerce-checkout .form-row select.country-select,
html[dir="rtl"] form.form-edit-address select.input-text,
html[dir="rtl"] form.form-edit-address select.country-select {
  background-position: left 1.25rem center;
  padding: 0.5rem 1.375rem 0.5rem 2.75rem;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .form-row select.input-text:focus,
.woocommerce:not(body) .checkout.woocommerce-checkout .form-row select.country-select:focus,
form.form-edit-address select.input-text:focus,
form.form-edit-address select.country-select:focus {
  outline: none;
  border-color: #000;
}

@media screen and (max-width: 1179px) {
  .woocommerce:not(body) .checkout.woocommerce-checkout .form-row select.input-text,
  .woocommerce:not(body) .checkout.woocommerce-checkout .form-row select.country-select,
  form.form-edit-address select.input-text,
  form.form-edit-address select.country-select {
    max-width: 100%;
  }
}

@media screen and (max-width: 1179px) {
  .footer-wg .top .subscribe-form .wpcf7-form-control-wrap {
    width: 100%;
    max-width: 100%;
  }

  .footer-wg .bottom .social-links__item {
    width: calc(25% - 16px);
    max-width: none;
  }

  .footer-wg .bottom .social-links__item img {
    max-width: 100px;
    width: 100%;
  }
}

/* Logout as button styled like nav link */
.logout-form {
  display: inline;
  margin: 0;
}
.logout-form .logout-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.product-about-heading {
  display: inline;
  margin: 0;
  font: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

/* WYSIWYG product HTML — undo site CSS reset (lists/headings look blank otherwise) */
.woocommerce-product-details__short-description,
.full-description .main-product-content,
.section-product-view .accordion .answer {
  line-height: 1.45;
}

.woocommerce-product-details__short-description p,
.full-description .main-product-content p,
.section-product-view .accordion .answer p {
  margin: 0 0 0.85em;
}

.woocommerce-product-details__short-description p:last-child,
.full-description .main-product-content p:last-child,
.section-product-view .accordion .answer p:last-child {
  margin-bottom: 0;
}

.woocommerce-product-details__short-description ul,
.full-description .main-product-content ul,
.section-product-view .accordion .answer ul {
  list-style: disc outside !important;
  margin: 0.5em 0 0.85em !important;
  padding-left: 1.35rem !important;
}

.woocommerce-product-details__short-description ol,
.full-description .main-product-content ol,
.section-product-view .accordion .answer ol {
  list-style: decimal outside !important;
  margin: 0.5em 0 0.85em !important;
  padding-left: 1.35rem !important;
}

html[dir="rtl"] .woocommerce-product-details__short-description ul,
html[dir="rtl"] .woocommerce-product-details__short-description ol,
html[dir="rtl"] .full-description .main-product-content ul,
html[dir="rtl"] .full-description .main-product-content ol,
html[dir="rtl"] .section-product-view .accordion .answer ul,
html[dir="rtl"] .section-product-view .accordion .answer ol {
  padding-left: 0 !important;
  padding-right: 1.35rem !important;
}

.woocommerce-product-details__short-description li,
.full-description .main-product-content li,
.section-product-view .accordion .answer li {
  display: list-item !important;
  list-style: inherit !important;
  margin: 0.2em 0;
}

.woocommerce-product-details__short-description h2,
.woocommerce-product-details__short-description h3,
.woocommerce-product-details__short-description h4,
.full-description .main-product-content h2,
.full-description .main-product-content h3,
.full-description .main-product-content h4,
.section-product-view .accordion .answer h2,
.section-product-view .accordion .answer h3,
.section-product-view .accordion .answer h4 {
  font-family: inherit;
  font-weight: 700;
  line-height: 1.25;
  margin: 1em 0 0.4em;
  color: #000;
}

.woocommerce-product-details__short-description h2,
.full-description .main-product-content h2,
.section-product-view .accordion .answer h2 {
  font-size: 1.35em;
}

.woocommerce-product-details__short-description h3,
.full-description .main-product-content h3,
.section-product-view .accordion .answer h3 {
  font-size: 1.2em;
}

.woocommerce-product-details__short-description h4,
.full-description .main-product-content h4,
.section-product-view .accordion .answer h4 {
  font-size: 1.05em;
}

.woocommerce-product-details__short-description strong,
.woocommerce-product-details__short-description b,
.full-description .main-product-content strong,
.full-description .main-product-content b,
.section-product-view .accordion .answer strong,
.section-product-view .accordion .answer b {
  font-weight: 700;
}

.woocommerce-product-details__short-description em,
.woocommerce-product-details__short-description i,
.full-description .main-product-content em,
.full-description .main-product-content i,
.section-product-view .accordion .answer em,
.section-product-view .accordion .answer i {
  font-style: italic;
}

.woocommerce-product-details__short-description a,
.full-description .main-product-content a,
.section-product-view .accordion .answer a {
  text-decoration: underline;
  color: inherit;
}

.woocommerce-product-details__short-description blockquote,
.full-description .main-product-content blockquote,
.section-product-view .accordion .answer blockquote {
  margin: 0.85em 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(0, 0, 0, 0.2);
}

.woocommerce-product-details__short-description table,
.full-description .main-product-content table,
.section-product-view .accordion .answer table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

.woocommerce-product-details__short-description th,
.woocommerce-product-details__short-description td,
.full-description .main-product-content th,
.full-description .main-product-content td,
.section-product-view .accordion .answer th,
.section-product-view .accordion .answer td {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.4em 0.6em;
  vertical-align: top;
}

/* Product page — delivery & payment options */
.pdp-shipping-payment {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pdp-shipping-payment__heading {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pdp-shipping-payment__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pdp-shipping-payment__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #adadad;
  padding: 1.25rem 1rem;
  min-height: 4.5rem;
}

.pdp-shipping-payment__item > div:first-child {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.pdp-shipping-payment__item > div:last-child {
  font-family: var(--font-family);
  font-size: 0.95rem;
  text-align: right;
  flex-shrink: 0;
}

.pdp-shipping-payment__item--payment > div:first-child {
  text-transform: uppercase;
}

.pdp-shipping-payment__item img {
  display: block;
  max-height: 28px;
  width: auto;
}

.pdp-shipping-payment__secure {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.04);
}

.pdp-shipping-payment__secure svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.pdp-shipping-payment__secure p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}

.pdp-shipping-payment__empty {
  margin: 0;
}

/* Product 3D viewer */
.woocommerce-product-gallery.images {
  position: relative;
}

.product-3d-open-btn {
  margin: 0;
  padding: 0.55em 1em;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.product-gallery-actions {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.product-gallery-share {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.product-share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  line-height: 1;
}

.product-share-icon-btn .fa-share-nodes,
.product-share-icon-btn .fa-heart {
  font-size: 0.95rem;
}

.product-fav-icon-btn .icon-heart-on {
  display: none;
}

.product-fav-icon-btn.is-active .icon-heart-off,
.product-fav-icon-btn.woosw-added .icon-heart-off {
  display: none;
}

.product-fav-icon-btn.is-active .icon-heart-on,
.product-fav-icon-btn.woosw-added .icon-heart-on {
  display: inline-block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-gallery-actions .product-3d-open-btn {
  position: static;
  width: 100%;
  white-space: nowrap;
}

.product-tryon-open-btn {
  background: rgba(26, 26, 26, 0.88);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.product-tryon-open-btn:hover {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.product-3d-open-btn:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.35);
}

.product-3d-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-3d-modal[hidden] {
  display: none !important;
}

.product-3d-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.55);
}

.product-3d-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(960px, 100%);
  height: min(80vh, 720px);
  background: #f4f2ef;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.product-3d-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.product-3d-modal__title {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.product-3d-modal__close {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.35em 0.5em;
}

.product-3d-modal__canvas {
  flex: 1;
  min-height: 0;
  width: 100%;
}

.product-3d-modal__canvas canvas,
.product-3d-modal__canvas model-viewer {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.product-3d-modal__status {
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #666;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

body.product-3d-open {
  overflow: hidden;
}

/* Virtual try-on (MediaPipe + camera) */
.product-tryon-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-tryon-modal[hidden] {
  display: none !important;
}

.product-tryon-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.72);
}

.product-tryon-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(920px, 100%);
  max-height: min(92vh, 860px);
  background: #0a0a0c;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.product-tryon-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #111;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product-tryon-modal__title {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.product-tryon-modal__close {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.35em 0.5em;
}

.product-tryon-modal__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background: #000;
  overflow: hidden;
}

.product-tryon-modal__video,
.product-tryon-modal__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  max-width: none;
  max-height: none;
}

.product-tryon-modal__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: #111;
  color: #ccc;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-tryon-modal__scale {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-tryon-modal__scale input[type="range"] {
  width: 120px;
}

.product-tryon-modal__status {
  margin: 0;
  font-size: 0.75rem;
  color: #999;
  text-align: right;
}

body.product-tryon-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .product-tryon-modal {
    padding: 0;
  }

  .product-tryon-modal__panel {
    width: 100%;
    max-height: 100vh;
    height: 100%;
  }

  .product-tryon-modal__stage {
    aspect-ratio: auto;
    flex: 1;
  }
}

/* Cart: quantity stepper (+ / −) and visible Update cart button */
.section-page-cart .cart-block .woocommerce-cart-form .woocommerce-cart-form__contents tbody td.actions .btn--update-cart {
  display: inline-flex;
}

.section-page-cart .cart-block .woocommerce-cart-form .woocommerce-cart-form__contents tbody td.product-quantity .quantity--stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #e8e8e8;
}

.section-page-cart .cart-block .woocommerce-cart-form .woocommerce-cart-form__contents tbody td.product-quantity .quantity--stepper .qty {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  margin: 0;
  background: transparent;
}

.section-page-cart .cart-block .woocommerce-cart-form .woocommerce-cart-form__contents tbody td.product-quantity .qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 3rem;
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
  color: #000;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.section-page-cart .cart-block .woocommerce-cart-form .woocommerce-cart-form__contents tbody td.product-quantity .qty-btn:hover {
  opacity: 0.55;
}

@media screen and (max-width: 1179px) {
  .section-page-cart .cart-block .woocommerce-cart-form .woocommerce-cart-form__contents tbody td.product-quantity .quantity--stepper {
    margin-left: auto;
  }

  html[dir="rtl"] .section-page-cart .cart-block .woocommerce-cart-form .woocommerce-cart-form__contents tbody td.product-quantity .quantity--stepper {
    margin-left: unset;
    margin-right: auto;
  }
}

/* Wishlist: styled remove control on product grid cards */
.search-products-grid .wishlist-remove-form,
.woosw-list .wishlist-remove-form {
  margin-top: 1rem;
  text-align: center;
}

.search-products-grid .wishlist-remove-btn,
.woosw-list .wishlist-remove-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.search-products-grid .wishlist-remove-btn span,
.woosw-list .wishlist-remove-btn span {
  position: relative;
}

/* Floating WhatsApp — fixed to the viewport (outside scroll wrappers) */
.floating-whatsapp-root {
  position: fixed !important;
  right: 1.25rem !important;
  bottom: 1.25rem !important;
  left: auto !important;
  top: auto !important;
  z-index: 2147483000 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  filter: none !important;
  perspective: none !important;
  pointer-events: none;
}

.floating-whatsapp-root .floating-whatsapp {
  pointer-events: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp-root .floating-whatsapp:hover {
  text-decoration: none;
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp-root .floating-whatsapp img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

@media screen and (max-width: 767px) {
  .floating-whatsapp-root {
    right: 1rem !important;
    bottom: 1rem !important;
  }

  .floating-whatsapp-root .floating-whatsapp {
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* Keep horizontal clip on the page shell — body overflow-x:hidden breaks position:fixed */
body {
  overflow-x: visible;
}

.main-grid-wrapper {
  overflow-x: hidden;
  max-width: 100%;
}

/* Flash messages — fixed under measured header via JS top */
.site-flash {
  position: fixed;
  top: 6rem;
  left: 0;
  right: 0;
  z-index: 1200;
  pointer-events: none;
  padding: 0 1rem;
}

.site-flash__inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  pointer-events: auto;
}

.site-flash__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left: 3px solid #1a1a1a;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  font-family: var(--font-family, sans-serif);
  animation: site-flash-in 0.35s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-flash__item.is-leaving,
.site-flash.is-leaving {
  opacity: 0;
  transform: translateY(-0.5rem);
}

.site-flash__item.success,
.site-flash__item.debug {
  border-left-color: #2f6b4f;
}

.site-flash__item.error {
  border-left-color: #a33b3b;
}

.site-flash__item.warning {
  border-left-color: #9a6b2f;
}

.site-flash__item.info {
  border-left-color: #3b5f8a;
}

.site-flash__text {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #1a1a1a;
}

.site-flash__close {
  flex-shrink: 0;
  margin: -0.2rem -0.2rem 0 0;
  padding: 0.15rem 0.4rem;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.45);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.site-flash__close:hover {
  color: #1a1a1a;
}

@keyframes site-flash-in {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Our jewelry carousel: one custom cursor arrow only (hide theme :after duplicate) */
@media screen and (min-width: 1180px) {
  .section-our-jewelry .slider-wrapper .slider--our-jewerly .item a:after {
    display: none !important;
    content: none !important;
  }

  .custom-cursor-follower.is-jewelry-link {
    visibility: visible;
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='56' height='56' rx='28' fill='black'/%3E%3Cpath d='M22 34L34 22M34 22H26M34 22V30' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

/* BUG_005: Home hero — clear fixed header on first paint (esp. mobile) */
@media screen and (max-width: 1179px) {
  .home .section-top {
    padding-top: 112px !important;
  }
}

/* BUG_020: Color / Carat — override theme opacity:0.3 on compound selectors */
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_carat.wpc-filter-pa_carat .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_carat.wpc-filter-pa_carat .wpc-term-count,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_color.wpc-filter-pa_color .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_color.wpc-filter-pa_gold-color .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_carat .wpc-filters-ul-list li .wpc-term-item-content-wrapper label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_color .wpc-filters-ul-list li .wpc-term-item-content-wrapper label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-filters-ul-list li .wpc-term-item-content-wrapper label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_carat .wpc-filters-ul-list li .wpc-term-item-content-wrapper label .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_color .wpc-filters-ul-list li .wpc-term-item-content-wrapper label .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_gold-color .wpc-filters-ul-list li .wpc-term-item-content-wrapper label .wpc-filter-link {
  opacity: 1 !important;
  color: #000 !important;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1rem;
  line-height: 100%;
}

.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_carat .wpc-filters-ul-list li .wpc-term-item-content-wrapper input:checked + label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_color .wpc-filters-ul-list li .wpc-term-item-content-wrapper input:checked + label .wpc-term-name,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_carat .wpc-filters-ul-list li .wpc-term-item-content-wrapper input:checked + label .wpc-filter-link,
.section-filters .wpc-filters-widget-content .wpc-filters-section.wpc-filter-pa_color .wpc-filters-ul-list li .wpc-term-item-content-wrapper input:checked + label .wpc-filter-link {
  color: #fff !important;
  opacity: 1 !important;
}

/* BUG_004 / BUG_023: password eye — ensure wrapper positioning outside auth pages */
.password-input {
  position: relative;
  display: block;
  width: 100%;
}

.password-input .show-password-input {
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg' fill='currentColor'%3E%3Cpath d='M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8M1.173 8a13 13 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5s3.879 1.168 5.168 2.457A13 13 0 0 1 14.828 8q-.086.13-.195.288c-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5s-3.879-1.168-5.168-2.457A13 13 0 0 1 1.172 8z'/%3E%3Cpath d='M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 0.375rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
}

.password-input .show-password-input.display-password {
  opacity: 0.55;
}

.password-input input {
  padding-right: 2.75rem !important;
}

html[dir="rtl"] .password-input input {
  padding-right: 1.375rem !important;
  padding-left: 2.75rem !important;
}

html[dir="rtl"] .password-input .show-password-input {
  right: auto;
  left: 0.375rem;
}

/* BUG_022: cancel order button inherits link look */
button.cancel-order {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  text-transform: inherit;
}

/* BUG_021: loyalty Apply uses same coupon-row hover treatment */
.woocommerce:not(body) .checkout.woocommerce-checkout .woocommerce-checkout__block .checkout-summary .table-block .voucher-wrapper .checkout-loyalty-form-custom .guest-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.woocommerce:not(body) .checkout.woocommerce-checkout .woocommerce-checkout__block .checkout-summary .table-block .voucher-wrapper .checkout-loyalty-form-custom .guest-input-row button:hover:after {
  max-width: 100%;
  transform: translate(0, 0);
}

/* Discounts preview badge + old/new price formatting (automatic DiscountRule previews) */
.discount-badge {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: #000;
  border-radius: 2px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.discount-badge--card {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  pointer-events: none;
}

html[dir="rtl"] .discount-badge--card {
  left: unset;
  right: 15px;
}

.discount-badge--detail {
  margin-bottom: 0.75rem;
}

.discount-prices del {
  color: rgba(0, 0, 0, 0.55);
  margin-right: 0.5rem;
}

.discount-prices ins {
  text-decoration: none;
}

/* Used by product_detail.html when applying automatic DiscountRule previews */
.js-discount-old-price {
  opacity: 0.55;
}

.js-discount-new-price {
  text-decoration: none;
}

/* Ensure badge absolute positioning has a stable containing block */
.product-grid-item.search-product .photo {
  position: relative;
}

/* Header cart badge: +99 cap keeps the icon layout stable */
.header-wg .cart-icon span.cart-count,
.header-wg .cart-icon .js-cart-count-header {
  min-width: 20px;
  width: auto;
  padding: 0 4px;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1;
}

.payment-cancel-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.payment-cancel-actions form {
  margin: 0;
}

/* Shop-by-category arrows: clicking must not highlight the footer */
.section-shop-category .slider__line,
.section-shop-category .slider__line svg,
.slider--shop-category,
.slider--shop-category * {
  -webkit-user-select: none;
  user-select: none;
}

/* Order details: space between product name and total */
.woocommerce-order-details table.woocommerce-table--order-details td.product-name {
  padding-right: 2rem;
  vertical-align: top;
}

html[dir="rtl"] .woocommerce-order-details table.woocommerce-table--order-details td.product-name {
  padding-right: 0;
  padding-left: 2rem;
}

.set-picker-intro {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  opacity: 0.75;
}

.set-parts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.set-part {
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 0.75rem;
}

.set-part__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.set-part__row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
}

.set-part__image {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  background: #f3f3f3;
}

.set-part__image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

.set-part__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.set-part__label {
  font-weight: 600;
}

.set-part__name {
  font-size: 0.85rem;
  opacity: 0.7;
}

.set-part__price {
  margin-left: auto;
  white-space: nowrap;
  font-weight: 500;
}

.set-part__options {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.set-total {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.set-hint {
  min-height: 1.25rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.single_add_to_cart_button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.section-page-cart .cart-set-heading td {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 1.35rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #ddd;
  background: transparent;
}

.section-page-cart .cart-set-item td {
  background: #fafafa;
}

.checkout-set-heading {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.85rem 0 0.35rem;
}

.woocommerce-order-details table.woocommerce-table--order-details td.product-name a {
  max-width: none;
  margin-right: 0.75rem;
}

.woocommerce-order-details table.woocommerce-table--order-details td.product-total,
.woocommerce-order-details table.woocommerce-table--order-details th.product-total {
  padding-left: 1.5rem;
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
}

.woocommerce-order-details table.woocommerce-table--order-details tbody tr:last-child td {
  padding-bottom: 1.5rem;
}

#load-more-products.btn.view-more {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border: 0;
  color: #fff;
}

@media screen and (min-width: 1179px) {
  #load-more-products.btn.view-more:hover {
    color: #000;
  }
}

#load-more-products.btn.view-more:disabled,
#load-more-products.btn.view-more.is-loading {
  cursor: wait;
  opacity: 0.7;
}


/* —— ZOKE Partner Program —— */
.page-partner-program .section-partner-hero {
  margin-top: 12.3125rem;
  padding-bottom: 0;
}

@media screen and (max-width: 1179px) {
  .page-partner-program .section-partner-hero {
    margin-top: 127px;
  }
}

.page-partner-program .section-partner-hero__before {
  max-width: 44rem;
  padding-bottom: 2.5rem;
}

.page-partner-program .section-partner-hero__media {
  width: 100%;
  line-height: 0;
}

.page-partner-program .section-partner-hero__media .bg,
.page-partner-program .section-partner-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-partner-program .section-partner-hero__after {
  max-width: 36rem;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.page-partner-program .partner-eyebrow {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: rgba(0, 0, 0, 0.55);
}

.page-partner-program .partner-hero-heading {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin: 0;
  color: #000;
}

.page-partner-program .partner-hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 1.75rem;
  color: rgba(0, 0, 0, 0.72);
}

.page-partner-program .partner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}

.page-partner-program .partner-text-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  color: #000;
}

.page-partner-program .section-partner-intro,
.page-partner-program .section-partner-who,
.page-partner-program .section-partner-how,
.page-partner-program .section-partner-benefits,
.page-partner-program .section-partner-shared,
.page-partner-program .section-partner-criteria,
.page-partner-program .section-partner-apply,
.page-partner-program .section-partner-faq,
.page-partner-program .section-partner-final {
  padding: 6.5rem 0;
}

.page-partner-program .heading.heading--small {
  font-size: 3.5rem;
  line-height: 0.95;
  margin: 0;
}

@media screen and (max-width: 1179px) {
  .page-partner-program .heading.heading--small {
    font-size: 2.5rem;
  }
}

.page-partner-program .partner-section-lead {
  max-width: 38rem;
  margin: 1.5rem 0 3rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.65);
}

.page-partner-program .partner-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: center;
}

.page-partner-program .partner-split--reverse {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.page-partner-program .partner-split__text .heading {
  margin-bottom: 2rem;
}

.page-partner-program .partner-split__text p {
  margin: 0 0 1.25rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.72);
}

.page-partner-program .partner-split__text p:last-child {
  margin-bottom: 0;
}

.page-partner-program .partner-split__text .btn {
  margin-top: 2rem;
}

.page-partner-program .partner-split__media img {
  width: 100%;
  max-width: 28rem;
  height: auto;
  display: block;
  object-fit: cover;
  margin-left: auto;
}

.page-partner-program .partner-who-grid,
.page-partner-program .partner-benefits-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
}

.page-partner-program .partner-who-item,
.page-partner-program .partner-benefit {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 1.5rem;
}

.page-partner-program .partner-who-item h3,
.page-partner-program .partner-benefit h3,
.page-partner-program .partner-step h3 {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0 0 0.85rem;
  color: #000;
}

.page-partner-program .partner-who-item p,
.page-partner-program .partner-benefit p,
.page-partner-program .partner-step p {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.6);
}

.page-partner-program .partner-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.75rem;
  margin-top: 3rem;
}

.page-partner-program .partner-step__num {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 3.25rem;
  line-height: 0.9;
  margin-bottom: 1.25rem;
  color: #000;
  opacity: 0.28;
}

.page-partner-program .partner-criteria-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  max-width: 42rem;
}

.page-partner-program .partner-criteria-list li {
  position: relative;
  padding: 1rem 0 1rem 1.35rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.78);
}

.page-partner-program .partner-criteria-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #000;
}

.page-partner-program .partner-criteria-note {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.5);
}

.page-partner-program .partner-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.page-partner-program .partner-checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.78);
  cursor: pointer;
}

.page-partner-program .partner-checkbox input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.page-partner-program .partner-checkbox a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-partner-program .partner-success {
  max-width: 36rem;
  padding: 1rem 0 2rem;
}

.page-partner-program .partner-success h3 {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 3rem;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.page-partner-program .partner-success p {
  margin: 0 0 1rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.65);
}

.page-partner-program .partner-faq-accordion {
  margin-top: 2rem;
  max-width: 48rem;
}

.page-partner-program .partner-faq-accordion .item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.page-partner-program .partner-faq-accordion .question {
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  color: #000;
  position: relative;
  user-select: none;
  padding: 1.35rem 2.5rem 1.35rem 0;
}

.page-partner-program .partner-faq-accordion .question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
}

.page-partner-program .partner-faq-accordion .question.is-active::after {
  content: "\2212";
}

.page-partner-program .partner-faq-accordion .answer {
  display: none;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 0.975rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
  padding: 0 0 1.35rem;
  max-width: 40rem;
}

.page-partner-program .partner-faq-accordion .question.is-active + .answer {
  display: block;
}

.page-partner-program .section-partner-final {
  text-align: center;
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.page-partner-program .section-partner-final .partner-eyebrow {
  color: #000;
  opacity: 0.55;
}

.page-partner-program .partner-final-heading {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: #000;
}

.page-partner-program .partner-final-text {
  max-width: 30rem;
  margin: 0 auto 2.25rem;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.6);
}

.page-partner-program .partner-form .iti {
  width: 100%;
}

.page-partner-program .partner-form .iti .input-text {
  width: 100%;
}

@media screen and (max-width: 1179px) {
  .page-partner-program .section-partner-hero__before {
    padding-bottom: 1.75rem;
  }

  .page-partner-program .section-partner-hero__after {
    padding-top: 1.75rem;
  }

  .page-partner-program .section-partner-intro,
  .page-partner-program .section-partner-who,
  .page-partner-program .section-partner-how,
  .page-partner-program .section-partner-benefits,
  .page-partner-program .section-partner-shared,
  .page-partner-program .section-partner-criteria,
  .page-partner-program .section-partner-apply,
  .page-partner-program .section-partner-faq,
  .page-partner-program .section-partner-final {
    padding: 4rem 0;
  }

  .page-partner-program .partner-split,
  .page-partner-program .partner-split--reverse {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .page-partner-program .partner-split__media img {
    margin: 0 auto;
    max-width: 20rem;
  }

  .page-partner-program .partner-who-grid,
  .page-partner-program .partner-benefits-list {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.25rem;
  }

  .page-partner-program .partner-steps {
    grid-template-columns: 1fr 1fr;
  }

  .page-partner-program .partner-success h3 {
    font-size: 2.25rem;
  }
}

@media screen and (max-width: 768px) {
  .page-partner-program .partner-hero-heading {
    font-size: 2.5rem;
  }

  .page-partner-program .partner-who-grid,
  .page-partner-program .partner-benefits-list,
  .page-partner-program .partner-steps {
    grid-template-columns: 1fr;
  }

  .page-partner-program .partner-final-heading {
    font-size: 2.5rem;
  }
}
