.ast-separate-container {
  background: none !important;
}
.elementor-widget-share-buttons .elementor-grid-item {
  margin-right: 1rem;
}

@media (max-width: 768px) {
  .lnm-web-donation-form-wrapper {
    padding: 10px 0 !important;
    width: calc(100vw - 70px) !important;
    max-width: none !important;
  }
}
.woocommerce-js a.button.wc-forward {
  background-color: var(--ast-global-color-1) !important;
}

.image-crop {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.image-crop img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  border-radius: 10px !important;
}
@media (max-width: 1023px) {
  .image-crop img {
    max-height: 460px;
  }
  .image-crop {
    min-height: 0;
  }
}
@media (max-width: 768px) {
  .image-crop img {
    max-height: 350px; /* smaller crop on mobile */
  }
  .image-crop {
    min-height: 0;
  }
}
/* Vocation product hidden elements */
.vocation-hidden {
  display: none !important;
}

/* "Do not offer cards" hidden elements (send_card checkbox and any card-related fields) */
.dno-cards-hidden {
  display: none !important;
}

.lnm-libraries-fields {
  margin: 20px 0;
  padding: 15px 15px 90px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}

.lnm-libraries-fields h4 {
  margin-top: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.lnm-libraries-fields .form-row {
  margin-bottom: 15px;
}

.lnm-shipping-display h3 {
  font-size: 1.5rem !important;
}

.lnm-libraries-fields label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.lnm-libraries-fields input[type="text"],
.lnm-libraries-fields input[type="email"],
.lnm-libraries-fields select,
.lnm-libraries-fields textarea,
.woocommerce-js form .form-row input.input-text,
.woocommerce-js form .form-row textarea,
.woocommerce-js form .form-row select,
.woocommerce-js .select2-container .select2-selection--single,
.woocommerce-js select,
.woocommerce-page select {
  width: 100% !important;
  padding: 8px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

.lnm-libraries-fields input[type="text"]:focus,
.lnm-libraries-fields input[type="email"]:focus,
.lnm-libraries-fields select:focus,
.lnm-libraries-fields textarea:focus,
.woocommerce-js form .form-row input.input-text:focus,
.woocommerce-js form .form-row textarea:focus,
.woocommerce-js form .form-row select:focus,
.woocommerce-js .select2-container .select2-selection--single:focus,
.woocommerce-js select:focus,
.woocommerce-page select:focus {
  border-color: #999 !important;
  outline: none !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1) !important;
}

.lnm-libraries-fields textarea {
  height: 100px;
  resize: vertical;
}

.lnm-libraries-fields input[type="checkbox"] {
  margin-right: 5px;
}

/* Style for required field indicators */
.lnm-libraries-fields .required {
  color: #e2401c;
}

/* Style for field descriptions */
.lnm-libraries-fields .description {
  font-size: 0.85em;
  color: #666;
  margin-top: 3px;
}
:where(
    .elementor-1185
      .elementor-element.elementor-element-5f2f0bc
      > .elementor-widget-container
      > .e-n-accordion
      > .e-n-accordion-item
      > .e-n-accordion-item-title
      > .e-n-accordion-item-title-header
  )
  > .e-n-accordion-item-title-text {
  line-height: 16px !important;
}
.product_meta {
  opacity: 0;
}

@media screen and (max-width: 922px) {
  td.product-thumbnail:not(:has(img.card-thumbnail)) {
    display: none !important;
  }
  .woocommerce #content table.cart .product-thumbnail,
  .woocommerce table.cart .product-thumbnail,
  .woocommerce-page #content table.cart .product-thumbnail,
  .woocommerce-page table.cart .product-thumbnail {
    width: 100%;
    background-color: #fff !important;
  }
  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    margin-bottom: 2rem;
    background-color: var(--e-global-color-32b882d) !important;
  }
  .woocommerce-page table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr th {
    border-right: 1px solid var(--ast-border-color);
    border-left: 1px solid var(--ast-border-color);
  }
  .woocommerce table.shop_table_responsive tr td:last-child,
  .woocommerce-page table.shop_table_responsive tr td:last-child {
    border-bottom: 1px solid var(--ast-border-color);
  }
  .woocommerce-js #customer_details,
  .woocommerce-js .woocommerce table.shop_table {
    border: none;
  }

  .woocommerce
    table.shop_table_responsive
    tbody
    th.woocommerce-orders-table__cell,
  .woocommerce-page
    table.shop_table_responsive
    tbody
    th.woocommerce-orders-table__cell {
    display: block !important;
    background-color: #fff !important;
  }
  .woocommerce-table--order-details {
    border: 1px solid var(--ast-border-color) !important;
  }
  .woocommerce-table--order-details tr td:last-child {
    border-right: none !important;
  }
  .woocommerce-orders-table__cell-order-actions {
    display: flex;
    align-items: center; /* vertical alignment */
  }
  .woocommerce-button.view {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .woocommerce-js a.button.woocommerce-button.view,
  .woocommerce-js a.button.woocommerce-button.pay,
  .woocommerce-js a.button.woocommerce-button.cancel {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    background-color: var(--e-global-color-32b882d) !important;
  }
  /* .woocommerce-js #customer_details,
  .woocommerce-js .woocommerce table.shop_table {
    border-left: 1px solid var(--ast-border-color) !important;
    border-top: 1px solid var(--ast-border-color) !important;
    border-bottom: 1px solid var(--ast-border-color) !important;
  }
  .woocommerce-js table.shop_table thead,
  .woocommerce-page table.shop_table thead {
    border-right: 1px solid var(--ast-border-color) !important;
  } */
}
/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .cart_item .product-thumbnail {
    background-color: #fff !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .lnm-libraries-fields {
    padding: 10px 10px 65px 10px;
  }

  .lnm-libraries-fields input[type="text"],
  .lnm-libraries-fields select,
  .lnm-libraries-fields textarea {
    padding: 6px;
  }
}

