/*
 Theme Name:     Woodys Ecommerce
 Theme URI:      https://www.woodysgroup.com/
 Description:    A child theme for the Storefront WooCommerce theme.
 Author:         Doug Mouncey ICG Agency
 Author URI:     https://icg.agency/
 Template:       storefront
 Version:        1.0.0
 License:        GNU General Public License v2 or later
 License URI:    http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:    woodys-ecommerce
*/

body {
  font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h4 {
  font-size: calc(1.275rem + 0.3vw);
}

h4 a {
  font-weight: 400;
}

@media (max-width: 1199px) {
  .home-carousel h2 {
    font-size: calc(1.475rem + 2.7vw) !important;
  }

  .home-carousel p {
    font-size: calc(1.315rem + 0.78vw) !important;
    font-weight: 500;
  }
}

@media (min-width: 1200px) {
  .h4,
  h4 {
    font-size: 1.5rem;
  }

  .home-carousel h2 {
    font-size: 3.5rem !important;
  }

  .home-carousel p {
    font-size: 1.9rem !important;
  }
}

.custom-logo-link {
  max-width: 450px !important;
}

.custom-logo {
  max-width: max-content !important;
}

#primary,
#main {
  margin: 0 !important;
}

.text-secondary {
  color: #00253d;
}

.text-primary {
  color: #005fab;
}

.wp-block-column.has-background {
  padding: 2rem !important;
}

.site-header-cart .cart-contents {
  padding: 0;
}

.site-header {
  border: none;
  margin-bottom: 0px !important;
  padding-top: 21px;
}

#home-banner {
  margin-top: -35px;
}

.woocommerce-active .site-header #mega-menu-wrap-primary {
  width: 100% !important;
}

.woocommerce-active .site-header .site-header-cart > li:first-child {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.mega-menu-link {
  height: auto !important;
  line-height: 25px !important;
  margin-bottom: 15px !important;
  transition: background 0.5s ease-in-out !important;
}

.mega-menu-link:hover {
  background: #00253d !important;
}

#mega-menu-primary {
  text-align: center;
}

.site-header .col-full {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 12px;
  margin: 0;
}

.header-contact-info {
  order: 2;
  display: flex;
  gap: 20px;
  font-size: 0.9em;
  color: #666;
  flex-grow: 1;
}

.header-contact-info-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  font-size: 20px;
  font-weight: 500;
}

.header-contact-info-wrapper h4 {
  margin-bottom: 0.5rem;
}

.header-contact-info a {
  color: inherit;
  text-decoration: none;
}

.header-contact-info a:hover {
  text-decoration: underline;
}

.woocommerce-active .site-header .site-branding {
  order: 1;
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 29px;
}

.site-header .site-search {
  order: 3;
  flex-shrink: 0;
  margin-left: auto;
  margin-bottom: 0;
}

.woocommerce-active .site-header .main-navigation {
  margin-right: 0;
}

.site-header .storefront-primary-navigation {
  position: relative;
  order: 4;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  z-index: -1;
}

.site-header .site-header-cart {
  display: none;
}

ul.products li.product {
  margin-bottom: 1rem;
}

ul.products.columns-8 li.product {
  float: left;
  width: calc(100% / 8 - 0.45rem);
  margin-right: 0.5rem !important;
}

ul.products.columns-8 li.product:last-child {
  margin-right: 0 !important;
}

#topbar {
  background-color: #f0f0f0;
  /* Light background for top bar */
  padding: 10px 0;
  /* Padding for top bar */
}

.pseudo-100 {
  position: relative;
}

.pseudo-100::after,
.pseudo-100::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: inherit;
  z-index: -1;
  margin-left: -100%;
}

.pseudo-100::after {
  margin-left: 100%;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .site-footer {
    padding: inherit;
  }

  .woocommerce-active .site-header .site-branding {
    width: 50%;
  }

  .site-header .col-full {
    flex-direction: row;
    padding: unset;
    margin: auto;
  }

  .home #masthead {
    height: 202px;
  }

  .custom-logo {
    left: unset;
    transform: unset;
  }

  #home-banner h2 {
    font-size: 42px !important;
  }

  #home-banner p {
    font-size: 30px !important;
  }

  .woocommerce-active .site-header #mega-menu-wrap-primary {
    margin-right: 0 !important;
  }

  .woocommerce-active .site-header .site-search {
    width: calc(60% - 15px) !important;
    margin-left: 0;
    width: 65%;
  }

  .site-header .site-branding img {
    height: auto;
    max-width: 300px;
    max-height: none;
  }

  .header-contact-info-wrapper {
    text-align: left;
  }

  .header-contact-info {
    justify-content: right;
  }

  .site-header .site-header-cart {
    display: block;
    width: calc(40% - 15px) !important;
    height: 46px;
    order: 5;
    /* Cart - Fifth (adjust if you kept it) */
    margin-left: 15px;
    background-color: #e6eff7;
    padding: 0 20px;
  }

  #mega-menu-primary li a {
    font-size: 12px !important;
    text-align: center !important;
  }

  .mega-menu-link {
    margin: 0 !important;
  }

  #mega-menu-primary {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  .large-h2 {
    font-size: 48px;
  }

  .testimonial-slider .wp-block-heading {
    padding: 50px 50px 0 50px !important;
  }

  .testimonial-wrapper .uagb-container-inner-blocks-wrap {
    top: 50px;
  }

  .testimonial-wrapper .swiper {
    background: #fff;
  }

  .footer-banner {
    padding: 250px 0 50px 0 !important;
    margin-top: -150px !important;
  }

  .testimonial-wrapper .swiper-wrapper .swiper-slide {
    padding-bottom: 30px !important;
  }

  .testimonial-wrapper .swiper-slide h3 {
    padding: 100px 150px 0 150px !important;
  }

  .home-carousel .swiper-button-prev,
  .home-carousel .swiper-button-next {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  ul.products.columns-8 li.product {
    width: calc(100% / 4 - 0.5rem);
    /* Adjust width for 8 columns */
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-center {
    justify-content: left;
  }

  #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-blocks-left {
    flex: 0;
  }
}

