/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Template: porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Child theme for Porto
Version: 1.0.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: porto
*/

#main:not(.home #main) {
  padding-top: 63px !important;
  padding-bottom: 63px !important;
}

.wishlist-title-container {
  display: none !important;
}

.wc-action-btn.button, .woocommerce-Button {
  padding: 16px 24px !important;
}

.posts-container .porto-tb-meta.tb-meta-comments {
  display: none;
}

.vc_custom_heading a, .vc_custom_heading a:focus, .vc_custom_heading a:hover, .vc_custom_heading a:visited {
  color: #0088cc !important;
}

.vc_custom_heading a:hover {
  color: #006da3 !important;
}

.widget_nav_menu li > a {
  color: white !important;
}

.widget_nav_menu > div > ul li {
  padding: 0 0 5px 15px !important;
}

#footer .porto-u-sub-heading,
#footer .porto-u-sub-heading a {
  color: #a8a8a8 !important;
}

.sticky-product {
  display: none !important;
}

/* footer liaa section responsive adjustments */
@media (max-width: 1250px) {
  #footer-liaa .wpb_column {
    width: 100% !important;
    margin-left: 0 !important;
  }

  #footer-liaa .wpb_column * {
    text-align: center !important;
  }

  .header-phone-details .porto-sicon-header {
    display: none;
  }

  .header-phone-details {
    margin-right: -0.875rem;
  }
}

/* product page buttons */
.ask-question-button {
  display: inline-block !important;
}

.wc-action-btn.button.ask-question-button,
.wc-action-btn.button.view-cart-btn {
  padding: 0 24px !important;
}

/* Delivery options styling (matches woo-files-uploads style) */
.delivery-container {
  width: 100%;
  padding: 1.25rem 0 1rem;
  border-bottom: 1px solid var(--porto-gray-2);
  margin-bottom: 1.25rem;
}

.delivery-label {
  display: block;
  font-weight: 700;
  font-size: 1em;
  line-height: 42px;
  padding: 0;
  margin: 0;
  color: var(--porto-heading-color);
  text-transform: uppercase;
}

.delivery-label i {
  margin-right: 0.5rem;
}

.delivery-box {
  padding: 20px;
  background: #f4f6fa;
}

.delivery-options-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.delivery-option {
  flex: 1;
  min-width: 200px;
}

.delivery-option h6 {
  font-weight: 700;
  text-transform: none;
  margin: 0 0 10px 0;
}

.delivery-option h6 i {
  margin-right: 0.4rem;
}

.delivery-option ul {
  margin: 0;
  padding-left: 1.2em;
}

.delivery-option li {
  margin-bottom: 4px;
}

.delivery-info {
  margin-top: 8px;
}

.delivery-info small {
  font-size: 13px;
  color: #646970;
}

@media (max-width: 767px) {
  .delivery-options-info {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Price excluding VAT styling */
.price-excl-vat {
  margin-top: -0.5rem;
}

.price-excl-vat * {
  font: 400 1rem / 1 var(--porto-add-to-cart-ff, var(--porto-body-ff)), sans-serif;
  color: #737a80;
}

.single_variation_wrap .price-excl-vat {
  margin-top: 0.5rem;
}

.sticky-detail .price-excl-vat {
  display: none !important;
}

.related-products .price-excl-vat {
  display: none !important;
}

/* Hide quantity selectors on shop and variation add to cart */
.shop_table .product-quantity, .woocommerce-variation-add-to-cart .quantity {
  display: none !important;
}

/* WooCommerce Cart Page - Featured Box Styling Adjustments */
.woocommerce-cart.woocommerce-page .featured-box-primary .box-content {
  border-top-color: unset !important;
}

.woocommerce-cart.woocommerce-page .featured-box .box-content {
  border-top: unset !important;
}

.woocommerce-cart.woocommerce-page .featured-box {
  border: 2px solid var(--porto-gray-5);
  box-shadow: none !important;
}

.woocommerce-cart.woocommerce-page .woocommerce > .featured-box {
  border: none !important;
  box-shadow: none !important;
}

.woocommerce-cart.woocommerce-page .box-content h3 {
  margin-bottom: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 32px;
  font-size: 1rem !important;
  font: var(--porto-h3-fst, normal) var(--porto-h3-fw, 700) var(--porto-h3-fs, 1.8em) / var(--porto-h3-lh, 32px) var(--porto-h3-ff, var(--porto-body-ff)), sans-serif;
  color: var(--porto-h3-color, var(--porto-heading-color));
}

.woocommerce-cart.woocommerce-page .featured-box {
  margin-top: 0;
  margin-bottom: 30px !important;
}

/* Stripe payments styling adjustments */
#wc-stripe-payment-method-instructions-card {
  display: none !important;
}

#wc-stripe-upe-form, .payment_box.payment_method_bacs {
  margin: 10px 0 5px;
}

.payment_box.payment_method_bacs {
  border: 1px solid rgb(230, 230, 230);
  border-radius: 5px;
  padding: 1rem
}

/* Variable product - required asterisks on attribute labels */
.variations th.label label::after {
  content: " *" !important;
  color: #dc3545 !important;
  font-weight: bold !important;
}

/* Price breakdown styling (Design + Product) */
.price-breakdown {
  margin-bottom: 0.5rem;
}

.price-breakdown-row {
  font-size: 0.875rem;
  color: #737a80;
  line-height: 1.5;
}

.price-breakdown-row .woocommerce-Price-amount {
  font-size: 0.875rem;
  font-weight: 400;
}

.price-breakdown-label {
  display: inline-block;
  min-width: 75px;
  font-weight: 600;
}

.price-breakdown-separator {
  border-bottom: 1px dashed #ccc;
  margin: 0.75rem 0 1rem;
  max-width: 150px;
}

/* Variation price loading spinner (on WooCommerce's built-in blockUI) */
form.variations_form {
  position: relative;
}

form.variations_form:has(> .blockUI.blockOverlay)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin: -23px 0 0 -23px;
  border: 3px solid rgba(0, 0, 0, 0.15);
  border-top-color: var(--porto-heading-color);
  border-radius: 50%;
  animation: variation-spin 0.8s linear infinite;
  z-index: 1100;
}

@keyframes variation-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Design details in order view */
.order_details .wc-item-meta strong {
  font-weight: 700 !important;
}

/* product tabs */
#product-tab .tab-content > h2:first-child {
  display: block !important;
}

/* Product description styling adjustments */
.woocommerce-product-details__short-description p, .single-product .page-wrapper .product-summary-wrap .description p {
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: 0.005em !important;
  line-height: 1.9 !important;
}

/* Images carousel adjustments */
.vc_images_carousel .vc_carousel-indicators {
  bottom: -75px !important;
  padding-bottom: 40px !important;
}

.vc_images_carousel .vc_carousel-indicators li {
  background-color: #dddddd !important;
  border: 1px solid #dddddd !important;
}

.vc_images_carousel .vc_carousel-indicators .vc_active,
.vc_images_carousel .vc_carousel-indicators li:hover {
  background-color: var(--porto-primary-dark-5) !important;
  border: 1px solid var(--porto-primary-dark-5) !important;
}

.vc_images_carousel .vc_carousel-control {
  font-size: 63px !important;
  color: var(--porto-primary-dark-5) !important;
}

@media screen and (min-width: 768px) {
  .vc_images_carousel .vc_carousel-control .icon-next, .vc_images_carousel .vc_carousel-control .icon-prev {
    font-size: 63px !important;
    color: var(--porto-primary-dark-5) !important;
  }
}
