/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 1.0.0
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */

/* elementor buttons */
.elementor-button-primary .elementor-button {
	background-color: #A60F46;
	color:#ffffff;
	border: 1px solid #A60F46;
}
.elementor-button-primary .elementor-button:hover {
	background-color: #ffffff;
	color:#A60F46;
	border: 1px solid #A60F46;
}
.elementor-button-secondary .elementor-button, #gallery-button .elementor-button, .related-button .elementor-button {
	background-color: #d17d97;
	color:#ffffff;
	border: 1px solid #d17d97;
}
.elementor-button-secondary .elementor-button:hover, #gallery-button .elementor-button:hover, .related-button .elementor-button:hover {
	background-color: #ffffff;
	color:#d17d97;
	border: 1px solid #d17d97;
}
.elementor-button-primary-outline .elementor-button {
	background-color: #ffffff;
	color: #A60F46;
	border: 1px solid #A60F46;	
}
.elementor-button-primary-outline .elementor-button:hover {
	background-color: #A60F46;
	color: #ffffff;
	border: 1px solid #A60F46;	
}
.elementor-button-secondary-outline .elementor-button {
	background-color: #ffffff;
	color:#d17d97;
	border: 1px solid #d17d97;
}
.elementor-button-secondary-outline .elementor-button:hover {
	background-color: #d17d97;
	color:#ffffff;
	border: 1px solid #d17d97;
}



/* END elementor buttons */


/* hide seo text na mobile */
@media (max-width: 768px) {
#header-seo-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
	.rey-siteHeader:is(.header-pos--absolute, .header-pos--fixed) + .rey-siteHeader-helper {
		height: 105px;
	}
}

#seo-text, .rey-taxBottom {
	font-size:14px;
}
#seo-text, .rey-taxBottom h2  {
	font-size:20px !important;
	font-weight: 400;
}
#seo-text, .rey-taxBottom h3 {
	font-size:18px !important;
	margin-bottom: 0;
	font-weight: 300;
}
#seo-text, .rey-taxBottom h4 {
	font-size:16px !important;
	margin-bottom: 0;
}
#seo-text, .rey-taxBottom h5 {
	font-size:15px !important;
	margin-bottom: 0;
}
#seo-text, .rey-taxBottom h6 {
	font-size:15px !important;
	margin-bottom: 0;
}
#seo-text, .rey-taxBottom strong {
	font-weight: 400 !important;	
}


/* turn off breadcrumbs visibility on mobile */
@media (max-width: 768px) {
  .breadcrumb, .woocommerce-result-count, .woocommerce-products-header {
    display: none;
  }
}

@media (max-width: 768px) {
	.rey-loopHeader {
		margin-bottom: 0;
	}
	.rey-pBadge {
		display: block;
	}
	.rey-pBadge span {
		padding-bottom: 0.3em;
	}
}

/* product features */
.my-co-wyroznia-ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 24px;
	list-style: none;
	padding: 0;
}

.my-co-wyroznia-li {
border: none;
padding: 10px;
margin: 0 10px;
background-color: #fff;
border-radius: 5px 5px 5px 5px;
}

ul li.my-co-wyroznia-li:first-child {
	margin-left: 0;
}

ul li.my-co-wyroznia-li:last-child {
	margin-right: 0;
}

.my-co-wyroznia-li p, .my-co-wyroznia-li h5 {
	text-align: center;
	font-size: 12px;
	font-weight: 300;
}

.my-co-wyroznia {
	text-align: center
}

.my-co-wyroznia h3 {
    font-size: 24px;
}
h6.co_wyroznia {
    font-size: 18px;
    text-align: center;
}

/* longdescription */
.dress-header-h2 {
	font-size: 20px;
	margin-bottom:0.5em;
}

.rey-prodDescToggle {
	--height: 80px;
}

#gallery-button {
	text-align: center;
    margin: 40px 0 80px 0;
}

.clients-slider-title, section.related h2 {
	font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
}

#klentka-page .clients-slider-title {
    font-size: 32px;
    font-weight: 300;
    text-transform: none;
}

/* related button text under product page */
.related-button {
	text-align: center;	
	margin-bottom: 80px
}

