/**
 * 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.1.24
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */

/* Load-more stays hidden (--invisible) until JS; keep it usable on phones. */
.woocommerce-page .rey-ajaxLoadMore {
	visibility: visible !important;
}

/* Homepage hero tiles: the photo (not only the label) goes to that category. */
.elementor-136 .elementor-element-e2bb9b2 .e-div-block-base {
	position: relative;
	cursor: pointer;
}

.elementor-136 .elementor-element-e2bb9b2 .elementor-widget-button,
.elementor-136 .elementor-element-e2bb9b2 .elementor-button {
	position: static;
}

.elementor-136 .elementor-element-e2bb9b2 a.elementor-button-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

@media (max-width: 767px) {
	.elementor-136 .elementor-element-e2bb9b2 .e-div-block-base {
		min-height: 170px;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: top center;
		display: flex;
		align-items: flex-end;
		justify-content: center;
	}

	.elementor-136 .elementor-element-e2bb9b2 .elementor-widget-button {
		width: 100%;
		text-align: center;
		padding: 0 8px 12px !important;
	}

	.elementor-136 .elementor-element-e2bb9b2 .elementor-button {
		display: inline-flex;
		justify-content: center;
		margin: 0 auto;
	}
}

.produse-noi-filtru {
	--btn-br: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0 0 1.5rem;
}

a.rey-child-promo-bar {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-wrap: wrap !important;
	gap: 0.35em 0.55em;
	position: relative !important;
	top: auto !important;
	z-index: 1100;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	float: none !important;
	margin: 0 !important;
	padding: 0.7em 1rem !important;
	background: #000 !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	letter-spacing: 0.06em;
	line-height: 1.35 !important;
	text-align: center !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
}

a.rey-child-promo-bar:hover,
a.rey-child-promo-bar:focus {
	color: #fff !important;
	text-decoration: none !important;
}

a.rey-child-promo-bar span {
	color: #fff !important;
	text-decoration: underline !important;
	text-underline-offset: 0.18em;
	font-weight: 700 !important;
}

@media (max-width: 767px) {
	a.rey-child-promo-bar {
		font-size: 12px !important;
		letter-spacing: 0.03em !important;
		padding: 10px 12px !important;
		line-height: 1.4 !important;
	}
}

.produse-noi-filtru .btn,
.produse-noi-filtru .btn-primary,
.produse-noi-filtru .btn-line,
.produse-noi-filtru a.btn {
	border-radius: 0 !important;
	text-decoration: none;
}

/* New product badge — yellow, Romanian label */
.rey-itemBadge.rey-new-badge {
	background-color: #ffcc00;
	color: #111111;
	white-space: nowrap;
}

/* Shop page images border radius */
.woocommerce-page .product-item img,
.woocommerce .product-item img,
.woocommerce-page ul.products li.product img,
.woocommerce ul.products li.product img {
    border-radius: 5px;
}

/* Single product page elements border radius */
.woocommerce div.product .variations .value .variable-item,
.woocommerce div.product .variations .value select,
.woocommerce div.product .quantity,
.woocommerce div.product .quantity input[type="number"],
.woocommerce div.product .quantity .qty,
.woocommerce div.product button[type="submit"],
.woocommerce div.product .single_add_to_cart_button,
.woocommerce div.product .rey-wishlist-btn,
.woocommerce div.product .rey-quickview-btn,
.woocommerce div.product .rey-wishlistBtn,
.woocommerce div.product .rey-wishlistBtn-wrapper,
.woocommerce div.product .rey-wishlistBtn a,
.woocommerce div.product .rey-wishlistBtn button {
    border-radius: 100px !important;
}

/* Match border color to swatches */
.woocommerce div.product .quantity input[type="number"],
.woocommerce div.product .quantity .qty,
.woocommerce div.product .rey-wishlistBtn,
.woocommerce div.product .rey-wishlistBtn-wrapper {
    border-color: HSL(var(--neutral-3));
}

/* Rey swatches border radius */
.rey-swatches .rey-swatchList-item,
.rey-swatches .rey-swatchList-itemContent {
    border-radius: 5px;
}

/* Hide arrows on product page */
.rey-wc-gallery .__arr-wrapper,
.rey-productNav__meta {
    display: none !important;
}

/* Remove padding bottom from product gallery */
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper {
    padding-bottom: 0 !important;
}

