/*
Theme Name: Storefront Child - HVAC Pro
Theme URI: https://atix-hvac.com
Description: Custom child theme for Storefront, tailored for an HVAC eCommerce and service company in the United States.
Author: The Silver Lining Company
Author URI: https://thesilverliningco.com
Template: storefront
Version: 1.0.0
Text Domain: storefront-child-hvac
*/


:root {
  --bs-primary: #ff5733;
  --bs-primary-rgb: 255, 87, 51;
  --bs-secondary: #425cc1;
  --bs-secondary-rgb: 66, 92, 193;

  --bs-success: #2ecc71;
}

.btn-primary {
  --bs-btn-bg: #425cc1;
  --bs-btn-border-color: #425cc1;
  --bs-btn-hover-bg: #3c5293;
  --bs-btn-hover-border-color: #3c5293;
  --bs-btn-color: #ffffff;
}

.btn-secondary {
  --bs-btn-bg: #ff5733;
  --bs-btn-border-color: #ff5733;
  --bs-btn-hover-bg: #e64a2e;
  --bs-btn-hover-border-color: #d94329;
  --bs-btn-color: #ffffff;
}

a {
  all: unset;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #fff;
  transition: all .2s ease;
  resize: vertical;
  min-height: 140px;
}

textarea:focus {
  border-color: var(--bs-secondary);
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
  background-color: white;
}

label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

input:focus,
textarea:focus,
select:focus,
button:focus,
.button:focus,
a:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.navbar {
  background-color: var(--bs-body-bg);
}

.navbar .current_page_parent a,
.navbar .current_page_item a {
  font-weight: bold;
  color: var(--bs-primary);
  outline: none;
  cursor: pointer;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.1s ease;
  border-radius: 10px;
  background-color: #f9f9f9;
  padding-bottom: 10px;
}

.navbar .current_page_parent a:active,
.navbar .current_page_item a:active .navbar .current_page_parent a:focus,
.navbar .current_page_item a:focus {
  box-shadow: inset 1px 1px 10px #333;
  transform: translateY(2px);
}

/* Delete storefront grid styles */
.site-content .col-full {
  max-width: 100%;
  padding: 0;
}

/*header*/

/* hero */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  height: 800px;
  color: white;
}

.hero .container-fluid {
  background-color: rgba(95, 70, 55, 0.4);
}

.hero .badge.rounded-pill {
  background-color: #3b2c22;
}

.hero .title .display-2 {
  text-shadow: 0 0 29px #0006;
}

.hero .title .display-2 .text-primary {
  background-color: #e5e5e5;
  padding: 0px 12px 13px 12px;
  border-radius: 6px;
  text-shadow: none;
  display: inline-block;
}

.hero .short-description {
  background-color: #91867d52;
  padding: 10px;
  border-radius: 8px;
}

.content-area,
.widget-area {
  width: 100%;
  float: none;
  margin: 0;
}

.right-sidebar .content-area,
.right-sidebar .widget-area {
  width: 100% !important;
}

.carousel-inner {
  padding: 1em;
}

section.products .card {
  margin: 0 .5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
}

section.products .carousel-inner {
  padding: 1em;
}

section.products .card {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
}

