/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: neve
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Neve is a super fast, easily customizable, multi-purpose theme. It’s perfect for blogs, small business, startups, agencies, firms, e-commerce shops (WooCommerce storefront) as well as personal portfolio sites and most types of projects. A fully AMP optimized and responsive theme, Neve will load in mere seconds and adapt perfectly on any viewing device. While it is lightweight and has a minimalist design, the theme is highly extendable, it has a highly SEO optimized code, resulting in top rankings in Google search results. Neve works perfectly with Gutenberg and the most popular page builders (Elementor, Brizy, Beaver Builder, Visual Composer, SiteOrigin, Divi). Neve is also WooCommerce ready, responsive, RTL & translation ready. Look no further. Neve is the perfect theme for you!
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    neve
Tags: blog, custom-logo, e-commerce, rtl-language-support, post-formats, grid-layout, one-column, two-columns, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, accessibility-ready, wide-blocks, block-styles
*/


/* MENU */

.site-logo .site-title{
	font-weight:500;
}

ul#nv-primary-navigation-main li.menu-item a:before{
	content: '';
    width: 110%;
    height: 8px;
    background-color: #A6CFC3;
    display: block;
    position: absolute;
    left: -5%;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .4s, opacity 0s linear .4s;
    -webkit-transition: transform .4s, opacity 0s linear .4s;
    -o-transition: transform .4s, opacity 0s linear .4s;
    z-index: -1;
    top: 55%;
}

ul#nv-primary-navigation-main li.menu-item:hover a:before{
	transform: scaleX(1);
    opacity: 1;
    transition: transform .4s;
    -webkit-transition: transform .4s;
    -o-transition: transform .4s;
}

/* GENERAL FONTS, HEADINGS, LINKS*/

p{
	margin-bottom:10px;
}

h2, h3, h4, h5, h6 {
	margin:20px 0;
}

.excerpt-wrap ol, .excerpt-wrap ul, .nv-content-wrap ol, .nv-content-wrap ul {
    margin: 0 0 10px;
}

.wp-block-woocommerce-product-collection h2.wp-block-heading{
	font-size:30px !important;
}

.wp-block-button__link {
	background-color:var(--nv-primary-accent);
	color:#fff;
}

.wp-block-button__link:hover {
	background-color:var(--nv-secondary-accent);
	color:#fff;
}

.wp-block-uagb-container,
.uagb-container-inner-blocks-wrap{
	row-gap:0 !important;
}

/* SHOP */

body.woocommerce .nv-bc-count-wrap{
	display:none;
}

form.searchandfilter li{
	font-family:"Work Sans", sans-serif;
	font-size:16px;
	font-weight:400;
	line-height:20px;
	text-transform:lowercase;
	color:rgb(51, 51, 51);
}

form.searchandfilter li select{
	border:none;
	padding:0;
}
.woocommerce nav.woocommerce-pagination ul {
    display: inline-block;
    white-space: nowrap;
    padding: 0;
    clear: both;
    border-right: 0;
    margin: 1px;
}

.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    margin: 0;
    text-decoration: none;
    padding: 0;
    line-height: 1;
    font-size: 14px;
    font-weight: 400;
    padding: .5em;
    min-width: 1em;
    display: block;
	background:none;
}

.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current {
    background: #e9e6ed;
    color: #816f98;
}

.woocommerce ul.products li.product span.price,
.woocommerce.single-product div.product p.price{
	color:rgb(190, 190, 190);
	font-family:Lato;
	font-size:14px;
	font-weight:400;
	height:auto;
	line-height:20px;
}

.woocommerce ul.products li.product span.price > .woocommerce-Price-amount,
.woocommerce.single-product div.product p.price > .woocommerce-Price-amount{
	text-decoration:line-through;
}

/* Positioning context for the overlay */
.img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
}

/* Sizes overlaid at the bottom of the image */
.img-wrap .size-wrapper {
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px 10px;
    z-index: 2;
}

.size_label {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #2C2C2A;
    font-size: 11px;
    font-weight: 500;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.03em;
	border: 0.5px solid rgba(255, 255, 255, 0.6);
}

/* Brand */
.brand_link {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    margin-bottom: 4px;
}

.brand_link:hover {
    color: #2C2C2A;
}

/* Price */
.sub-title-data .price {
    display: block;
    font-size: 12px;
    color: #888;
    line-height: 1.7;
    margin-top: 4px;
}

.dressr-price {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #0F6E56;
}

.woocommerce div.product p.price .dressr-price bdi{
	color: #0F6E56;
}


/* ============================================================
   DRESSR PRELOVED — SINGLE PRODUCT PAGE
   ============================================================ */

