/*
 * Button Icon Style
*/
.ct-e-button .elementor-button-icon {
	font-size: 10px;
	line-height: 1em;
	align-self: center;
}

/*
 * Home Page Advanced CSS Grid
*/
@media (min-width: 1000px) {
.ct-home-cta-grid .e-con-inner div:first-child {
	grid-area: 1 / 1 / 2 / 3;
}
.ct-home-cta-grid .e-con-inner div:nth-child(2) {
	grid-area: 1 / 3 / 3 / 5;
}
.ct-home-cta-grid .e-con-inner div:nth-child(3) {
	grid-area: 2 / 1 / 3 / 2;
}
.ct-home-cta-grid .e-con-inner div:nth-child(4) {
	grid-area: 2 / 2 / 3 / 4;
}
}

/* Newsletter shortcode */
.ct-newsletter-subscribe-shortcode {
	--theme-form-text-initial-color: #ffffff8a;
  --theme-form-text-focus-color: var(--wp--preset--color--white);
  --theme-form-field-border-initial-color: #ffffff1f;
  --theme-form-field-background-initial-color: #ffffff00;
  --theme-form-field-background-focus-color: #ffffff00;
}

/* Footer menu */
.ct-footer-menu ul {
	gap: 1rem;
	justify-content: space-between;
}



/* WooCommerce archive product images 1:1 contain, not cropped */
.woocommerce.archive ul.products li.product .ct-media-container,
.woocommerce-page.archive ul.products li.product .ct-media-container {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #fff !important;
}

.woocommerce.archive ul.products li.product .ct-media-container img,
.woocommerce-page.archive ul.products li.product .ct-media-container img,
.woocommerce.archive ul.products li.product img.ct-swap,
.woocommerce-page.archive ul.products li.product img.ct-swap {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}


/* Product title desktop: 1 line with dots, no overlap */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.35 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title a {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
}

/* Stop product card text from going outside column */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  overflow: hidden !important;
  min-width: 0 !important;
}

.woocommerce ul.products li.product *,
.woocommerce-page ul.products li.product * {
  box-sizing: border-box !important;
  min-width: 0;
}

/* Mobile: 2 lines with dots */
@media (max-width: 767px) {
  .woocommerce ul.products li.product .woocommerce-loop-product__title a,
  .woocommerce-page ul.products li.product .woocommerce-loop-product__title a {
    display: -webkit-box !important;
    white-space: normal !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.35 !important;
    min-height: 2.7em !important;
  }
}

.summary.entry-summary.entry-summary-items {
    background: white;
    padding: 18px;
}

/* Product summary vertical info boxes */
.single-product .v4s-summary-info-boxes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 25px 0;
}

/* Common box styling */
.single-product .v4s-info-box {
  width: 100%;
  padding: 38px 34px;
  border-radius: 3px;
  text-align: center;
  box-sizing: border-box;
}

/* Box headings */
.single-product .v4s-info-box h3,
.single-product .v4s-info-box h4,
.single-product .v4s-info-box h5,
.single-product .v4s-info-box h6 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 400;
}

/* Box paragraph */
.single-product .v4s-info-box p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
}

/* Payment & Security box */
.single-product .v4s-info-box-light {
  background: #f7f4f2 !important;
  color: #000000 !important;
}

.single-product .v4s-info-box-light h3,
.single-product .v4s-info-box-light h4,
.single-product .v4s-info-box-light h5,
.single-product .v4s-info-box-light h6,
.single-product .v4s-info-box-light p,
.single-product .v4s-info-box-light strong {
  color: #000000 !important;
}

/* Shipping Restrictions black box */
.single-product .v4s-info-box-dark {
  background: #000000 !important;
  color: #ffffff !important;
}

.single-product .v4s-info-box-dark h3,
.single-product .v4s-info-box-dark h4,
.single-product .v4s-info-box-dark h5,
.single-product .v4s-info-box-dark h6,
.single-product .v4s-info-box-dark p,
.single-product .v4s-info-box-dark strong {
  color: #ffffff !important;
}

/* Mobile */
@media (max-width: 767px) {
  .single-product .v4s-summary-info-boxes {
    gap: 14px;
    margin: 20px 0;
  }

  .single-product .v4s-info-box {
    padding: 28px 18px;
  }

  .single-product .v4s-info-box h3,
  .single-product .v4s-info-box h4,
  .single-product .v4s-info-box h5,
  .single-product .v4s-info-box h6 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .single-product .v4s-info-box p {
    font-size: 15px;
    line-height: 1.7;
  }
}
/* Hide only in-stock message */
.single-product p.stock.in-stock {
  display: none !important;
}


/* Desktop: product title 1 line with ... */
[data-products] .product .woocommerce-loop-product__title,
.products .product .woocommerce-loop-product__title {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

[data-products] .product .woocommerce-loop-product__title a,
.products .product .woocommerce-loop-product__title a {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  word-break: normal !important;
}

/* Prevent title from going outside product card */
[data-products] .product,
.products .product {
  min-width: 0 !important;
  overflow: hidden !important;
}

[data-products] .product *,
.products .product * {
  box-sizing: border-box !important;
}

/* Mobile: product title 2 lines with ... */
@media (max-width: 767px) {
  [data-products] .product .woocommerce-loop-product__title a,
  .products .product .woocommerce-loop-product__title a {
    display: -webkit-box !important;
    white-space: normal !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.35 !important;
    min-height: 2.7em !important;
  }
}


/* Payment method styling */

.woocommerce-checkout #payment ul.payment_methods > li {
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #ffffff;
    overflow: hidden;
}

.woocommerce-checkout #payment ul.payment_methods > li > label {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

/* Clean, clearly visible radio buttons */

.woocommerce-checkout #payment ul.payment_methods input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0 10px 0 0;
    border: 2px solid #777777;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    position: relative;
}

.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:checked {
    border-color: #e60012;
}

.woocommerce-checkout #payment ul.payment_methods input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: #e60012;
}