/* WooCommerce — fiche produit (aligné prod santagemmabomboneria.com) */

.sg-gp-chrome.single-product .site-content {
  background: #fff;
}

.sg-gp-chrome.single-product .site-main .inside-article,
.sg-gp-chrome.single-product .woocommerce-notices-wrapper {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.sg-gp-chrome.single-product .entry-content {
  margin-top: 0;
}

.single-product .product {
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.sg-gp-chrome.single-product div.product::after {
  content: "";
  display: table;
  clear: both;
}

/* Galerie */
.sg-gp-chrome.single-product .woocommerce-product-gallery {
  opacity: 1 !important;
}

.sg-gp-chrome.single-product div.product div.images .woocommerce-product-gallery__image:nth-child(n + 2) {
  width: 20%;
  display: inline-block;
  border: 4px solid #fff;
  box-sizing: border-box;
  margin-top: 4px;
}

.sg-gp-chrome.single-product div.product div.images figure {
  margin: 0;
}

/* Résumé */
.sg-gp-chrome.single-product .product_title {
  font-family: Poppins, sans-serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  color: #2d2d2d;
  margin: 0 0 1.5rem;
}

/* Catalogue : aucun prix affiché sur la fiche produit (résumé, relacionados, etc.) */
.single-product .price {
  display: none !important;
}

.sg-gp-chrome.single-product .woocommerce-product-details__short-description {
  margin: 0.5rem 0 1rem;
  display: block;
  font-family: Poppins, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.45;
  color: #2d2d2d;
}

.sg-gp-chrome.single-product .summary.entry-summary .woocommerce-product-details__short-description p {
  margin: 0 0 1rem;
}

.sg-gp-chrome.single-product .summary.entry-summary .product_meta {
  color: #2d2d2d;
  font-family: Poppins, sans-serif;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.sg-gp-chrome.single-product .summary.entry-summary .product_meta > span {
  display: block;
  margin-bottom: 0.35rem;
}

.sg-gp-chrome.single-product .summary.entry-summary .product_meta span a {
  padding: 8px;
  border: 1px solid #f1f1f1;
  font-size: 13px;
  line-height: 13px;
  display: inline-block;
  margin: 5px 10px 5px 0;
  border-radius: 3px;
  text-decoration: none;
  color: #2d2d2d;
}

.sg-gp-chrome.single-product .summary.entry-summary .product_meta .sku_wrapper span.sku {
  padding: 8px;
  border: 1px solid #f1f1f1;
  font-size: 13px;
  line-height: 13px;
  display: inline-block;
  margin: 5px 10px 5px 0;
  border-radius: 0;
  color: #7e7e7e;
  font-family: Poppins, sans-serif;
}

/* Onglets */
.sg-gp-chrome.single-product .woocommerce-tabs {
  clear: both;
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs {
  margin: 0 0 2.5rem !important;
  padding: 0 !important;
  border-bottom: 1px solid #f1f1f1;
  overflow: visible !important;
}

.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs::before {
  border-bottom: 0 !important;
}

.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs li {
  background: #fff !important;
  border: 0 !important;
  margin: 0 !important;
}

.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs li a {
  color: #2d2d2d !important;
  font-family: Poppins, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.2;
  font-weight: 400 !important;
  padding: 1.25rem 0.75rem !important;
  text-decoration: none;
}

.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs li.active {
  box-shadow: 0 1px 0 #c19b77 !important;
}

.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs li::before,
.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs li::after,
.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs li.active::before,
.sg-gp-chrome.single-product .woocommerce-tabs ul.tabs li.active::after {
  display: none;
}

.sg-gp-chrome.single-product .woocommerce-Tabs-panel--additional_information h2 {
  font-family: Poppins, sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 1.25rem;
  color: #2d2d2d;
}

.sg-gp-chrome.single-product table.shop_attributes {
  width: 100%;
  text-align: left;
  border-top: 1px solid #f1f1f1;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.sg-gp-chrome.single-product table.shop_attributes th,
.sg-gp-chrome.single-product table.shop_attributes td {
  border-bottom: 1px solid #f1f1f1;
  font-family: Poppins, sans-serif;
  font-weight: 400;
  color: #2d2d2d;
  padding: 15px 20px;
  vertical-align: top;
}

.sg-gp-chrome.single-product table.shop_attributes th {
  width: 28%;
}

.sg-gp-chrome.single-product table.shop_attributes td p {
  margin: 0;
}

/* Produits associés / ventes incitatives */
.sg-gp-chrome.single-product .related.products,
.sg-gp-chrome.single-product .up-sells.upsells.products {
  clear: both;
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.sg-gp-chrome.single-product .related.products > h2,
.sg-gp-chrome.single-product .up-sells.upsells.products > h2 {
  font-family: Poppins, sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: #2d2d2d;
  margin: 0 0 2rem;
  position: relative;
}

.sg-gp-chrome.single-product .related.products ul.products li.product,
.sg-gp-chrome.single-product .up-sells.upsells.products ul.products li.product {
  text-align: center;
}

.sg-gp-chrome.single-product .related.products .star-rating {
  display: none;
}

/* Hero catégorie produit */
.sg-cat-hero {
  position: relative;
  width: 100%;
  min-height: 220px;
  margin-bottom: 2rem;
  background-color: #2d2d2d;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.sg-cat-hero--no-image {
  background-image: none;
}

.sg-cat-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.55);
}

.sg-cat-hero--no-image .sg-cat-hero__overlay {
  background: rgba(45, 45, 45, 0.92);
}

.sg-cat-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

.sg-cat-hero__title {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.125rem);
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.02em;
}

.sg-cat-hero__description {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  font-family: Poppins, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.sg-cat-hero__description p {
  margin: 0;
}

@media (max-width: 768px) {
  .sg-cat-hero__inner {
    padding: 3.5rem 1.25rem;
  }
}

/* Archives catégorie — grille produits */
.sg-gp-chrome.sg-product-cat-archive .site-content,
.sg-gp-chrome.sg-woo-archive .site-content {
  background: #fff;
}

.sg-gp-chrome.sg-product-cat-archive .site-main .inside-article,
.sg-gp-chrome.sg-product-cat-archive .entry-content {
  padding-left: 0;
  padding-right: 0;
}

.sg-cat-products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  box-sizing: border-box;
}

.sg-gp-chrome.sg-product-cat-archive .woocommerce-pagination,
.sg-gp-chrome.tax-product_cat .woocommerce-pagination {
  display: none !important;
}

.sg-gp-chrome.tax-product_cat ul.products,
.sg-gp-chrome.sg-product-cat-archive .sg-cat-products ul.products,
.sg-gp-chrome.post-type-archive-product ul.products {
  text-align: center;
}

.sg-gp-chrome.tax-product_cat ul.products li.product,
.sg-gp-chrome.sg-product-cat-archive .sg-cat-products ul.products li.product,
.sg-gp-chrome.post-type-archive-product ul.products li.product {
  text-align: center;
}

.sg-gp-chrome.tax-product_cat ul.products li.product .button,
.sg-gp-chrome.sg-product-cat-archive .sg-cat-products ul.products li.product .button {
  display: none !important;
}

.sg-gp-chrome.post-type-archive-product ul.products li.product .button {
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  border: 1px solid #f1f1f1;
  background: #fff;
  color: #7e7e7e;
  border-radius: 3px;
  margin-top: 0.5rem;
}

.sg-gp-chrome.tax-product_cat .price,
.sg-gp-chrome.post-type-archive-product .price {
  display: none !important;
}

.sg-gp-chrome.tax-product_cat .widget-area,
.sg-gp-chrome.sg-product-cat-archive .widget-area,
.sg-gp-chrome.sg-product-cat-archive #right-sidebar {
  display: none !important;
}

/* Archives catégorie (cohérence catalogue) */
.sg-gp-chrome.post-type-archive-product .woocommerce-products-header,
.sg-gp-chrome.tax-product_cat .woocommerce-products-header,
.sg-gp-chrome.tax-product_tag .woocommerce-products-header {
  display: none;
}

.sg-gp-chrome.post-type-archive-product p.woocommerce-result-count,
.sg-gp-chrome.tax-product_cat p.woocommerce-result-count,
.sg-gp-chrome.tax-product_tag p.woocommerce-result-count,
.sg-gp-chrome.post-type-archive-product form.woocommerce-ordering,
.sg-gp-chrome.tax-product_cat form.woocommerce-ordering,
.sg-gp-chrome.tax-product_tag form.woocommerce-ordering {
  display: none;
}

@media (max-width: 768px) {
  .sg-gp-chrome.single-product div.product div.images,
  .sg-gp-chrome.single-product div.product div.summary {
    width: 100%;
    float: none;
    margin-bottom: 1.5rem;
  }
}
