/*!
Theme Name:   raildepot theme
Theme URI:    https://teamazteca.com/
Author:       @luismrodriguez
Author URI:   https://teamazteca.com/
Description:  Storefront is the perfect theme for your next WooCommerce project. Designed and developed by WooCommerce Core developers, it features a bespoke integration with WooCommerce itself plus many of the most popular customer facing WooCommerce extensions. There are several layout & color options to personalise your shop, multiple widget regions, a responsive design and much more. Developers will love its lean and extensible codebase making it a joy to customize and extend. Looking for a WooCommerce theme? Look no further!
Version:      3.5.0
Tested up to: 5.6.0
Requires PHP: 5.6.0
Template:     storefront
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  storefront
Tags:         e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, editor-style
*/

body {
  font-family: "Jost", sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Jost", sans-serif;
  font-weight: 800;
}
button {
  font-family: "Jost", sans-serif;
}

.franja-footer-tel {
  background: #bfbebe;
  padding: 35px;
}

.franja-footer-tel p {
  font-weight: 500;
  font-size: 24px;
  text-align: center;
  margin-bottom: 0;
  color: black;
}

.footer-widget-2 a,
.footer-widget-3 a,
.footer-widget-4 a {
  text-decoration: none;
}

.linea-divisoria {
  display: block;
  margin-bottom: 30px;
  position: relative;
  height: 1.5px;
  background-color: #f2f2f2;
}
.linea-divisoria::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5;
  background-color: #c66a28;
  height: 5px;
  width: 150px;
}

.aaa {
  position: fixed;
  bottom: 0;
}

@media (min-width: 768px) {
  .col-full {
    max-width: 1450px;
  }
}

.site-branding {
  float: none !important;
}

.site-search {
  float: none !important;
}

.header__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
  padding-top: 30px;
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  .woocommerce-active .site-header .site-branding {
    width: 20%;

    margin-right: 4.347826087%;
  }
}
#site-header-cart {
  margin-left: auto;
}
@media (min-width: 768px) {
  .woocommerce-active .site-header .main-navigation {
    width: auto;
    float: none;
    margin-right: 4.347826087%;
  }
}

.site-search {
  margin-left: auto;
}

.site-header-cart .cart-contents:after {
  content: "\f07a" !important;
}

.container-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.title-page {
  font-size: 4rem;
}

.title-page span {
  position: relative;
  display: block;
}

.title-page span::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 3.5rem;
  background-color: #e0be24;
  left: 0;
  z-index: -1;
  bottom: 0;
}

.site-content {
  position: relative;
}
.footer-info-page-contact {
  display: flex;
  flex-wrap: wrap;
}

.footer-info-page-contact .text {
  width: 40%;
  padding: 25px;
  font-weight: 600;
}

.footer-info-page-contact .image {
  width: 60%;
}

.info-page-contact,
.info-page-image {
  width: 50%;
  padding: 20px;
}
.image-info-cont {
  height: 79.3%;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.info-page-contact h2 {
  font-size: 3.5rem;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  line-height: 3.3rem;
}
.info-page-contact h2.title-page span {
  display: inline-block;
}

.info-page-contact h2.title-page span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2rem;
  background-color: #e0be24;
  left: 0;
  z-index: -1;
  bottom: 5px;
}

.container-page p {
  font-size: 1.5rem;
  color: black;
}

.input-group {
  margin-bottom: 28px;
}

.input-text,
.input-text-mensaje {
  width: 100%;
  text-align: center;
}

.btn {
  background-color: #c66a28 !important;
  border-bottom: 4px solid #a05826 !important;
  color: white !important;
  font-weight: 500 !important;
  text-align: center !important;
  display: block !important;
  margin: auto !important;
  font-size: 1.5rem;
  padding-right: 50px !important;
  position: relative !important;
}

.btn::before {
  /* content: '\f105';
  font-family: 'Font Awesome\ 5 Free';
  color: white;
  font-size: 15px;
  position: absolute;
  left: 0; */

  content: "";
  color: white;
  font-size: 15px;
  position: absolute;
  left: 10px;
  width: 10px;
  display: block;
  height: 10px;
  background-color: white;
}

