/* 
Theme Name: TorahResources
Theme URI: https://github.com/elementor/hello-theme-child/
Description: TorahResources is a child theme of Hello Elementor, created by EnLeaf
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 3.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* TEXT UNDERLINE */
.underline {
	text-decoration-line: underline;
        text-decoration-thickness: 1px;
	text-decoration-skip-ink: none;
	text-underline-offset: 0.15em;
}

/* ====== Donation Table Modern Look ====== */
.table.vartable {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', sans-serif;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Table Header */
.table.vartable thead {
  background-color: #02387c;
  color: #fff;
  text-align: left;
}

.table.vartable thead th {
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
}

/* Table Body Rows */
.table.vartable tbody tr {
  background-color: #fff;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #e0e0e0;

}

.table.vartable tbody tr:hover {
  background-color: #f8f9fa;
	
}

/* Table Cells */
.table.vartable td {
  padding: 14px 18px;
  font-size: 15px;
  color: #000 !important;
	
}

/* Donation Amount Column */
.table.vartable .optionscol {
  font-weight: 600;
  color: #1a73e8;
}

/* Price Column */
.table.vartable .pricecol {
  color: #28a745;
  font-weight: 500;
}

/* Add to Cart Button */
.table.vartable .single_add_to_cart_button {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.table.vartable .single_add_to_cart_button:hover {
  background: #155cb0;
}

/* Responsive: Hide empty price column for "Choose Amount" row */
.table.vartable .pricecol:empty {
  display: none;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .table.vartable thead {
    display: none;
  }

  .table.vartable tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
  }

  .table.vartable td {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .table.vartable td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555;
  }

  .table.vartable td:last-child {
    border-bottom: none;
  }
}

td button {
	background-color: #849CBC !important;
    font-family: "PlusJakartaSans", Sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0px -2px 0px rgba(0, 0, 0, 0.43);
    fill: var(--e-global-color-fec7613);
    color: var(--e-global-color-fec7613);
    border-radius: 5px 5px 5px 5px;
    padding: 15px 15px 15px 15px;
}


td button:hover {
	background-color: #144481 !important;

}