/*
Theme Name:   Storefront Child
Theme URI:    https://https://globalprinted.com/storefront-child/
Description:  Storefront Child Theme
Author:       Juan Francisco Paulino Veras
Author URI:   https://clarowebsites.com
Template:     storefront
Version:      1.0.0
*/
* {
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', arial, sans-serif;
}
.cw-mb-0 {
    margin-bottom: 0px;
}
.cw-mb-1 {
    margin-bottom: 1rem;
}
.cw-tipography--bold {
  color: #3B2A82;
  font-family: Outfit;
  font-style: normal;
  font-weight: 400;
}
/** GENEAL CUSTOMIZATIONS **/
.storefront-breadcrumb .col-full .woocommerce-breadcrumb a, .storefront-breadcrumb .col-full .woocommerce-breadcrumb .breadcrumb-separator {
  color: #3B2A82;
  font-family: Outfit;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
}
 .site-header {
   margin-top: 3rem;
 }
/** HOME CUSTOMIZATIONS **/
.home.post-type-archive-product .site-header {
  margin-bottom: 0px;
}

/** PRODUCT PAGE CUSTOMIZATIONS **/
.product-template-default.single.single-product .site-header {
  margin-bottom: 1.5rem;
}

.product-template-default.single.single-product .storefront-breadcrumb {
  margin-bottom: 32px;
  padding: 0px;
}

.single-product div.product::before, .single-product div.product::after {
  content: none;
}



.cw-custom-product-gallery {
    width: 100%;
    padding-right: 2rem;
}

.cw-gallery-images {
    display: flex;
    flex-direction: row;
}

