/* === EP Shop Cards (override WC native) === */
.woocommerce ul.products, .woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
@media (max-width: 990px){ .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 540px){ .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: 1fr !important; } }

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid #DDDDDD !important;
  border-radius: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transition: transform .3s, box-shadow .3s !important;
  position: relative !important;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  flex-direction: column !important;
}

.woocommerce ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  background: #F4F4F4 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: block !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product h3.woocommerce-loop-product__title {
  font-family: "Arial Black", Arial, sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
  color: #0A0A0A !important;
  margin: 16px 16px 8px !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.woocommerce ul.products li.product .price, .woocommerce ul.products li.product span.price {
  font-family: "Arial Black", Arial !important;
  font-weight: 900 !important;
  font-size: 20px !important;
  color: #0A0A0A !important;
  margin: 0 16px 8px !important;
  letter-spacing: -0.01em !important;
  display: block !important;
}
.woocommerce ul.products li.product .price ins { text-decoration: none !important; background: transparent !important; color: #0A0A0A !important; }
.woocommerce ul.products li.product .price del { color: #888 !important; font-size: 14px !important; font-family: ui-monospace, monospace !important; margin-right: 8px !important; font-weight: 400 !important; }
.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
  font-size: 11px !important; color: #888 !important; font-family: ui-monospace, monospace !important; margin-left: 4px !important; font-weight: 400 !important;
}

.woocommerce ul.products li.product .star-rating {
  color: #F5C800 !important; margin: 0 16px 8px !important; font-size: 13px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
  background: #0A0A0A !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  font-family: "Arial Black", Arial !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-size: 11px !important;
  padding: 12px 16px !important;
  margin: auto 16px 16px !important;
  display: block !important;
  text-align: center !important;
  border: none !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  transition: all .2s !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
  background: #F5C800 !important; color: #0A0A0A !important;
}

.woocommerce span.onsale, .woocommerce ul.products li.product .onsale {
  background: #F5C800 !important;
  color: #0A0A0A !important;
  border-radius: 0 !important;
  font-family: "Arial Black", Arial !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 6px 10px !important;
  top: 12px !important; left: 12px !important; right: auto !important;
  min-height: auto !important; min-width: auto !important; line-height: 1 !important;
  position: absolute !important;
  z-index: 2 !important;
}

.woocommerce ul.products li.product a, .woocommerce ul.products li.product .woocommerce-loop-product__link {
  color: #0A0A0A !important;
}

/* Categories filter bar */
.ep-cats-bar { overflow-x: auto; scrollbar-width: none; }
.ep-cats-bar::-webkit-scrollbar { display: none; }

/* WC ordering */
.woocommerce .woocommerce-ordering select {
  border: 1px solid #DDDDDD !important; border-radius: 0 !important;
  font-family: "Arial Black", Arial !important;
  font-size: 11px !important; text-transform: uppercase !important;
  letter-spacing: 0.08em !important; padding: 10px 32px 10px 12px !important;
  background-color: #FFFFFF !important;
}

/* WC pagination */
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
  font-family: "Arial Black", Arial !important; border-radius: 0 !important;
  background: #FFFFFF !important; color: #0A0A0A !important; border: 1px solid #DDDDDD !important;
  padding: 12px 18px !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: #0A0A0A !important; color: #F5C800 !important; border-color: #0A0A0A !important; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: #F5C800 !important; color: #0A0A0A !important; border-color: #F5C800 !important; }

/* === EP Newsletter Form (fix layout cramped) === */
.elementor-widget-form .elementor-form {
  max-width: 600px !important;
  margin: 0 auto !important;
}

/* Hide all field labels (the form should be label-less inline) */
.elementor-widget-form .elementor-field-group label.elementor-field-label {
  display: none !important;
}

/* Email field : large enough */
.elementor-widget-form .elementor-field-type-email,
.elementor-widget-form .elementor-field-group-email {
  flex: 1 1 60% !important;
  max-width: 60% !important;
  width: 60% !important;
}
.elementor-widget-form input[type="email"] {
  width: 100% !important;
  padding: 18px 20px !important;
  font-family: Arial !important;
  font-size: 15px !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 0 !important;
  background: #FFFFFF !important;
  color: #0A0A0A !important;
  height: auto !important;
}

/* Button : 40% width, single line text */
.elementor-widget-form .elementor-field-type-submit,
.elementor-widget-form .e-form__buttons {
  flex: 0 0 40% !important;
  max-width: 40% !important;
  width: 40% !important;
}
.elementor-widget-form .elementor-button {
  width: 100% !important;
  background: #F5C800 !important;
  color: #0A0A0A !important;
  border-radius: 0 !important;
  font-family: "Arial Black", Arial !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 13px !important;
  padding: 18px 16px !important;
  white-space: nowrap !important;
  border: none !important;
  cursor: pointer !important;
  transition: background .2s !important;
}
.elementor-widget-form .elementor-button:hover {
  background: #FFD83A !important;
}

/* Form row gap */
.elementor-widget-form .elementor-form-fields-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  align-items: stretch !important;
}

@media (max-width: 540px) {
  .elementor-widget-form .elementor-field-type-email,
  .elementor-widget-form .elementor-field-group-email { flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important; }
  .elementor-widget-form .elementor-field-type-submit,
  .elementor-widget-form .e-form__buttons { flex: 1 1 100% !important; max-width: 100% !important; width: 100% !important; }
  .elementor-widget-form .elementor-form-fields-wrapper { flex-wrap: wrap !important; }
}