@media only screen and (min-width: 768px) {

	.single-product .nv-single-product-top {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 60px;
		align-items: start;
		width: 100%;
		box-sizing: border-box;
		margin: 0 auto;
		padding: 40px 20px;
	}

	.single-product .nv-single-product-top .woocommerce-product-gallery {
		grid-column: 1;
	}

	.single-product .nv-single-product-top .summary {
		grid-column: 2;
	}

	.single-product div.product {
		display: block;
	}

	.single-product .woocommerce-product-gallery {
		display: flex !important;
		flex-direction: row-reverse;
		gap: 12px;
		align-items: flex-start;
		width: 100% !important;
		box-sizing: border-box;
		position: sticky;
		top: 20px; 
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	.single-product .woocommerce-product-gallery .flex-viewport {
		flex: 1 !important;
		width: auto !important;
		min-width: 0;
	}

	.single-product .woocommerce-product-gallery .flex-viewport img {
		width: 100%;
		height: auto;
		display: block;
	}

	.single-product .woocommerce-product-gallery ol.flex-control-thumbs {
		display: flex !important;
		flex-direction: column;
		gap: 8px;
		width: 72px !important;
		margin: 0 !important;
		padding: 0 !important;
		flex-shrink: 0;
		list-style: none;
	}

	.single-product .woocommerce-product-gallery ol.flex-control-thumbs li {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
	}

	.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img {
		width: 100% !important;
		height: auto;
		display: block;
		cursor: pointer;
		opacity: 0.6;
		transition: opacity 0.2s ease;
	}

	.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active,
	.single-product .woocommerce-product-gallery ol.flex-control-thumbs li img:hover {
		opacity: 1;
	}
}


/* Hide zoom trigger */
.single-product .woocommerce-product-gallery__trigger {
    display: none;
}

/* --- show captions --- */
.dressr-gallery-caption {
    display: inline-block;
    z-index: 2;
    position: absolute;
	top: 10px;
	left:10px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #2C2C2A;
    font-size: 11px;
    font-weight: 500;
    padding: 1px 5px;
	margin:5px;
    border-radius: 4px;
    letter-spacing: 0.03em;
	border: 0.5px solid rgba(255, 255, 255, 0.6);
}

/* --- Summary column --- */
.single-product .summary {
    float: none !important;
    width: 100% !important;
    box-sizing: border-box;
    padding-top: 0; /* removed 8px — aligns top of summary with top of image */
}

/* --- Product title --- */
.woocommerce.single-product  div.product .product_title {
    margin-top:15px;
	margin-bottom: 6px;
	font-family:var(--bodyfontfamily),var(--nv-fallback-ff);
	font-size:20px;
	font-weight:400;
	text-transform:uppercase;
}

/* --- Price --- */
.woocommerce.single-product  div.product .price {
    font-size:16px;
	font-weight: 400;
	font-family:var(--bodyfontfamily),var(--nv-fallback-ff);
	color:#888888;
    margin: 0 0 16px;
}

/* --- Full description --- */
.dressr-product-description h4{
	font-family: var(--bodyfontfamily), var(--nv-fallback-ff);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
	margin-bottom:10px;
}

/* --- Size/variation select --- 
.single-product .variations select {
    width: 100%;
    border: 1px solid #ebebeb;
    border-radius: 2px;
    padding: 12px 16px;
    font-size: 0.9rem;
    appearance: auto;
}

/* Hide the default select arrow and make it invisible 
.single-product .variations select {
    display: none !important;
}

/* Show the option values as inline buttons 
.single-product .variations td.value {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dressr-select-size-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 8px;
}


/* --- Attribute group label --- 
.dressr-attribute-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 16px 0 8px;
}



/* --- Hide quantity selector --- */
.single-product .quantity {
    display: none !important;
}

/* --- Size buttons --- */
.dressr-size-buttons {
    display: flex;
    flex-wrap: wrap;
	align-content:flex-start;
    gap: 8px;
    margin-bottom: 20px;
    width: fit-content;
}

.dressr-size-btn {
    padding: 10px 14px;
    border: 1px solid #ebebeb;
	background-color: transparent;
	color: var(--nv-primary-accent);
    border-radius: 2px;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    text-align: center;
    width: auto;
    display: inline-block;
	flex-grow:unset;
}

.dressr-size-btn:hover {
    border-color: var(--nv-secondary-accent);
}

.dressr-size-btn.active {
    border-color: var(--nv-primary-accent);
    background-color: var(--nv-primary-accent) !important;
    color: #fff;
}

.dressr-size-btn.disabled,
.dressr-size-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
    pointer-events: none;
}

.woocommerce-variation-availability{
	display:none;
}

/* Hide the original select label/table row — buttons replace it */
.single-product .variations th.label {
    display: none;
}

.single-product .variations td.value {
    padding: 0;
}

.single-product .variations {
    width: 100%;
    margin-bottom: 0;
}

.single-product table.variations tr {
    display: block;
}

.single-product .reset_variations {
    display: none !important;
}

/* --- Add to cart button --- */
.single-product .single_add_to_cart_button {
    background-color: var(--nv-primary-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 13px 20px !important;
    width: 100%;
	max-width:250px;
    transition: background-color 0.2s ease;
}

.single-product .single_add_to_cart_button:hover {
    background-color: var(--nv-secondary-accent) !important;
}

.woocommerce.single .entry-summary>form.cart {
    border-bottom: 0;
}

/* --- Trust strip --- */
.dressr-trust-strip {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 20px 0;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    margin: 20px 0;
	font-size: 16px;
}

.dressr-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dressr-trust-icon {
    color: var(--nv-primary-accent);
    font-size: 12px;
}

/* --- Hide tabs --- */
.single-product .woocommerce-tabs {
    display: none !important;
}

/* --- Related products --- */
.dressr-related-wrap {
    grid-column: 1 / -1;
    margin-top: 60px;
    padding-top: 40px;
}

/* --- Responsive --- */
@media ( max-width: 768px ) {
    .single-product .nv-single-product-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .single-product .nv-single-product-top .woocommerce-product-gallery,
    .single-product .nv-single-product-top .summary {
        grid-column: 1;
    }

    .single-product .woocommerce-product-gallery {
        flex-direction: column !important;
        position: static;
    }

    .single-product .woocommerce-product-gallery ol.flex-control-thumbs {
        flex-direction: row !important;
        width: 100% !important;
    }

    .single-product .woocommerce-product-gallery ol.flex-control-thumbs li {
        width: 60px !important;
    }
}

/* CHECKOUT */

body.woocommerce-checkout .wc-block-components-checkbox label {
    align-items: center;
}

@media only screen and (min-width: 768px) {

	.woocommerce-shop .shop-container {
		padding-right: 35px;
		padding-left: 35px;
	}

}