.cw-custom-product-gallery .cw-featured-image img {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.cw-custom-product-gallery .cw-gallery-images .cw-gallery-img {
    width: 3.5rem;
    margin: 5px;
    display: inline-block;
    cursor: pointer;
    border: 2.078px solid #3B2A82;
    border-radius: 0.5rem;
}

.cw-custom-product-gallery .cw-gallery-images .cw-gallery-img:hover {
    opacity: 0.8;
}

.cw-featured-image img.fade-in-right {
    animation: cwFadeInRight 1s ease-out forwards;
}


.cw-product-shipping-label {
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    color: #3B2A82;
    font-family: Outfit;
    line-height: normal;
    margin-bottom: 0rem;
}

.cw-product-shipping-description {
    color: #7A719B;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 1rem;
}



@keyframes cwFadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (min-width: 768px) {
    .cw-custom-product-gallery {
        width: 50%;
    }
    .cw-custom-product-gallery .cw-featured-image img {
        width: 100%;
    }
    .cw-custom-product-gallery .cw-gallery-images .cw-gallery-img {
        width: 4rem;
    }
    .storefront-full-width-content.single-product div.product .summary {
        width: 50%;
    }
}

@media (min-width: 1024px) {
  .cw-custom-product-gallery .cw-gallery-images .cw-gallery-img {
      width: 6rem;
  }
}

/** OTHERs **/
.col-full .product {
  padding-left: 0px;
  padding-right: 0px;
}

.woocommerce-breadcrumb a:first-of-type::before {
  content: none;
}
.cw-product__description-label, .section-pricing-table h3 {
  color: #3B2A82;
  font-family: Outfit;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
@media (min-width: 768px) {
  .storefront-breadcrumb .col-full {
    padding-left: 40px;
    padding-right: 40px;
  }
  .site-header .col-full {
    padding-left: 40px;
    padding-right: 40px;
  }
  .col-full {
    max-width: 100%;
    margin: 0px auto;
    padding: 0px;
    box-sizing: content-box;
  }
  .col-full .product, .col-full .content-area  {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (min-width: 1920px) {
  .col-full .product, .col-full .content-area {
    padding-left: 10%;
    padding-right: 10%;
  }
  .storefront-breadcrumb .col-full {
    padding-left: 40px;
    padding-right: 40px;
  }
  .site-header .col-full {
    padding-left: 40px;
    padding-right: 40px;
  }
  .col-full {
    max-width: 100% !important;
  }
}


.kt-accordion-panel-active {
  border-left-style: none;
}



.single-product .product_title {
  color: #3B2A82;
  font-family: Outfit;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.single-product .cw-product__price-label {
  width: 100%;
  color: #3B2A82;
  font-family: Outfit;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.single-product .price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  
  color: #3B2A82;
  font-family: Outfit;
  font-size: 32px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: normal;
  margin: 0px !important;
  margin-bottom: 1rem !important;
}

.single-product .cw-product__delivery {
  margin-bottom: 1rem;
  color: #7A719B;
  font-family: Outfit;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.single-product .cw_wooproducts_card__color_label {
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
}

.single-product .cw_wooproducts_card__size_label {
  margin-top: 1rem;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
}

.single-product div.product .woocommerce-product-rating {
  display: flex;
  gap: 1rem;
}

.single-product div.product .woocommerce-product-rating:before, .single-product div.product .woocommerce-product-rating:after {
  content: inherit;
}
.cw-production-types {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

/* Estilos para Tipo de Fabricación - Solo clases personalizadas cw-* */
/* Margen entre los elementos LI */
#fabrication_method li.wfacp_single_shipping_method {
  margin-bottom: 1rem;
}

#fabrication_method li.wfacp_single_shipping_method:last-child {
  margin-bottom: 0;
}

/* Estructura de dos columnas: radio button y contenido */
.cw-fabrication-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;

  border: 1px solid #DDDDDD;
  border-radius: 5px;
  padding: 8px 0px;
}

/* Columna del radio button - ocupa solo lo necesario */
.cw-fabrication-radio-col {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 0.25rem;
}

.cw-fabrication-radio-col input[type="radio"] {
  margin: 0;
  cursor: pointer;
}

/* Columna del contenido - textos en dos filas */
.cw-fabrication-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Label del tipo de fabricación - primera fila */
.cw-fabrication-label {
  display: block;
  cursor: pointer;
  margin: 0 !important;
  color: #3B2A82;
  font-family: Outfit;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

/* Información de entrega - segunda fila */
.cw-fabrication-delivery {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}
.cw-fabrication-title {
  margin-bottom: 1rem !important;
}

.cw-delivery-info {
  color: #3B2A82;
  font-family: Outfit;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.cw-delivery-info u {
  text-decoration: underline;
  font-weight: 500;
}

/* Nota adicional para carrito mixto */
.cw-fabrication-note {
  color: #7A719B;
  font-family: Outfit;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
  font-style: italic;
  display: block;
  margin-top: 0.25rem;
}
.cw-fabrication-row .wfacp_shipping_price {
  width: 100% !important;
}
.cw-text__secure-payment-container {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.cw-text__secure-payment {
  color: #3B2A82;
  text-align: left;
  font-family: Outfit;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin: 0px;
}

.cw-text__secure-payment svg {
  fill:#00b090
}
.menu-item {
  font-size: 20px;
}


.comment-text {
  width: 100% !important;
}

.woocommerce-Reviews-title {
  color: #3B2A82;
  font-family: Outfit;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.woocommerce-review__author {
  color: #3B2A82;
  font-family: Outfit;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.cw-toolbar {
  position: fixed;
  z-index: 9999;

  width: 100%;
  padding: 8px 20px;
  
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  
  background-color: #FF3068;
}

.cw-toolbar__right {
    display: flex;
    justify-content: end;
}
.cw-toolbar__col {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.cw-toolbar__link {
  color: white;
  text-align: center;
  color: #FFF;
  font-family: Outfit;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}



.product-template-default.single.single-product .quantity {
  display: none;
  visibility: hidden;
}

.lumise-customize-button {
  display: flex;
  padding: 14px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex: 1 0 0;
  border-radius: 12px;
  border: 2px solid #FF3067;
  color: #fff !important;
  border-color: #FF3067 !important;
  background-color: #FF3067 !important;
}


/* Estilos para el Popup */

.cw-modal__cover {
  position: fixed;
  left: 0%;
  top: 0%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.20);
  z-index: 999;
  display: none;
  animation: cwFadeIn 0.5s;
  -webkit-animation: cwFadeIn 0.5s;
  -moz-animation: cwFadeIn 0.5s;
  -o-animation: cwFadeIn 0.5s;
  -ms-animation: cwFadeIn 0.5s;
}

.cw-modal__view {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 300px;
  max-width: 600px;
  max-height: 500px;
  overflow-y: scroll;
  background-color: white;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  border-radius: 24px;
}

.cw-modal__image {
  width: 100%;
  height: auto;
}

.cw-modal__close-btn {
  position: absolute; /* Posici贸n absoluta respecto al popup */
  right: 10px; /* Colocar en la esquina superior derecha */
  top: 10px; /* Colocar en la esquina superior derecha */
  cursor: pointer; /* Cambiar cursor para indicar acci贸n */
  font-size: 20px; /* Tama帽o del texto o icono */
  color: #333; /* Color del texto o icono */
  
  animation: cwFadeOut 0.5s;
  -webkit-animation: cwFadeOut 0.5s;
  -moz-animation: cwFadeOut 0.5s;
  -o-animation: cwFadeOut 0.5s;
  -ms-animation: cwFadeOut 0.5s;
}

.cw-text__guide-sizes {
  color: #3B2A82;
  font-family: Outfit;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration-line: underline;
  cursor: pointer;
}

.cw-text__guide-sizes:hover {
  font-size: 0.85rem;
  transition: font-size 1s; /* transition is set to 'font-size 12s' */
}

@keyframes cwFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes cwFadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.cw_features_field__toggle {
  margin-bottom: 1rem;
}

.cw_features_field__toggle .cw_features_field__title {
  cursor: pointer;
  font-weight: bold;
}

.cw_features_field__title:after {
  font-family: "Font Awesome 5 Free";
  content: "\f0d7";
  margin-left: 0.5rem;
}

.cw_features_field__toggle .cw_features_field__content {
  margin-top: 10px;
}

.cw_features_field__toggle .cw_features_field__content p {
  margin-bottom: 0px;
}



.col-full .product {
  display: flex;
  flex-wrap: wrap;
}

.col-full .product .woocommerce-product-gallery {
  float: none !important;
}

.col-full .product .summary {
  float: none !important;
}

/*****/
.cw-product__content, .cw-product__budget {
  width: 100%;
  padding: 0rem;
}

.primary-color {
  color: #3b2a82;
  font-weight: 400;
}

.bold {
  font-weight: 600;
  color: #3b2a82;
}

.acordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acordion-head {
  display: flex;
  justify-content: space-between;
}

.acordion-line {
  width: 100%;
  height: 1px;
  background-color: #7a719b;
  display: block;
}

.section-pricing-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.container-location-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-tab {
  padding: 0.5rem 1rem;
  flex: 1;
  color: #3b2a82;
  background: white;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.location-tab:hover,
.location-tab.active {
  border: 2px solid #3b2a82;
}

.check-icon {
  display: none;
}

.location-tab.active .check-icon {
  display: grid;
  place-content: center;
}

.container-pricing-table .table-body {
  border-bottom: 1px solid #3b2a82;
}

.container-pricing-table tr {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  place-content: center;
}

.container-pricing-table th {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  font-weight: 600;
  color: #3b2a82;
  border-bottom: 2px solid #3b2a82;
  padding: 1em;
}

.container-pricing-table td {
  border-bottom: 1px solid #7a719b;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 0.5rem 0.1rem;
}
.container-pricing-table th, .container-pricing-table td {
  background-color: transparent !important;
}
.container-pricing-table td input {
  max-width: 5rem;
  text-align: center;
  border-radius: 8px;
  padding: 8px;
  color: #3b2a82;
  background-color: #ffff;
  border: 2px solid #7a719b;
}

.td-price {
  font-weight: 600;
  color: #ff3067;
}

.red-button {
  border: 2px solid #ff3067;
  padding: 0.8rem 1.25rem;
  margin-top: 1.5rem;
  background-color: transparent;
  align-items: center;
  font-weight: 600;
  color: #ff3067;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.row-border-none td {
  border-bottom: none;
}

.row-calculate {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.red-button:active {
  transform: scale(0.95);
}


/******* GLS PARCEL SHOP CUSTOMIZATION *******/
#parcelinfo-container {
    padding: 1rem 0rem;
}

#parcelinfo-container .button {
    padding: 0.5rem 0.5rem;
    border-radius: 0.75rem;
    border: 0.125rem solid #FF3067;
    color: #FF3067 !important;
    border-color: #FF3067 !important;
    background-color: #ffffff00 !important;
}

#parcelinfo {
    margin-top: 1rem;
}

#parcelinfo .panel-title {
    font-size: 1rem;
    margin: 0;
}

#parcelinfo .panel-body {
    font-size: 0.8rem;
}



/******/
footer.site-footer {
	padding: 1.618em 2rem 3.706325903em;
} 

footer.site-footer .widget.widget_block{
	margin: 0rem 0rem 1rem 0rem;
}

footer.site-footer .footer-widgets {
	padding-top: 1rem;
}

footer.site-footer .footer-widgets a {
	text-decoration: none;
}

footer.site-footer .footer-widgets a:hover {
	text-decoration: underline;
}

footer.site-footer .site-info {
	display: none;
}

.storefront-sticky-add-to-cart {
	display: none;
}

@media (min-width: 768px) {
  .cw-product__content {
    width: 45%;
  }
  .cw-product__budget {
    margin: 0% auto;
    width: 90%;
    padding: 1rem;
  }
  .container-location-tabs {
    flex-direction: row;
  }
  .cw-toolbar {
    justify-content: space-between;
    gap: 4px;
  }

  .site-header {
    margin-top: 1.5rem;
  }
}



/* cart */
.woocommerce-cart-form .product-price {
	display: none;
}

.fabricacion-express {
    background-color: green;
    color: white;
    padding: 5px;
}


/* Precio rebajado en rojo y base atenuado */
.price ins,
.cw-price--on-sale ins {
  color: #FF3068; /* rojo */
  text-decoration: none;
}

.price del,
.cw-price--on-sale del {
  opacity: 0.75;
  font-size: 1rem;
}

/**/

.sc-site-toolbar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wp--style--block-gap, 0.5rem);
  background: var(--wp--preset--color--base-2, #ffffff);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 50;
}
.sc-site-toolbar #block-68 {
  width: 100%;
  margin: 0;
}

/* Fijar arriba si lo necesitas (añade .is-sticky desde un bloque/grupo) */
.sc-site-toolbar.is-sticky,
.sc-site-toolbar[data-sticky="true"] {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(1.1) blur(6px);
}

/* Reset mínimos para widgets dentro */
.sc-site-toolbar > .widget { margin: 0; }

.sc-site-toolbar a {
  color: white;
}
.cw-price-before {
  font-size: 14px;
  text-decoration: line-through;
  opacity: 0.9;
}

.cw-price-now {
  font-size: 18px;
  font-weight: 700;
  color: #ff3067; /* rojo */
}
.text-left {
  text-align: left;
}

.gp-menu-new {
  position: relative;
}

/* not on mobile */
@media (min-width: 768px) {
  /* add to gp-menu-new new tag */
  .gp-menu-new::before {
    content: 'New';
    border: 2px solid #ff3067;
    color: #ff3067;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    bottom: 100%;
    top: auto;
    transform: translate(-50%, -0.35rem);
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  .gp-menu-new::before {
    display: none;
  }
}

/* VIDEO BUTTON */
.cw-gallery-video-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tamaño base (desktop) */
.cw-gallery-video-thumb > span {
  --video-btn-size: 45px; /* antes 60px */
  --play-triangle-size: 8px; /* antes 10px */
  --play-triangle-width: 12px; /* antes 16px */

  display: inline-block;
  width: var(--video-btn-size);
  height: var(--video-btn-size);
  background: #e85b4a;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* efecto hover opcional */
.cw-gallery-video-thumb > span:hover {
  transform: scale(1.05);
  background: #d14b3f;
}

/* Triángulo del "play" */
.cw-gallery-video-thumb > span > span {
  width: 0;
  height: 0;
  border-top: var(--play-triangle-size) solid transparent;
  border-bottom: var(--play-triangle-size) solid transparent;
  border-left: var(--play-triangle-width) solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
}

/* Versión móvil */
@media (max-width: 600px) {
  .cw-gallery-video-thumb > span {
    --video-btn-size: 35px;
    --play-triangle-size: 6px;
    --play-triangle-width: 10px;
  }
}

/* Oculta la primera galería nativa si se imprimen dos */
.single-product .woocommerce-product-gallery:first-of-type {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
}

/* Hide WooCommerce cart - use FunnelKit instead */
.site-header-cart,
.woocommerce-cart-link,
[class*='header-cart'],
a.cart-icon {
  display: none !important;
}

/* Mobile: Hide bottom cart */
@media (max-width: 768px) {
  .storefront-handheld-footer-bar .cart,
  .mobile-cart-icon {
    display: none !important;
  }
}

/* Hide mobile bottom bar (user, search, cart) */
@media (max-width: 768px) {
  .cw-toolbar {
    display: none !important;
  }
  
  /* Alternative selectors for bottom nav */
  [class*='bottom-nav'],
  [class*='mobile-footer-menu'],
  .storefront-handheld-footer-bar {
    display: none !important;
  }
}