.button-row .wp-block-columns {
  width: 100%;
}

.button-row {
  justify-content: center;
}

.button-row .wp-block-column,
.outer-column {
  padding: 0 !important;
  margin: 0 !important;
}

.button-row .btn {
  display: flex;
  width: 100%;
  background: #fff;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #005fab;
  font-size: 20px;
  text-decoration: none !important;
  padding: 10px 0;
  font-weight: 500;
}

.button-row .btn span {
  margin-right: 10px;
}

@media (min-width: 991px) {
  .button-row .btn {
    font-size: 22px;
  }

  .footer-banner .wp-block-group {
    width: 991px;
  }

  .site-info p {
    order: 0 !important;
    margin-top: 0 !important;
  }
}

.ic--outline-phone,
.material-symbols--mail-outline {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23005FAB' d='M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79zm9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75zM7.5 3H4c-.55 0-1 .45-1 1c0 9.39 7.61 17 17 17c.55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1c-1.24 0-2.45-.2-3.57-.57a.8.8 0 0 0-.31-.05c-.26 0-.51.1-.71.29l-2.2 2.2a15.15 15.15 0 0 1-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02A11.4 11.4 0 0 1 8.5 4c0-.55-.45-1-1-1'/%3E%3C/svg%3E");
  vertical-align: -6px;
}

.material-symbols--mail-outline {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23005FAB' d='M4 20q-.825 0-1.412-.587T2 18V6q0-.825.588-1.412T4 4h16q.825 0 1.413.588T22 6v12q0 .825-.587 1.413T20 20zm8-7L4 8v10h16V8zm0-2l8-5H4zM4 8V6v12z'/%3E%3C/svg%3E");
}

#mega-menu-wrap-primary .mega-menu-toggle {
  background-color: transparent;
}

.mega-toggle-animated-inner,
.mega-toggle-animated-inner::before,
.mega-toggle-animated-inner::after {
  background-color: #1e73be !important;
  border-radius: 0px !important;
}

@media (min-width: 1280px) {
  .col-full {
    max-width: 1278px;
  }

  #mega-menu-primary li a {
    display: flex !important;
    padding: 0 20px !important;
    height: 60px !important;
    align-content: center;
    flex-wrap: wrap;
  }

  .site-info {
    font-size: 0.8rem !important;
    column-gap: 15px;
    justify-content: space-between;
    flex-direction: row !important;
  }
  .site-info p {
    margin-bottom: 0px !important;
  }
}

@media (min-width: 1094px) {
  #mega-menu-primary li a {
    font-size: 17px !important;
  }
}

.home-carousel .swiper .swiper-wrapper .swiper-slide .wp-block-cover {
  height: auto;
}

.banner-icons .wp-block-group {
  padding: 15px 25px;
  gap: 0px;
}

.banner-icons figure,
.banner-icons .wp-block-column {
  margin: 0 !important;
}

.icon img {
  width: 45px;
}

.banner-icons .wp-block-column {
  display: flex;
  align-items: center;
}

.banner-icons h6 {
  font-size: 12px;
}

.banner-icons .text-column {
  width: 80%;
}

@media (min-width: 768px) {
  .banner-icons {
    top: -85px;
    z-index: 1;
  }

  .banner-icons h6 {
    font-size: 18px;
  }

  .banner-icons .wp-block-columns {
    gap: 0px;
  }

  .banner-icons .is-layout-flex {
    flex-direction: row;
  }

  .banner-icons .wp-block-group {
    padding: 20px !important;
    gap: 40px;
  }

  .testimonial-slider .swiper-pagination {
    padding-bottom: 65px !important;
  }

  .home-carousel {
    font-size: 30px !important;
  }

  .home-carousel .swiper .swiper-wrapper .swiper-slide .wp-block-cover {
    height: 647px;
  }
}

@media (min-width: 1280px) {
  .banner-icons {
    top: -55px;
  }
}

.product-slider .swiper-slide:hover .slider-button .wp-block-button {
  opacity: 1;
  transform: translateY(75%);
}

.product-slider .swiper-slide:hover .heading {
  transform: translateY(-90%) translateX(-50%);
}

