/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.lgcookieslaw_banner span.lgcookieslaw_btn,
.lgcookieslaw_banner a.lgcookieslaw_btn {
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 11px !important;
}
.lgcookieslaw_btn-close {
  right: 23px !important;
}
.lgcookieslaw_banner #lgcookieslaw_close i {
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  border: 2px solid #fff;
  border-radius: 12px;
  text-align: center;
  line-height: 17px;
  width: 22px;
  height: 22px;
  transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  font-weight: bold;
}
.lgcookieslaw_banner #lgcookieslaw_close i:hover {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
}

.header-top .box-htop .header-logo {
  padding: 0;
}
.header-top .leo-megamenu .navbar-nav > li > a {
  padding: 9px 15px;
}
.header-top .leo-megamenu .dropdown:hover > .dropdown-menu {
  transform: translateY(-1px);
}
.leo-megamenu .dropdown-menu a > .menu-title {
  text-transform: none;
}

.product-add-to-cart .product-quantity .add-to-cart {
  font-size: 22px;
  width: 100%;
  font-weight: bold;
}

dl.preview-data-sheet {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0px;
  margin: 0;
  padding: 0;
}

dl.preview-data-sheet dt,
dl.preview-data-sheet dd {
  padding: 4px 10px;
  margin: 0;
  border-bottom: 2px solid #e0e0e0;
}

dl.preview-data-sheet dt {
  font-weight: bold;
  color: #333;
}

dl.preview-data-sheet dd {
  color: #666;
}

dl.preview-data-sheet dt:last-of-type,
dl.preview-data-sheet dd:last-of-type {
  border-bottom: none;
}

.show-full-specs {
  display: inline-block;
  margin-top: 10px;
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
}
#description {
  margin-bottom: 3rem;
}
.show-full-specs:hover {
  text-decoration: underline;
}
.product-additional-info .product-features {
  margin-bottom: 3rem;
}
#product-availability {
  font-size: 15px;
  font-weight: bold;
}
#product-availability-title {
  text-transform: uppercase;
}

#subcategories .subcategory-block {
  padding: 5px 5px;
}
#subcategories .subcategory-content {
  border: 1px solid #eee;
  padding: 15px 10px;
}
#subcategories .subcategory-meta {
  margin-top: 10px;
}
#subcategories .subcategory-description {
  height: 64px;
  overflow: hidden;
}
.sidebar #search_filters_wrapper {
  padding: 12px;
}
.thumbnail-container .product-title {
  white-space: normal;
  height: 40px;
  margin: 0;
}

body#checkout .additional-information {
  display: none;
}
#search_filters .facet .faceted-slider {
  min-height: 60px;
  padding: 0 4px;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: 7fr 6fr;
  gap: 1rem 0px;
}

.reassurance-item {
  display: flex;
  align-items: center;
}

.reassurance-item p {
  margin: 0;
}

.product-installments a.installments-aplazame {
  background-image: url(../img/Aplazame.jpg);
}
.product-installments a.installments-cetelem {
  background-image: url(../img/cetelem.jpg);
}
.product-installments a {
  display: inline-block;
  padding: 12px 15px 12px 100px;
  background-repeat: no-repeat;
  background-position: 15px 50%;
  margin-right: 15px;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  border: 1px solid #f11d22;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  width: 100%;
  margin-bottom: 15px;
}

.thumbnail-container .discount-amount {
  padding: 2px 5px;
  background: #f32a2a;
  color: #fff;
  font-size: 12px;
  margin: 0 5px 0 0;
  border-radius: 3px;
}
table.responive_table,
table.responive_table th {
  text-align: center;
}

@media screen and (max-width: 600px) {
  table.responive_table {
    width: 100%;
  }
  table.responive_table thead {
    display: none;
  }
  table.responive_table tr:nth-of-type(2n) {
    background-color: inherit;
  }

  table.responive_table tbody td {
    display: block;
    text-align: center;
    padding-left: 50%;
    position: relative;
  }
  table.responive_table tbody td:before {
    content: attr(data-th);
    display: inline-block;
    width: 45%;
    position: absolute;
    left: 5%;
    text-align: left;
  }
  table.responive_table tr:nth-child(odd) {
    background: #f0f0f0;
  }
}