/* product accordion */
.product-accordion .elementor-accordion .elementor-accordion-item {
	border: 0;
	border-bottom: 1px solid #d4d4d4;
}
.product-accordion .elementor-accordion .elementor-tab-title {
	padding: 15px 0;
}
.product-accordion .product-more {
	text-decoration: underline;
	font-weight: 100 !important;
	color: #a60f46;
}
.product-accordion .product-more:hover {
	text-decoration: underline;
	color: #a60f46;
}
.product-accordion.przymiarki-accordion .elementor-tab-title {
	text-align: center;
	font-size: 18px;
	font-weight: 400;
	line-height: 2em;
}
/* END product accordion */

/* turn off form buy sticky bottom banner */
.rey-stickyAtc-wrapper form p {
	display: none;
}

.woocommerce button.single_add_to_cart_button, .wc-forward {
  background-color:#fff;
  color:#a60f46;
  border: 1px solid #a60f46;
  text-transform: none;	
}
.wc-forward {
	text-align: center;
	font-weight: bolder;
}

.woocommerce button.single_add_to_cart_button:hover, .wc-forward:hover {
  background-color:#a60f461a;
}

.gform_wrapper.gravity-theme .gform_footer input.gform_button {
	background-color: #a60f46;
	color: #FFF;
	border: 1px solid #a60f46;
	text-transform: none;
}
.gform_wrapper.gravity-theme .gform_footer input.gform_button:hover {
	background-color: #fff;
	color: #a60f46;
}

#zarezerwuj_termin .elementor-button-content-wrapper {
	padding: 5px;
}

/* wishlist icon */
.rey-productThumbnail .rey-wishlistBtn-icon {
	color: #FFFFFF
}

.rey-stickyAtc-cart .rey-wishlistBtn {
	border: 0;
}

.rey-wishlistWrapper div div {
	margin-left: 16px;
	margin-right: 16px;
	
}

.--teaser .elementor-icon-wrapper {
	text-align: center !important;
}


.__thumbs-wrapper .__thumbItem .woocommerce-product-gallery__mobile-img {
	height: auto;
}


@media (max-width: 768px) {
	div.product div.summary {
		margin-bottom: 24px;
	}
    .my-co-wyroznia-li img {
        width: 60px;
    }	
}

/* product page META - category, tags */
.product_meta {
	font-size: 14px;
}

/* Gravity form - MAIN contact form and przymiarki, szycie info below field */
.tooltipmessage {
border-radius: 20px;
border: 1px #C66D8D solid;
padding: 3px 9px 2px 7px;
color: #C66D8D;
text-align: center;
font-weight: 600;
font-style: italic;
}

.tooltiptext {
visibility: hidden;
width: auto;
color: #000;
text-align: left;
position: absolute;
z-index: 1;
border: 1px solid #a60f46;
margin: -20px auto auto 20px;
background-color: white;
opacity: 0;
transition: opacity 1s;
min-width: 200px;
font-weight: 300;
font-style: normal;
padding: 10px;
}

@media (max-width: 1024px) {
	.tooltiptext {
	bottom: 100%;
	left: 15%;
	}
}

.tooltipmessage:hover .tooltiptext {
visibility: visible;
opacity: 1;
}

.gform_wrapper.gravity-theme input[type="color"], .gform_wrapper.gravity-theme input[type="date"], .gform_wrapper.gravity-theme input[type="datetime-local"], .gform_wrapper.gravity-theme input[type="datetime"], .gform_wrapper.gravity-theme input[type="email"], .gform_wrapper.gravity-theme input[type="month"], .gform_wrapper.gravity-theme input[type="number"], .gform_wrapper.gravity-theme input[type="password"], .gform_wrapper.gravity-theme input[type="search"], .gform_wrapper.gravity-theme input[type="tel"], .gform_wrapper.gravity-theme input[type="text"], .gform_wrapper.gravity-theme input[type="time"], .gform_wrapper.gravity-theme input[type="url"], .gform_wrapper.gravity-theme input[type="week"], .gform_wrapper.gravity-theme select, .gform_wrapper.gravity-theme textarea {
	font-weight: unset
}

.gform_wrapper.gravity-theme .contact-form-kontakt .gfield_label {
	font-weight: 400;
	text-transform: none;
}

.gform_legacy_markup_wrapper label.gfield_label, .gform_legacy_markup_wrapper legend.gfield_label {
	font-weight: 400;	
}