.product-slider.four-slider .swiper-slide {
  height: 297px;
}

.product-slider.five-slider .swiper-slide {
  height: 200px;
}

.product-slider .image-wrapper {
  position: relative;
  margin: 0 !important;
  height: 100%;
  cursor: pointer;
}

.product-slider .image-wrapper h3 {
  cursor: pointer;
}

.product-slider .image-wrapper::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 30%);
  z-index: 0;
}

.product-slider .heading {
  font-size: 30px;
  transition: transform 0.5s ease-in-out;
}

.product-slider .heading,
.product-slider .slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  margin: 0;
  left: 50%;
  text-align: center;
}

.product-slider .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-slider .slider-button .wp-block-button {
  margin: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.testimonial-slider {
  position: relative;
  box-shadow: 0px 0px 12px #0000001a;
}

.testimonial-slider .swiper-pagination {
  position: absolute;
}

.testimonial-slider .wp-block-heading {
  padding: 20px 20px 0 20px !important;
}

.testimonial-slider .swiper-pagination {
  position: absolute;
  padding-bottom: 35px;
}

.mdi--map-marker-outline {
  display: inline-block;
  width: 37px;
  height: 37px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23005FAB' d='M12 6.5A2.5 2.5 0 0 1 14.5 9a2.5 2.5 0 0 1-2.5 2.5A2.5 2.5 0 0 1 9.5 9A2.5 2.5 0 0 1 12 6.5M12 2a7 7 0 0 1 7 7c0 5.25-7 13-7 13S5 14.25 5 9a7 7 0 0 1 7-7m0 2a5 5 0 0 0-5 5c0 1 0 3 5 9.71C17 12 17 10 17 9a5 5 0 0 0-5-5'/%3E%3C/svg%3E");
}

.footer-widgets {
  color: #00253d;
  border: none;
}

.footer-widgets .icon-text {
  display: flex;
  font-weight: 400;
  margin: 0;
  margin-bottom: 1rem;
}

.footer-widgets .icon-text a {
  display: flex;
  text-decoration: none;
  color: #00253d !important;
}

.ic--baseline-facebook {
  display: inline-block;
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23005FAB' d='M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15H8v-3h2V9.5C10 7.57 11.57 6 13.5 6H16v3h-2c-.55 0-1 .45-1 1v2h3v3h-3v6.95c5.05-.5 9-4.76 9-9.95'/%3E%3C/svg%3E");
}

.footer-widgets .icon-text span {
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.site-info {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  color: #2a2f34;
  font-size: 0.9rem;
}

.site-info p {
  order: 1;
  margin-top: 50px;
}

.site-info a {
  color: #2a2f34 !important;
  text-decoration: none !important;
}

.home-carousel {
  position: relative;
}

.home-carousel .swiper-button-prev,
.home-carousel .swiper-button-next {
  display: none;
  left: 35px;
  background: #005fab;
  color: #fff;
  width: 55px;
  height: 55px;
  transform: translateY(-50%);
  top: 52.5%;
}

.home-carousel .swiper-button-next {
  right: 35px;
  left: unset;
}

.testimonial-wrapper .swiper-pagination-bullet {
  position: relative;
  width: 80px !important;
  border-radius: 0px;
  height: 2px !important;
  transform: translateY(-50%);
}

.testimonial-wrapper .swiper-pagination-bullet-active {
  height: 5px !important;
  background: #005fab !important;
}

.testimonial-wrapper .swiper-pagination {
  display: flex;
  align-content: center;
}

.sub-footer .wp-block-column {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.sub-footer .wp-block-uagb-advanced-heading,
.sub-footer .wp-block-image,
.sub-footer .wp-block-column,
.sub-footer .wp-block-columns {
  width: max-content;
  margin: 0 !important;
}

.sub-footer .wp-block-image {
  margin-right: 15px !important;
}

@media (min-width: 782px) {
  .sub-footer .wp-block-columns .wp-block-column:nth-child(1) {
    max-width: 12.5%;
  }

  .sub-footer .wp-block-columns .wp-block-column:nth-child(2) {
    max-width: 64%;
  }

  .sub-footer .wp-block-columns .wp-block-column:nth-child(3) {
    max-width: 15.2%;
  }

  .sub-footer .wp-block-columns {
    justify-content: space-between;
  }
}

.site-footer {
  padding-top: 72px;
}

.site-footer .widget {
  margin: 0;
}

.footer-image img {
  width: 240px;
}

.post-type-archive-product .woocommerce-products-header {
  position: relative;
  height: 500px;
  overflow-y: hidden;
}

.search-results .woocommerce-products-header {
  position: relative;
  height: 200px;
  color: black;
}

.search-results .woocommerce-products-header h1 {
  color: black;
}

.post-type-archive-product .page-description {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.post-type-archive-product .page-description img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-type-archive-product .woocommerce-products-header__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 48px;
  color: #fff;
}

.swiper figure a {
  height: 100%;
}

.wcc-category-list h4 {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  text-transform: uppercase;
}
b,
strong {
  font-weight: 700;
}
