/*
 Theme Name: Divi Child
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Header */
#main-header,
#main-header.et-fixed-header,
#top-header,
.et-l--header .et_pb_menu {
  background-color: #091F35 !important;
}

/* FAQ */
.ucx-faq-wrapper {
  max-width: 1000px;
  margin: 40px auto;
  font-family: inherit;
}

.ucx-faq-category {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 700;
  border-bottom: 2px solid #e5e5e5;
  padding-bottom: 8px;
  color: #091F35;
}

.ucx-faq-item {
  border-bottom: 1px solid #eaeaea;
  padding: 14px 0;
}

.ucx-faq-item summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
  color: #091F35;
}

.ucx-faq-item summary::-webkit-details-marker {
  display: none;
}

.ucx-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.ucx-faq-item details[open] summary::after {
  content: "–";
}

.ucx-faq-content {
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.ucx-faq-content ul {
  margin: 12px 0 12px 20px;
  padding: 0;
}

.ucx-faq-content li {
  margin-bottom: 8px;
}

.ucx-faq-content a {
  color: #091F35;
  text-decoration: underline;
}

.ucx-faq-content strong {
  font-weight: 700;
}

.et_pb_accordion .et_pb_toggle {
  border: 0;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 0 !important;
}

.et_pb_accordion .et_pb_toggle_title:before {
  color: #091F35 !important;
  font-weight: 700;
}

.et_pb_accordion .et_pb_toggle_content {
  color: #444444;
}

.ucx-faq-section {
  max-width: 1000px;
  margin: 0 auto;
}

/* Product stock status */
.single-product p.stock.in-stock {
  color: #1f8f55 !important;
  font-weight: 600;
}

.single-product p.stock.low-stock {
  color: #d98e04 !important;
  font-weight: 700;
}

.single-product p.stock.out-of-stock {
  color: #c62828 !important;
  font-weight: 700;
}

.single-product p.stock.available-on-backorder {
  color: #a86b00 !important;
  font-weight: 600;
}

/* WooCommerce variation block */
.single-product form.variations_form {
  background: #f8fafc;
  border: 1px solid #d9e2ec;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.single-product table.variations {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
  margin-bottom: 15px;
}

.single-product table.variations th.label {
  width: 110px;
  padding-right: 12px;
  vertical-align: middle;
}

.single-product table.variations th.label label {
  font-size: 14px;
  font-weight: 600;
  color: #091f35;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-product table.variations td.value select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #091f35;
  font-size: 15px;
  font-weight: 500;
  box-shadow: none;
  transition: all 0.2s ease;
}

.single-product table.variations td.value select:focus {
  border-color: #091f35;
  outline: none;
  box-shadow: 0 0 0 2px rgba(9, 31, 53, 0.12);
}

.single-product a.reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: #091f35;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.single-product a.reset_variations:hover {
  text-decoration: underline;
}

.single-product .single_variation_wrap {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #d9e2ec;
}

.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability,
.single-product .woocommerce-variation-description {
  margin-bottom: 12px;
  color: #091f35;
}

.single-product .quantity input.qty {
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  color: #091f35;
  font-size: 15px;
}

.single-product .single_add_to_cart_button.button {
  background: #091f35;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  min-height: 46px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.single-product .single_add_to_cart_button.button:hover {
  background: #0f2f4f;
  transform: translateY(-1px);
}

.single-product .single_add_to_cart_button.button:disabled,
.single-product .single_add_to_cart_button.button.disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .single-product table.variations th.label,
  .single-product table.variations td.value {
    display: block;
    width: 100%;
  }

  .single-product table.variations th.label {
    margin-bottom: 6px;
  }
}

/* Featured product slider */
.ucx-featured-slider {
  --ucx-navy: #091F35;
  --ucx-blue: #1E73BE;
  --ucx-text: #24364B;
  --ucx-border: #DCE6F2;
  --ucx-bg: #FFFFFF;
}