.gform_wrapper.gravity-theme .contact-form-kontakt .email-info .ginput_complex label {
	display: none
}

.subject-kontakt .gfield_radio {
	border-radius: 2px;
	border: 1px solid HSL(var(--neutral-4));
	padding: 10px;
}
.przymiarki-info, .szycie-info {
    padding: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #a60f46;
	margin-top:-10px;
	border: 1px solid #a60f46;
} 

.szycie-info {
    color: #0f43a6;
	border: 1px solid #0f43a6;	
}

.form-regulamin label {
	display: inline;
	font-size: 14px
}

.form-regulamin a {
	text-decoration: underline;
	color: #A60F46;
}

/* END Gravity form - MAIN contact form and przymiarki, szycie info below field */

@keyframes blinker {
  50% {
    opacity: 0.3;
  }
}

@keyframes blink-me {
  50% {
    opacity: 0.0;
  }
}
.blink-me {
  animation: blinker 1s step-start 0s infinite;
}


/* clients dress list */
.clients-dress-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px; /* odstęp */
}

.clients-dress-item {
    flex: 0 0 calc(50% - 12px);
}

.clients-dress-item h3 {
	font-size: 14px;
	margin-top: 12px
}

.clients-dress-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.clients-dress-link:hover .clients-dress-title {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .clients-dress-item {
        flex: 0 0 40%;
    }
}

/* jak się mierzyć */
.pomiary, .pomiary p {
	font-size: 12px;
	line-height: 18px;
	margin: 0 0 12px;
}

.sqre {
	float: left;
	width: 12px;
	min-width: 12px;
	height: 12px;
	margin: 2px 10px 12px 0;
	border: 1px solid rgba(0, 0, 0, .2);
}

.sqre-container {
	display: flex;
}

.sqre-biceps {
	background: #89eb8e;
}

.sqre-dekolt {
	background: #197b30;
}

.sqre-plecy {
	background: #8c6239;
}

.sqre-biust {
	background: #ff00ff;
}

.sqre-podbiuscie {
	background: #362f2d;
}

.sqre-ramiona {
	background: #f7941d;
}

.sqre-rekaw {
	background: #8781bd;
}

.sqre-pas {
	background: #0e7ac0;
}

.sqre-biodra {
	background: #ff0000;
}

.sqre-podloga {
	background: #d7b8af;
}

.sqre-height {
	background: #d76284;
}

.sqre-pas-plecy {
	background: #bd8cbf;
}

.sqre-stanik-plecy {
	background: #998675;
}

input.rey-inlineSearch-searchField {
	color: #ffffff;
	border: 1px solid #b6b6b6
}

.related-variant {
	margin-top:-20px;
}

.related-single-product {
	margin-top: 16px;
	text-align: center;
	margin-bottom: 40px
}

.related-images-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.related-image img {
	width: 100%;
	height: auto;
	display: block;
}

.related-product-title {
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.3;
}

a.related_size {
	color:#A60F46;
	text-decoration: underline;
}

a.related_size:hover {
	color:#ae5c7a;
}

/* === CLS FIX: Rey product categories (final) === */

/* 1. Stabilizuj główny kontener – BEZ over-isolation 
body.archive.tax-product_cat #content.rey-siteContent {
  min-height: 250vh;
  overflow-anchor: none;
}

/* 2. Grid musi mieć przestrzeń zanim JS zadziała 
body.archive.tax-product_cat .rey-products {
  min-height: 240vh;
}

/* 3. Wyłącz layout-affecting transitions 
body.archive.tax-product_cat .rey-products,
body.archive.tax-product_cat .rey-productItem {
  transition: none !important;
}

/* 4. Zablokuj reflow kart po paint 
body.archive.tax-product_cat .rey-productItem {
  contain: paint;
}

/* 5. Bottom description NIE MOŻE zmieniać wysokości viewportu 
body.archive.tax-product_cat .term-description {
  overflow-anchor: none;
}

.e-swiper-container, .swiper-container {
	min-height: 122px;
}

.swiper-slide-inner {
	min-height: 122px;

}

*/


/* remove ordering from loop */
.woocommerce-ordering,
.rey-loopSelectList, .rey-filterBtn .__loop-separator {
	display: none !important;
}

.seo-bottom-spacer {
	display: block;
	margin-top: 80px;
}