/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

a:focus {
  outline: unset !important;
}

.woocommerce ul.products li.product .price .amount {
  color: #730C02 !important;
}

.wp-ocean-products {
  /* 	&.f-start .products.oceanwp-row {
		justify-content: flex-start;
	}
	&.f-end .products.oceanwp-row {
		justify-content: flex-end;
	} */

  .products.oceanwp-row {
    justify-content: space-between !important;
    gap: 5rem;
    margin: 0;

    &:after {
      content: unset;
    }

    .entry.product {
      padding: 0 !important;
      margin: 0 !important;
    }
  }
}

.entry.product img {
  width: 100%;
}

/* zrobiona klasa i dodana w ustawieniach zaawansowanych obrazka */
.main-site-picture-next-to-4products {
  height: 822.1px !important;
  margin-top: 10px !important;
}

.section-kontakt-kolory-linkow {
  color: #1E0301 !important;

  &:hover {
    color: #CC0000 !important;
  }
}

.wc-block-components-select-input-cbp-preferred-delivery-time {
  &.hidden {
    display: none !important;
  }
}

.wc-blocks-components-select__select {
	padding-top: 13px !important;
}

.wc-blocks-components-select__label {
	pointer-events: none !important;
}

/* komunika wyswietlany po wejsciu w produkt w sklepie, informuje o tym gdzie produkt jest dostepny do zamowienia */
.product_restriction_info {
  padding: 1rem 2rem;
  color: red;
  border: 1px dashed red;
  font-weight: 700;
  font-size: 1.375rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* przyciski ktore maja taka klase np w pustym koszyku */
.wp-block-button__link {
	background-color: #730c02 !important;
	&:hover {
		background-color: #910000 !important;
		color: #fff !important;
	}
}

/*koszyk bez produktu*/
body.woocommerce-cart .wp-block-woocommerce-product-new { 
/* 	tytuł produkty w pustym koszyku */
	.wc-block-grid__product-title {
		font-size: 20px !important;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-align: center;
	}
	/*ustawia by cena produktu w pustym koszyku była na tej samej wysokości co produkt z długą nazwą*/
	.wc-block-grid__product-price {
		margin-top: auto !important;
	}

  /* 	cena produktu w pustym koszyku */
  .woocommerce-Price-amount {
    font-size: 14px !important;
	}
}

/*pusty koszyk na telefonie, by produkty nie wchodziły w footer*/
.wp-block-woocommerce-cart li.wc-block-grid__product {
  @media(min-width: 481px) {
    display: flex;
    flex-direction: column;
  }
}

/*koszyk z produktem*/
.woocommerce-cart .wp-block-woocommerce-product-collection .wp-block-woocommerce-product-template {
/*   tytuł produkty w pustym koszyku */
  .wp-block-post-title a {
    font-size: 20px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: center !important;
  }

/*przyciski w koszyku z produktem*/
  .wp-block-button__link {
    font-size: 10.5px !important;
  }

  /*ustawia by cena produktu w koszyku z produktem była na tej samej wysokości co produkt z długą nazwą*/
  .wp-block-woocommerce-product-price {
    margin-top: auto !important;
  }

  /*cena produktu w koszyku z produktem*/
  .woocommerce-Price-amount {
    font-size: 14px !important;
  }
}

/*koszyk z produktem na telefonie, by produkty nie wchodziły w footer*/
.wp-block-woocommerce-cart li.wc-block-product {
  @media(min-width: 481px) {
    display: flex;
    flex-direction: column;
  }
}
