


.ae-sale-banner .wc-block-product-template__responsive {
  gap: var(--wp--preset--spacing--md);
}

.ae-sale-banner .wc-block-product {
  background: var(--wp--preset--color--base);
  border: 1px solid rgba(26,26,26,.08);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
  padding: 1rem;
}

.ae-sale-banner .wc-block-product .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

.ae-sale-banner .wc-block-product .wp-block-post-title a:hover,
.ae-sale-banner .wc-block-product .wp-block-post-title a:focus-visible {
  color: var(--wp--preset--color--sale);
}



.wc-block-components-product-sale-badge {
  font-family: var(--wp--preset--font-family--body);
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .625rem;
  background: var(--wp--preset--color--sale);
  color: #fff;
  border-radius: 0;
}


.ae-low-stock-badge {
  position: absolute;
  inset-block-start: .5rem;
  inset-inline-start: .5rem;
  z-index: 3;
  font-family: var(--wp--preset--font-family--body);
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .25rem .625rem;
  background: var(--wp--preset--color--accent);
  color: var(--wp--preset--color--contrast);
  border-radius: 0;
}

.ae-low-stock-notice {
  animation: ae-pulse 2s ease-in-out infinite;
}

@keyframes ae-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}


.woocommerce ul.products li.product,
.wc-block-product {
  transition: transform .3s, box-shadow .3s;
}

.woocommerce ul.products li.product:hover,
.wc-block-product:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.woocommerce ul.products li.product a img,
.wc-block-product-image img {
  transition: transform .3s ease;
}


.ae-img-fallback {
  object-fit: cover;
  opacity: .5;
}


.wc-block-components-product-image img,
.wp-block-woocommerce-product-image img {
  position: relative;
}
.wc-block-components-product-image img::after,
.wp-block-woocommerce-product-image img::after {
  content: '🌿';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--wp--preset--color--subtle, #EFEBE6);
  color: var(--wp--preset--color--border, #D4CEC7);
}

.woocommerce ul.products li.product:hover a img,
.wc-block-product:hover .wc-block-product-image img {
  transform: scale(1.03);
}


.woocommerce ul.products li.product .button,
.wc-block-components-product-button .wp-block-button__link {
  opacity: 1;
  transform: none;
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.6rem 0.75rem !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: background .2s, transform .15s;
}

.woocommerce ul.products li.product .button:hover,
.wc-block-components-product-button .wp-block-button__link:hover {
  background: var(--wp--preset--color--contrast) !important;
  transform: translateY(-1px);
}


.woocommerce ul.products li.product .button::before,
.wc-block-components-product-button .wp-block-button__link::before {
  content: '';
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.woocommerce ul.products li.product .button.is-added,
.wc-block-components-product-button .wp-block-button__link.is-added,
.single_add_to_cart_button.is-added {
  background: var(--wp--preset--color--success) !important;
  border-color: var(--wp--preset--color--success) !important;
  color: var(--wp--preset--color--surface) !important;
  pointer-events: none;
}
.woocommerce ul.products li.product .button.is-added::before,
.wc-block-components-product-button .wp-block-button__link.is-added::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}



.wc-block-product .wc-block-components-product-image,
.wc-block-product .wc-block-product-image {
  overflow: hidden;
}


.wc-block-product .wc-block-components-product-image::after,
.wc-block-product .wc-block-product-image::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 50%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55) 0%,    
    rgba(0,0,0,.18) 60%,   
    transparent 100%        
  );
  z-index: 2;              
  pointer-events: none;    
  opacity: 0;
  transform: translateY(100%);  
  transition: opacity .3s ease, transform .3s ease;
}


.quick-view-trigger {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 3;              
  width: 100%;
  padding: 0.85rem 0.75rem 0.65rem;  
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);   
  transition: opacity .3s ease, transform .3s ease;
}


.wc-block-product:hover .wc-block-components-product-image::after,
.wc-block-product:hover .wc-block-product-image::after {
  opacity: 1;
  transform: translateY(0);
}

.wc-block-product:hover .quick-view-trigger {
  opacity: 1;
  transform: translateY(0);
}


.ae-qv-touched .wc-block-components-product-image::after,
.ae-qv-touched .wc-block-product-image::after {
  opacity: 1;
  transform: translateY(0);
}
.ae-qv-touched .quick-view-trigger {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 781px) {
  .quick-view-trigger {
    display: none !important;
  }

  
  .wc-block-product:hover .wc-block-components-product-image::after,
  .wc-block-product:hover .wc-block-product-image::after,
  .ae-qv-touched .wc-block-components-product-image::after,
  .ae-qv-touched .wc-block-product-image::after {
    opacity: 0;
    transform: translateY(100%);
  }
}