#cms #content h2 {
  font-size: 24px;
}
#cms #content p {
  font-size: 16px;
  line-height: 1.55;
}
@media screen and (min-width: 992px) {
  #cms #content {
    padding-left: 200px;
    padding-right: 200px;
  }
}

.video-responsive {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  padding-top: 30px;
  position: relative;
}
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* Proporción de aspecto 16:9 (se calcula como altura/ancho * 100) */
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

@media screen and (min-width: 768px) {
  .video-responsive {
    padding-bottom: 28.25%;
    width: 50%;
  }
}

.item-condition {
  margin: 12px 10px 10px 0;
  float: left;
  font-size: 15px;
}

@media (max-width: 991px) {
  .ApMegamenu > .leo-megamenu {
    position: absolute !important;
    top: -75px !important;
  }
}

@media (max-width: 768px) {
  .first-item-of-mobile-line {
    clear: both !important;
  }

  .slide_config.data-link {
    width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .product_list.grid .ajax_block_product:nth-child(3n + 1) {
    clear: none !important;
  }
}

@media (max-width: 768px) {
  .product_list.grid .ajax_block_product:nth-child(2n + 1) {
    clear: both;
  }
}

.gotocomments {
  text-decoration: underline;
  font-weight: bold;
}

.alert-envio {
  color: #f1823c;
  margin-top: 10px;
  font-size: 13px;
  font-family: "proxima_nova_alt_rgregular", sans-serif;
}

.orangebutton a {
  color: #fff;
  background: #f1823c;
  font-size: 12px;
  text-transform: uppercase;
  font-family: "proxima_nova_alt_cn_rgbold";
  height: 42px;
  line-height: 42px;
  display: inline-block;
  padding: 0 30px;
  border-radius: 21px;
  letter-spacing: 2px;
  transition: all 0.5s;
  margin-top: 25px;
}

.orangebutton a:hover {
  box-shadow: 0 0 0 22px #71340e inset;
  background: transparent;
  color: #fff;
}

.owl-theme .owl-controls .owl-pagination {
  text-align: center;
}

.opiniones .owl-carousel .owl-item img {
  width: auto;
}

#subcategories .subcategory-block:nth-child(3n + 1) {
  clear: both;
}

@media (max-width: 991px) {
  #subcategories .subcategory-block:nth-child(3n + 1) {
    clear: none;
  }
  #subcategories .subcategory-block:nth-child(2n + 1) {
    clear: both;
  }
}

div.redsys_modal_container {
  z-index: 9999 !important;
}

#index .product_list.grid .ajax_block_product:nth-child(4n + 1) {
  clear: both;
}

@media (max-width: 768px) {
  #index .product_list.grid .ajax_block_product:nth-child(2n + 1) {
    clear: both;
  }
}

.product-flags .product-flag.online-only {
  color: #fff;
  border-color: #0457a5;
  background: #0457a5;
}
.product-flags .product-flag.on-sale {
  color: #fff;
  border-color: #f1823c;
  background: #f1823c;
}
.product-flags .product-flag.out_of_stock {
  color: #fff;
  border-color: #838383;
  background: #838383;
}
.product-flags li.product-flag.discount {
  color: #fff;
  border-color: #f32a2a;
  background: #f32a2a;
}

.product-flags {
  text-align: left;
}

.product-flags li.product-flag {
  display: table;
}

.thumbnail-container .product-additional {
  background: #fff;
}

.whybuy {
  text-align: center;
  color: #000;
}

.whybuy.ApColumn .block {
  margin-bottom: 5px;
}

.whybuy .wrapper {
  background: #f3f3f3 no-repeat;
  padding-bottom: 20px;
}

.imagenwhybuy {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50px;
  padding: 12px;
}

.imagenwhybuy img,
.ApImage img,
#manufacturer-short_description img {
  width: 100%;
  height: auto;
}

.whybuy strong {
  display: block;
  line-height: 20px;
  margin-top: 15px;
  font-family: "proxima_nova_alt_rgregular";
}

.whybuy span.mini {
  margin-bottom: 30px;
  display: block;
}

#index #footer .whybuy {
  display: none;
}

.products-sort-order .dropdown-backdrop {
  display: none;
}

.product-attachments h4 {
  text-transform: uppercase;
}

a.btn.button_attach {
  background: #fff;
  border: 1px solid #292929;
  color: #292929;
  margin-bottom: 30px;
}

