/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Stela Pavlova
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/*****Add any custom CSS below this line*****/

/* Филтри на десктоп промяна на шрифта и разстоянието */
@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');

/* Hide the Опции button on empty cart product grid */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
  display: none;
}
/* Product title - Poiret One */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
  font-family: 'Poiret One', sans-serif;
  font-size: 14px;
  color: rgb(91, 71, 124);
  text-align: center;
  text-decoration: none;
}
/* Price - Google Sans */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
  font-family: 'Google Sans', sans-serif;
  font-size: 14px;
  color: rgb(102, 102, 102);
  text-align: center;
}
/* Remove any card backgrounds/borders */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
  background: none;
  border: none;
  box-shadow: none;
}
/* ==========================================================
   PRODUCT PAGE — Variation Swatches, Size Buttons & Layout
   ========================================================== */

/* Hide native WooCommerce variation UI (replaced by custom buttons) */
.variations select,
.reset_variations,
.variations_form .variations tr td.value > a {
  display: none !important;
}
td.value[data-is-span-added="1"] > span {
  display: none !important;
}

/* Custom size buttons */
.divi-size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
  justify-content: center;
}
.divi-size-btn {
  padding: 8px 16px;
  border: 1px solid #333;
  background: #fff;
  color: #333;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 1px;
  transition: all 0.2s ease;
  min-width: 56px;
  text-align: center;
  line-height: normal;
}
.divi-size-btn:hover { background: #f5f5f5; }
.divi-size-btn.selected { background: #333; color: #fff; }
.divi-size-btn.unavailable {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  pointer-events: none;
}

/* Center variation row & swatches container */
.single-product table.variations td.value {
  text-align: center !important;
}
.single-product .variable-items-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
}
.single-product table.variations th.label {
  display: none !important;
}

/* 1. Шрифт и размер на филтрите — заглавия и опции */
.wpc-filter-title,
.wpc-filter-content,
.wpc-filter-content li.wpc-term-item,
.wpc-filter-content li.wpc-term-item label,
.wpc-filter-content li.wpc-term-item a,
.wpc-filter-content input,
.wpc-filter-content select {
    font-family: 'Poiret One', sans-serif !important;
    font-size: 15px !important;
}

/* 2. По-малко разстояние между отделните филтри */
.wpc-filters-section {
    margin-bottom: 12px !important; /* по подразбиране е 32px */
}
/* Бутони на количка и checkout страници */
.wc-block-components-button.contained {
  background-color: #32373C !important;
  color: #ffffff !important;
  padding: 14px 24px !important;
  border-radius: 0 !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.wc-block-components-button.contained:hover {
  background-color: #1e2124 !important;
  color: #ffffff !important;
}