.card-dependent {
  display: none;
  transition: opacity 0.3s ease-in-out;
}

.card-dependent.visible {
  display: block;
  opacity: 1;
}

/* Hide the card selection button when there's only one direct card */
.hidden-single-card {
  display: none !important;
}

/* Add some spacing between the card toggle and dependent fields */
.card-toggle {
  margin-bottom: 20px;
}

/* Style the checkbox container */
.card-toggle .woocommerce-input-wrapper {
  display: block;
  margin-top: 5px;
}

/* Add some visual separation for the recipient information section */
/* .card-dependent h4 {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
} */

.woocommerce-js div.product div.summary .single-product-category {
  display: none !important;
}

.woocommerce-js.has-mass-type div.product form.cart div.quantity {
  display: none !important;
}

/* Quantity field styling for non-mass-type products */
.woocommerce-js.no-mass-type div.product form.cart {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.woocommerce-js.no-mass-type div.product form.cart div.quantity {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
}

.woocommerce-js.no-mass-type div.product form.cart div.quantity::before {
  content: "Quantity:";
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}

.woocommerce-js.no-mass-type div.product form.cart .button.single_add_to_cart_button {
  width: auto;
  align-self: flex-start;
}

.woocommerce-js div.product form.cart .button.single_add_to_cart_button {
  margin-top: 12px;
}

.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
}

.card {
  height: auto;
  flex: 0 0 calc(25% - 1.5rem);
  /* 4 cards per row on desktop */
  max-width: calc(25% - 1.5rem);
}

.card img {
  height: auto;
  width: 100%;
  /* Make image fill the card container */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
  transition: box-shadow 0.3s ease;
}

.woocommerce-message .button.wc-forward {
  margin-top: -1.3rem !important;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  top: 2.4em;
}

.woocommerce-js table.shop_table td {
  vertical-align: top;
}

body .woocommerce-MyAccount-navigation-link.is-active a,
.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li.is-active
  > a:active,
.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li
  > a:visited,
.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li
  > a:active,
.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li.is-active
  > a:visited,
.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li.is-active
  > a:focus
  .woocommerce-MyAccount-navigation
  > ul
  > li.is-active
  > a:focus,
.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li.is-active
  > a:active {
  background-color: var(--e-global-color-secondary) !important;
  color: #fff !important;
}

.woocommerce-MyAccount-navigation > ul > li > a {
  /* letter-spacing: var(--e-global-typography-accent-letter-spacing); */
  letter-spacing: 1px;
}

/* Tablet breakpoint - 3 cards per row */
@media screen and (max-width: 768px) {
  .card {
    flex: 0 0 calc(33.333% - 1.33rem);
    /* 3 cards per row */
    max-width: calc(33.333% - 1.33rem);
  }
}

/* Mobile breakpoint - 2 cards per row */
@media screen and (max-width: 480px) {
  .card {
    flex: 0 0 calc(50% - 1rem);
    /* 2 cards per row */
    max-width: calc(50% - 1rem);
  }

  .cards-grid {
    gap: 1rem;
    /* Smaller gap on mobile */
  }
}

.card:hover img {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4) !important;
}

.occasion-heading {
  width: 100%;
  flex-basis: 100%;
  margin: 0 0 1rem 0;
}

/* Simplified WooCommerce product gallery styles */
.woocommerce-product-gallery--single-image {
  position: relative;
}

.woocommerce-product-gallery--single-image
  .woocommerce-product-gallery__wrapper {
  display: block;
}

.woocommerce-product-gallery--single-image .woocommerce-product-gallery__image {
  display: block;
  text-align: center;
}

.woocommerce-product-gallery--single-image .wp-post-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
  opacity: 0;
  /* Hide initially */
  transition: opacity 0.3s ease;
}

.woocommerce-product-gallery--single-image .wp-post-image.loaded {
  opacity: 1;
  /* Show when loaded */
}

