/*
Theme Name:   Cosmetsy Child
 Theme URI:    http://klbtheme.com/cosmetsy/
 Description:  Cosmetsy Child Theme
 Author:       KlbTheme
 Author URI:   http://themeforest.net/user/KlbTheme
 Template:     cosmetsy
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  cosmetsy-child
*/

/* Ujednolicenie miniaturek - kontener */
.site-main-body.blog .site-post-archive .entry-media,
.site-main-body.blog .site-post-archive figure.entry-media {
    height: 250px;
    overflow: hidden;
    display: flex;              /* dodane */
    align-items: center;        /* pionowe wyśrodkowanie */
    justify-content: center;    /* poziome wyśrodkowanie */
}

/* Obrazki w miniaturek */
.site-main-body.blog .site-post-archive .entry-media img,
.site-main-body.blog .site-post-archive .entry-media a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* doprecyzowane */
    display: block;
}

/* Ukryj zajawkę */
.site-main-body.blog .site-post-archive .entry-content .klb-post p {
    display: block;
}

a:hover {
	color: #465a3c;
}

.widget_categories li.current-cat a {
	color: #465a3c;
	font-weight: 700;
}

.site-post-archive .blog-post .entry-title a {
  font-weight: 700;
}

body.woocommerce .term-description {
	padding-top: 40px;
}

.dk-loop-desc {
	margin: 6px 0 8px;
	font-size: 13px;
	line-height: 1.4;
	color: #666;
}

.klb-page .product-share {
	display: none;
}

.badge.hot {
  background-color: #e53e3e;
}

@-moz-document url-prefix() {
  .site-header .quick-button.mini-cart .cart-link span.cart-count-icon {
	padding: 2px 0 0 1px;
}
}

button.buy_now_button {
	font-family: var(--font-primary);
  font-size: var(--font-button-font-size);
  font-weight: var(--font-button-font-weight);
  letter-spacing: var(--font-button-font-spacing);
  text-transform: var(--font-button-font-transform);
  color: #fff !important;
	border: none !important;
	height: 3rem !important;
}

.site-request-quote-holder input[type="submit"] {
  background-color: var(--color-primary) !important;
}

body.woocommerce #content .shop-page-header.style-2.with-background .container::before {
  background-color: #f4f1ec;
}

body.woocommerce #content .shop-page-header.style-2.with-background * {
  color: var(--color-primary) !important;
}

.shop-page-header.style-2.with-background * {
  color: var(--color-primary) !important;
}

.site-shop--sidebar--inner {
	max-width: 260px;
}

.klb-product-list .entry-wrapper p {
	opacity: 0;
	height: 1px;
	display: none;
}

ul.products .product .product-content .price {
  width: 100%;
  display: block;
	margin-bottom: 8px;
}

.klb-product-list span.wlr-product-message {
	display: none !important;
}

.product-switcher .wlr-product-message {
	padding-left: 0 !important;
}

.product-details .wlr-product-message {
	color: #465a3c;
  	font-weight: 700;
	background-color: #e9eee9;
	border-radius: 0 !important;
	width: 100%;
}

.wlrf-point::before {
  content: "\2605";
}

[class*=" wlrf-"], [class^="wlrf-"] {
  font-family: loyalty !important;
  speak: never;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul.products .product .product-content .product-media .entry-media .product-action a + a {
  margin-bottom: .3125rem;
}

h2.wb_cptb_title, h2.woocommerce-Reviews-title, #tab-additional_information h2 {
	display: none;
}

ul.products.align-center {
  width: 100%;
}

.cart-page-wrapper .cart-form-wrapper .order-review-wrapper table .order-total td {
  font-size: 1.35rem;
}

@media screen and (min-width: 62rem) {
  .woocommerce-page ul.products.columns- {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 75rem) {
  .woocommerce-page ul.products.columns- {
    grid-template-columns: repeat(4, 1fr);
  }
}

.woocommerce-shop .page-description {
  border-top: 1px solid #eee;
  padding-top: 2.5rem;
}

@media screen and (min-width: 62rem) {
  .woocommerce-shop .page-description {
    padding-top: 3.75rem;
  }
}

.upsells-products .product-switcher .wlr-product-message, #related-products .wlr-product-message {
	display: none !important;
}

#content .shop-page-header.style-2.with-background .container::before, .klb-blog-breadcrumb .container, .klb-shop-breadcrumb .container {
  background-image: url('/wp-content/uploads/2026/05/naglowek.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f4f1ec; 
  opacity: 0.95; 
}

.my-account-page .footer-social {
	display: none;
}

.wlopt-update-membership {
  margin-top: 20px;
}

.woocommerce-page #elementor-lightbox-slideshow-single-img {
	display: none !important;
}
.woocommerce-cart-form thead .product-remove {
	display: none;
}

