/*
Theme Name: Blocksy Child
Theme URI:
Description: Blocksy Child
Author: Sarmite
Author URI:
Template: blocksy
Version: 1.0.0
*/
* {
  font-family: "Cormorant Garamond", serif !important;
}
h1 {
  font-weight: 500 !important;
}
h1, h2, h3, h3, .counter, .league-font {
  font-family: "League Gothic", sans-serif !important;
}
.ct-woocommerce-cart-form .cart_totals h2, .ct-woocommerce-checkout h3 {
    font-family: "Cormorant Garamond", serif !important;
}
#banner-container {
  padding-top: 90px;
  padding-right: 0px;
  padding-left: 0px;
}
button,
.elementor-button,
input[type="submit"],
a.elementor-button {
  transition: background-color 0.6s ease, color 0.4s ease;
}
.feature-card {
  background-color: #fdfbfc; /* very light background */
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: #6c96df; /* accent border on hover */
}
.feature-card:hover svg path {
  fill: #6c96df;
  stroke: #6c96df;
}
.home .woocommerce ul.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.home .woocommerce ul.products li.product {
  flex: 1 1 100%;
  max-width: 100%;
}

/* Center the description */
.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce
  ul.products
  li.product
  .woocommerce-product-details__short-description {
  text-align: center;
}
/* Ensure product container uses flex layout */
.home .woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Center category as a button (optional styling) */
.home .woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .woocommerce-loop-product__category {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}

.home .woocommerce ul.products li.product .posted_in a,
.woocommerce ul.products li.product .woocommerce-loop-product__category a {
  background-color: #bf3254; /* Your custom color */
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

/* Center add to cart button */
.home .woocommerce ul.products li.product .button {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  text-align: center;
}
.toggle-btn {
  display: block;
  margin: 0 auto;
  margin-top: 15px;
  border-radius: 5px;
  padding: 5px 12px;
}
/* Vispārējais stils laukiem */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  font-size: 18px;
  transition: all 0.3s ease;
  outline: none;
  position: relative;
}

/* Konteiners animācijai */
.wpcf7-form-control-wrap {
  position: relative;
}

/* Apakšējā līnijas animācija */
.wpcf7-form-control-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10px;
  width: 0;
  background-color: #ce7d8f !important; /* krāsa, kad ir focus */
  transition: width 0.3s ease;
}

/* Kad fokusēts, paliek biezāks un animējas */
.wpcf7 input[type="text"]:focus + span::after,
.wpcf7 input[type="email"]:focus + span::after,
.wpcf7 textarea:focus + span::after {
  width: 100%;
}

/* Noņem fokusēšanās iekrāsošanos */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  background: transparent;
  box-shadow: none;
}
.product_meta .sku_wrapper {
  display: none !important;
}
#menu-footer-menu li {
  margin-bottom: 25px;
  font-size: 18px;
}
/* No top spacing for WooCommerce Shop page */
.woocommerce-page .content-area,
.archive.woocommerce .content-area {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
footer a,
footer p {
  font-size: 17px !important;
  line-height: 1.8;
}
.story-part {
  font-size: 22px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.3); /* pelēcīgs, bet salasāms */
  transition: color 0.3s ease, font-weight 0.3s ease;
}
.woocommerce-products-header h1.page-title,
.woocommerce-page .page-title {
  text-transform: uppercase; /* viss ar lielajiem burtiem */
  letter-spacing: 3px; /* atstarpe starp burtiem */
}
/* Noņem lielo pelēko laukumu shop lapā */
.woocommerce-page .page-header,
.woocommerce-page .elementor-page-title,
.woocommerce-page .entry-header {
  display: none !important;
}
/* Kompakts shop header */
.shop-header-compact {
  text-align: center;
  padding: 20px 0; /* samazina augšējo/ apakšējo vietu */
  background: transparent; /* vai viegla krāsa, ja vēlies */
}

.shop-header-compact h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.shop-header-compact p {
  font-size: 1rem;
  margin: 0;
  color: #555; /* viegls pelēks teksts */
}
/* Pabīda single product lapas saturu zem sticky header */
.single-product .site-main {
  padding-top: 100px; /* pielāgo augstumu pēc sava header augstuma */
}
/* Centrs quantity wrapper */
.quantity {
  display: flex !important; /* piespied flex */
  align-items: center !important; /* vertikāli centrē */
  justify-content: space-between; /* plus/mīnus pa malām, lodziņš vidū */
}

/* Input lodziņš */
.quantity input.qty {
  flex: 1 1 auto; /* aizņem visu starp pogām */
  text-align: center;
}

/* Plus/Mīnuss pogas */
.quantity .ct-decrease,
.quantity .ct-increase {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 36px; /* pielāgo input augstumam */
  width: 36px;
  font-size: 18px;
  line-height: 1;
}
.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce
  ul.products
  li.product
  .woocommerce-product-details__short-description {
  text-align: center;
}
.featured-products li.meta-categories {
  display: none !important;
}
.woocommerce ul.products li.product .price {
  font-size: 1.2em; /* palielina fontu */
  font-weight: bold; /* trekns fonts */
}
/* Noņem kategorijas veikalā un featured products */
.woocommerce ul.products li.product .meta-categories {
  display: none !important;
}
.woocommerce ul.products li.product .price {
  display: block;
  text-align: left; /* piespiež kreisajā pusē */
  font-size: 1.4em; /* lielāks font */
}
/* Hide the disabled “Piemērot” button */
button[name="update_cart"][value="Piemērot"][disabled] {
  display: none !important;
}
/* Center the remove (trash) icon in the cart */
.woocommerce-cart .product-remove a.remove {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.checkout-button br {
  display: none; /* paslēpj <br> */
}
body.woocommerce-checkout form.woocommerce-checkout {
  margin-top: 120px;
}
#size-chart-popup {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999 !important;
  padding: 10px;
  overflow-y: auto;
}
#size-chart-popup img {
  max-width: 100% !important;
  height: auto !important;
}
@media (max-width: 767px) {
  .elementor a.elementor-button,
  .elementor .elementor-button, .toggle-btn {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
  }
}
.woocommerce-mini-cart__buttons a.wc-forward:not(.checkout) {
    display: none !important;
}
@media (min-width: 768px) {
  .ct-sticky-container {
    position: sticky !important;
    top: 0;
    z-index: 9999;
  }
}
@media (max-width: 1024px) {
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
  }}
  .woocommerce-Reviews-title{
      font-weight: 100;
      letter-spacing: 0.5px;
  }