.woocommerce-product-gallery--single-image .wp-post-image:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Hide the magnifying glass button */
.woocommerce-product-gallery--single-image
  .woocommerce-product-gallery__trigger {
  display: none !important;
}

/* Card collage styles */
.image-container {
  position: relative;
  width: 100%;
  height: auto;
}

.woocommerce-page #page .site-content {
  flex-grow: 1;
  background: #f5f6f8;
}

.card-collage {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-collage.loaded {
  opacity: 1;
}

.woocommerce-js div.product div.images .card-collage .inside-image {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  /* position: absolute; */
  /* right: 42px; */
  /* top: 3%; */
  margin-top: -20px;
}

.woocommerce-js div.product div.images .card-collage .cover-image {
  /* position: absolute; */
  /* top: -4%; */
  /* left: -11%; */
  width: 52%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  margin-left: 20%;
}

/* Folder collage styles for three-image layout */
.folder-collage {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.folder-collage.loaded {
  opacity: 1;
}

.woocommerce-js div.product div.images .folder-collage .folder-cover-image {
  width: 48%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  z-index: 1;
  position: absolute;
  z-index: 10;
  left: 22%;
}

.woocommerce-js div.product div.images .folder-collage .folder-inside-image {
  width: 50%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  margin-top: 60%;
  z-index: 2;
  position: absolute;
  left: 0;
}

.woocommerce-js div.product div.images .folder-collage .cert-image {
  width: 50%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  margin-top: 60%;
  z-index: 3;
  position: absolute;
  right: 0;
}

a.restore-item {
  display: none !important;
}

.optional {
  display: none;
}

/* Add these styles to your CSS file */

.hidden-card-select {
  display: none !important;
}

.card-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.card-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 960px;
  max-height: 93vh;
  overflow: hidden;
  position: relative;
}

.card-modal-header {
  padding: 20px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-modal-header h3 {
  margin: 0;
}

.close-modal {
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
}

.close-modal:hover {
  color: #000;
}

.card-modal-body {
  padding: 20px;
  /* max-height: 60vh; */
  max-height: 78vh;
  overflow-y: auto;
}

.cards-grid-modal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.modal-card-item {
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.modal-card-item:hover {
  border-color: #0073aa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-card-item.selected {
  border-color: #0073aa;
  background-color: #f0f8ff;
}

.modal-card-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.modal-card-item .card-title {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

.selected-card-info {
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.selected-card-info img {
  max-width: 100px;
  height: auto;
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: middle;
}

.round-button,
.woocommerce-js div.product form.cart .button,
.wc-block-cart__submit-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.wp-block-woocommerce-checkout-actions-block
  .wc-block-checkout__actions_row
  .wc-block-components-checkout-place-order-button,
.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Button,
.woocommerce-js #respond input#submit,
.woocommerce-js a.button,
.woocommerce-js button.button,
.woocommerce-js input.button {
  display: inline-block !important;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-accent-font-size) !important;
  font-weight: var(--e-global-typography-accent-font-weight) !important;
  text-transform: var(--e-global-typography-accent-text-transform) !important;
  line-height: var(--e-global-typography-accent-line-height) !important;
  letter-spacing: var(--e-global-typography-accent-letter-spacing) !important;
  border-radius: 2.1rem !important;
  text-decoration: none !important;
  padding: 15px 30px !important;

  background-color: var(--ast-global-color-1) !important;
  border: 2px solid var(--ast-global-color-1) !important;
  color: var(--e-global-color-accent) !important;
}
.woocommerce-js a.button {
  background-color: transparent !important;
}
.round-button:hover,
.woocommerce-js div.product form.cart .button:hover,
.wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.wp-block-woocommerce-checkout-actions-block
  .wc-block-checkout__actions_row
  .wc-block-components-checkout-place-order-button:hover,
.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Button:hover,
.woocommerce-js #respond input#submit:hover,
.woocommerce-js a.button:hover,
.woocommerce-js button.button:hover,
.woocommerce-js input.button:hover {
  border: 2px solid var(--ast-global-color-2) !important;
  color: var(--ast-global-color-2) !important;

  background-color: var(--e-global-color-accent) !important;
}

.round-button.error:hover {
  color: #000 !important;
}

.woocommerce-MyAccount-content
  .woocommerce-address-fields
  .woocommerce-address-fields__field-wrapper {
  margin-bottom: 2rem !important;
}

.wp-block-woocommerce-checkout-actions-block
  .wc-block-checkout__actions_row
  .wc-block-components-checkout-place-order-button
  .wc-block-components-checkout-place-order-button__text {
  display: block !important;
}

.woocommerce-cart .cart-collaterals .cart_totals > h2,
.woocommerce-cart .cart-collaterals .cross-sells > h2 {
  margin: -1px -20px 20px;
  background-color: var(--ast-global-dark-lfs);
  border-bottom: 1px solid var(--ast-border-color);
  padding: 20px;
  font-size: 1.5rem;
  border-top: 1px solid var(--ast-border-color);
}

/* Transaction Fee Coverage Styling - Cart Totals */
.transaction-fee-coverage-cart-totals {
  padding: 10px 0;
  margin: 10px 0;
  border-top: 1px solid #ddd;
}

.transaction-fee-coverage-cart-totals .transaction-fee-option {
  margin: 0;
}

.transaction-fee-coverage-cart-totals .transaction-fee-option label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #555;
}

.transaction-fee-coverage-cart-totals .transaction-fee-option input[type="checkbox"] {
  margin-right: 8px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Legacy styling for separate wrapper (if still used elsewhere) */
.lnm-transaction-fee-coverage-wrapper {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
}

.lnm-transaction-fee-coverage-wrapper h3,
.lnm-transaction-fee-coverage-wrapper h4 {
  margin: 0 0 15px 0;
  font-size: 1.2rem;
  color: #333;
}

.transaction-fee-explanation {
  font-size: 0.9rem;
  color: #666;
  margin: 10px 0 0 0;
  line-height: 1.4;
}

/* Checkout specific styling */
.checkout-fee-coverage {
  margin: 20px 0;
  background: #f7f7f7;
}

.checkout-fee-coverage h4 {
  font-size: 1.1rem;
}

.checkout-fee-coverage .transaction-fee-option label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.4;
}

.checkout-fee-coverage .transaction-fee-option input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

.woocommerce a,
.woocommerce a:link {
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  accent-color: #666666;
}
.woocommerce h2 {
  font-size: 1.6rem !important;
}
.woocommerce-js form .form-row label {
  line-height: 1.2;
}
.woocommerce .woocommerce-Address-title h2 {
  margin-bottom: 0.5rem !important;
}

.card-dependent .round-button {
  padding: 15px 30px !important;
}

.round-button:hover,
.woocommerce-js div.product form.cart .button:hover,
.wc-block-cart__submit-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.wp-block-woocommerce-checkout-actions-block
  .wc-block-checkout__actions_row
  .wc-block-components-checkout-place-order-button:hover {
  /* background-color: var(--ast-global-color-1) !important;
  border: 2px solid var(--ast-global-color-1) !important;
  color: var(--e-global-color-accent) !important; */
  border: 2px solid var(--ast-global-color-2) !important;
  color: var(--ast-global-color-2) !important;

  background-color: var(--e-global-color-accent) !important;
}

.woocommerce-js
  .woocommerce
  .woocommerce-cart-form
  table.shop_table
  tbody
  tr:last-child {
  display: none !important;
}

#shipping-option {
  display: none !important;
}

.wp-block-woocommerce-checkout-order-summary-shipping-block {
  display: none !important;
}

.entry-content .woocommerce a,
entry-content .woocommerce a:link,
.elementor-221
  .elementor-element.elementor-element-a6d30ff
  .elementor-menu-cart__product-name
  a,
.wc-block-checkout__actions_row a,
.wc-block-checkout__actions_row a:link {
  color: #1a5ed1 !important;
}

.wc-block-components-order-summary
  .wc-block-components-order-summary-item__description {
  padding-bottom: 0 !important;
}

.wp-block-woocommerce-checkout-order-summary-block
  .wc-block-components-checkout-order-summary__title
  .wc-block-components-checkout-order-summary__title-text {
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0 0 0 16px;
}

.woocommerce-cart-form__contents .product-remove {
  display: none !important;
}

.wc-block-checkout__sidebar .wc-block-components-product-name {
  font-size: 1.1rem !important;
}

.wc-block-components-order-summary
  .wc-block-components-order-summary-item__quantity {
  display: none !important;
}

.wc-block-components-product-metadata__description {
  display: none !important;
}

.wc-block-components-order-summary
  .wc-block-components-order-summary-item__individual-prices {
  display: none !important;
}

#add_payment_method table.cart .product-thumbnail,
.woocommerce-cart table.cart .product-thumbnail,
.woocommerce-checkout table.cart .product-thumbnail {
  padding-left: 22px;
}

.wc-block-components-order-summary
  .wc-block-components-order-summary-item__image {
  display: none !important;
}

/* Form validation styles */
.lnm-libraries-fields input.error,
.lnm-libraries-fields select.error {
  border-color: #e2401c !important;
  box-shadow: 0 0 0 1px #e2401c !important;
}

/* Error styling for card selection button */
#open-card-modal.error {
  border-color: #e2401c !important;
  box-shadow: 0 0 0 1px #e2401c !important;
  background-color: #fff5f5 !important;
  color: #000 !important;
}

.lnm-validation-error {
  margin: 15px 0 !important;
  padding: 15px !important;
  background: #f8f8f8 !important;
  border-left: 4px solid #e2401c !important;
  color: #e2401c !important;
}

.lnm-validation-error ul {
  margin: 10px 0 0 20px !important;
  padding: 0 !important;
}

.lnm-validation-error li {
  margin: 5px 0 !important;
}

.cart-item-actions-wrapper-direct a,
.cart-item-actions-wrapper-direct a:link {
  display: inline-block !important;
  font-size: 1.1em !important;
}

.cart-item-edit-link a,
.cart-item-edit-link a:link {
  padding-right: 20px !important;
}

/* Apply left padding to remove link only when edit link is present */
.cart-item-edit-link ~ .cart-item-remove-link a,
.cart-item-edit-link ~ .cart-item-remove-link a:link {
  padding-left: 20px !important;
}

/* Alternative approach for better browser compatibility: */
/* When only remove link exists (first child), no left padding */
.cart-item-actions-wrapper-direct .cart-item-remove-link:first-child a {
  padding-left: 0 !important;
}

/* Cart quantity display styling */
.quantity-display {
  color: #333;
  font-size: 1em;
  padding: 0;
  display: inline-block;
  min-width: 40px;
  text-align: center;
}

/* Hide all quantity input controls */
.cart .product-quantity input[type="number"],
.cart .product-quantity .qty,
.cart .product-quantity .quantity .input-text {
  display: none !important;
}

/* Hide quantity buttons */
.cart .product-quantity .quantity .plus,
.cart .product-quantity .quantity .minus {
  display: none !important;
}

/* Hide update cart button since quantities are read-only */
.actions button[name="update_cart"],
.actions input[name="update_cart"] {
  display: none !important;
}

/* Style the custom field information */
.woocommerce-cart-form .cart_item small {
  color: #666;
  font-size: 0.85em;
  line-height: 1.4;
}

/* Hide quantity controls in cart */
.wc-block-components-quantity-selector {
  display: none !important;
}

/* Additional WooCommerce Blocks quantity controls */
.wc-block-components-quantity-selector__input {
  display: none !important;
}

.wc-block-components-quantity-selector__button {
  display: none !important;
}

/* Hide update cart button - WooCommerce Blocks */
.wc-block-components-cart-update-button {
  display: none !important;
}

/* Style quantity as text - WooCommerce Blocks */
.wc-block-components-cart-item__quantity {
  text-align: center;
}

.wc-block-components-cart-item__quantity::after {
  content: attr(data-quantity);
  font-weight: bold;
  color: #333;
  font-size: 1.1em;
  padding: 8px 12px;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: inline-block;
  min-width: 40px;
  text-align: center;
}

.elementor-menu-cart__main {
  width: 500px !important;
}

.elementor-menu-cart__product-name {
  grid-column-end: 3;
  grid-column-start: 1 !important;
}

.elementor-menu-cart__product-image {
  display: none !important;
}

/* Cart item actions styling */
.cart-item-actions-wrapper,
.cart-item-actions-wrapper-direct {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #eee;
  font-size: 0.9em;
}

.cart-item-actions-wrapper .cart-item-edit-link,
.cart-item-actions-wrapper .cart-item-remove-link,
.cart-item-actions-wrapper-direct .cart-item-edit-link,
.cart-item-actions-wrapper-direct .cart-item-remove-link {
  display: inline;
}

/* Style the edit and remove links */
.cart-item-edit-link a,
.cart-item-remove-link a {
  text-decoration: none;
  font-size: 0.9em;
  font-weight: normal;
  display: inline-block;
}

.cart-item-edit-link a {
  color: #0073aa;
}

.cart-item-edit-link a:hover {
  color: #005177;
  text-decoration: underline;
}

.cart-item-remove-link a {
  color: #d63638;
}

.cart-item-remove-link a:hover {
  color: #b91c1c;
  text-decoration: underline;
}
.wp-block-woocommerce-checkout .wc-block-checkout__login-prompt {
  font-size: 1.1rem !important;
  color: #941a2c;
  font-weight: 400;
}
.wc-block-checkout__actions_row a,
.wc-block-checkout__actions_row
  a:link.wc-block-components-checkout-return-to-cart-button {
  color: #941a2c !important;
  font-size: 1.1rem !important;
}

@media (max-width: 440px) {
  .wp-block-woocommerce-checkout .wc-block-checkout__login-prompt {
    font-weight: bold !important;
    font-size: 1.4rem !important;
  }
  .wc-block-checkout__actions
    .wc-block-components-checkout-return-to-cart-button {
    margin: 16px auto;
    color: #941a2c !important;
    font-weight: bold !important;
    font-size: 1.4rem !important;
  }
}
/* Style the custom card thumbnails */
.card-thumbnail {
  width: auto !important;
  height: 160px !important;
  max-width: 120px !important;
  object-fit: contain !important;
  border-radius: 4px;
  background: #f9f9f9;
  padding: 2px;
  border: 1px solid #ddd;
}

.card-thumbnail-link {
  display: inline-block;
  line-height: 0;
}

/* Ensure the thumbnail column can accommodate taller images */
.woocommerce-cart-form .cart_item .product-thumbnail {
  width: 110px;
  text-align: center;
  vertical-align: top;
  padding: 8px;
}

/* Override WooCommerce default thumbnail constraints for card images */
.woocommerce-cart-form .cart_item .product-thumbnail .card-thumbnail {
  max-height: none !important;
  max-width: 120px !important;
  width: auto !important;
}

.woocommerce-cart-form .cart_item .product-thumbnail {
  border-top: none !important;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  color: #515151 !important;
  word-wrap: break-word !important;
  border: 1px solid #000 !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  font-size: 1.25rem !important;
  font-weight: bold !important;
  line-height: normal !important;
  padding: 2.2em 2em 2.3rem 3.5em !important;
}

.woocommerce-message .button {
  display: inline-block !important;
  border: 2px solid #000 !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
  letter-spacing: 1px !important;
  margin-top: -0.7rem !important;
  position: absolute !important;
  right: 1rem !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: #45ae1b !important;
  top: 2.45em !important;
}

header.entry-header .entry-title {
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
  font-size: 2.125rem;
  font-weight: normal;
  line-height: var(--e-global-typography-secondary-line-height);
  letter-spacing: var(--e-global-typography-secondary-letter-spacing);
  padding-bottom: 1rem !important;
}

.cart-item-actions-wrapper,
.cart-item-actions-wrapper-direct {
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.product-price,
.product-quantity,
.product-subtotal {
  vertical-align: top !important;
}

.product-thumbnail {
  padding-top: 1.2rem !important;
}

.woocommerce-cart-form__cart-item.cart_item dd {
  margin: 0 !important;
}

.woocommerce-cart-form .cart_item .product-thumbnail {
  border-top: 1px solid #000 !important;
}

.variation {
  margin-top: 1rem;
}

.variation p {
  margin-bottom: 0.5rem !important;
}

.product-name > a:first-child {
  color: #000 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.product-name > a:first-child:hover {
  color: #000 !important;
  text-decoration: none !important;
  cursor: default !important;
}

.woocommerce-cart table.shop_table dl dt {
  font-weight: 600 !important;
}

.woocommerce-cart table.shop_table dl dd {
  color: rgb(51, 51, 51) !important;
}

.woocommerce-page table.cart img:not(.card-thumbnail) {
  display: none !important;
}

body .woocommerce-MyAccount-navigation-link {
  border: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #fff !important;
  border: 1px solid #cfd0d0 !important;
  padding: 0 !important;
  border-radius: 4px;
}

.woocommerce-MyAccount-content {
  background: #fff !important;
  border: 1px solid #cfd0d0 !important;
  padding: 2rem !important;
  border-radius: 4px;
}

body .woocommerce form.login,
body .woocommerce form.register,
.woocommerce-ResetPassword.lost_reset_password {
  background: #fff !important;
  border: 1px solid #cfd0d0 !important;
  padding: 2rem !important;
  border-radius: 4px;
  margin-top: 0.8rem !important;
}

.woocommerce-ResetPassword.lost_reset_password {
}

.woocommerce-form__label.woocommerce-form__label-for-checkbox.woocommerce-form-login__rememberme {
  margin-bottom: 1.5rem;
}

.woocommerce-LostPassword.lost_password {
  margin-bottom: 0 !important;
}

.woocommerce-MyAccount-navigation > ul {
  padding: 0 !important;
}

.woocommerce-MyAccount-navigation > ul > li {
  padding: 0 !important;
}

.entry-content .woocommerce .woocommerce-MyAccount-navigation > ul > li a,
.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li
  > a:link {
  padding: 1rem 1.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #000 !important;
  text-decoration: none !important;
  font-family: proxima-nova, sans-serif !important;
  text-transform: uppercase !important;
}

.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li
  > a:active,
.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li
  > a:visited {
  color: #000 !important;
  text-decoration: none !important;
}

.entry-content
  .woocommerce
  .woocommerce-MyAccount-navigation
  > ul
  > li
  > a:hover {
  color: var(--e-global-color-secondary) !important;
  background-color: #fff !important;
}

.entry-content .woocommerce .woocommerce-MyAccount-navigation > ul > li > a {
  transition-duration: 0s !important;
}

body .woocommerce-MyAccount-navigation-link.is-active a {
  background-color: #fff;
}

.woocommerce-Address-title.title h2,
.woocommerce-MyAccount-content h2 {
  font-size: 1.6rem !important;
}

.woocommerce-message .button {
  padding: 10px 40px !important;
}

.lnm-donation-form-wrapper {
  float: left;
  margin: 0 0 1.5em 0;
  padding: 1.5em;
  border: 1px solid var(--ast-border-color);
  border-radius: 0;
  background: #fff;
  width: 48%;
}

.lnm-donation-form-wrapper h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.2em;
}

.lnm-donation-form-wrapper p {
  margin-bottom: 1em;
  font-size: 0.95em;
}

.lnm-donation-form-wrapper label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.lnm-donation-form-wrapper-input {
  display: flex;
  align-items: center;
}

.lnm-donation-form-wrapper-input span {
  margin-right: 5px;
  font-size: 16px;
  font-weight: bold;
}

.lnm-donation-form-wrapper-input input {
  width: 102px !important;
  padding: 8px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  box-shadow: none !important;
}

.lnm-donation-form-wrapper button {
  width: auto !important;
  padding: 1rem 2rem !important;
}

#donation-message {
  margin-top: 10px;
  display: none;
}