a.btn.button_attach:hover {
  background: #292929;
  color: #fff;
}

.ApImage img {
  max-width: 100%;
}

.userinfo-selector {
  float: right;
  margin-right: 25px;
  margin-top: 15px;
  font-size: 10px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .userinfo-selector {
    margin-top: 10px;
    margin-bottom: 5px;
  }
}

.dfd-mobile .dfd-layer {
  margin-top: 0 !important;
}

@media (min-width: 769px) {
  #grupo_precio_actions.sticky {
    position: fixed;
    top: 185px;
    background: #fff;
    padding: 0.3rem;
    z-index: 999;
    width: 100%;
    left: 0;
    justify-content: center;
    display: flex;
    border: 1px solid #eee;
    align-items: center;
  }

  #grupo_precio_actions.sticky .product-actions .product-variants {
    margin: 0;
  }
  #grupo_precio_actions.sticky .product-add-to-cart {
    margin: 0;
    padding: 0;
  }
  #grupo_precio_actions.sticky .product-prices {
    margin: 0px 30px 0px;
  }

  #grupo_precio_actions.sticky .product-disponibilidad {
    margin: 0 1rem;
  }

  #grupo_precio_actions.sticky .product-price {
    margin: 0;
  }

  #grupo_precio_actions.sticky .product-quantity #quantity_wanted {
    height: 30px;
  }

  #grupo_precio_actions.sticky .product-quantity .input-group-btn-vertical {
    height: 30px;
  }

  #grupo_precio_actions.sticky
    .product-quantity
    .input-group-btn-vertical
    .btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: inline-block;
  }
  #grupo_precio_actions.sticky
    .product-quantity
    .input-group-btn-vertical
    .btn
    i {
    font-size: 16px;
    top: 7px;
    left: 7px;
  }

  #grupo_precio_actions.sticky
    .bootstrap-touchspin
    .input-group-btn-vertical
    .bootstrap-touchspin-down {
    margin-top: 0;
  }

  #grupo_precio_actions.sticky .product-actions .add-to-cart {
    font-size: 17px;
    height: 30px;
    line-height: 30px;
  }

  #grupo_precio_actions.sticky .product-add-to-cart .product-quantity .qty {
    margin-right: 4rem;
  }

  #grupo_precio_actions.sticky .product-add-to-cart .product-quantity .qty {
    width: 140px;
    margin-right: 3rem;
  }
}

@media (max-width: 768px) {
  .product-add-to-cart .product-quantity .add-to-cart {
    font-size: 13px;
    padding: 0 0px;
  }

  .product-actions .product-variants,
  .leo-compare-wishlist-button {
    margin: 0;
  }

  #product-availability-title,
  #product-availability {
    font-size: 10px;
  }

  .reassurance-grid {
    display: block;
  }
  .reassurance-item {
    margin-bottom: 1rem;
  }
  #lgcomment .content-button {
    margin-bottom: 4rem;
  }

  .product-quantity #quantity_wanted {
    padding: 5px 0;
  }

  .product-add-to-cart .product-quantity .qty {
    margin-right: 0;
  }

  #grupo_precio_actions.sticky {
    position: fixed;
    bottom: 0;
    background: #fff;
    padding: 0.3rem;
    z-index: 999;
    width: 100%;
    left: 0;
    justify-content: center;
    border: 1px solid #eee;
    align-items: center;
  }
  #grupo_precio_actions.stick .product-prices,
  #grupo_precio_actions.stick .product-add-to-cart {
    margin: 0;
  }
}

#ps_checkout-payment-method-logos-container,
#ps_checkout-payment-method-logo-block-container {
  display: none !important;
}

.blockreassurance_product p.block-title {
  line-height: 20px;
}

@media (max-width: 767px) {
  #wrapper .breadcrumb ol li {
    display: none;
  }

  #wrapper .breadcrumb li:nth-last-child(2) {
    display: inline-block;
  }

  #wrapper .breadcrumb {
    padding: 20px 0;
  }

  #wrapper .breadcrumb li a:after {
    display: inline-block;
    font-style: normal;
    font-weight: 400;
    content: ">";
    font-size: 8px;
    position: absolute;
    top: 1px;
    color: #888;
    left: 0px;
  }

  #wrapper .breadcrumb li a {
    padding: 0 0px 0 10px;
    font-size: 1rem;
  }
}