.ae-quickview {
  display: flex;
  gap: var(--wp--preset--spacing--xl);
  max-width: 860px;
  max-height: calc(100vh - 6rem);
  overflow: hidden;
}

.ae-quickview__image {
  flex: 0 0 50%;
  max-width: 50%;
  background: var(--wp--preset--color--subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ae-quickview__img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
}

.ae-quickview__info {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: var(--wp--preset--spacing--md) var(--wp--preset--spacing--md) var(--wp--preset--spacing--md) 0;
}

.ae-quickview__title {
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--2-xl);
  font-weight: 400;
  margin: 0 0 var(--wp--preset--spacing--sm);
  line-height: 1.2;
}

.ae-quickview__price {
  font-size: var(--wp--preset--font-size--lg);
  font-weight: 600;
  margin-bottom: var(--wp--preset--spacing--md);
}

.ae-quickview__excerpt {
  font-size: var(--wp--preset--font-size--sm);
  line-height: 1.7;
  color: var(--wp--preset--color--secondary);
  margin-bottom: var(--wp--preset--spacing--md);
}

.ae-quickview__excerpt p { margin: 0 0 var(--wp--preset--spacing--sm); }


.ae-buy-now-wrap {
  margin-top: var(--wp--preset--spacing--sm);
}
.ae-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.6rem 1.25rem;
  background: transparent;
  color: var(--wp--preset--color--primary);
  border: 2px solid var(--wp--preset--color--primary);
  border-radius: 8px;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.ae-buy-now:hover,
.ae-buy-now:focus-visible {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--surface);
  transform: translateY(-1px);
}
.ae-buy-now:focus-visible {
  outline: 2px solid var(--wp--preset--color--primary);
  outline-offset: 2px;
}

.ae-buy-now.is-loading {
  opacity: .65;
  pointer-events: none;
}

.ae-buy-now:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.ae-buy-now svg {
  flex-shrink: 0;
  transition: transform .2s;
}
.ae-buy-now:hover svg {
  transform: translateX(2px);
}


.ae-fbt {
  margin: var(--wp--preset--spacing--2xl) 0;
  padding: var(--wp--preset--spacing--lg);
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border);
}
.ae-fbt__heading {
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--xl);
  font-weight: 400;
  margin: 0 0 0.25rem;
}
.ae-fbt__subheading {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--secondary);
  margin: 0 0 var(--wp--preset--spacing--md);
}

.ae-fbt__products {
  display: flex;
  gap: var(--wp--preset--spacing--md);
  align-items: flex-start;
  flex-wrap: wrap;
}

.ae-fbt__card {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--sm);
  flex: 1 1 0;
  min-width: 200px;
  padding: var(--wp--preset--spacing--sm);
  border: 1px solid var(--wp--preset--color--border);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  overflow: hidden;      
}
.ae-fbt__card:hover {
  border-color: var(--wp--preset--color--primary);
  background: var(--wp--preset--color--subtle);
}
.ae-fbt__card--main {
  border-color: var(--wp--preset--color--primary);
  background: var(--wp--preset--color--subtle);
  cursor: default;
}

.ae-fbt__checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--wp--preset--color--primary);
  flex-shrink: 0;
  cursor: pointer;
}

.ae-fbt__img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--wp--preset--color--subtle);
}
.ae-fbt__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ae-fbt__info {
  min-width: 0;
  flex: 1;
}
.ae-fbt__title {
  display: block;
  font-family: var(--wp--preset--font-family--heading);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--wp--preset--color--contrast);
  text-decoration: none;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  overflow-wrap: break-word;
  word-break: break-word;
}
.ae-fbt__title:hover {
  color: var(--wp--preset--color--primary);
}
.ae-fbt__price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
}

.ae-fbt__card + .ae-fbt__card::before {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--wp--preset--color--secondary);
  margin-right: var(--wp--preset--spacing--sm);
  flex-shrink: 0;
  align-self: center;
}

.ae-fbt__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--md);
  margin-top: var(--wp--preset--spacing--md);
  padding-top: var(--wp--preset--spacing--md);
  border-top: 1px solid var(--wp--preset--color--border);
}
.ae-fbt__total {
  display: flex;
  align-items: baseline;
  gap: var(--wp--preset--spacing--xs);
}
.ae-fbt__total-label {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--secondary);
}
.ae-fbt__total-price {
  font-size: var(--wp--preset--font-size--xl);
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
}

