/*
Theme Name: Shoptimizer Child Theme
Theme URI: 
Description: Child theme of Shoptimizer
Author: CommerceGurus
Author URI: 
Template: shoptimizer
Version: 1.2.2
License:         	GNU General Public License v2 or later
License URI:     	http://www.gnu.org/licenses/gpl-2.0.html
*/

  :root {
      --trofe-accent: #54bcc9;
  }

  /* YITH */
.yith-wapo-popup #commercegurus-pdp-gallery-wrapper,
.yith-wapo-popup .shoptimizer-product-prevnext,
.yith-wapo-popup .product_title,
.yith-wapo-popup .product-subtitle,
.yith-wapo-popup .product-sku,
.yith-wapo-popup .cgkit-as-variation-price ,
.yith-wapo-popup .woocommerce-product-details__short-description,
.yith-wapo-popup .variations,
.yith-wapo-popup .woocommerce-variation,
.yith-wapo-popup .product-widget,
.yith-wapo-popup #shoptimizer-modals-wrapper,
.yith-wapo-popup .commercekit-wishlist,
.yith-wapo-popup .related-wrapper
 {
  display: none;
}
.yith-wapo-popup .single_add_to_cart_button {
  opacity: 1 !important;
  cursor: pointer !important;
}
.addon-header,
.wapo-addon-title {
  font-size: 16px !important; 
  font-weight: 400 !important;
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}
  .yith-wapo-addon, #wapo-total-price-table {
    background: transparent;
  }
.fpd-product-designer-wrapper {	
  float: left;	
  width: 100%; 
  /* 60% for replacing image */
}

.fpd-container.fpd-sidebar>fpd-main-bar {
  flex: 0;
}

.mspc-content .mspc-variations .mspc-variation .mspc-attribute-image {
  max-width: 50px;
  margin: auto !important;
} 

/* Hide radiobuttons for mspc pa_size */
.mspc-pa_size .mspc-radio {
  display: none !important;
}

/* Cards */
.mspc-wrapper .mspc-variation{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  gap:4px!important;padding:6px!important;margin:0!important;border:1px solid #ddd!important;border-radius:6px!important;
  background:#fff!important;cursor:pointer!important;
}

/* Active/hover feedback */
.mspc-wrapper .mspc-variation.mspc-active{border-color:#222!important;box-shadow:0 0 0 2px rgba(0,0,0,.06)!important;}
.mspc-wrapper .mspc-variation:hover{border-color:#555!important}

/** Image box: fixed, tight, consistent **/

.mspc-wrapper .mspc-variation img.mspc-attribute-image{
  width:70px!important;height:70px!important;object-fit:contain!important;aspect-ratio:1/1!important;border-radius:4px!important;
  display:block!important;margin:0 auto!important;
}

/* Radios smaller and inline-top */
.mspc-content .mspc-variations .mspc-variation .mspc-radio{order:-1;display:flex;align-items:center;justify-content:center}
.mspc-content .mspc-variations .mspc-variation .mspc-radio input{transform:scale(.9);}

/* Title: compact with ellipsis (2 lines) */
.mspc-wrapper .mspc-variation .mspc-text-wrapper{
  font-size:12px!important;line-height:1.2!important;text-align:center!important;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}

/* Optional: shrink overall column min width */
.mspc-variations{--mspc-column-min-width:120px;}