/* Align breadcrumb with product image top */
.woocommerce-breadcrumb,
.rey-breadcrumbs {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Product page gallery — square corners */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery__wrapper,
.woocommerce div.product .woocommerce-product-gallery__image,
.woocommerce div.product .woocommerce-product-gallery img,
.woocommerce div.product .woocommerce-product-gallery__image img,
.woocommerce div.product .rey-wc-gallery,
.woocommerce div.product .rey-wc-gallery img {
    border-radius: 0 !important;
}

/* Product loop images border radius */
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img,
.product-item-thumbnail img {
    border-radius: 5px;
}

/* Add to cart button border radius */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #content input.button,
.woocommerce-page button.button,
.woocommerce-page a.button,
.woocommerce-page input.button,
.woocommerce-page #respond input#submit,
.woocommerce-page #content input.button {
    border-radius: 5px !important;
    transition: border-radius 0.25s ease;
}

/* Loop hover “Adaugă în coș” — pill shape while the button is visible */
.woocommerce a.button.add_to_cart_button,
.woocommerce a.button.ajax_add_to_cart,
.woocommerce-page a.button.add_to_cart_button,
.woocommerce-page a.button.ajax_add_to_cart,
.rey-comp--addtocart .button,
.rey-comp--addtocart .add_to_cart_button,
.rey-productInner a.add_to_cart_button,
li.product a.add_to_cart_button,
li.product a.add_to_cart_button:hover,
.rey-productInner:hover .add_to_cart_button {
    border-radius: 100px !important;
}

.rey-cartPanel {
    --cart-panel-buttons-radius: 100px;
}

.rey-cartPanel .woocommerce-mini-cart__buttons .wc-forward,
.rey-cartPanel .woocommerce-mini-cart__buttons a.button,
.rey-cartPanel .woocommerce-mini-cart__buttons a.checkout {
    border-radius: 100px !important;
}