.ae-fbt__add-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--primary);
  border-radius: 8px;
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  flex-shrink: 0;
}
.ae-fbt__add-all:hover {
  background: var(--wp--preset--color--contrast);
  border-color: var(--wp--preset--color--contrast);
  transform: translateY(-1px);
}
.ae-fbt__add-all.is-loading {
  opacity: .65;
  pointer-events: none;
}
.ae-fbt__add-all.is-added {
  background: var(--wp--preset--color--success) !important;
  border-color: var(--wp--preset--color--success) !important;
}
.ae-fbt__add-all svg {
  flex-shrink: 0;
}

@media (max-width: 781px) {
  .ae-fbt__products {
    flex-direction: column;
    flex-wrap: nowrap;       
  }
  .ae-fbt__card {
    flex: none;              
    min-width: 0;
    width: 100%;
  }
  .ae-fbt__card + .ae-fbt__card::before {
    display: none;
  }
  .ae-fbt__footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

.ae-quickview__actions {
  margin-bottom: var(--wp--preset--spacing--md);
}


.ae-quickview__actions form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--sm);
  align-items: center;
}


.ae-quickview__actions .quantity {
  display: flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  align-items: center;
}

.ae-quickview__actions .quantity input {
  width: 60px;
  height: 40px;
  text-align: center;
  border: 1px solid var(--wp--preset--color--border);
}


.ae-quickview__actions .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto !important;
  width: auto !important;
  font-family: var(--wp--preset--font-family--body) !important;
  font-size: var(--wp--preset--font-size--sm) !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: .05em !important;
  background: var(--wp--preset--color--primary) !important;
  color: var(--wp--preset--color--surface) !important;
  border-radius: 8px !important;
  padding: .5rem 1rem !important;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.ae-quickview__actions .single_add_to_cart_button:hover {
  background: var(--wp--preset--color--contrast) !important;
  transform: translateY(-1px);
}

.ae-quickview__actions .single_add_to_cart_button::before {
  content: '';
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


.wc-block-add-to-cart-form .single_add_to_cart_button,
.wc-block-add-to-cart-form .wp-block-button__link,
.woocommerce div.product .single_add_to_cart_button {
  border-radius: 8px !important;
  transition: background .25s, color .25s, border-color .25s;
}


.woocommerce table.variations td select,
.ae-quickview__actions .variations select {
  font-family: var(--wp--preset--font-family--body) !important;
  font-size: var(--wp--preset--font-size--sm) !important;
  font-weight: 500 !important;
  color: var(--wp--preset--color--contrast) !important;
  background-color: var(--wp--preset--color--surface) !important;
  border: 1px solid var(--wp--preset--color--border) !important;
  border-radius: 0 !important;
  height: auto !important;
  padding: 0.5rem 2.2rem 0.5rem 0.75rem !important;
  min-width: 0;
  max-width: 100%;
  display: inline-block;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A7D5C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.6rem center !important;
  background-size: 16px !important;
  transition: border-color .15s;
}
.woocommerce table.variations td select:hover,
.ae-quickview__actions .variations select:hover {
  border-color: var(--wp--preset--color--secondary) !important;
}
.woocommerce table.variations td select:focus,
.ae-quickview__actions .variations select:focus {
  border-color: var(--wp--preset--color--primary) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(43, 77, 59, 0.15);
}


.ae-quickview__actions .variations {
  display: block !important;
  width: 100%;
}
.ae-quickview__actions .variations tbody,
.ae-quickview__actions .variations tr {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--xs);
  align-items: center;
}
.ae-quickview__actions .variations th,
.ae-quickview__actions .variations td {
  display: contents;
}
.ae-quickview__actions .variations label {
  font-size: 0.75rem;
  color: var(--wp--preset--color--secondary);
  white-space: nowrap;
}
.ae-quickview__actions .variations select {
  min-width: 0;
  flex: 1;
}
.ae-quickview__actions .reset_variations {
  display: none;
}
.ae-quickview__actions .single_variation_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--sm);
  align-items: center;
  width: 100%;
  margin-top: var(--wp--preset--spacing--xs);
}
.ae-quickview__actions .woocommerce-variation-add-to-cart {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--sm);
  align-items: center;
}
.ae-quickview__actions .variation_id,
.ae-quickview__actions [type="hidden"] {
  display: none;
}

.ae-quickview__full-link {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--wp--preset--color--secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-top: var(--wp--preset--spacing--sm);
}
.ae-quickview__full-link:hover {
  color: var(--wp--preset--color--primary);
}