section.products .carousel-control-prev,
section.products .carousel-control-next {
  background-color: #e1e1e1;
  width: 6vh;
  height: 6vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

/*Widget*/
.widget {
  margin: 0 0 2rem;
}

section.products .card .img-wrapper {
  max-width: 100%;
  height: 13em;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.products .card img {
  max-height: 100%;
}

@media (max-width: 767px) {
  section.products .card .img-wrapper {
    height: 17em;
  }
}



section {
  padding: 5.5rem 0;
}

.feature-icon-small {
  width: 3rem;
  height: 3rem;
}

section.products {
  padding-top: 3rem;
}

.contact-wrapper {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.contact-info {
  background: linear-gradient(135deg, #0062cc, #0096ff);
  padding: 40px;
  color: white;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

.social-links {
  margin-top: 30px;
}

.social-icon {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: white;
  color: #0062cc;
  transform: translateY(-3px);
}

.contact-form {
  padding: 40px;
}

.form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 2px solid #eee;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #0062cc;
  box-shadow: none;
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
}

.btn-submit {
  background: linear-gradient(135deg, #0062cc, #0096ff);
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 98, 204, 0.3);
}

.map-container {
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

/* Page: Archive Products*/
.card.product-card {
  border-color: #E2E8F0;
}

.card.product-card .product-categories {
  font-size: .7rem;
  color: var(--bs-primary);
  font-weight: 600;
  margin-bottom: .7rem;
  text-transform: uppercase;
}

.card.product-card .card-title {
  font-size: 16px;
}

.card.product-card .short-description {
  font-size: 14px;
  line-height: 16px;
}

.card.product-card .card-footer {
  border-color: #F4F4F4;
  background-color: white;
}

.card.product-card .card-footer .btn.btn-secondary {
  width: 40px !important;
  height: 40px;
  border-color: #E2E8F0;
  font-size: 1.25rem;
}

.cart .quantity input {
  max-width: 90px;
  text-align: center;
}

.cart button {
  font-weight: 600;
}

/*Single product*/
.single-product .carousel-item img {
  border-radius: 8px;
}

.single-product .carousel-control-prev-icon,
.single-product .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

.single-product .product-tabs .nav-tabs {
  margin-left: 0;
}

.single-product .product-tabs .nav-tabs .nav-link {
  font-weight: 600;
  color: #444;
}

.single-product .product-tabs .nav-tabs .nav-link.active {
  color: var(--bs-primary);
  background: #fff;
}

.single-product .product-tabs .tab-content {
  background: #fff;
  border-radius: 0 0 6px 6px;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
  background-color: #6a7086cf !important;
}

.product-tabs table th {
  width: 40%;
  font-weight: 600;
  color: #444;
}


/*Reviews*/
.woocommerce-Reviews-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 20px;
  color: var(--bs-success-text-emphasis);
  font-style: italic;
}

.woocommerce-Reviews .commentlist {
  list-style: none;
  padding: 0;
}

.woocommerce-Reviews .comment {
  margin-bottom: 1.5rem;
}

.woocommerce-Reviews .comment_container {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.woocommerce-Reviews .avatar {
  border-radius: 50%;
  margin-right: 15px;
}

.woocommerce-Reviews .comment-text {
  margin-top: 10px;
}

.woocommerce-Reviews .meta {
  font-size: 0.9rem;
  color: #6c757d;
}

.woocommerce-review__rating .star-rating {
  color: #ffc107;
  font-size: 1.1rem;
}

/*Form*/
#review_form input,
#review_form textarea,
#review_form select {
  width: 100%;
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 10px;
}

#review_form textarea {
  min-height: 120px;
}

#review_form .form-submit input {
  background: var(--bs-primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
}

#review_form .form-submit input:hover {
  background-color: #e64a2e;
  ;
  border-color: #e64a2e;
  ;
}

#review_form_wrapper form {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 15px;
}

#review_form_wrapper textarea {
  grid-column: 1 / -1;
}

#review_form_wrapper .form-submit {
  grid-column: 1 / -1;
}

/*Sidebar*/
.widget form {
  margin-bottom: 8px;
}

/* Sidebar find product*/
.widget_search .wp-block-search__inside-wrapper {
  display: flex;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.widget_search .wp-block-search__input {
  flex: 1;
  border: none;
  padding: 10px 12px;
  font-size: .9rem;
  outline: none;
}

.widget_search .wp-block-search__input::placeholder {
  color: #999;
}

.widget_search .wp-block-search__button {
  border: none;
  background: white;
  color: #fff;
  padding: 0 2px;
  font-size: .9rem;
  display: flex;
  align-items: center;
}

.widget_search .wp-block-search__button {
  font-size: 0;
  width: 32px;
}

.widget_search .wp-block-search__button::before {
  content: "🔍";
  font-size: 16px;
}

/* Sidebar product */
.wc-block-product-filters__overlay-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: .5rem;
}

.wc-block-product-filters__overlay-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: .8rem;
  color: #333;
}

.wc-block-product-filter-checkbox-list__item {
  margin-bottom: 8px;
}

.wc-block-product-filter-checkbox-list__label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .95rem;
}

.wc-block-product-filter-checkbox-list__input {
  width: 18px;
  height: 18px;
  accent-color: var(--bs-secondary);
}

.wc-block-product-filter-checkbox-list__item.has-depth-1 {
  padding-left: 20px;
  opacity: .9;
}

.wc-block-product-filter-clear-button .wp-block-button__link {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #dee2e6;
  padding: .4rem .8rem;
  font-size: .9rem;
}

.wc-block-product-filter-clear-button .wp-block-button__link:hover {
  background: var(--bs-secondary);
  color: #fff;
}