.footer-info-page-contact {
  width: 100%;
}

.franja-naranja {
  background-color: #c66a28;
  padding: 10px;
  margin-bottom: 32px;
}

.text-franja-sup {
  color: white;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0;
  text-align: center;
}

.container-cats {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.container-cats a {
  text-decoration: none !important;
  display: block;
  text-align: center;
  margin-top: 25px;
  color: black;
  font-weight: 500;
  font-size: 1.2rem;
}
.btn-arrow {
  position: relative;
}
.btn-arrow::before {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  right: -21px;
  color: #c76d2c;
}

.site-search {
  margin-left: 0px !important;
  width: 280px !important;
}

.cart-contents {
  width: 125px !important;
}

.site-header-cart {
  width: 15% !important;
}

.site-header {
  padding-top: 0 !important;
}
.site-main {
  /* position: relative; */
}

.home-hero-image {
  width: 100%;
}

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
/* 
.full-width-wrapper {
  padding-top: 42%;
} */

.slider__container {
  padding-top: 35%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.slider__content-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.overlaw {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.slider__content-post {
  padding: 25px;
}

.slider__content-post h3,
.slider__content-post h2,
.slider__content-post h1 {
  color: white;
  text-align: center;
  font-size: 2.5rem;
  line-height: 2.9rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.wp-block-button__link,
.slider__content-post button {
  background-color: #e0be24;
  border-bottom: 4px solid black;
  color: black;
  font-weight: 800;
  display: block;
  text-align: center;
  margin: auto;
  font-size: 1.4rem;
}

.slider__content-button button:hover .fas.fa-caret-right {
  transition: 0.5s;
  transform: translateX(5px);
}
.slider__content-button button .fas.fa-caret-right {
  transition: 0.5s;
}
.wrapper-slider {
  margin-bottom: 40px;
}

.swiper-pagination-bullet-active {
  background: white;
}

.in-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.in-text {
  font-weight: 500;
  font-size: 1.2rem;
  color: black;
}

.in-section {
  padding: 10px 0;
}
@media (max-width: 515px) {
  .in-section {
    justify-content: flex-start;
  }
  .header__container {
    margin-bottom: 0px;
  }
}
.in-item {
  margin-bottom: 20px;
}

.in-image {
  display: inline;
  max-width: 75px;
  vertical-align: middle;
  margin-right: 16px;
}

.wrappercontent {
  padding-top: 40px;
}

.wp-block-image .size-large,
.wp-block-image .size-large img {
  width: 100%;
}

.promociones-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.promociones-text,
.promociones-image {
  width: 50%;
}

.promociones-text h3 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 3.6rem;
}
.promociones-text {
  padding: 0 25px;
}
.promociones-text h3 span {
  position: relative;
}
.promociones-text h3 span::before {
  content: "";
  width: 100%;
  height: 3.4rem;
  z-index: -1;
  background-color: #e0be24;
  display: block;
  bottom: 0;
  position: absolute;
}
@media (max-width: 768px) {
  .promociones-text h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .info-page-contact,
  .info-page-image {
    width: 100%;
  }

  .title-page {
    font-size: 2.5rem;
  }

  .footer-info-page-contact .text {
    width: 100%;
  }

  .footer-info-page-contact .image {
    width: 100%;
  }

  .franja-footer-tel {
    font-family: 18px;
  }
  .promociones-text,
  .promociones-image {
    width: 100%;
  }
}

.widget_product_search form button[type="submit"],
.widget_product_search form input[type="submit"],
.widget_search form button[type="submit"],
.widget_search form input[type="submit"] {
  height: 47px !important;
  width: 47px !important;
  clip-path: none;
  clip: auto;
  background-color: #c66a28;
  padding: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  left: initial;
  right: 0;
  top: 1px;
}

button svg {
  width: 20px;
  height: 20px;
}

input[type="search"].search-field {
  font-weight: 500;
  color: black;
  font-family: "Jost", sans-serif;
}

.widget_product_search form:before,
.widget_search form:before {
  display: none;
}

.site-search .widget_product_search form input[type="search"],
.site-search .widget_product_search form input[type="text"] {
  padding-left: 1em;
}

.site-branding {
  margin-bottom: 0;
}
.site-search {
  margin-bottom: 0 !important;
}

.widget.woocommerce.widget_shopping_cart {
  position: absolute;
  left: -95px;
  width: 300px;
  display: none;
}

#site-header-cart:hover .widget.woocommerce.widget_shopping_cart {
  display: block;
}

.wc-block-grid__products .wc-block-grid__product .wp-block-button__link,
ul.products li.product .button,
button.alt,
input[type="button"].alt,
input[type="reset"].alt,
input[type="submit"].alt,
.button.alt,
.widget-area .widget a.button.alt {
  background-color: #e0be24;
  color: black;
  border-bottom: 5px solid black;
  font-size: 14px;
  font-family: "Jost", sans-serif;
  padding: 0.6180469716em 1.41575em;
}

.wc-block-grid__products .wc-block-grid__product .wp-block-button__link:hover,
ul.products li.product .button,
button.alt:hover,
input[type="button"].alt:hover,
input[type="reset"].alt:hover,
input[type="submit"].alt:hover,
.button.alt:hover,
.widget-area .widget a.button.alt:hover {
  background-color: #e6cc59;
  color: rgb(49, 49, 49);
}

.cart-contents {
  margin-left: auto;
}

@media (max-width: 1100px) {
  .slider__content-post h3 {
    font-size: 35px;
    line-height: 35px;
  }

  .slider__container {
    padding-top: 40%;
  }

  .slider__content-post button {
    background-color: #e0be24;
    font-size: 16px;
  }
}

@media (max-width: 758px) {
  .slider__content-post h3 {
    font-size: 19px;
    line-height: 21px;
  }

  .slider__container {
    padding-top: 80%;
  }
  .slider__content-post button {
    background-color: #e0be24;
    border-bottom: 4px solid black;
    color: black;
    display: block;
    text-align: center;
    margin: auto;
    font-size: 14px;
  }

  #site-navigation {
    width: 100%;
    text-align: center;

    margin: 20px auto;
  }
  .home.page:not(.page-template-template-homepage) .site-header {
    margin-bottom: 0px;
    padding: 0;
  }
}

.storefront-product-pagination {
  display: none !important;
  color: white;
}

input::placeholder {
  font-family: "Jost", sans-serif !important;
}

.info-page-contact form input[type="submit"] {
  padding: 15px 45px !important;
}

textarea {
  resize: none;
  height: 100px;
}

.franja-footer-tel a {
  color: black;
}
.franja-footer-tel img {
  display: inline;
  vertical-align: middle;
  width: 25px;
  margin: 0 8px;
}

.wc-block-grid__product {
  display: flex;
  flex-direction: column;
}

.wc-block-grid__product .wc-block-grid__product-add-to-cart,
.wc-block-grid__product .wc-block-grid__product-onsale,
.wc-block-grid__product .wc-block-grid__product-price,
.wc-block-grid__product .wc-block-grid__product-rating {
  margin-top: auto;
}

.wc-block-grid__product-title {
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  font-family: "Jost", sans-serif;
}
.wc-block-grid__product {
  min-width: 300px;
}

@media (min-width: 801px) {
  .wc-block-grid__product {
    width: 45%;
    max-width: initial !important;
  }
  .wp-block-column {
    width: 30% !important;
  }
}

@media (max-width: 800px) {
  .wc-block-grid__product {
    width: 45%;
    max-width: initial !important;
  }
  .wp-block-column {
    width: 40% !important;
  }
}

@media (max-width: 677px) {
  .wc-block-grid__product {
    width: 100%;
    max-width: initial !important;
  }
  .wp-block-column {
    width: 100% !important;
  }
}
bdi {
  font-size: 1rem;
  font-family: "Jost", sans-serif;
}

.wc-block-grid__products {
  justify-content: space-between;
}

.wp-block-column {
  margin: 25px 10px;
  flex-grow: unset !important;
  flex-basis: unset !important;
}
.wp-block-columns {
  justify-content: center;
  flex-wrap: wrap !important;
}

.products .product.type-product {
  display: flex;
  flex-direction: column;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart,
a.button.product_type_simple {
  margin-top: auto;
  display: block;
  max-width: 180px;
  margin: auto;
}

.wc-block-grid__products,
ul.products {
  display: flex;
  flex-wrap: wrap;
}
.woocommerce-loop-product__title {
  font-weight: 500 !important;
  font-family: "Jost", sans-serif;
  font-size: 1.3rem !important;
}
@media (max-width: 769px) {
  li.product.type-product {
    width: 100%;
  }
}

.cat-wrapper img {
  max-width: 200px;
}

@media (max-width: 769px) {
  .cat-wrapper img {
    max-width: 100%;
  }
}

a:focus {
  outline: none;
}

.home.page:not(.page-template-template-homepage) header.site-header {
  margin-bottom: 0;
}

.upbar {
  background-color: #c76a27;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
}
.swiper-wrapper {
  height: initial;
}

.swiper-button-prev,
.swiper-button-next {
  z-index: 1000;
}

.rail__swiper-button-prev {
  left: 40px;
  right: auto;
}

.rail__swiper-button-next {
  right: 40px;
  left: auto;
}

.rail__swiper-button-prev,
.rail__swiper-button-next {
  position: absolute;
  top: 50%;
  width: calc(var(--swiper-navigation-size) / 44 * 27);
  height: var(--swiper-navigation-size);
  margin-top: calc(0 px - (var(--swiper-navigation-size) / 2));
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.swiper-pagination-bullet {
  width: var(
    --swiper-pagination-bullet-width,
    var(--swiper-pagination-bullet-size, 12px)
  );
  height: var(
    --swiper-pagination-bullet-height,
    var(--swiper-pagination-bullet-size, 12px)
  );
}

.swiper-pagination-bullet {
  opacity: 0.9;
}

.redes-content {
  display: flex;
  justify-content: space-around;
  max-width: 200px;
  width: 115px;
}

#whatsapp-upbar {
  color: white;
  font-size: 22px;
  margin-bottom: 0;
}
#whatsapp-upbar img {
  width: 30px;
  display: inline;
  vertical-align: middle;
}
.redes-svg {
  width: 35px;
}
/*  */

.prev-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.9);
  position: relative;
  cursor: pointer;
  transition: 0.5s;
}

