/* CROSSSELL WRAPPER */

.folka-crossells{
    margin-top:20px;
    margin-bottom:20px;
    padding:0 16px;
  }
  
  .folka-crossells-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:10px;
  }
  
  .folka-crossells-header h3{
    font-size:13px;
    letter-spacing:.08em;
    font-weight:600;
    text-transform:uppercase;
    margin:0;
  }
  
  
  /* NAVIGATION */

  .folka-nav-wrapper{
    display:flex;
    gap:6px;
  }

  .folka-crossells-prev,
  .folka-crossells-next{
    cursor:pointer;
    font-size:14px;
    width:32px;
    height:32px;
    border-radius:50%;
    border:1px solid #ccc;
    display:flex;
    align-items:center;
    justify-content:center;
    user-select:none;
    background:#fff;
    transition:border-color .2s;
  }

  .folka-crossells-prev:hover,
  .folka-crossells-next:hover{
    border-color:#000;
  }
  
  
  /* SWIPER */
  
  .folka-crossells-swiper{
    overflow:visible;
  }
  
  /* .folka-crossells-swiper .swiper-slide{
    width:160px !important;
  }
  
   */
  /* PRODUCT CARD */

  .folka-crossells-product{
    display:flex;
    align-items:center;
    gap:12px;
    background:#f5f5f5;
    border-radius:6px;
    padding:12px;
    font-size:13px;
  }

  .folka-product-image{
    display:block;
    flex-shrink:0;
    width:80px;
  }

  .folka-crossells-product img{
    width:100%;
    height:auto;
    border-radius:4px;
    display:block;
  }

  .folka-product-info{
    flex:1;
    min-width:0;
  }

  /* PRODUCT TITLE */

  .folka-crossells-product p{
    font-size:13px;
    font-weight:600;
    margin:0 0 4px;
    line-height:1.3;
  }

  /* PRICE */

  .folka-crossells-product .product-price{
    font-size:13px;
    margin-bottom:6px;
  }

  .folka-crossells-product span{
    font-size:13px;
  }
  
  
  /* SIZE SELECTOR */
  
  .folka-sizes{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:6px 0;
  }
  
  .folka-size-chip{
    border:1px solid #ddd;
    padding:3px 6px;
    font-size:11px;
    background:#fff;
    cursor:pointer;
    transition:.2s;
  }
  
  .folka-size-chip:hover{
    border-color:#000;
  }
  
  .folka-size-chip.active{
    background:#000;
    color:#fff;
    border-color:#000;
  }
  
  
  /* SKELETON */

  @keyframes folka-shimmer{
    0%{background-position:200% 0}
    100%{background-position:-200% 0}
  }

  .folka-skeleton{
    background:linear-gradient(90deg,#ececec 25%,#f5f5f5 50%,#ececec 75%);
    background-size:200% 100%;
    animation:folka-shimmer 1.4s ease infinite;
    border-radius:4px;
  }

  .folka-skeleton--title{
    height:12px;
    width:100px;
  }

  .folka-skeleton--product-image{
    width:80px;
    height:80px;
    flex-shrink:0;
    border-radius:4px;
  }

  .folka-skeleton--line{
    height:10px;
    margin-bottom:6px;
  }

  .folka-skeleton-chips{
    display:flex;
    gap:6px;
    margin:8px 0;
  }

  .folka-skeleton--chip{
    width:28px;
    height:22px;
    border-radius:3px;
  }

  .folka-skeleton--add-btn{
    width:60px;
    flex-shrink:0;
    align-self:stretch;
    border-radius:3px;
  }


  /* ADD TO CART */

  .folka-add-to-cart{
    flex-shrink:0;
    width:auto;
    padding:10px 16px;
    font-size:12px;
    font-weight:600;
    letter-spacing:.05em;
    border:none;
    background:#6b6b6b;
    color:#fff;
    cursor:pointer;
    position:relative;
    white-space:nowrap;
  }
  
  .folka-add-to-cart:disabled{
    opacity:.4;
    cursor:not-allowed;
  }
  
  .folka-add-to-cart.loading{
    color:transparent;
    pointer-events:none;
    position:relative;
  }

  .folka-add-to-cart.loading::after{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:12px;
    height:12px;
    margin:-6px 0 0 -6px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,.35);
    border-top-color:#fff;
    animation:folka-spin .6s linear infinite;
  }

  @keyframes folka-spin{
    to{transform:rotate(360deg);}
  }

/* Hide quantity & descrption del minicart */

h2.wc-block-mini-cart__title span:first-child{padding:5px 0}
/* .wc-block-components-quantity-selector {display: none !important;} */
.wc-block-components-product-metadata__description {display: none !important;}
.wp-block-woocommerce-mini-cart-title-items-counter-block {display: none !important;}

/* Ocultar quantity y remove en ítems gratis de ADP */
.wc-block-cart-item__product:has(.awdr_free_product_text) 
~ .wc-block-cart-item__quantity {
    display: none !important;
}

/* También en el mini-cart drawer */
.wc-block-mini-cart__products-table 
.wc-block-cart-items__row:has(.awdr_free_product_text) 
.wc-block-cart-item__quantity {
    display: none !important;
}


/* Mini cart icon */
.wc-block-mini-cart__button {
    gap: 1px !important;
}
.wc-block-mini-cart__button .wc-block-mini-cart__quantity-badge {
    position: absolute;
    right: 13px;
    bottom: 0;
} 

:root {
  --drawer-width: 36rem !important;
  --neg-drawer-width: calc(var(--drawer-width) * -1);
}

.wp-block-woocommerce-mini-cart-shopping-button-block a,
.wp-block-woocommerce-mini-cart-shopping-button-block .wp-block-button__link,
.wp-block-woocommerce-mini-cart-shopping-button-block .wp-element-button,
.wp-block-woocommerce-empty-mini-cart-contents-block .wp-block-button__link,
.wp-block-woocommerce-empty-mini-cart-contents-block .wp-element-button,
.wp-block-woocommerce-empty-mini-cart-contents-block a.wc-block-components-button,
.wp-block-woocommerce-empty-cart-block .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block .wp-element-button {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
  box-shadow: none !important;
}

/* Fix mini cart icon color por ultima version de WP */
.wc-block-mini-cart__badge {
  background-color: #030303;
  color: #fefefe;
}
  
/* MOBILE */

@media (max-width:640px){

  .folka-product-image{
    width:64px;
  }

}