.wc-block-product-filter-price-slider__range {
  height: 6px;
  background: #eee;
  border-radius: 10px;
}

.wc-block-product-filter-price-slider__range .range-bar {
  background: var(--bs-secondary);
}

.wc-block-product-filter-price-slider__range::before {
  background: transparent;
}

.wc-block-product-filter-price-slider input[type="range"] {
  accent-color: var(--bs-secondary);
}

.wc-block-product-filter-price-slider input[type="text"] {
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
  padding: 4px 6px !important;
  font-size: .85rem !important;
  background-color: white !important;
}

.wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
  border: 2px solid var(--wc-product-filter-price-slider-handle-border, var(--bs-secondary));
}

.wp-block-woocommerce-product-filter-taxonomy,
.wp-block-woocommerce-product-filter-price,
.wp-block-woocommerce-product-filter-status,
.wp-block-woocommerce-product-filter-rating {
  margin-bottom: 1.5rem;
}

/*Woodommerce styles my account*/
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

.woocommerce table.shop_table {
  width: 100%;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-right: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation .list-group {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation .list-group .list-group-item {
  border: none;
  padding: 0;
  margin-bottom: .75rem;
}

.woocommerce-MyAccount-navigation ul li a::before {
  margin-left: 0;
  text-align: left;
  float: left;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
  margin-right: 0;
}

.woocommerce-account .col-1,
.woocommerce-account .col-2 {
  width: 100%;
}

.woocommerce-account .u-columns {
  display: flex;
  gap: 2rem;
}

.woocommerce-account .col-1,
.woocommerce-account .col-2 {
  width: 50%;
}

/*cart empty*/
.woocommerce-cart table img {
  width: 70px;
  height: auto;
}

.woocommerce-cart table td {
  vertical-align: middle;
}

/* BOTONES GENERALES WOOCOMMERCE */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button,
.woocommerce .wp-element-button {

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .5rem 1rem;
  font-size: .9rem;
  font-weight: 500;

  border-radius: .5rem;
  border: 1px solid transparent;

  background-color: #6c757d;
  color: #fff;

  text-decoration: none;
  cursor: pointer;

  transition: all .2s ease;
}

/* HOVER */
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .wp-element-button:hover {

  background-color: #5c636a;
  color: #fff;
}

/* BOTÓN PRIMARY (ADD TO CART) */

.single_add_to_cart_button,
.add_to_cart_button {

  background-color: #0d6efd;
}

.single_add_to_cart_button:hover,
.add_to_cart_button:hover {

  background-color: #0b5ed7;
}

/* BOTÓN CHECKOUT */

.checkout-button {

  background-color: #198754;
  border-color: #198754;
}

.checkout-button:hover {

  background-color: #157347;
}

/* BOTONES PEQUEÑOS */

.woocommerce .button.small {

  padding: .25rem .6rem;
  font-size: .8rem;
}

/* CART PAGE */

.cart-page h2{
font-size:1.8rem;
}

/* PRODUCT TABLE */

.cart-table{
border-collapse:separate;
border-spacing:0 15px;
}

.cart-table tr{
background:#fff;
box-shadow:0 3px 10px rgba(0,0,0,.05);
border-radius:10px;
}

.cart-table td{
border:none;
padding:15px;
}

/* PRODUCT IMAGE */

.cart-table img{
width:70px;
border-radius:8px;
}

/* PRODUCT NAME */

.cart-table a{
font-weight:600;
color:#212529;
text-decoration:none;
}

.cart-table a:hover{
color:#0d6efd;
}

/* QUANTITY INPUT */

.cart-table input.qty{
width:70px;
text-align:center;
border-radius:6px;
border:1px solid #dee2e6;
}

/* REMOVE BUTTON */

.cart-table .remove{
font-size:20px;
color:#dc3545;
text-decoration:none;
}

/* SUMMARY CARD */

.cart-summary .card{
border:none;
box-shadow:0 10px 30px rgba(0,0,0,.08);
border-radius:12px;
}

/* STICKY TOTALS */

.cart-summary{
position:sticky;
top:120px;
}

/* CHECKOUT BUTTON */

.checkout-button{
width:100%;
padding:12px;
font-size:1.1rem;
font-weight:600;
border-radius:10px;
}

/* COUPON FIELD */

.cart-page input[name="coupon_code"]{
border-radius:8px;
}

.wc-proceed-to-checkout .button.checkout-button {
  font-size: 14px !important;
  max-width: 90% !important;
}