button.wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button--loading.contained {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.woocommerce-js table.my_account_orders .button {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 !important;
  text-transform: none !important;
}

.woocommerce-js table.my_account_orders .button:hover {
  background: none !important;
  color: #1a5ed1 !important;
}

.woocommerce-page
  table.shop_table
  td.woocommerce-orders-table__cell-order-actions {
  display: block;
  text-align: center;
}

.woocommerce-orders-table__header-order-actions span {
  display: none !important;
}
legend {
  font-size: var(--e-global-typography-secondary-font-size);
  line-height: var(--e-global-typography-secondary-line-height);
  letter-spacing: var(--e-global-typography-secondary-letter-spacing);
  font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
  font-weight: var(--e-global-typography-secondary-font-weight);
  margin-bottom: 2rem !important;
  border-bottom: none !important;
}

.elementor-221
  .elementor-element.elementor-element-a6d30ff
  .elementor-menu-cart__product-name
  > a,
.elementor-221
  .elementor-element.elementor-element-a6d30ff
  .elementor-menu-cart__product-name
  > a:link {
  color: #000 !important;
  text-decoration: none !important;
}

@media screen and (max-width: 1200px) {
  .single-product .ast-container,
  .woocommerce-account .ast-container {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 922px) {
  .e-off-canvas__content {
    width: 80% !important;
  }
  .woocommerce-message .button.wc-forward {
    margin-top: 0.7rem !important;
    position: relative !important;
    right: auto !important;
    display: block !important;
    width: fit-content;
    float: none;
  }

  .woocommerce-MyAccount-navigation {
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 767px) {
  legend {
    font-size: var(--e-global-typography-secondary-font-size);
    line-height: var(--e-global-typography-secondary-line-height);
    letter-spacing: var(--e-global-typography-secondary-letter-spacing);
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    margin-bottom: 1.1rem !important;
    border-bottom: none;
    font-weight: var(--e-global-typography-secondary-font-weight);
  }
  .woocommerce-js table.shop_table thead th,
  .woocommerce-page table.shop_table thead th:first-child {
    width: 75%;
  }
  .e-con.e-flex {
    flex-wrap: nowrap;
  }

  .widget_shopping_cart_content
    .elementor-menu-cart__footer-buttons
    .elementor-button {
    display: block;
    max-width: 350px;
    width: 80%;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 2rem;
  }
  .elementor-menu-cart__footer-buttons {
    grid-template-columns: 1fr !important;
    justify-items: center;
  }
  .cart-item-actions-wrapper-direct a,
  .cart-item-actions-wrapper-direct a:link {
    font-size: 1.14rem !important;
  }
  .card-modal-body {
    max-height: 76vh;
  }
  .single-product .ast-container {
    margin-top: 2rem;
  }

  .woocommerce-message .button {
    margin-top: 0.7rem !important;
    position: relative !important;
    right: auto !important;
  }

  .woocommerce-js div.product div.images img {
    margin: 0 auto;
    width: 50%;
  }

  .woocommerce-js div.product div.images img.wp-post-image {
    display: none !important;
  }

  .image-container {
    transform: scale(0.95);
  }

  .woocommerce-cart-form .cart_item .product-thumbnail .card-thumbnail {
    margin: 0 auto;
  }

  .woocommerce #content table.cart td {
    width: 100% !important;
  }

  .woocommerce-js #content table.cart td,
  .woocommerce-page #content table.cart td {
    width: 100% !important;
  }

  .woocommerce table.shop_table_responsive tbody th.product-name,
  .woocommerce-page table.shop_table_responsive tbody th.product-name {
    display: block !important;
  }

  .woocommerce table.shop_table_responsive tbody th.product-name .variation {
    display: none !important;
  }

  header.entry-header .entry-title {
    font-family: var(--e-global-typography-secondary-font-family), Sans-serif;
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: var(--e-global-typography-secondary-line-height);
    letter-spacing: var(--e-global-typography-secondary-letter-spacing);
  }

  .woocommerce-js ul.order_details li {
    float: none;
    margin-right: 0;
    text-transform: uppercase;
    font-size: 0.8em;
    line-height: 1;
    border-right: none;
    padding-right: 0;
    margin-left: 0;
    display: block;
    list-style-type: none;
    margin-bottom: 1rem;
  }

  .lnm-donation-form-wrapper {
    float: none;
    width: 100%;
  }

  /* Responsive folder collage for mobile */
  .folder-collage {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-height: 445px;
  }

  .woocommerce-js div.product div.images .folder-collage .folder-cover-image,
  .woocommerce-js div.product div.images .folder-collage .folder-inside-image,
  .woocommerce-js div.product div.images .folder-collage .cert-image {
    width: 50%;
    margin-top: -10px;
  }

  .woocommerce-js div.product div.images .folder-collage .folder-cover-image {
  }

  .woocommerce-js div.product div.images .folder-collage .folder-inside-image {
    top: 220px;
  }

  .woocommerce-js div.product div.images .folder-collage .cert-image {
    top: 220px;
  }
}

@media screen and (max-width: 710px) {
  .woocommerce-message .button {
    margin-top: 0.7rem !important;
    float: none !important;
  }
}
@media (max-width: 600px) {
  .cards-grid-modal {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* *** CARD TYPE RADIO BUTTONS STYLING *** */
.card-recipient-options .main-label {
  display: block !important;
  margin-bottom: 10px !important;
  font-weight: bold !important;
}

.card-recipient-options .radio-group {
  margin-left: 0 !important;
}

.card-recipient-options .radio-option {
  display: block !important;
  margin-bottom: 8px !important;
  font-weight: normal !important;
  cursor: pointer !important;
}

.card-recipient-options .radio-option input[type="radio"] {
  margin-right: 8px !important;
  margin-bottom: 0 !important;
}
/**
 * Donation Form Styles
 * 
 * @package LNM_Libraries
 * @since 1.0.0
 */

.lnm-web-donation-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}

.lnm-donation-form-container {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px !important;
  padding: 30px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.donation-form-title {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 24px;
  font-weight: 600;
}

.donation-form .form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 0;
}

.donation-form .form-group {
  margin-bottom: 20px;
  flex: 1;
}

.donation-form .form-group.half-width {
  flex: 1;
}

.donation-form .form-group.quarter-width {
  flex: 0 0 calc(25% - 11.25px);
}

.donation-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700 !important;
  color: #333;
  font-size: 0.9rem !important;
}

.donation-form .required {
  color: #e74c3c;
}

.donation-form input[type="text"],
.donation-form input[type="email"],
.donation-form input[type="tel"],
.donation-form input[type="number"],
.donation-form select,
.donation-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd !important;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.donation-form input:focus,
.donation-form select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.donation-form select {
  cursor: pointer;
}

.donation-amount-group {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  border: 2px solid #e9ecef;
}

.amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 12px;
  font-weight: 600;
  color: #666;
  z-index: 2;
}