.prev-arrow:hover {
  background-color: rgba(50, 50, 50, 0.2);
  transition: 0.5s;
}

.prev-arrow:hover .prev-punta {
  transform: translateX(-2px) rotate(-45deg);
  transition: 0.5s;
}

.prev-punta {
  width: 14px;
  height: 14px;
  border-top: 3px solid #e0be25;
  border-left: 3px solid #e0be25;
  transform: rotate(-45deg);
  position: absolute;
  top: calc(50% - 7px);
  left: 10px;
  transition: 0.5s;
}
.prev-palito {
  width: 25px;
  height: 3px;
  background-color: #e0be25;
  border-left: 3px solid #e0be25;
  position: absolute;
  top: calc(50% - 1.5px);
  left: 10px;
  transition: 0.5s;
}

.prev-arrow:hover .prev-palito {
  transform: translateX(-2px);
  transition: 0.5s;
}

.next-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.9);
  position: relative;
  cursor: pointer;
  transition: 0.5s;
}

.next-arrow:hover {
  background-color: rgba(50, 50, 50, 0.7);
  transition: 0.5s;
}

.next-arrow:hover .next-punta {
  transform: translateX(2px) rotate(-45deg);
  transition: 0.5s;
}

.next-punta {
  width: 14px;
  height: 14px;
  border-bottom: 3px solid #e0be25;
  border-right: 3px solid #e0be25;
  transform: rotate(-45deg);
  position: absolute;
  top: calc(50% - 7px);
  right: 10px;
  transition: 0.5s;
}
.next-palito {
  width: 25px;
  height: 3px;
  background-color: #e0be25;
  border-left: 3px solid #e0be25;
  position: absolute;
  top: calc(50% - 1.5px);
  right: 10px;
  transition: 0.5s;
}