.ucx-featured-slider ul.products li.product,
.ucx-featured-slider .product,
.ucx-featured-slider .wps-product,
.ucx-featured-slider .sp-wps-product {
  background: var(--ucx-bg);
  border: 1px solid var(--ucx-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(9, 31, 53, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ucx-featured-slider ul.products li.product:hover,
.ucx-featured-slider .product:hover,
.ucx-featured-slider .wps-product:hover,
.ucx-featured-slider .sp-wps-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(9, 31, 53, 0.10);
}

.ucx-featured-slider img {
  border-radius: 10px;
}

.ucx-featured-slider .woocommerce-loop-product__title,
.ucx-featured-slider .wps-product-title,
.ucx-featured-slider .product-title,
.ucx-featured-slider h2.woocommerce-loop-product__title,
.ucx-featured-slider h3 {
  color: var(--ucx-navy);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  margin: 12px 0 8px;
}

.ucx-featured-slider .price,
.ucx-featured-slider .woocommerce-Price-amount {
  color: var(--ucx-text);
  font-size: 16px;
  font-weight: 700;
}

.ucx-featured-slider .button,
.ucx-featured-slider .add_to_cart_button,
.ucx-featured-slider .product_type_simple,
.ucx-featured-slider .ajax_add_to_cart {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--ucx-navy);
  color: #FFFFFF !important;
  border: 1px solid var(--ucx-navy);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ucx-featured-slider .button:hover,
.ucx-featured-slider .add_to_cart_button:hover,
.ucx-featured-slider .product_type_simple:hover,
.ucx-featured-slider .ajax_add_to_cart:hover {
  background: #FFFFFF;
  color: var(--ucx-navy) !important;
  border-color: var(--ucx-navy);
}

.ucx-featured-slider .onsale {
  background: var(--ucx-blue) !important;
  color: #FFFFFF !important;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  min-height: auto;
  min-width: auto;
}

.ucx-featured-slider .slick-arrow,
.ucx-featured-slider .swiper-button-prev,
.ucx-featured-slider .swiper-button-next,
.ucx-featured-slider [class*="swiper-button"] {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--ucx-border);
  box-shadow: 0 4px 12px rgba(9, 31, 53, 0.08);
}

.ucx-featured-slider .slick-arrow:hover,
.ucx-featured-slider .swiper-button-prev:hover,
.ucx-featured-slider .swiper-button-next:hover,
.ucx-featured-slider [class*="swiper-button"]:hover {
  border-color: var(--ucx-navy);
}

.ucx-featured-slider .slick-arrow:before,
.ucx-featured-slider .swiper-button-prev:after,
.ucx-featured-slider .swiper-button-next:after {
  color: var(--ucx-navy) !important;
  font-size: 16px !important;
}

.ucx-featured-slider .slick-dots li button:before,
.ucx-featured-slider .swiper-pagination-bullet {
  color: var(--ucx-navy) !important;
  background: var(--ucx-navy) !important;
  opacity: 0.25;
}

.ucx-featured-slider .slick-dots li.slick-active button:before,
.ucx-featured-slider .swiper-pagination-bullet-active {
  opacity: 1;
}

.ucx-featured-slider .star-rating,
.ucx-featured-slider .product-categories,
.ucx-featured-slider .posted_in {
  display: none !important;
}

@media (max-width: 767px) {
  .ucx-featured-slider ul.products li.product,
  .ucx-featured-slider .product,
  .ucx-featured-slider .wps-product,
  .ucx-featured-slider .sp-wps-product {
    padding: 12px;
  }

  .ucx-featured-slider .woocommerce-loop-product__title,
  .ucx-featured-slider .wps-product-title,
  .ucx-featured-slider .product-title,
  .ucx-featured-slider h2.woocommerce-loop-product__title,
  .ucx-featured-slider h3 {
    font-size: 15px;
  }
}

/* Cart page recommendation buttons */
.wc-block-cart .wc-block-components-button,
.wc-block-cart .wc-block-components-product-button__button,
.wc-block-cart .wp-block-button__link {
  background: #091F35 !important;
  color: #FFFFFF !important;
  border: 1px solid #091F35 !important;
  border-radius: 4px !important;
  padding: 12px 18px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

.wc-block-cart .wc-block-components-button:hover,
.wc-block-cart .wc-block-components-button:focus,
.wc-block-cart .wc-block-components-product-button__button:hover,
.wc-block-cart .wc-block-components-product-button__button:focus,
.wc-block-cart .wp-block-button__link:hover,
.wc-block-cart .wp-block-button__link:focus {
  background: #0D2846 !important;
  color: #FFFFFF !important;
  border-color: #0D2846 !important;
  box-shadow: none !important;
}

.wc-block-cart .wc-block-components-product-button {
  width: 100%;
}

/* Bulk discount table */
.ucx-bulk-order-title {
  margin: 0 0 10px 0;
  padding: 0;
  color: #091F35;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.awdr-bulk-customizable-table {
  margin: 14px 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.awdr-bulk-customizable-table .wdr_bulk_table_msg {
  width: 100%;
  min-width: 320px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFFFFF;
  border: 1px solid #DCE6F2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(9, 31, 53, 0.06);
}

.awdr-bulk-customizable-table .wdr_bulk_table_thead th,
.awdr-bulk-customizable-table .wdr_bulk_table_msg thead th {
  background: #091F35;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  border: 0;
  white-space: nowrap;
}

.awdr-bulk-customizable-table .wdr_bulk_table_tr td,
.awdr-bulk-customizable-table .wdr_bulk_table_msg tbody td {
  padding: 10px 12px;
  border: 0;
  border-top: 1px solid #E7EEF7;
  color: #12263A;
  font-size: 14px;
  font-weight: 500;
  vertical-align: middle;
  background: #FFFFFF;
}

.awdr-bulk-customizable-table .wdr_bulk_table_msg tbody tr:nth-child(even) td {
  background: #F8FBFF;
}

.awdr-bulk-customizable-table .wdr_bulk_table_msg tbody tr:hover td {
  background: #F2F7FC;
}

.awdr-bulk-customizable-table .wdr_bulk_range,
.awdr-bulk-customizable-table .wdr_bulk_table_discount,
.awdr-bulk-customizable-table .wdr_table_discounted_value,
.awdr-bulk-customizable-table .wdr_table_discounted_price,
.awdr-bulk-customizable-table .wdr_bulk_table_msg tbody td:last-child {
  font-weight: 700;
  color: #091F35;
}

.awdr-bulk-customizable-table .wdr_bulk_table_discount .amount,
.awdr-bulk-customizable-table .wdr_table_discounted_price .amount {
  color: #091F35;
}

.awdr-bulk-customizable-table .wdr_bulk_title {
  color: #4A5A6A;
}

.awdr-bulk-customizable-table .wdr_bulk_table_msg thead th:first-child {
  border-top-left-radius: 12px;
}

.awdr-bulk-customizable-table .wdr_bulk_table_msg thead th:last-child {
  border-top-right-radius: 12px;
}

.awdr-bulk-customizable-table .wdr_bulk_table_msg tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.awdr-bulk-customizable-table .wdr_bulk_table_msg tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

@media (max-width: 767px) {
  .ucx-bulk-order-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .awdr-bulk-customizable-table .wdr_bulk_table_msg {
    font-size: 14px;
  }

  .awdr-bulk-customizable-table .wdr_bulk_table_thead th,
  .awdr-bulk-customizable-table .wdr_bulk_table_msg thead th,
  .awdr-bulk-customizable-table .wdr_bulk_table_tr td,
  .awdr-bulk-customizable-table .wdr_bulk_table_msg tbody td {
    padding: 8px 10px;
  }

  .awdr-bulk-customizable-table .wdr_bulk_table_msg thead th {
    font-size: 11px;
  }

  .awdr-bulk-customizable-table .wdr_bulk_table_msg tbody td {
    font-size: 13px;
  }
}