.donation-form #donation_amount {
  padding-left: 30px;
}

.amount-note {
  display: block;
  margin-top: 8px;
  color: #666;
  font-style: italic;
}

.donation-submit-btn {
  width: 100%;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;

  background-color: var(--e-global-color-secondary) !important;
  color: var(--e-global-color-accent) !important;
  border-color: var(--e-global-color-secondary) !important;
}

.donation-submit-btn:hover {
  background: #fff !important;
  border-color: #333 !important;
  color: #333 !important;
}
.donation-form .elementor-button {
  width: 100% !important;
}
.donation-messages {
  margin-top: 20px;
}

.donation-success,
.donation-error {
}

.donation-success {
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.donation-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 12px 15px;
  border-radius: 4px;
}

.view-cart-btn {
  display: inline-block;
  width: 100%;
  margin: 10px 0 0 0;
  padding: 15px 30px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  display: inline-block !important;
  background-color: var(--e-global-color-accent) !important;
  font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
  font-size: var(--e-global-typography-accent-font-size) !important;
  font-weight: var(--e-global-typography-accent-font-weight) !important;
  text-transform: var(--e-global-typography-accent-text-transform) !important;
  line-height: var(--e-global-typography-accent-line-height) !important;
  letter-spacing: var(--e-global-typography-accent-letter-spacing) !important;
  border-radius: 2.1rem !important;
  color: var(--ast-global-color-2) !important;
  text-decoration: none !important;
  border: 2px solid #000 !important;
  padding: 20px 40px !important;
}

.view-cart-btn:hover {
  color: white !important;
  background-color: var(--e-global-color-secondary) !important;
  color: var(--e-global-color-accent) !important;
  border-color: var(--e-global-color-secondary) !important;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .donation-form .form-row {
    flex-direction: column;
    gap: 0;
  }

  .donation-form .form-group.quarter-width {
    flex: 1;
  }

  .lnm-web-donation-form-wrapper {
    padding: 10px;
  }

  .lnm-donation-form-container {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .donation-form-title {
    font-size: 20px;
  }

  .lnm-donation-form-container {
    padding: 15px;
  }
}
