/* Eternal Elixir UI audit asset 2026.07.16.24 */
:root {
  --ee-ui-navy: #0f172a;
  --ee-ui-navy-hover: #1e293b;
  --ee-ui-gold-text: #8a651f;
  --ee-ui-surface: #ffffff;
  --ee-ui-border: #d8dee8;
  --ee-ui-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

/* Keyboard focus and repaired skip-link targets. */
.ee-ui-audit-active :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--ee-ui-navy) !important;
  outline-offset: 3px !important;
}

.ee-skip-target {
  display: block;
  height: 0;
  scroll-margin-top: 140px;
}

/* Preserve decorative gold and stars; darken only commerce text on white. */
.ee-ui-audit-active .wd-product .price,
.ee-ui-audit-active.woocommerce-shop .elementor-loop-container .woocommerce-Price-amount,
.ee-ui-audit-active .bdt-mini-cart-button .woocommerce-Price-amount,
.ee-ui-audit-active .bdt-offcanvas .woocommerce-Price-amount,
.ee-ui-audit-active .ee-related-products [style*="color: #c8a24e"],
.ee-ui-audit-active .ee-related-products [style*="color:#c8a24e"] {
  color: var(--ee-ui-gold-text) !important;
}

/* Gold UI surfaces use dark text; protected rating and lab/certificate areas are excluded. */
.ee-ui-audit-active .scrolling-text,
.ee-ui-audit-active .bdt-cart-badge,
.ee-ui-audit-active .elementor-element-9959202 .elementor-button,
.ee-ui-audit-active .elementor-element-9959202 .elementor-button-text {
  color: var(--ee-ui-navy) !important;
}

/* Keep meaningful text on gold purchase controls at WCAG AA contrast. */
.single-product #mb-offer-buy-now,
.single-product .mb-offer-box[data-qty="5"] .mb-badge {
  color: var(--ee-ui-navy) !important;
}

/* Keep the top-priority product information and purchase controls together. */
.single-product .elementor-element-38006d3 > * {
  order: 10;
}

.single-product .elementor-element-38006d3 > .elementor-element-1734cce {
  order: 1;
}

.single-product .elementor-element-38006d3 > .elementor-element-1bbae4e {
  order: 2;
}

.single-product .elementor-element-38006d3 > .elementor-element-3d338b0 {
  order: 3;
}

.single-product .elementor-element-38006d3 > .elementor-element-a3bfc73 {
  order: 4;
}

.single-product .elementor-element-38006d3 > .elementor-element-780b368 {
  order: 5;
}

.mb-offer-box,
#mb-offer-add-to-cart,
#mb-offer-buy-now {
  min-height: 44px;
}

.mb-offer-box[aria-pressed="true"] {
  border-color: var(--ee-ui-navy) !important;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

/* The bundle selector owns quantity; keep WoodMart's sticky bar in sync. */
.ee-has-bundle-offers .wd-sticky-btn .quantity,
.ee-has-bundle-offers .wd-sticky-btn .ee-pay-badges,
.ee-has-bundle-offers .wd-sticky-btn .ee-afterpay-msg,
.ee-has-bundle-offers .wd-sticky-btn .wc-stripe-product-checkout-container {
  display: none !important;
}

.ee-has-bundle-offers .wd-sticky-btn .single_add_to_cart_button {
  min-height: 44px;
}

/* Preserve the theme's empty-cart layout after promoting its message to H1. */
.woocommerce-cart h1.cart-empty.wd-empty-page {
  margin: 0 !important;
}

/* Cart and checkout AOV milestones. The existing promotion engine still owns
   qualification, gift insertion, shipping methods, and totals. */
.woocommerce-cart #kami-progress-bar {
  display: none !important;
}

.ee-aov-progress {
  width: 100%;
  margin: 0 0 28px;
  padding: 22px;
  border: 1px solid #d8dee8;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  color: var(--ee-ui-navy);
}

.woocommerce-checkout > .ee-aov-progress,
.woocommerce-checkout .ee-aov-progress {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.ee-aov-progress-heading,
.ee-aov-progress-items,
.ee-aov-progress-item {
  display: flex;
}

.ee-aov-progress-heading {
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.ee-aov-progress-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--ee-ui-gold-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ee-aov-progress h2 {
  margin: 0 !important;
  color: var(--ee-ui-navy) !important;
  font-size: clamp(20px, 2vw, 26px) !important;
  line-height: 1.2 !important;
}

.ee-aov-progress-total {
  color: #475569;
  font-size: 14px;
  white-space: nowrap;
}

.ee-aov-progress-items {
  gap: 14px;
}

.ee-aov-progress-item {
  flex: 1 1 0;
  min-width: 0;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.ee-aov-progress-icon {
  display: inline-flex;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-weight: 900;
}

.ee-aov-progress-item.is-complete .ee-aov-progress-icon {
  background: #dcfce7;
  color: #166534;
}

.ee-aov-progress-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.ee-aov-progress-copy > strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ee-ui-navy);
  font-size: 16px;
}

.ee-aov-progress-copy p {
  min-height: 2.8em;
  margin: 0 0 10px !important;
  color: #334155;
  font-size: 14px;
  line-height: 1.4;
}

.ee-aov-progress-copy small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}

