/**
 * Phase 10 fixes — logo-only header, contrast, sticky top nav, side menu.
 */

/* ===== Logo: image only (no duplicate DIN COUTURE text) ===== */
.dinc-logo__lockup .dinc-logo__word,
.dinc-logo--wordmark .dinc-logo__word:not(.dinc-logo__word--solo) {
	display: none !important;
}

.dinc-logo--wordmark {
	line-height: 0;
}

.dinc-logo__img,
.dinc-logo--wordmark img,
.dinc-logo__mark {
	display: block;
	max-height: clamp(36px, 4.2vw, 56px);
	width: auto;
	height: auto;
	max-width: min(280px, 42vw);
	object-fit: contain;
}

/* ===== FTA-style mobile header: clean logo + utilities, no social clutter ===== */
@media (max-width: 900px) {
	html body .dinc-header .dinc-social--header {
		display: none !important;
	}

	html body .dinc-header__inner {
		min-height: 3.65rem !important;
		gap: 0.35rem !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	html body .dinc-header.is-scrolled .dinc-header__inner {
		min-height: 3.35rem !important;
	}

	html body .dinc-logo--wordmark,
	html body .dinc-logo {
		justify-self: center !important;
		max-width: min(58vw, 220px) !important;
	}

	html body .dinc-logo__img,
	html body .dinc-logo--wordmark img,
	html body .dinc-logo__mark {
		max-height: 40px !important;
		max-width: min(58vw, 200px) !important;
		width: auto !important;
		height: auto !important;
		object-fit: contain !important;
	}

	html body .dinc-logo__word--solo {
		display: block !important;
		font-size: 0.78rem !important;
		letter-spacing: 0.18em !important;
		white-space: nowrap !important;
		max-width: 58vw !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	html body .dinc-header__left,
	html body .dinc-header__right {
		gap: 0 !important;
		min-width: 0 !important;
	}

	html body .dinc-header__right {
		justify-content: flex-end !important;
		flex-wrap: nowrap !important;
	}

	html body .dinc-header__right .dinc-currency,
	html body .dinc-header__right .dinc-currency-switcher,
	html body .dinc-header__right select {
		font-size: 0.62rem !important;
		margin-right: 0.15rem !important;
		max-width: 3.6rem !important;
	}

	html body .dinc-header .dinc-icon-btn,
	html body .dinc-header .dinc-menu-btn {
		min-width: 2.75rem !important;
		min-height: 2.75rem !important;
		padding: 0 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	html body .dinc-header .dinc-icon-btn svg,
	html body .dinc-header .dinc-menu-btn__icon svg {
		width: 1.2rem !important;
		height: 1.2rem !important;
	}

	html body .dinc-menu-btn__label {
		display: none !important;
	}

	html body .dinc-header .dinc-icon-btn {
		position: relative !important;
	}

	html body .dinc-header .dinc-cart-count {
		top: 0.2rem !important;
		right: 0.15rem !important;
		min-width: 1rem !important;
		height: 1rem !important;
		font-size: 0.58rem !important;
		line-height: 1rem !important;
		pointer-events: none !important;
	}

	/* Home transparent: keep logo readable (avoid washed/tiny mark). */
	html body.home .dinc-header.is-at-top:not(.is-scrolled) .dinc-logo__img,
	html body.home .dinc-header.is-transparent:not(.is-scrolled) .dinc-logo__img {
		filter: none !important;
		opacity: 1 !important;
	}
}

@media (max-width: 480px) {
	html body .dinc-logo__img,
	html body .dinc-logo--wordmark img {
		max-height: 34px !important;
		max-width: min(52vw, 170px) !important;
	}

	/* Prefer bag + search + menu; account can stay; wishlist stays if space */
	html body .dinc-header__right .dinc-currency-switcher,
	html body .dinc-header__right .dinc-currency {
		display: none !important;
	}
}

/* ===== Sticky / scroll top menu (FTA behaviour) ===== */
/* Home at top: Menu button only. After scroll + on shop/other: show link row. */
.dinc-primary-nav {
	display: none !important;
}

.dinc-menu-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 0.4rem;
}

@media (min-width: 1024px) {
	body:not(.home) .dinc-primary-nav,
	.home .dinc-header.is-scrolled .dinc-primary-nav {
		display: none !important;
	}

	body:not(.home) .dinc-primary-nav > ul,
	.home .dinc-header.is-scrolled .dinc-primary-nav > ul {
		display: flex;
		align-items: center;
		gap: 0.15rem 1.1rem;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	body:not(.home) .dinc-primary-nav > ul > li > a,
	.home .dinc-header.is-scrolled .dinc-primary-nav > ul > li > a {
		font-family: var(--dinc-font-body);
		font-size: 0.68rem;
		font-weight: 500;
		letter-spacing: 0.16em;
		text-transform: uppercase;
		color: var(--dinc-ink) !important;
		text-decoration: none !important;
		padding: 1.25rem 0;
		white-space: nowrap;
	}

	.dinc-header__left {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 42%;
	}

	.dinc-header__right {
		flex: 1 1 auto;
		min-width: 9rem;
		max-width: 42%;
	}
}

/* Overlay/sticky header rules moved to overlay-sticky-header.css (v1.7.0+) */

/*
 * Contrast on intentional dark/media planes ONLY.
 * Do NOT force white text onto .site-content / info pages / Elementor bodies —
 * that leaked invisible text onto Contact and other light pages.
 */
.dinc-hero--campaign .dinc-hero__copy,
.dinc-campaign__copy,
.dinc-consult:not(.dinc-consult--minimal) .dinc-consult__copy {
	color: #fff;
}

.dinc-hero--campaign a:not(.dinc-btn):not(.dinc-wa-float),
.dinc-campaign__copy a:not(.dinc-btn):not(.dinc-wa-float) {
	color: #fff;
}

/* Footer stays light with dark text */
.dinc-footer,
.dinc-footer a,
.dinc-footer p,
.dinc-footer h3,
.dinc-footer h4,
.dinc-footer li {
	color: #111 !important;
}

.dinc-footer a:hover {
	opacity: 0.7;
}

/* Cart / checkout / forms stay light readable */
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content,
body.woocommerce-cart .site-content *,
body.woocommerce-checkout .site-content * {
	color: inherit;
}

body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content {
	background: #fff !important;
	color: #111 !important;
}

/* Drawers: light panel, dark text (side menu) */
.dinc-drawer,
.dinc-drawer a,
.dinc-drawer h2,
.dinc-drawer p,
.dinc-drawer button,
.dinc-drawer .dinc-drawer__title,
.dinc-mobile-nav a,
.dinc-acc__trigger {
	color: #111 !important;
}

.dinc-drawer {
	width: min(100vw, 22rem);
	background: #fff !important;
}

.dinc-drawer--left {
	left: 0 !important;
	right: auto !important;
}

.dinc-drawer.is-open {
	transform: translateX(0) !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

.dinc-mobile-nav a {
	font-size: 0.78rem !important;
	letter-spacing: 0.18em !important;
	padding: 1rem 0 !important;
	border-bottom: 1px solid #eee !important;
	font-weight: 500;
}

.dinc-acc__trigger {
	font-size: 0.78rem !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase;
	font-weight: 600;
	padding: 1rem 0;
	border-bottom: 1px solid #eee;
	background: transparent;
}

.dinc-drawer__head {
	background: #fff;
	border-bottom: 1px solid #eee;
}

.dinc-drawer__mono {
	max-height: 40px !important;
	width: auto;
	margin-right: 0.75rem;
}

.dinc-side-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dinc-side-nav__list a {
	display: block;
	padding: 1rem 0 !important;
	font-size: 0.78rem !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase;
	font-weight: 500;
	color: #111 !important;
	text-decoration: none !important;
	border-bottom: 1px solid #eee !important;
}

.dinc-side-nav__list a:hover {
	opacity: 0.65;
}

.dinc-side-nav__sep {
	height: 1.25rem;
	border: 0 !important;
	pointer-events: none;
}

.dinc-overlay.is-open {
	background: rgba(0, 0, 0, 0.55);
}

/* Single product summary readable on black */
.single-product .summary,
.single-product .summary h1,
.single-product .summary .price,
.single-product .summary .price *,
.single-product .woocommerce-product-details__short-description,
.single-product .dinc-acc-block,
.single-product .dinc-acc-block summary {
	color: #fff !important;
}

.single-product .summary .cart .button,
.single-product .dinc-btn:not(.dinc-btn--ghost):not(.dinc-btn--wa) {
	background: #fff !important;
	color: #111 !important;
}

/* Typography tighten toward FTA chrome */
.dinc-menu-btn__label {
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 500;
}

.dinc-currency {
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	font-weight: 500;
}

/* ===== Light catalog + PDP (owner: no black shop/product plane) ===== */
body.woocommerce-shop,
body.tax-product_cat,
body.single-product,
body.woocommerce-shop .site,
body.tax-product_cat .site,
body.single-product .site,
body.woocommerce-shop #page,
body.tax-product_cat #page,
body.single-product #page,
body.woocommerce-shop .site-content,
body.tax-product_cat .site-content,
body.single-product .site-content,
body.woocommerce-shop .content-area,
body.tax-product_cat .content-area,
body.single-product .content-area,
body.woocommerce-shop .site-main,
body.tax-product_cat .site-main,
body.single-product .site-main,
body.woocommerce-shop .col-full,
body.tax-product_cat .col-full,
body.single-product .col-full {
	background: #ffffff !important;
	color: #111111 !important;
}

body.woocommerce-shop .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.woocommerce-shop .page-title,
body.tax-product_cat .page-title,
body.woocommerce-shop h1,
body.tax-product_cat h1,
body.single-product .product_title,
body.single-product .summary,
body.single-product .summary h1,
body.single-product .summary .price,
body.single-product .summary .price *,
body.single-product .woocommerce-product-details__short-description,
body.single-product .product_meta,
body.single-product .product_meta a,
body.single-product .dinc-acc-block,
body.single-product .dinc-acc-block summary,
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price,
body.woocommerce-shop ul.products li.product .price *,
body.tax-product_cat ul.products li.product .price * {
	color: #111111 !important;
}

body.woocommerce-shop .woocommerce-breadcrumb,
body.tax-product_cat .woocommerce-breadcrumb,
body.single-product .woocommerce-breadcrumb,
body.woocommerce-shop .woocommerce-breadcrumb a,
body.tax-product_cat .woocommerce-breadcrumb a,
body.single-product .woocommerce-breadcrumb a {
	color: #6b6b6b !important;
}

/* Show product meta on light shop (not hover-only invisible) */
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price {
	opacity: 1 !important;
}

body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product {
	background: #fff !important;
}

body.woocommerce-shop .dinc-badge,
body.tax-product_cat .dinc-badge {
	opacity: 1 !important;
	background: rgba(17,17,17,0.75) !important;
	color: #fff !important;
}

/* Catalog pagination was white-on-white (phase9) — force visible on light archives */
html body.woocommerce-shop .woocommerce-pagination,
html body.tax-product_cat .woocommerce-pagination,
html body.tax-product_tag .woocommerce-pagination,
html body.post-type-archive-product .woocommerce-pagination {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin: 1.5rem 0 2rem !important;
	padding: 0.75rem var(--dinc-gutter, 1rem) !important;
	border: 0 !important;
	text-align: center !important;
}

html body.woocommerce-shop .woocommerce-pagination ul.page-numbers,
html body.tax-product_cat .woocommerce-pagination ul.page-numbers,
html body.tax-product_tag .woocommerce-pagination ul.page-numbers,
html body.post-type-archive-product .woocommerce-pagination ul.page-numbers {
	display: inline-flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	gap: 0.35rem !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body.woocommerce-shop .woocommerce-pagination ul.page-numbers li a,
html body.woocommerce-shop .woocommerce-pagination ul.page-numbers li span,
html body.tax-product_cat .woocommerce-pagination ul.page-numbers li a,
html body.tax-product_cat .woocommerce-pagination ul.page-numbers li span,
html body.tax-product_tag .woocommerce-pagination ul.page-numbers li a,
html body.tax-product_tag .woocommerce-pagination ul.page-numbers li span,
html body.post-type-archive-product .woocommerce-pagination ul.page-numbers li a,
html body.post-type-archive-product .woocommerce-pagination ul.page-numbers li span {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 2.5rem !important;
	min-height: 2.5rem !important;
	padding: 0 0.65rem !important;
	background: #fff !important;
	color: #111 !important;
	border: 1px solid #d0d0d0 !important;
	font-size: 0.85rem !important;
	text-decoration: none !important;
}

html body.woocommerce-shop .woocommerce-pagination ul.page-numbers li span.current,
html body.tax-product_cat .woocommerce-pagination ul.page-numbers li span.current,
html body.tax-product_tag .woocommerce-pagination ul.page-numbers li span.current,
html body.post-type-archive-product .woocommerce-pagination ul.page-numbers li span.current {
	background: #111 !important;
	color: #fff !important;
	border-color: #111 !important;
}

html body .dinc-catalog-nav {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 0.85rem !important;
	margin: 1.25rem 0 0.5rem !important;
	padding: 0 var(--dinc-gutter, 1rem) !important;
	text-align: center !important;
}

html body .dinc-catalog-nav__status {
	margin: 0 !important;
	font-size: 0.78rem !important;
	letter-spacing: 0.06em !important;
	color: #555 !important;
}

html body .dinc-catalog-nav__more {
	min-width: 12rem !important;
	min-height: 2.85rem !important;
}

html body .dinc-catalog-nav__more:disabled {
	opacity: 0.55 !important;
	cursor: wait !important;
}

/* Toolbar: Filter LEFT (FTA refine), Sort RIGHT */
.dinc-shop-toolbar {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: none;
	width: 100%;
	margin: 0 0 1rem;
	padding: 0.85rem var(--dinc-gutter);
	border-bottom: 1px solid #e5e5e5 !important;
	background: #fff !important;
	color: #111 !important;
}

.dinc-shop-toolbar__left {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.dinc-shop-toolbar__right {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.dinc-shop-toolbar__meta {
	margin: 0;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a8a8a !important;
}

.dinc-filter-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.5rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid #111 !important;
	background: #fff !important;
	color: #111 !important;
	font-family: var(--dinc-font-body);
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
}

.dinc-filter-trigger:hover {
	background: #111 !important;
	color: #fff !important;
}

.dinc-filter-trigger svg {
	width: 14px;
	height: 14px;
}

.dinc-shop-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.dinc-shop-toolbar__sort-label {
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6b6b6b;
}

.dinc-shop-toolbar select,
.dinc-shop-toolbar__sort select {
	min-height: 2.5rem;
	border: 1px solid #ddd !important;
	background: #fff !important;
	color: #111 !important;
	padding: 0 0.75rem;
	font-size: 0.75rem;
}

/* PDP controls visible on white */
body.single-product .summary .cart .button,
body.single-product .single_add_to_cart_button {
	background: #111 !important;
	color: #fff !important;
	border: 1px solid #111 !important;
}

body.single-product .dinc-btn--ghost,
body.single-product .dinc-size-guide,
body.single-product button.dinc-size-guide {
	background: #fff !important;
	color: #111 !important;
	border: 1px solid #111 !important;
}

body.single-product span.onsale {
	background: #111 !important;
	color: #fff !important;
	border: 0 !important;
}

body.single-product .quantity .qty {
	background: #fff !important;
	color: #111 !important;
	border: 1px solid #ddd !important;
}

body.single-product .dinc-product-wa .dinc-btn--wa,
body.single-product .dinc-btn--wa {
	background: #25d366 !important;
	color: #fff !important;
	border: 0 !important;
}

/* ===== Font rollback: kill Elementor kit Futura/Roboto/Poppins/GFS Didot ===== */
html body,
html body.elementor-kit-1413,
html body .elementor-kit-1413,
html body.home,
html body .site,
html body #page {
	font-family: var(--dinc-font-body, "Gothic A1", "Segoe UI", Helvetica, Arial, sans-serif) !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
}

html body h1,
html body h2,
html body h3,
html body .dinc-hero__script,
html body .dinc-logo__text,
html body .dinc-consult__script,
html body .dinc-campaign__script,
html body .elementor-heading-title {
	font-family: var(--dinc-font-display, "Cormorant Garamond", "Times New Roman", Georgia, serif) !important;
}

html body .dinc-hero__script,
html body .dinc-consult__script,
html body .dinc-campaign__script {
	font-family: var(--dinc-font-script, "Great Vibes", "Cormorant Garamond", cursive) !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
}

html body button,
html body input,
html body select,
html body textarea,
html body .dinc-btn,
html body .elementor-button,
html body .woocommerce a.button,
html body .woocommerce button.button {
	font-family: var(--dinc-font-body, "Gothic A1", "Segoe UI", Helvetica, Arial, sans-serif) !important;
}

/* Elementor global typography vars — set dynamically in din-couture-core design-settings.php (wp_head). */