.ae-quickview__return-policy {
  color: var(--wp--preset--color--secondary);
  font-size: 0.8125rem;
  margin: var(--wp--preset--spacing--sm) 0 0;
}
.ae-quickview__return-policy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ae-quickview__return-policy a:hover {
  color: var(--wp--preset--color--primary);
}
.ae-quickview__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--sm);
  margin-top: var(--wp--preset--spacing--sm);
}
.ae-quickview__trust .ae-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6875rem;
  color: var(--wp--preset--color--secondary);
  line-height: 1;
}


.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin: 0 0 var(--wp--preset--spacing--lg);
  border-bottom: 1px solid var(--wp--preset--color--border);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: var(--wp--preset--spacing--xs) var(--wp--preset--spacing--sm);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wp--preset--color--secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--wp--preset--color--primary);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--wp--preset--color--primary);
  border-bottom-color: var(--wp--preset--color--primary);
}
.woocommerce div.product .woocommerce-tabs .panel {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: var(--wp--preset--spacing--md) 0;
}


.ae-quickview-loading .ae-quickview {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.ae-lightbox-frame:has(.ae-quickview) {
  padding: 0;
}

@media (max-width: 781px) {
  .ae-quickview {
    flex-direction: column;
  }
  .ae-quickview__image {
    flex: auto;
    max-width: 100%;
    max-height: 50vh;
  }
  .ae-quickview__img {
    max-height: 50vh;
  }
  .ae-quickview__info {
    padding: var(--wp--preset--spacing--md);
  }
}

.sticky-add-to-cart {
  z-index: 90;
  transform: translateY(100%);
  transition: transform .25s;
}
.sticky-add-to-cart.is-visible { transform: translateY(0); }

@media (min-width: 782px) {
  .wc-block-product {
    padding: 0.75rem;
  }

  .wc-block-product .wp-block-post-title {
    font-size: var(--wp--preset--font-size--lg);
  }
}

@media (max-width: 781px) {
  .wc-block-product {
    padding: 0.5rem;
  }

  
  .wc-block-product .wp-block-post-title,
  .wc-block-product .wp-block-post-title a {
    font-size: 0.8125rem;        
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0;
    margin-block: 0.25rem 0.125rem;
    overflow-wrap: anywhere;
    hyphens: auto;
    -webkit-hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  
  .wc-block-product .wp-block-woocommerce-product-price,
  .wc-block-product .wc-block-components-product-price,
  .wc-block-product .wc-block-components-product-price .wc-block-components-product-price__value,
  .wc-block-product .wc-block-components-product-price ins,
  .wc-block-product .wc-block-components-product-price del {
    font-size: 0.75rem;         
    line-height: 1.4;
    margin-block: 0.125rem;
  }

  
  .wc-block-product .wc-block-product-image,
  .wc-block-product .wp-block-woocommerce-product-image {
    margin-block-end: 0.25rem;
  }
}


@media (min-width: 960px) {
  .wp-block-columns .wp-block-woocommerce-product-image-gallery {
    max-width: 560px;
    margin-inline: auto;
  }

  .wp-block-columns .wc-block-add-to-cart-form {
    max-width: 400px;
  }
}

.mega-menu-panel {
  position: absolute;
  inset-block-start: 100%;
  inset-inline: 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.has-mega-submenu:hover .mega-menu-panel,
.has-mega-submenu:focus-within .mega-menu-panel {
  opacity: 1;
  visibility: visible;
}
.mega-menu-panel a { text-decoration: none; }
.mega-menu-panel a:hover { color: var(--wp--preset--color--accent); }


.cmplz-placeholder-element { border-radius: 0; }

.ae-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.2);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  cursor: pointer;
}
.ae-lightbox.is-open { opacity: 1; visibility: visible; }

.ae-lightbox-frame {
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 8px;
  padding: 1.25rem;
  cursor: default;
  box-shadow: 0 4px 32px rgba(0,0,0,.12);
  max-width: calc(100vw - 4rem);
  max-height: calc(100vh - 4rem);
}

.ae-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
}

.ae-lightbox-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #333;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.ae-lightbox-close:hover { background: #f0f0f0; }

[data-theme="dark"] .ae-lightbox-frame { background: #1E1E1A; border-color: #3A3A34; }
[data-theme="dark"] .ae-lightbox-close { background: #1E1E1A; border-color: #3A3A34; color: #ccc; }
[data-theme="dark"] .ae-lightbox-close:hover { background: #262622; }