.ee-aov-meter {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.ee-aov-meter > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #c99434;
  transition: width 220ms ease;
}

.ee-aov-progress-item.is-complete .ee-aov-meter > span {
  background: #15803d;
}

/* Compact reward progress inside the desktop/header mini-cart fragment. The
   same PHP subtotal and threshold calculations power the full cart panel. */
.ee-aov-progress--mini {
  flex: 0 0 auto;
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: none;
}

.ee-aov-progress--mini .ee-aov-mini-heading,
.ee-aov-progress--mini .ee-aov-mini-reward-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.ee-aov-progress--mini .ee-aov-mini-heading {
  margin-bottom: 10px;
}

.ee-aov-progress--mini .ee-aov-mini-heading > strong {
  color: var(--ee-ui-navy);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ee-aov-progress--mini .ee-aov-mini-heading > span,
.ee-aov-progress--mini .ee-aov-mini-reward-heading small {
  color: #64748b;
  font-size: 11px;
  white-space: nowrap;
}

.ee-aov-progress--mini .ee-aov-mini-reward + .ee-aov-mini-reward {
  margin-top: 12px;
}

.ee-aov-progress--mini .ee-aov-mini-reward-heading > strong {
  color: var(--ee-ui-navy);
  font-size: 13px;
  line-height: 1.3;
}

.ee-aov-progress--mini .ee-aov-mini-reward p {
  min-height: 0;
  margin: 3px 0 7px !important;
  color: #334155;
  font-size: 12px;
  line-height: 1.35;
}

.ee-aov-progress--mini .ee-aov-meter {
  height: 6px;
}

.ee-aov-progress--mini .ee-aov-mini-reward.is-complete .ee-aov-meter > span {
  background: #15803d;
}

/* Keep express footer consent clear without requiring a redundant checkbox.
   JavaScript adds this class only after preserving the submitted consent value. */
.ee-klaviyo-signup--footer .ee-klaviyo-form.ee-klaviyo-consent-simplified .ee-klaviyo-consent-copy {
  max-width: 430px;
  margin-top: 10px;
  color: #cbd5e1;
  font-size: 12px !important;
  line-height: 1.5;
}

.ee-klaviyo-signup--footer .ee-klaviyo-form.ee-klaviyo-consent-simplified .ee-klaviyo-consent-label,
.ee-klaviyo-signup--footer .ee-klaviyo-form.ee-klaviyo-consent-simplified .ee-klaviyo-privacy {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.ee-klaviyo-signup--footer .ee-klaviyo-form.ee-klaviyo-consent-simplified .ee-klaviyo-privacy::before {
  content: ' ';
}

.ee-klaviyo-signup--footer .ee-klaviyo-form.ee-klaviyo-consent-simplified .ee-klaviyo-privacy a {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Shop filter drawer controls are mobile-only. */
.ee-shop-filter-toggle,
.ee-shop-filter-overlay,
.ee-filter-drawer-head {
  display: none !important;
}

/* Stable product-card rhythm. */
.woocommerce-shop .elementor-loop-container .wd-product,
.woocommerce-shop .elementor-loop-container .e-loop-item {
  min-width: 0;
}

.woocommerce-shop .wd-product .product-image-link img,
.woocommerce-shop .elementor-loop-container img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.woocommerce-shop .wd-product .wd-add-btn a,
.woocommerce-shop .elementor-loop-container .button,
.woocommerce-shop .elementor-loop-container .elementor-button,
.woocommerce-shop .elementor-element-2a7aa2f > .elementor-widget-container > .elementor-button-wrapper .elementor-button {
  min-height: 44px !important;
}

@media (max-width: 1024px) {
  .single-product .elementor-element-53fba09 {
    padding: 12px !important;
    border-radius: 12px !important;
  }

  .single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-height: 56vh !important;
    object-fit: contain !important;
  }

  .single-product .wd-gallery-thumb {
    margin-top: 8px !important;
  }

  .single-product .wd-gallery-thumb .wd-carousel-item,
  .single-product .wd-gallery-thumb img {
    max-height: 64px !important;
  }
}

@media (max-width: 767px) {
  body.ee-shop-filter-open {
    overflow: hidden;
  }

  .ee-aov-progress {
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 12px;
  }

  .ee-aov-progress-heading {
    display: block;
    margin-bottom: 14px;
  }

  .ee-aov-progress-total {
    display: block;
    margin-top: 6px;
    white-space: normal;
  }

  .ee-aov-progress-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ee-aov-progress-item {
    padding: 14px;
  }

  .ee-aov-progress-copy p {
    min-height: 0;
  }

  .ee-shop-filter-toggle {
    display: inline-flex !important;
    width: 100%;
    min-height: 48px !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 16px;
    border: 1px solid var(--ee-ui-navy);
    border-radius: 8px;
    background: var(--ee-ui-navy) !important;
    color: #ffffff !important;
    font-weight: 700;
  }

  .ee-shop-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 9991;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 23, 42, 0.48);
  }

  .ee-shop-filter-open .ee-shop-filter-overlay {
    display: block !important;
  }

  .woocommerce-shop .elementor-element-7e77d5b {
    display: block !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9992;
    width: min(90vw, 380px);
    max-width: 100%;
    padding: 18px !important;
    overflow-y: auto;
    background: var(--ee-ui-surface);
    box-shadow: var(--ee-ui-shadow);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .woocommerce-shop.ee-shop-filter-open .elementor-element-7e77d5b {
    transform: translateX(0);
    visibility: visible;
  }

  .ee-filter-drawer-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ee-ui-border);
  }

  .ee-filter-drawer-head strong {
    color: var(--ee-ui-navy);
    font-size: 18px;
  }

  .ee-filter-drawer-close {
    min-width: 44px;
    min-height: 44px !important;
    border: 1px solid var(--ee-ui-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--ee-ui-navy);
    font-size: 24px;
    line-height: 1;
  }

  .woocommerce-shop .woolentor-horizontal-filter-wrap,
  .woocommerce-shop .woolentor-filter-field-area {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .woocommerce-shop .elementor-loop-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
  }

  .woocommerce-shop .wd-product .wd-entities-title a {
    min-height: 4.4em !important;
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .woocommerce-shop .elementor-element-b93e1b4 .elementor-heading-title {
    min-height: 4.05em !important;
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px !important;
    line-height: 1.35 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .main-product,
  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .main-product > .e-con-inner,
  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .elementor-element-ec7e438 {
    min-height: 0 !important;
    height: auto !important;
  }

  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .elementor-element-47ea8d0 {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }

  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .p-image,
  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .p-image > .elementor-widget-container {
    display: flex !important;
    width: 100%;
    min-height: 0 !important;
    height: 100% !important;
    align-items: center;
    justify-content: center;
  }

  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .p-image img {
    width: 100% !important;
    height: 100% !important;
    padding: 10px;
    object-fit: contain !important;
  }

  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .elementor-element-8d0f1de {
    display: none !important;
  }

  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .elementor-element-5a65708,
  .woocommerce-shop .elementor-element-2a7aa2f .e-loop-item .elementor-element-5a65708 .elementor-heading-title {
    min-height: 2.5em !important;
    height: auto !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .woocommerce-shop .wd-product .wd-add-btn a,
  .woocommerce-shop .elementor-loop-container .button,
  .woocommerce-shop .elementor-loop-container .elementor-button {
    width: 100%;
    padding-inline: 8px !important;
  }

  .single-product .elementor-element-38006d3 {
    padding: 14px 12px 0 !important;
  }

  .single-product .woocommerce-product-gallery__image {
    height: clamp(210px, 58vw, 240px) !important;
    overflow: hidden;
  }

  .single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    max-height: clamp(210px, 58vw, 240px) !important;
    object-fit: contain !important;
  }

  /* Preserve the square source ratio in WoodMart's thumbnail carousel. The
     earlier shared max-height compressed each image box while its carousel
     width remained unchanged, making bottles appear short and wide. */
  .single-product .wd-gallery-thumb {
    max-height: none !important;
  }

  .single-product .wd-gallery-thumb .wd-carousel-item {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
  }

  .single-product .wd-gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
  }

  .single-product .mb-offers-wrap {
    padding: 8px !important;
  }

  .single-product .mb-offer-grid {
    gap: 10px !important;
  }

  .single-product .mb-offer-box {
    padding: 11px !important;
  }

  .ee-has-bundle-offers .wd-sticky-btn-thumbnail,
  .ee-has-bundle-offers .wd-sticky-btn-info,
  .ee-has-bundle-offers .wd-sticky-btn .price {
    display: none !important;
  }

  .ee-has-bundle-offers .wd-sticky-btn-cart,
  .ee-has-bundle-offers .wd-sticky-btn form.cart {
    width: 100%;
  }

  .woocommerce-cart {
    padding-bottom: 92px;
  }

  .woocommerce-cart .wc-proceed-to-checkout {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 990;
    margin: 0 !important;
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    border-top: 1px solid var(--ee-ui-border);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
  }

  .woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    min-height: 48px;
    margin: 0 !important;
  }

  a.scrollToTop {
    right: 16px !important;
    bottom: 104px !important;
  }

  /* The product header remains fixed; remove the redundant control where it
     can cover the full-width purchase actions. */
  .single-product a.scrollToTop {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .woocommerce-shop .elementor-loop-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .woocommerce-shop .elementor-element-7e77d5b,
  .wd-sticky-btn {
    transition: none !important;
  }
}
