/*
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
*/

/* Cacher le champ pays de facturation */
#billing_country_field {
  display: none !important;
}

/* Cacher les champs supplémentaires */
.woocommerce-additional-fields {
  display: none !important;
}

/* Titres des produits avec ellipsis */
.woocommerce-loop-product__title a {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Prix en gras et plus gros */
.woocommerce-Price-amount {
  font-weight: 600 !important;
  font-size: 1.1em !important;
}

/* CSS de page marque */
/* Chaque élément marque */
.pwb-all-brands .pwb-brands-col3 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 120px !important;
  padding: 20px !important;
  background-color: #fff !important;
  border: 1px solid rgba(20, 18, 44, 0.15) !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

/* Effet hover pour les marques */
.pwb-all-brands .pwb-brands-col3:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  transform: translateY(-4px) !important;
  border-color: #14122c !important;
}

/* Images des marques */
.pwb-all-brands .pwb-brands-col3 img {
  max-height: 90px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  transition: filter 0.3s ease !important;
}

/* Attributs sélectionnés */
.cgkit-as-wrap .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-button button.cgkit-swatch-selected {
  background: #14122c !important;
  border-color: #14122c !important;
  color: #fff !important;
}

/* Boutons d'attributs */
.cgkit-as-wrap-plp .cgkit-attribute-swatches .cgkit-attribute-swatch.cgkit-button button {
  border: 1px solid #14122c !important;
}



/* Navigation responsive */
@media (min-width: 993px) {
  .main-navigation ul li.full-width > .sub-menu-wrapper > .container > ul.sub-menu > li { 
    width: 100% !important;
  }
}

/* Fond du sous-menu */
#nav-menu-item-4157 .sub-menu-wrapper > .container > ul.sub-menu {
  background-color: white !important;
}

/* Couleur d'info WooCommerce */
.woocommerce-info {
  background-color: #a31621 !important;
}

.pwb-single-product-brands {
  display: flex;
  align-items: center;
  justify-content: flex-start;
	padding-top:5px;
}

.pwb-single-product-brands a {
  display: inline-block;
  width: 60px; /* عرض مستطيل */
  height: 30px;  /* ارتفاع مستطيل */
  padding: 0px;
  background-color: #fff;
  border: 0.25px solid #14122c;
  border-radius: 8px;
  box-sizing: border-box;
}

.pwb-single-product-brands img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}


/* تأثير عند المرور */
.pwb-single-product-brands img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}
.pwb-single-product-brands {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-top: 5px !important;
}

.pwb-single-product-brands a {
  display: inline-block !important;
  width: 60px !important;
  height: 30px !important;
  padding: 0px !important;
  background-color: #fff !important;
  border: 0.5px solid #14122c !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
}

.pwb-single-product-brands img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
}

/* تأثير عند المرور */
.pwb-single-product-brands img:hover {
  transform: scale(1.05) !important;
  filter: grayscale(0%) !important;
}
.woocommerce-card__header {
  padding: 7px;
}