.next-arrow:hover .next-palito {
  transform: translateX(2px);
  transition: 0.5s;
}

/*  */

.text__hero,
.text__hero__category {
  background-color: black;
  padding: 5px 10px;
}
.text__hero__category h2,
.text__hero__category h3,
.text__hero__category h1,
.text__hero__category p,
.text__hero h3,
.text__hero h1,
.text__hero h2,
.text__hero p {
  margin: 0;
  padding: 0;
  text-align: center;
}

.social-media-widget .social-media-item {
  width: 33%;
  margin-bottom: 15px;
  margin-right: 30px;
}

.social-media-widget {
  display: flex;
  flex-wrap: wrap;
}

.slider__content-button {
  margin-top: 20px;
}

.social-media-widget .social-media-item a {
  display: block;
  min-height: 80px;
  color: #ffffff !important;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 10px;
  border-radius: 2px;
  text-decoration: none;
  min-width: 115px;
}
i.fa {
  font-size: 17px;
  line-height: 10px;
  margin-bottom: 10px;
  display: block;
}
.social-media-widget .social-media-item a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.icon-linkedin {
  background-color: #0098e3;
}
.color-white {
  color: #ffffff;
}
.icon-facebook {
  background-color: #3e5ea4;
}

.widget-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.widget-item {
  width: 30%;
  min-width: 200px;
  padding: 10px;
}
@media (max-width: 769px) {
  .widget-item {
    width: 90%;
    min-width: 200px;
    padding: 10px;
  }
}