.single .site-content .product-type-simple form.cart {
  gap: 20px;
  display: flex;
  justify-content: space-between;
}

button.buy_now_button {
  margin-left: 0;
}

.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active a {
  font-weight: 700;
}

.cart-page-wrapper .cart-form-wrapper .woocommerce-cart-form table tbody tr td.actions .actions--wrapper .coupon {
  flex-wrap: wrap !important;
}

.cart-page-wrapper .cart-form-wrapper .woocommerce-cart-form table tbody tr td.actions .actions--wrapper .coupon .coupon-error-notice {
            display: block !important;
            flex: 0 0 100% !important;
            margin-top: 10px !important;
            order: 4 !important;
            width: 100% !important;
	text-align: left;
}

.cart-page-wrapper .cart-form-wrapper .woocommerce-cart-form table tbody tr td.actions .actions--wrapper .coupon #coupon_code {
	max-width: 250px;
}

@media (max-width: 991px) {
  #content .woocommerce-tabs ul.tabs.wc-tabs li.active a::after {
    bottom: -2px;
  }
}

@media (min-width: 992px) {
  #content .woocommerce-tabs ul.tabs.wc-tabs li.active a::after {
    bottom: -22px;
  }
}

@media (max-width: 991px) {
	#content .woocommerce-tabs ul.tabs.wc-tabs li {
	  margin-bottom: 15px;
}
	.cart-page-wrapper .cart-form-wrapper .woocommerce-cart-form table tbody tr td.actions .actions--wrapper .coupon #coupon_code {
	max-width: 200px;
}
}

@media screen and (min-width: 62rem) {
  .cart-page-wrapper .cart-form-wrapper .woocommerce-cart-form table tbody tr td.actions .actions--wrapper .coupon {
    max-width: 32.5rem;
  }
}

.woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses {
	display: flex;
  flex-wrap: wrap;
}
.woocommerce-order .woocommerce-customer-details .woocommerce-column--billing-address, .woocommerce-order .woocommerce-customer-details .woocommerce-column--shipping-address {
		max-width: 100%;
	  width: 100%;
	  flex: 0 0 100%;
	}

@media (min-width: 992px) {
.woocommerce-order .woocommerce-customer-details .woocommerce-column--billing-address, .woocommerce-order .woocommerce-customer-details .woocommerce-column--shipping-address {
		max-width: 50%;
	  width: 50%;
	  flex: 0 0 50%;
	}
}

.woocommerce-ordering select {
	color: #000;
}

.checkout-inline-error-message {
  color: red;
}

.fr-request-form {
	margin-top: 20px;
}

#fr_refund_table_free .submit input {
	border: none;
}

.site-offcanvas .site-copyright {
	display: none;
}

nav.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 5px;
}

.wlr-message-info {
	margin-bottom: 20px !important;
}

dt.variation-Typpozycji {
	padding-top: 10px;
}

dd.variation-Typpozycji {
  margin-left: 0 !important;
}

.order-review-wrapper .place-order a {
	color: #465a3c;
}

.woocommerce-checkout .form-row label .required,
.woocommerce-checkout .form-row .woocommerce-form__label .required {
	color: #e60000 !important;
	border: 0 !important;
	text-decoration: none !important;
	font-weight: 700;
}

.woocommerce-checkout-payment [class^="payment_method_przelewy24"] label img, .woocommerce-checkout-payment [class*=" payment_method_przelewy24"] label img {
  max-height: 20px !important;
}

.payment_methods li label {
  display: contents !important;
}


/* Ekran rejestracji */
.my-account-page .woocommerce-notices-wrapper ul.woocommerce-error {
	margin-bottom: 20px;
}

.my-account-page a {
	color: #465a3c;
}

#accept_wployalty_membership_field {
	margin-bottom: 0;
}

#accept_wployalty_membership_field a {
	color: #4f6245;
}

/* Contact Form 7 */
.wpcf7 input[type="checkbox"] {
  margin-bottom: 0;
}

span.wpcf7-not-valid-tip {
	color: red !important;
}

.wpcf7-form-control-wrap[data-name="your-company-profile"] span.wpcf7-not-valid-tip {
	margin-top: 10px;
}

.wpcf7 form .wpcf7-response-output {
  border: 0;
}

.wpcf7-list-item {
  margin: 0 0 0 0 !important;
}

/* MailerLite */
.mailerlite-form h3 {
	display: none;
}

button.mailerlite-subscribe-submit {
	border: none;
}

.ml-form-embedBody {
	padding: 0 !important;
}

/* Omnibus */
.product-price-wrapper {
	flex-wrap: wrap;
}

.iworks-omnibus {
	width: 100%;
}

.product-single .product-details .product-price-wrapper .stock {
	margin-left: 0 !important;
}

.product-single .product-details .product-price-wrapper .price {
  margin-right: 2rem;
}