.woocommerce #place_order,
.woocommerce-page #place_order,
.woocommerce #payment #place_order,
.woocommerce-checkout #place_order,
.woocommerce button#place_order {
    border-radius: 100px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
    margin: 1.25rem 0 1rem;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    cursor: pointer;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .input-checkbox {
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

/* Add to cart button added state */
.woocommerce button.button.added,
.woocommerce a.button.added,
.woocommerce input.button.added {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

/* Gap between product gallery and content on single product page */
.woocommerce div.product .woocommerce-product-gallery {
    margin-right: 10px;
}

/* Stock icon green */
.woocommerce .stock.in-stock,
.woocommerce-page .stock.in-stock {
    color: #28a745 !important;
}

.woocommerce .stock.in-stock::before,
.woocommerce-page .stock.in-stock::before {
    color: #28a745 !important;
}

/* Skeleton loading overlay for the single product summary (right column) */
.woocommerce div.product .rey-productSummary {
    position: relative;
}

.woocommerce div.product .rey-summary-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.woocommerce div.product .rey-productSummary.--is-loaded .rey-summary-skeleton {
    opacity: 0;
    pointer-events: none;
}

.woocommerce div.product .rey-summary-skeleton .skel-bar {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: rey-skeleton-shimmer 1.5s infinite;
}

@keyframes rey-skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.woocommerce div.product .rey-summary-skeleton .skel-title {
    height: 35px;
    width: 80%;
}

.woocommerce div.product .rey-summary-skeleton .skel-price {
    height: 25px;
    width: 40%;
}

.woocommerce div.product .rey-summary-skeleton .skel-swatch {
    height: 60px;
    width: 100%;
}

.woocommerce div.product .rey-summary-skeleton .skel-button {
    height: 55px;
    width: 100%;
}

.woocommerce div.product .rey-summary-skeleton .skel-tabs {
    height: 30px;
    width: 100%;
}

/* Header mega menu / submenu panel border radius */
.rey-mainNavigation--desktop {
    --submenus-radius: 30px;
}

.rey-mainMenu--desktop .depth--0.menu-item-has-children > .sub-menu,
.rey-mainNavigation--desktop .depth--0.--is-mega > .rey-mega-gs {
    border-radius: 30px;
    overflow: hidden;
}

.rey-mainMenu--desktop .depth--0.menu-item-has-children > .sub-menu::before,
.rey-mainNavigation--desktop .rey-mega-gs::before {
    border-radius: 30px;
}

/* Header submenu font size */
.rey-mainMenu--desktop .sub-menu > .menu-item > a {
    font-size: 1.125rem;
    line-height: 1.4;
}

/* Account panel dropdown border radius */
.rey-accountPanel-wrapper.rey-header-dropPanel .rey-header-dropPanel-content,
.rey-accountPanel-wrapper .rey-accountPanel.rey-header-dropPanel-content {
    border-radius: 15px;
    overflow: hidden;
}

.rey-accountPanel-wrapper.rey-header-dropPanel .rey-header-dropPanel-content::before,
.rey-accountPanel-wrapper .rey-accountPanel.rey-header-dropPanel-content::before {
    border-radius: 15px;
}

/* Product categories - normal case, not uppercase */
.tax-product_cat .woocommerce-products-header__title,
.tax-product_cat .woocommerce-breadcrumb,
.tax-product_cat .rey-breadcrumbs,
.widget_product_categories,
.widget_product_categories a,
.rey-mainMenu .sub-menu > .menu-item > a span {
    text-transform: none;
}

/* Size guide button on product page */
.woocommerce div.product .rey-sizeGuide-btn {
	border-radius: 5px;
	text-transform: none;
	font-size: 0.9375rem;
	gap: 0.45em;
}

.woocommerce div.product .rey-sizeGuide-btn .rey-icon {
	opacity: 0.85;
}

/* Full description shown in short-description area */
.woocommerce div.product .woocommerce-product-details__short-description {
	margin-top: 0.75rem;
	margin-bottom: 1rem;
	line-height: 1.5;
}

.woocommerce div.product .woocommerce-product-details__short-description ul {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
}

.woocommerce div.product .woocommerce-product-details__short-description li {
	margin: 0.2rem 0;
}

/* Instagram stories — #stories time */
@font-face {
	font-family: "Pacifico";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/pacifico-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Pacifico";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/pacifico-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.stories-time {
	--stories-radius: 28px;
	--stories-fog: #ffffff;
	padding: 28px 16px 12px;
	text-align: center;
	background: #fff;
}

.stories-time__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 1.35rem;
}

.stories-time__kicker {
	margin: 0;
	font-family: Pacifico, "Segoe Script", cursive;
	font-size: 0.95rem;
	line-height: 1;
	color: #c13584;
	letter-spacing: 0.04em;
}

.stories-time__title {
	margin: 0;
	font-family: Pacifico, "Segoe Script", cursive;
	font-size: clamp(2.1rem, 5vw, 3.1rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #dd2a7b;
	background-image: linear-gradient(90deg, #f58529 0%, #dd2a7b 48%, #8134af 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.stories-time__ig {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.25rem;
	text-decoration: none;
	color: inherit;
}

.stories-time__ig-label {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: lowercase;
	color: #262626;
}

.stories-time__stage {
	display: flex;
	justify-content: center;
}

.stories-time__track {
	display: flex;
	justify-content: center;
	gap: 1rem;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 8px 12px 16px;
	max-width: 100%;
}

.stories-time__track::-webkit-scrollbar {
	display: none;
}

.stories-time__card {
	margin: 0;
	flex: 0 0 auto;
}

.stories-time__media {
	position: relative;
	width: min(280px, 72vw);
	aspect-ratio: 9 / 16;
	border-radius: var(--stories-radius);
	overflow: hidden;
	background: #111;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.stories-time__media img,
.stories-time__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	transform-origin: center center;
}

.stories-time__fog {
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: inherit;
	background:
		radial-gradient(120% 90% at 0% 0%, var(--stories-fog) 0%, transparent 58%),
		radial-gradient(120% 90% at 100% 0%, var(--stories-fog) 0%, transparent 58%),
		radial-gradient(120% 90% at 0% 100%, var(--stories-fog) 0%, transparent 58%),
		radial-gradient(120% 90% at 100% 100%, var(--stories-fog) 0%, transparent 58%);
	mix-blend-mode: lighten;
	opacity: 0.92;
}

.stories-time__media::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	pointer-events: none;
	box-shadow: inset 0 0 48px 18px var(--stories-fog);
}

@media (max-width: 767px) {
	.stories-time__media {
		width: min(250px, 78vw);
	}
}

.rey-filterPanel .rey-filterList li a,
.reyajfilter-ajax-term-filter .rey-filterList li a {
	border-radius: 100px;
}

/* Google Material expand_more in place of submenu dashes */
.rey-mainMenu.rey-mainMenu--desktop.--has-indicators > .menu-item-has-children {
	--indicator-distance: 28px;
}

.rey-mainMenu.rey-mainMenu--desktop > .menu-item-has-children > a .--submenu-indicator-dash {
	right: 2px;
}

.rey-mainMenu .--submenu-indicator-dash {
	width: 14px;
	height: 14px;
	top: calc(50% - 7px);
	opacity: 0.9;
	background-color: currentColor;
	background-image: none;
	transform-origin: center;
	transition: transform 0.25s ease;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rey-mainMenu.rey-mainMenu--desktop .sub-menu .--submenu-indicator-dash {
	transform: rotate(-90deg);
}

.rey-mainMenu .menu-item-has-children .--open > a .--submenu-indicator-dash,
.rey-mobileNav .rey-mainMenu .menu-item-has-children .--open .--submenu-indicator-dash {
	transform: rotate(180deg);
}