.widget .widget-title,
.widget .widgettitle {
  font-size: 1.41575em;
  letter-spacing: 0;
  font-family: "Jost", sans-serif;
  font-weight: 800;
  border-bottom: 1px solid transparent;
  padding: 0 0 1em;
  margin-bottom: 1em;
  position: relative;
}

.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  background-color: #c66a28;
  height: 5px;
  width: 150px;
}
/* .site {
  overflow-y: hidden;
} */

.gris-image {
  position: relative;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promociones__titulo {
  padding: 0 20px;
  position: absolute;
  color: #fff;
  text-align: center;
  font-size: 2.5rem;
}

.promociones__titulo i {
  color: #e0be24;
  font-size: 2.5rem;
}

.d-de {
  display: none;
}

.d-m {
  display: none;
}
@media (max-width: 787px) {
  .d-m {
    display: block;
  }
  .promociones__titulo,
  .promociones__titulo i {
    font-size: 1.5rem;
  }
}
@media (min-width: 768px) {
  .d-de {
    display: block;
  }
}

.section-title-c {
  position: relative;
}

.section-title-c::after {
  bottom: -0.540791em;
  display: block;
  margin-bottom: 30px;
  position: absolute;
  height: 1.5px;
  background-color: #f2f2f2;
}
.section-title-c::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.540791em;
  background-color: #c66a28;
  height: 5px;
  width: 150px;
}

.btn-raildepot {
  background-color: #e0be24;
  border-bottom: 4px solid black;
  color: black;
  font-weight: 800;
  display: block;
  text-align: center;
  font-size: 1.4rem;
  padding: 10px 25px;
}

.btn-raildepot:hover {
  background-color: #e0be24;
  border-bottom: 4px solid black;
  color: black;
  font-weight: 800;
  display: block;
  text-align: center;
  font-size: 1.4rem;
}
.btn-raildepot:hover .fas.fa-caret-right {
  transition: 0.5s;
  transform: translateX(5px);
}
.btn-raildepot .fas.fa-caret-right {
  transition: 0.5s;
}
