/*
Theme Name: Idyl Homepage
Template: twentytwentyfive
Theme URI: https://example.com
Author: PR Collections
Description: A minimal, cream/charcoal, serif + sans-serif child theme of Twenty Twenty-Five built for the PR Collections homepage (sticky header, full-height hero, category grid, WooCommerce best sellers, quote banner, testimonials, newsletter, multi-column footer).
Version: 1.0.16
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: idyl-homepage
*/

/* ---------- Global resets: no shadows, no rounded corners ---------- */
body,
.wp-block-button__link,
.wp-block-cover,
.wp-block-group,
.wp-block-image img,
.wp-block-search__inside-wrapper,
input,
textarea,
select,
.idyl-testimonial-card,
.idyl-category-tile,
.woocommerce ul.products li.product,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce #respond input#submit {
	box-shadow: none !important;
	border-radius: 0 !important;
}

body {
	margin: 0;
	padding: 0;
}

/* ---------- Announcement bar ---------- */
.idyl-announcement-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 6px 24px;
	background-color: #ffffff;
	border-bottom: 1px solid #eeeeee;
	font-size: 0.72rem;
	letter-spacing: 0.5px;
}

.idyl-announcement-bar__spacer {
	visibility: hidden;
	flex: 0 0 auto;
	white-space: nowrap;
}

.idyl-announcement-bar__center {
	flex: 1 1 auto;
	position: relative;
	height: 1.2em;
	text-align: center;
	color: #2c2a27;
}

.idyl-announcement-bar__msg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease;
}

.idyl-announcement-bar__msg.is-active {
	opacity: 1;
	visibility: visible;
}

.idyl-announcement-bar__region {
	flex: 0 0 auto;
	white-space: nowrap;
	color: #2c2a27;
}

@media (max-width: 600px) {
	.idyl-announcement-bar {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}

	.idyl-announcement-bar__spacer,
	.idyl-announcement-bar__region {
		display: none;
	}
}

/* ---------- Sticky header with blur ---------- */
header,
.idyl-site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	background-color: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid #eeeeee;
}

.idyl-site-header * {
	margin-block: 0;
}

.idyl-site-header nav {
	margin: 0;
}

.idyl-hero,
.hero-section {
	margin-top: 0 !important;
}

.idyl-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 48px;
	height: 80px;
	box-sizing: border-box;
}

.idyl-header-left {
	display: flex;
	align-items: center;
	gap: 36px;
}

.idyl-menu-toggle {
	display: none;
}

.idyl-nav-left,
.idyl-nav-right {
	display: flex;
	align-items: center;
	gap: 36px;
}

.idyl-logo-link {
	display: inline-flex;
	align-items: center;
}

.idyl-logo-center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.idyl-logo {
	height: 65px !important;
	width: auto;
	display: block;
}

.idyl-logo-img {
	height: 65px !important;
	width: auto;
	display: block;
}

.idyl-nav-left a,
.idyl-nav-right a {
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 400;
	color: #2c2a27;
	text-decoration: none;
	transition: opacity 0.3s;
}

.idyl-header-inner a {
	outline: none;
}

.idyl-header-inner a:focus,
.idyl-header-inner a:focus-visible {
	outline: none;
	box-shadow: none;
}

.idyl-nav-left a:hover,
.idyl-nav-right a:hover {
	opacity: 0.6;
}

.idyl-header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.idyl-account-link {
	display: inline-flex;
	color: #2c2a27;
	text-decoration: none;
}

.idyl-cart-link {
	display: inline-flex;
	align-items: center;
	color: #2c2a27;
	text-decoration: none;
	position: relative;
}

.idyl-cart-icon {
	display: inline-flex;
}

.idyl-header-icon {
	width: 20px;
	height: 20px;
	stroke: #2c2a27;
	fill: none;
}

.idyl-cart-count {
	position: absolute;
	top: -6px;
	right: -8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	padding: 0;
	font-size: 9px;
	line-height: 1;
	background: #2c2a27;
	color: #ffffff;
	border-radius: 50%;
}

/* ---------- Mobile full-screen overlay menu ---------- */
.idyl-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	z-index: 900;
}

.idyl-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.idyl-mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transform: translateX(-100%);
	transition: transform 0.35s ease;
	z-index: 950;
	overflow-y: auto;
}

.idyl-mobile-menu.is-open {
	transform: translateX(0);
}

.idyl-mobile-menu__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	font-size: 24px;
	line-height: 1;
	color: #2c2a27;
	cursor: pointer;
	padding: 0;
}

.idyl-mobile-menu__inner {
	padding: 110px 28px 48px;
}

.idyl-mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.idyl-mobile-menu__label {
	font-size: 13px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #999999;
	margin: 0;
}

.idyl-mobile-menu__section {
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #999999;
	margin: 28px 0 0;
}

.idyl-mobile-menu__nav {
	display: flex;
	flex-direction: column;
}

.idyl-mobile-menu__nav a {
	font-size: 15px;
	font-weight: 300;
	letter-spacing: 0.4px;
	line-height: 1.4;
	padding: 8px 0;
	color: #2c2a27;
	text-decoration: none;
	text-transform: none;
}

/* ---------- Hero banner ---------- */
.idyl-hero {
	display: flex;
}

.idyl-hero .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	text-align: left;
}

.idyl-hero h1 {
	font-weight: 400;
}

.idyl-hero p {
	opacity: 1;
}

/* Defensively hide any slider/carousel navigation arrows in the hero */
.idyl-hero .wp-block-cover__navigation,
.idyl-hero .slick-arrow,
.idyl-hero .swiper-button-next,
.idyl-hero .swiper-button-prev,
.idyl-hero [class*="slide-arrow"],
.idyl-hero [class*="nav-arrow"] {
	display: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid #2c2a27;
	border-radius: 0;
	letter-spacing: 3px;
	text-transform: uppercase;
	padding: 14px 32px;
}

/* ---------- Category slider ---------- */
.idyl-category-scroll-hint {
	display: none;
	margin: 8px 0 0 !important;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(44, 42, 39, 0.5);
}

.idyl-category-slider {
	position: relative;
	padding: 0 60px;
}

.idyl-category-track {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--wp--preset--spacing--40, 40px);
	overflow-x: auto;
	scroll-padding: 0 60px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
}

.idyl-category-track::-webkit-scrollbar {
	display: none;
}

.idyl-category-track.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	scroll-snap-type: none;
	user-select: none;
}

.idyl-category-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #2c2a27;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: #2c2a27;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.idyl-category-slider__arrow--prev {
	left: 8px;
}

.idyl-category-slider__arrow--next {
	right: 8px;
}

.idyl-category-slider__arrow.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.idyl-category-tile {
	position: relative;
	overflow: hidden;
	height: 380px;
	flex: 0 0 320px;
	scroll-snap-align: start;
	text-decoration: none;
	outline: none;
}

.idyl-category-tile:focus,
.idyl-category-tile:focus-visible {
	outline: none;
	box-shadow: none;
}

.idyl-category-tile:hover {
	text-decoration: none;
}

.idyl-category-tile::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 100%);
	pointer-events: none;
}

.idyl-category-tile .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
	width: 100%;
}

.idyl-category-tile img.wp-block-cover__image-background {
	transition: transform 0.4s ease;
}

.idyl-category-tile:hover img.wp-block-cover__image-background {
	transform: scale(1.05);
}

.idyl-category-tile__label {
	width: 100%;
	margin: 0 !important;
	padding: 0 16px 28px;
}

.idyl-category-tile__placeholder-label {
	margin: 0 !important;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #ffffff;
}

@media (max-width: 600px) {
	.idyl-category-scroll-hint {
		display: block;
		margin: 4px 0 0 !important;
		font-size: 9px;
	}

	.idyl-category-slider__arrow {
		display: none;
	}

	.idyl-category-slider {
		padding: 0 20px;
		margin-top: 12px;
	}

	.idyl-category-track {
		scroll-padding: 0 20px;
	}

	.idyl-category-tile {
		flex: 0 0 75vw;
	}

	.idyl-category-tile__label {
		padding: 0 10px 24px;
	}

	.idyl-category-tile__placeholder-label {
		white-space: normal;
		word-break: break-word;
	}
}

/* ---------- Best sellers slider ---------- */
.idyl-bestsellers-scroll-hint {
	display: none;
	margin: 8px 0 0 !important;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(44, 42, 39, 0.5);
}

.idyl-bestsellers-slider {
	position: relative;
	padding: 0 60px;
}

.idyl-bestsellers-track,
.idyl-bestsellers-slider .woocommerce ul.products {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--wp--preset--spacing--40, 40px);
	overflow-x: auto;
	scroll-padding: 0 60px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	cursor: grab;
}

.idyl-bestsellers-track::-webkit-scrollbar,
.idyl-bestsellers-slider .woocommerce ul.products::-webkit-scrollbar {
	display: none;
}

.idyl-bestsellers-track.is-dragging,
.idyl-bestsellers-slider .woocommerce ul.products.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;
	scroll-snap-type: none;
	user-select: none;
}

.idyl-bestsellers-tile,
.idyl-bestsellers-slider .woocommerce ul.products li.product {
	flex: 0 0 320px;
	scroll-snap-align: start;
}

.idyl-bestsellers-tile {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: center;
}

.idyl-bestsellers-tile a {
	text-decoration: none;
	color: inherit;
	outline: none;
}

.idyl-bestsellers-tile a:focus,
.idyl-bestsellers-tile a:focus-visible {
	outline: none;
	box-shadow: none;
}

.idyl-bestsellers-tile__image {
	position: relative;
	overflow: hidden;
	height: 380px;
}

.onsale {
	display: none;
}

.idyl-bestsellers-tile__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease, opacity 0.4s ease;
}

.idyl-bestsellers-tile:hover .idyl-bestsellers-tile__image img,
.idyl-bestsellers-tile.is-touched .idyl-bestsellers-tile__image img {
	transform: scale(1.05);
}

.idyl-bestsellers-tile__image--hover {
	position: absolute;
	inset: 0;
	opacity: 0;
	z-index: 1;
}

.idyl-bestsellers-tile:hover .idyl-bestsellers-tile__image--hover,
.idyl-bestsellers-tile.is-touched .idyl-bestsellers-tile__image--hover {
	opacity: 1;
}

.idyl-bestsellers-tile__name {
	margin: 0;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #2c2a27;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.idyl-bestsellers-tile__price {
	margin: 0;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
}

.idyl-bestsellers-tile__price--regular {
	text-decoration: line-through;
	color: #999999;
	font-size: 12px;
}

.idyl-bestsellers-tile__price--sale {
	color: #2c2a27;
	font-weight: 500;
	font-size: 14px;
}

.idyl-bestsellers-tile__cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 6px;
	padding: 10px 0;
	border: 1px solid #2c2a27;
	background: transparent;
	color: #2c2a27;
	text-decoration: none;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 11px;
}

.idyl-bestsellers-tile__cta:hover {
	background: #2c2a27;
	color: #ffffff;
}

.idyl-bestsellers-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #2c2a27;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: #2c2a27;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.idyl-bestsellers-slider__arrow--prev {
	left: 8px;
}

.idyl-bestsellers-slider__arrow--next {
	right: 8px;
}

.idyl-bestsellers-slider__arrow.is-hidden {
	opacity: 0;
	pointer-events: none;
}

@media (min-width: 601px) and (max-width: 1024px) {
	.idyl-bestsellers-tile,
	.idyl-bestsellers-slider .woocommerce ul.products li.product {
		flex: 0 0 calc((100% - 2 * 40px) / 3);
	}
}

@media (max-width: 600px) {
	.idyl-bestsellers-scroll-hint {
		display: block;
	}

	.idyl-bestsellers-slider__arrow {
		display: none;
	}

	.idyl-bestsellers-slider {
		padding: 0 20px;
		margin-top: 12px;
	}

	.idyl-bestsellers-track,
	.idyl-bestsellers-slider .woocommerce ul.products {
		scroll-padding: 0 20px;
	}

	.idyl-bestsellers-tile,
	.idyl-bestsellers-slider .woocommerce ul.products li.product {
		flex: 0 0 65vw;
	}
}

/* WooCommerce's native best-sellers block, once real products exist */
.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 0;
	list-style: none;
}

@media (max-width: 600px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	text-align: center;
}

.woocommerce ul.products li.product img {
	width: 100%;
	height: 320px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
	transform: scale(1.03);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #2c2a27;
	margin: 12px 0 4px;
}

.woocommerce ul.products li.product .price {
	font-size: 14px;
	font-weight: 400;
}

.woocommerce ul.products li.product .price del {
	text-decoration: line-through;
	color: #999999;
	font-size: 12px;
	opacity: 1;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: #2c2a27;
	font-weight: 500;
	margin-left: 6px;
}

.woocommerce ul.products li.product a.button {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 10px;
	padding: 10px 0;
	border: 1px solid #2c2a27;
	background: transparent;
	color: #2c2a27;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 11px;
}

.woocommerce ul.products li.product a.button:hover {
	background: #2c2a27;
	color: #ffffff;
}

/* ---------- Quote banner ---------- */
.idyl-quote-attribution {
	font-size: 13px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	opacity: 0.7;
}

/* ---------- Testimonials ---------- */
.idyl-testimonial-card {
	border: none;
	background: transparent;
	padding: 0 24px;
}

.idyl-stars {
	color: #2c2a27;
	letter-spacing: 2px;
}

.idyl-testimonial-text {
	font-style: italic;
	font-size: 15px;
}

.idyl-testimonial-name {
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	opacity: 0.75;
}

/* ---------- Footer ---------- */
.idyl-site-footer {
	background-color: #fafafa;
	border-top: none;
}

footer .footer-divider,
footer hr {
	display: none;
}

.footer-top,
.site-footer,
footer .widget-area {
	border-top: none;
}

.idyl-footer-logo {
	height: 90px !important;
	width: auto;
	display: block;
}

.idyl-footer-tagline {
	margin-top: 10px;
	font-family: 'Cormorant Garamond', serif;
	font-style: italic;
	letter-spacing: 1px;
}

/*
 * On desktop the Company + Support wrapper dissolves (display:contents) so its
 * two columns sit directly in the footer's space-between row alongside Logo and
 * Jewellery — four evenly distributed columns. On mobile it becomes a real flex
 * row so the pair stays together (see mobile media query below).
 */
/* Needs the extra .idyl-site-footer class: WP core's `body .is-layout-flex`
   (0,1,1) sets display:flex and would beat a lone class selector (0,1,0). */
.idyl-site-footer .idyl-footer-company-support {
	display: contents;
}

/* WordPress flex layout defaults to vertical centering; top-align the footer
   columns so all headings sit on the same line regardless of link count. */
.idyl-site-footer > .wp-block-group.alignwide:first-child {
	align-items: flex-start;
}

/* ---------- Newsletter form ---------- */
.idyl-newsletter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 28px;
	font-family: 'Jost', sans-serif;
}

.idyl-newsletter-form input[type="email"] {
	flex: 1 1 280px;
	max-width: 320px;
	height: 44px;
	padding: 0 18px;
	box-sizing: border-box;
	border: 1px solid #2c2a27;
	background: #ffffff;
	font-family: 'Jost', sans-serif;
	font-size: 0.95rem;
}

.idyl-newsletter-form button {
	height: 44px;
	padding: 0 28px;
	box-sizing: border-box;
	background: transparent;
	color: #2c2a27;
	border: 1px solid #2c2a27;
	cursor: pointer;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease;
}

@media (max-width: 600px) {
	.idyl-newsletter-form input[type="email"] {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.idyl-newsletter-form button:hover {
	background: #2c2a27;
	color: #ffffff;
}

.idyl-newsletter-notice {
	font-family: 'Jost', sans-serif;
	font-size: 0.9rem;
}

/* ---------- Mobile responsiveness pass ---------- */

/* Generic section breathing room: 100px top/bottom is fine on desktop, way too much on phones */
.idyl-section {
	padding-top: 60px;
	padding-bottom: 60px;
}

@media (max-width: 1024px) {
	.idyl-section {
		padding-top: 64px !important;
		padding-bottom: 64px !important;
	}
}

@media (min-width: 601px) and (max-width: 1024px) {
	.idyl-category-tile {
		flex: 0 0 calc((100% - 2 * var(--wp--preset--spacing--40, 40px)) / 3);
	}
}

@media (max-width: 768px) {
	.idyl-header-inner {
		padding: 16px 20px;
		height: auto;
	}

	.idyl-nav-left,
	.idyl-nav-right {
		display: none;
	}

	.idyl-header-left {
		z-index: 1;
	}

	.idyl-header-right {
		z-index: 1;
	}

	.idyl-menu-toggle {
		background: none;
		border: none;
		padding: 0;
		display: inline-flex;
		cursor: pointer;
	}

	.idyl-logo {
		height: 52px !important;
	}

	.idyl-logo-img {
		height: 52px !important;
	}

	.idyl-footer-logo {
		height: 70px !important;
	}

	.idyl-hero {
		min-height: 56vh !important;
	}

	.idyl-hero .wp-block-cover__image-background {
		object-position: 58% 30%;
	}

	.idyl-hero-content {
		padding-left: 32px !important;
		padding-right: 32px !important;
	}

	.idyl-hero h1 {
		font-size: 2.8rem !important;
	}

	.wp-block-heading {
		font-size: 26px;
	}

	.idyl-testimonials {
		column-gap: 32px !important;
		row-gap: 40px !important;
	}
}

@media (max-width: 600px) {
	.idyl-section {
		padding-top: 48px !important;
		padding-bottom: 48px !important;
	}

	.idyl-hero {
		min-height: 70vh !important;
	}

	.idyl-hero-content {
		padding-left: 24px !important;
		padding-right: 24px !important;
		width: 100%;
	}

	.idyl-hero h1 {
		font-size: 2.2rem !important;
		line-height: 1.15 !important;
	}

	.idyl-hero .wp-block-buttons {
		width: 100%;
	}

	.idyl-hero .wp-block-button {
		width: 100%;
	}

	.idyl-hero .wp-block-button__link {
		display: block;
		text-align: center;
	}

	.wp-block-heading {
		font-size: 22px;
	}

	.idyl-quote-banner p {
		font-size: 1.4rem !important;
	}

	.idyl-quote-banner .idyl-quote-attribution {
		font-size: 12px !important;
		letter-spacing: 1.5px;
		white-space: nowrap;
	}

	.idyl-bestsellers-track {
		gap: 20px;
	}

	.woocommerce ul.products {
		gap: 20px;
	}

	.idyl-testimonial-card {
		padding: 0 8px;
	}

	.idyl-site-footer {
		padding-top: 48px !important;
		padding-bottom: 48px !important;
		text-align: center;
	}

	.idyl-site-footer .wp-block-group.alignwide {
		justify-content: center;
		text-align: center;
	}

	.idyl-site-footer > .wp-block-group.alignwide:first-child {
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: flex-start;
		gap: 40px 20px;
	}

	.idyl-site-footer > .wp-block-group.alignwide:first-child > .wp-block-group:first-child {
		flex: 0 0 100%;
		text-align: center;
	}

	/* Two balanced columns: Jewellery fills the left half, Company + Support
	   stack in the right half — no dead white space beside the link lists. */
	.idyl-site-footer > .wp-block-group.alignwide:first-child > .wp-block-group:not(:first-child) {
		flex: 1 1 calc(50% - 10px);
		min-width: 0;
		text-align: left;
	}

	/* Re-form the wrapper into a real column on mobile so Company sits above
	   Support in the right half. */
	.idyl-site-footer .idyl-footer-company-support {
		display: flex !important;
		flex-direction: column;
		flex: 1 1 calc(50% - 10px);
		gap: 40px;
		justify-content: flex-start;
		align-items: flex-start;
	}

	.idyl-site-footer .idyl-footer-company-support > .wp-block-group {
		flex: 0 0 auto;
		width: 100%;
		text-align: left;
	}

	.idyl-site-footer .wp-block-heading {
		text-transform: uppercase;
		color: #999999;
		letter-spacing: 2px;
		font-size: 12px;
	}

	.idyl-site-footer .wp-block-navigation-item__content {
		font-size: 16px;
		line-height: 2.5;
	}

	.idyl-footer-logo {
		margin: 0 auto;
	}
}

@media (max-width: 400px) {
	.idyl-hero h1 {
		font-size: 1.9rem !important;
	}
}

/* ---------- Single product gallery ---------- */
/* Woo's flexslider thumbnails sit flush against each other and the main
   image; give a small, even gap on both axes. */
.woocommerce-product-gallery ol.flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.woocommerce-product-gallery ol.flex-control-thumbs li {
	width: calc(25% - 7.5px);
	float: none;
	margin: 0;
}

/* ---------- Shop archive: hero + breadcrumb ---------- */
.idyl-shop-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 280px;
	background-image: url('assets/banner3.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.idyl-shop-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 0;
}

.idyl-shop-hero > .wp-block-group {
	position: relative;
	z-index: 1;
}

.idyl-shop-breadcrumb {
	padding: 16px 60px;
	border-bottom: 1px solid #eeeeee;
}

.idyl-shop-breadcrumb .woocommerce-breadcrumb {
	margin: 0;
	font-size: 11px;
	letter-spacing: 1px;
	color: #999999;
}

.idyl-shop-breadcrumb .woocommerce-breadcrumb a {
	color: #999999;
	text-decoration: none;
}

.idyl-shop-breadcrumb .woocommerce-breadcrumb .separator,
.idyl-shop-breadcrumb .woocommerce-breadcrumb > a ~ *:not(a):first-of-type {
	color: #cccccc;
}

/* ---------- Shop archive: two-column layout ---------- */
.idyl-shop-layout__inner {
	align-items: flex-start;
	gap: 0;
	max-width: 1400px;
	margin: 0 auto;
	padding: 48px 60px;
}

.idyl-shop-sidebar-col {
	flex: 0 0 240px;
	width: 240px;
	position: sticky;
	top: 100px;
	align-self: flex-start;
}

.idyl-shop-main-col {
	flex: 1 1 auto;
	min-width: 0;
	padding-left: 60px;
}

/* ---------- Filter sidebar ---------- */
.idyl-filter-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.idyl-filter-sidebar__title {
	font-size: 13px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #2c2a27 !important;
}

.idyl-filter-sidebar__clear {
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #999999;
	text-decoration: underline;
}

.idyl-filter-sidebar__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

/* Close (X) button — only used inside the mobile drawer */
.idyl-filter-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: -8px -8px -8px 0;
	padding: 0;
	border: none;
	background: transparent;
	color: #2c2a27;
	cursor: pointer;
}

.idyl-filter-group {
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eeeeee;
}

.idyl-filter-group:last-child {
	border-bottom: none;
}

.idyl-filter-section-title {
	margin: 0 0 12px;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #111111 !important;
}

/* WooCommerce's Product Filters block has its own built-in overlay/drawer
   below 601px, which would nest a second drawer inside our own mobile
   filter drawer. We provide the only drawer, so force its "desktop" inline
   layout at every width. */
.idyl-filter-group.wc-block-product-filters .wc-block-product-filters__open-overlay,
.idyl-filter-group.wc-block-product-filters .wc-block-product-filters__overlay-header,
.idyl-filter-group.wc-block-product-filters .wc-block-product-filters__overlay-footer {
	display: none !important;
}

.idyl-filter-group.wc-block-product-filters .wc-block-product-filters__overlay {
	position: relative !important;
	inset: auto !important;
	pointer-events: auto !important;
}

.idyl-filter-group.wc-block-product-filters .wc-block-product-filters__overlay-wrapper {
	height: auto !important;
	width: auto !important;
}

.idyl-filter-group.wc-block-product-filters .wc-block-product-filters__overlay-dialog {
	position: relative !important;
	transform: none !important;
	inset: auto !important;
}

.idyl-filter-group.wc-block-product-filters .wc-block-product-filters__overlay-content {
	overflow: visible !important;
	padding: 0 !important;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__items {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__label,
.idyl-price-filter__link {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	line-height: 2.2;
	color: #2c2a27 !important;
	text-decoration: none;
	cursor: pointer;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__input-wrapper,
.idyl-checkbox {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	border: 1px solid #cccccc;
	background: transparent;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__mark {
	width: 9px;
	height: 7px;
	color: #2c2a27;
	opacity: 0;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__input:checked + .wc-block-product-filter-checkbox-list__mark,
.idyl-filter-group input:checked ~ * .wc-block-product-filter-checkbox-list__mark {
	opacity: 1;
}

/* Hide WC's ::before so our wrapper background is the only visual layer */
.idyl-filter-group .wc-block-product-filter-checkbox-list__input-wrapper::before {
	display: none !important;
}

/* Class toggled by idyl JS when a filter checkbox is checked */
.idyl-filter-group .wc-block-product-filter-checkbox-list__input-wrapper.idyl-is-checked {
	background: #2c2a27 !important;
	border-color: #2c2a27 !important;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__input-wrapper.idyl-is-checked .wc-block-product-filter-checkbox-list__mark {
	color: #ffffff !important;
	opacity: 1 !important;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__text {
	font-size: 13px;
	color: #2c2a27 !important;
}

.idyl-filter-group .wc-block-product-filter-checkbox-list__count {
	margin-left: 4px;
	font-size: 11px;
	color: #555555 !important;
}

.idyl-price-filter {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.idyl-price-filter__link.is-active .idyl-checkbox::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	right: 2px;
	bottom: 2px;
	background: #2c2a27;
}

/* ---------- Shop archive: top bar ---------- */
.idyl-shop-topbar {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 32px;
}

.idyl-shop-topbar .wc-block-product-results-count {
	font-size: 12px;
	color: #111111 !important;
}

.idyl-shop-topbar .wc-block-catalog-sorting {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #111111 !important;
}

.idyl-shop-topbar .wc-block-catalog-sorting select {
	border: 1px solid #dddddd;
	background: transparent;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	letter-spacing: 1px;
	color: #2c2a27 !important;
	padding: 8px 16px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

/* ---------- Shop archive: product grid ---------- */
/* Override WordPress is-layout-constrained max-width: 645px on children of idyl-shop-main-col */
.idyl-shop-topbar,
.idyl-shop-grid,
.idyl-shop-grid .wc-block-product-template {
	max-width: 100% !important;
	width: 100% !important;
}

.idyl-shop-grid .wc-block-product-template {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
}

.idyl-shop-grid .wc-block-product {
	text-align: center;
	width: 100%;
}

.idyl-shop-grid .wc-block-components-product-image,
.idyl-shop-grid .wc-block-components-product-image a {
	display: block;
	width: 100%;
	overflow: hidden;
}

.idyl-shop-grid .wc-block-components-product-image img {
	width: 100%;
	height: 380px;
	min-height: 380px;
	object-fit: cover;
	object-position: center top;
	display: block;
	transition: transform 0.4s ease;
}

.idyl-shop-grid .wc-block-product:hover .wc-block-components-product-image img {
	transform: scale(1.05);
}

.idyl-shop-grid .wp-block-post-title {
	margin: 14px 0 0;
	font-family: 'Jost', sans-serif;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.idyl-shop-grid .wp-block-post-title a {
	color: #111111;
	text-decoration: none;
}

.idyl-shop-grid .wc-block-components-product-price {
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	color: #111111;
	margin-top: 6px;
}

.idyl-shop-grid .wc-block-components-product-price del {
	text-decoration: line-through;
	color: #999999;
	font-size: 12px;
	opacity: 1;
}

.idyl-shop-grid .wc-block-components-product-price ins {
	text-decoration: none;
	color: #2c2a27;
	font-weight: 500;
	margin-left: 6px;
}

.idyl-shop-grid .wp-block-button.wc-block-components-product-button {
	display: block;
	margin-top: 12px;
}

.idyl-shop-grid .wp-block-button.wc-block-components-product-button .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	padding: 0;
	border: 1px solid #2c2a27;
	background: transparent;
	color: #2c2a27;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 11px;
	font-family: 'Jost', sans-serif;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.idyl-shop-grid .wp-block-button.wc-block-components-product-button .wp-block-button__link:hover {
	background-color: #2c2a27;
	color: #ffffff;
}

.idyl-shop-pagination {
	margin-top: 48px;
}

.idyl-shop-pagination .wp-block-query-pagination-numbers a,
.idyl-shop-pagination .wp-block-query-pagination-numbers span,
.idyl-shop-pagination .wp-block-query-pagination-previous,
.idyl-shop-pagination .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid #2c2a27;
	font-size: 12px;
	color: #2c2a27;
	text-decoration: none;
}

.idyl-shop-pagination .wp-block-query-pagination-numbers .current {
	background: #2c2a27;
	color: #ffffff;
}

/* ---------- Mobile filter button + drawer ---------- */
.idyl-mobile-filter-toggle {
	display: none;
}

.idyl-mobile-filter-overlay {
	display: none;
}

@media (max-width: 1024px) {
	.idyl-shop-layout__inner {
		padding: 40px 32px;
	}

	.idyl-shop-main-col {
		padding-left: 40px;
	}

	.idyl-shop-grid .wc-block-product-template {
		gap: 32px 24px;
	}
}

@media (max-width: 768px) {
	.idyl-shop-hero {
		height: 200px;
	}

	.idyl-shop-hero .wp-block-heading {
		font-size: 2rem !important;
	}

	.idyl-shop-breadcrumb {
		padding: 12px 20px;
	}

	.idyl-shop-layout__inner {
		padding: 32px 20px;
	}

	/* Row 1: [FILTER] .............. [Default sorting ▼]
	   Row 2: Showing all N results
	   CSS Grid overrides the WP group's flex layout so the three
	   items place reliably regardless of the generated flex rules. */
	.idyl-shop-topbar {
		display: grid !important;
		/* filter keeps its natural width; sort takes the remaining
		   row width so the row never wraps and the select can't overflow */
		grid-template-columns: auto minmax(0, 1fr);
		grid-template-areas:
			"filter sort"
			"count  count";
		align-items: center;
		gap: 14px 12px;
		margin-bottom: 20px;
	}

	/* wp:html may wrap the button in a div; collapse it so the button
	   is the grid item. Harmless if no wrapper is rendered. */
	.idyl-shop-topbar > .wp-block-html {
		display: contents;
	}

	.idyl-mobile-filter-toggle {
		grid-area: filter;
		justify-self: start;
		height: 42px;
		box-sizing: border-box;
	}

	.idyl-shop-topbar .wc-block-catalog-sorting {
		grid-area: sort;
		justify-self: stretch;
		min-width: 0;
	}

	/* Woo's .woocommerce-ordering form carries a bottom margin that
	   pushes the select above the row's vertical center */
	.idyl-shop-topbar .wc-block-catalog-sorting form,
	.idyl-shop-topbar .wc-block-catalog-sorting select {
		margin: 0;
	}

	.idyl-shop-topbar .wc-block-catalog-sorting select {
		width: 100%;
		max-width: 100%;
		height: 42px;
		box-sizing: border-box;
		padding: 0 34px 0 12px;
		line-height: 40px;
		text-overflow: ellipsis;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232c2a27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: right 12px center;
	}

	.idyl-shop-topbar .wc-block-product-results-count {
		grid-area: count;
		margin: 0;
	}

	.idyl-shop-sidebar-col {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		top: auto;
		width: 100%;
		max-height: 85vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		background: #ffffff;
		padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
		box-sizing: border-box;
		border-radius: 18px 18px 0 0;
		box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
		transform: translateY(100%);
		transition: transform 0.3s ease;
		z-index: 1000;
	}

	/* Drag handle at the top of the sheet */
	.idyl-shop-sidebar-col::before {
		content: '';
		display: block;
		width: 40px;
		height: 4px;
		margin: 0 auto 16px;
		border-radius: 2px;
		background: #dcdcdc;
	}

	.idyl-shop-sidebar-col.is-open {
		transform: translateY(0);
	}

	/* Lock background scroll while the drawer is open */
	body.idyl-filter-open {
		overflow: hidden;
	}

	/* Drawer header with title + close button (normal flow, not sticky —
	   sticky was overlapping the scrolling filter list) */
	.idyl-filter-sidebar__head {
		margin: 0 0 20px;
		padding-bottom: 16px;
		background: #ffffff;
		border-bottom: 1px solid #eeeeee;
	}

	.idyl-filter-sidebar__title {
		font-size: 15px;
		color: #111111;
	}

	.idyl-filter-close {
		display: inline-flex;
	}

	/* Stronger contrast + larger touch targets for the filter options */
	.idyl-filter-section-title {
		font-size: 12px;
		color: #111111;
	}

	.idyl-filter-group .wc-block-product-filter-checkbox-list__label,
	.idyl-price-filter__link {
		font-size: 15px;
		line-height: 1.6;
		color: #1a1a1a;
	}

	.idyl-filter-group .wc-block-product-filter-checkbox-list__text {
		font-size: 15px;
		color: #1a1a1a;
	}

	/* Product counts like "(3)" were too faint to read */
	.idyl-filter-group .wc-block-product-filter-checkbox-list__count {
		color: #555555 !important;
		font-size: 13px;
	}

	.idyl-filter-group .wc-block-product-filter-checkbox-list__input-wrapper,
	.idyl-checkbox {
		width: 18px;
		height: 18px;
		flex: 0 0 18px;
		border-color: #999999;
	}

	.idyl-price-filter,
	.idyl-filter-group .wc-block-product-filter-checkbox-list__items {
		gap: 16px;
	}

	.idyl-mobile-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-bottom: 0;
		padding: 10px 18px;
		border: 1px solid #2c2a27;
		background: transparent;
		font-family: 'Jost', sans-serif;
		font-size: 11px;
		letter-spacing: 3px;
		text-transform: uppercase;
		color: #2c2a27;
		cursor: pointer;
	}

	.idyl-mobile-filter-toggle__icon {
		flex: 0 0 auto;
	}

	.idyl-mobile-filter-overlay {
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.3);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		z-index: 999;
	}

	.idyl-mobile-filter-overlay.is-open {
		opacity: 1;
		visibility: visible;
	}

	.idyl-shop-main-col {
		padding-left: 0;
	}

	.idyl-shop-grid .wc-block-product-template {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px 16px;
	}

	.idyl-shop-grid .wc-block-product {
		position: relative;
		text-align: left;
	}

	.idyl-shop-grid .wc-block-components-product-image img {
		height: 240px;
		min-height: 240px;
		border-radius: 8px;
	}

	.idyl-shop-grid .wp-block-post-title {
		text-align: left;
		letter-spacing: 0.5px;
		text-transform: none;
		font-size: 14px;
	}

	.idyl-shop-grid .wc-block-components-product-price {
		text-align: left;
	}

	/* Turn the "Add to cart" button into a bag icon over the image (bottom-left) */
	.idyl-shop-grid .wp-block-button.wc-block-components-product-button {
		position: absolute;
		top: 186px;
		left: 10px;
		width: auto;
		margin: 0;
		z-index: 2;
	}

	.idyl-shop-grid .wp-block-button.wc-block-components-product-button .wp-block-button__link {
		width: 44px;
		height: 44px;
		min-height: 44px;
		padding: 0;
		border: none;
		border-radius: 6px;
		background-color: #ffffff;
		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
		color: transparent;
		font-size: 0;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232c2a27' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
		background-size: 20px;
	}

	.idyl-shop-grid .wp-block-button.wc-block-components-product-button .wp-block-button__link:hover {
		background-color: #2c2a27;
		color: transparent;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E");
	}

	/* The "View cart" link WooCommerce reveals after a successful add sits
	   next to the icon button, not inside its absolutely-positioned box, so
	   it renders in normal flow and overlaps the title/price below it. This
	   layout is icon-only by design, so just hide the text link. */
	.idyl-shop-grid .wp-block-button.wc-block-components-product-button .added_to_cart {
		display: none;
	}
}

@media (max-width: 480px) {
	.idyl-shop-hero {
		height: 170px;
	}

	.idyl-shop-hero .wp-block-heading {
		font-size: 1.7rem !important;
	}

	.idyl-shop-layout__inner {
		padding: 24px 16px;
	}

	.idyl-shop-grid .wc-block-product-template {
		gap: 20px 12px;
	}

	.idyl-shop-pagination {
		margin-top: 32px;
		flex-wrap: wrap;
	}
}

/* ---------- Global spacing & typography ---------- */
.wp-block-heading {
	font-family: 'Cormorant Garamond', serif;
	font-size: 32px;
	font-weight: 400;
	text-decoration: none;
}

body {
	font-family: 'Jost', sans-serif;
	font-size: 14px;
	line-height: 1.8;
}

/* ---------- About page ---------- */
.idyl-about-eyebrow {
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 11px;
	opacity: 0.6;
	margin-bottom: 12px;
}

.idyl-about-intro h1 {
	margin-top: 8px;
	margin-bottom: 20px;
}

.idyl-about-mediatext {
	align-items: center;
	grid-template-rows: 1fr;
}

.idyl-about-mediatext .wp-block-media-text__media {
	min-height: 420px;
}

.idyl-about-mediatext .wp-block-media-text__content {
	padding: 0 8% 0 8%;
}

.idyl-about-story h2 {
	margin-bottom: 18px;
}

.idyl-about-story .wp-block-media-text__content p {
	margin-bottom: 14px;
}

.idyl-about-why-sub {
	opacity: 0.7;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.idyl-why-cards {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
}

.idyl-why-card {
	border: 1px solid var(--wp--preset--color--accent-6, #ddd7cf);
	background-color: var(--wp--preset--color--base, #f5f2ee);
	padding: 36px 26px;
}

.idyl-why-card h3 {
	margin-bottom: 12px;
}

.idyl-why-card p {
	opacity: 0.8;
}

@media (max-width: 768px) {
	.idyl-about-mediatext .wp-block-media-text__media {
		min-height: 300px;
	}

	.idyl-about-mediatext .wp-block-media-text__content {
		padding: 32px 6% 8px;
	}
}

/* ---------- FAQ page ---------- */
.idyl-faq-group-title {
	margin-top: 44px;
	margin-bottom: 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--wp--preset--color--accent-6, #ddd7cf);
}

.idyl-faq-item {
	border: 1px solid var(--wp--preset--color--accent-6, #ddd7cf);
	margin-bottom: 10px;
}

.idyl-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 48px 18px 20px;
	position: relative;
	font-family: 'Jost', sans-serif;
	font-size: 15px;
	letter-spacing: 0.5px;
}

.idyl-faq-item summary::-webkit-details-marker {
	display: none;
}

.idyl-faq-item summary::after {
	content: '+';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-family: 'Cormorant Garamond', serif;
	font-size: 22px;
	line-height: 1;
	opacity: 0.6;
}

.idyl-faq-item[open] summary::after {
	content: '\2212';
}

.idyl-faq-item[open] summary {
	border-bottom: 1px solid var(--wp--preset--color--accent-6, #ddd7cf);
}

/* Twenty Twenty-Five outlines every :focus (not just :focus-visible), so
   clicking a question draws a heavy black box around the summary row.
   Suppress it for pointer/touch; keyboard focus rings stay intact. */
.idyl-faq-item summary:focus:not(:focus-visible),
.idyl-faq-item:focus:not(:focus-visible) {
	outline: none;
	box-shadow: none;
}

.idyl-faq-item > p {
	padding: 16px 20px 20px;
	margin: 0;
	opacity: 0.8;
	line-height: 1.7;
}

@media (max-width: 600px) {
	.idyl-faq-intro h1 {
		font-size: 2.4rem !important;
	}
}

/* ---------- Contact page ---------- */
.idyl-contact-info-title {
	margin-top: 34px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--wp--preset--color--accent-6, #ddd7cf);
}

.idyl-contact-info .idyl-contact-info-title:first-child {
	margin-top: 0;
}

.idyl-contact-info p {
	opacity: 0.8;
	line-height: 1.7;
}

.idyl-contact-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-family: 'Jost', sans-serif;
}

.idyl-contact-form-row {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.idyl-contact-form-row > label {
	flex: 1 1 220px;
}

.idyl-contact-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.idyl-contact-form label span {
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	opacity: 0.6;
}

.idyl-contact-form input[type="text"],
.idyl-contact-form input[type="email"],
.idyl-contact-form textarea {
	padding: 12px 18px;
	box-sizing: border-box;
	border: 1px solid #2c2a27;
	background: #ffffff;
	font-family: 'Jost', sans-serif;
	font-size: 0.95rem;
	width: 100%;
}

.idyl-contact-form textarea {
	resize: vertical;
	line-height: 1.6;
}

.idyl-contact-form button {
	align-self: flex-start;
	height: 44px;
	padding: 0 28px;
	box-sizing: border-box;
	background: transparent;
	color: #2c2a27;
	border: 1px solid #2c2a27;
	cursor: pointer;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease;
}

.idyl-contact-form button:hover {
	background: #2c2a27;
	color: #ffffff;
}

/* Honeypot field: hidden from people, present for bots. */
.idyl-contact-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.idyl-contact-notice {
	font-family: 'Jost', sans-serif;
	font-size: 0.9rem;
	border: 1px solid #2c2a27;
	padding: 14px 18px;
	margin-bottom: 22px;
}

.idyl-contact-notice-success {
	border-color: var(--wp--preset--color--accent-6, #ddd7cf);
	background-color: var(--wp--preset--color--accent-5, #ece7e0);
}

@media (max-width: 781px) {
	.idyl-contact-columns .wp-block-column:first-child {
		margin-bottom: 24px;
	}
}

@media (max-width: 600px) {
	.idyl-contact-intro h1 {
		font-size: 2.4rem !important;
	}
}

/* ---------- Cart/Checkout: suppress tap focus boxes ---------- */
/* Twenty Twenty-Five draws a 2px solid outline on every focused element via
   :focus (not :focus-visible), so on touch/click a heavy "black box" wraps
   whatever gets focused: the line-items table (WooCommerce makes it focusable
   as a scroll region), the "Add coupons" field, the quantity steppers, etc.
   Suppress these outlines for pointer/touch focus across the whole cart and
   checkout; :focus-visible is left intact so keyboard users still get a focus
   ring and accessibility is preserved. */
.wp-block-woocommerce-cart :focus:not(:focus-visible),
.wp-block-woocommerce-checkout :focus:not(:focus-visible) {
	outline: none;
}

/* The line-items table is a non-interactive scroll region, not a control, so a
   focus ring around the entire item is never useful — drop it even for
   keyboard focus. (Interactive controls inside it keep their own rings.) */
.wc-block-cart-items:focus {
	outline: none;
}

/* ---------- My Account ---------- */
.woocommerce-account .entry-content > .woocommerce,
.woocommerce-account .wp-block-post-content > .woocommerce {
	display: flex;
	gap: 48px;
	align-items: flex-start;
	max-width: 1080px;
	margin: 48px auto 80px;
	padding: 0 24px;
	color: #2c2a27;
}

/* Page title above the account area */
.woocommerce-account h1.wp-block-post-title,
.woocommerce-account .entry-title {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 400;
	text-align: center;
	color: #2c2a27;
}

/* Sidebar navigation */
.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	flex: 0 0 220px;
	width: auto;
	border: 1px solid #eeeeee;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	border-bottom: 1px solid #eeeeee;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 14px 20px;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	color: #2c2a27;
	border-left: 2px solid transparent;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
	background: #faf9f7;
	border-left-color: #2c2a27;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: #2c2a27;
	color: #ffffff;
	border-left-color: #2c2a27;
}

/* Content area */
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	flex: 1 1 auto;
	width: auto;
	font-family: 'Jost', sans-serif;
	color: #2c2a27;
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content td,
.woocommerce-account .woocommerce-MyAccount-content th,
.woocommerce-account .woocommerce-MyAccount-content address,
.woocommerce-account .woocommerce-MyAccount-content label,
.woocommerce-account .woocommerce-MyAccount-content legend {
	color: #2c2a27;
}

.woocommerce-account .woocommerce-MyAccount-content a {
	color: #2c2a27;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content legend {
	font-family: 'Cormorant Garamond', serif;
	font-weight: 400;
	color: #2c2a27;
}

/* Tables: orders, downloads */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #eeeeee;
	border-radius: 0;
	font-size: 0.85rem;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table th {
	padding: 14px 16px;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 500;
	text-align: left;
	background: #faf9f7;
	border-bottom: 1px solid #eeeeee;
}

.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
	padding: 14px 16px;
	border-top: 1px solid #eeeeee;
	border-right: none;
	border-left: none;
}

/* Buttons: match theme outline buttons */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-account .woocommerce-MyAccount-content a.button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"] {
	display: inline-block;
	padding: 10px 22px;
	background: transparent;
	color: #2c2a27;
	border: 1px solid #2c2a27;
	border-radius: 0;
	cursor: pointer;
	font-family: 'Jost', sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"]:hover {
	background: #2c2a27;
	color: #ffffff;
}

/* Orders table row buttons sit tighter */
.woocommerce-account .woocommerce-MyAccount-content table.shop_table .woocommerce-button {
	padding: 8px 16px;
	margin: 2px 4px 2px 0;
}

/* Forms: account details, addresses, login */
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea {
	width: 100%;
	padding: 12px 18px;
	box-sizing: border-box;
	background: #ffffff;
	color: #2c2a27;
	border: 1px solid #2c2a27;
	border-radius: 0;
	font-family: 'Jost', sans-serif;
	font-size: 0.95rem;
}

.woocommerce-account .woocommerce-MyAccount-content .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	opacity: 0.6;
}

.woocommerce-account .woocommerce-MyAccount-content fieldset {
	margin: 32px 0 16px;
	padding: 0;
	border: none;
}

/* Address cards */
.woocommerce-account .woocommerce-Addresses .woocommerce-Address,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address {
	border: 1px solid #eeeeee;
	padding: 24px;
	box-sizing: border-box;
}

.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	border-bottom: 1px solid #eeeeee;
	padding-bottom: 10px;
	margin-bottom: 14px;
}

.woocommerce-account .woocommerce-Address-title h3 {
	margin: 0;
}

.woocommerce-account .woocommerce-Address address {
	font-style: normal;
	line-height: 1.8;
}

/* Dashboard greeting + notices: lift the dull default gray */
.woocommerce-account .woocommerce-MyAccount-content > p {
	line-height: 1.8;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
	background: #faf9f7;
	color: #2c2a27;
	border: 1px solid #eeeeee;
	border-top: 2px solid #2c2a27;
	border-radius: 0;
	padding: 14px 18px;
	font-family: 'Jost', sans-serif;
	font-size: 0.9rem;
}

.woocommerce-account .woocommerce-message::before,
.woocommerce-account .woocommerce-info::before {
	color: #2c2a27;
}

/* Order detail page */
.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details {
	margin-top: 32px;
}

.woocommerce-account .woocommerce-customer-details address {
	border: 1px solid #eeeeee;
	border-radius: 0;
	padding: 24px;
	font-style: normal;
	line-height: 1.8;
}

/* Mobile: stack nav above content */
@media (max-width: 781px) {
	.woocommerce-account .entry-content > .woocommerce,
	.woocommerce-account .wp-block-post-content > .woocommerce {
		flex-direction: column;
		gap: 28px;
		margin-top: 24px;
		padding: 0 16px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		flex: 1 1 auto;
		width: 100%;
	}

	/* Address cards stack instead of sitting side by side */
	.woocommerce-account .woocommerce-Addresses .woocommerce-Address,
	.woocommerce-account .u-columns.woocommerce-Addresses .u-column1,
	.woocommerce-account .u-columns.woocommerce-Addresses .u-column2 {
		width: 100%;
		max-width: 100%;
		float: none;
		margin-bottom: 20px;
	}
}

/* Small phones: collapse tables into stacked label/value cards */
@media (max-width: 600px) {
	.woocommerce-account .woocommerce-MyAccount-content table.shop_table,
	.woocommerce-account .woocommerce-MyAccount-content table.shop_table tbody,
	.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr,
	.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead {
		display: none;
	}

	.woocommerce-account .woocommerce-MyAccount-content table.shop_table tr {
		border: 1px solid #eeeeee;
		margin-bottom: 16px;
	}

	.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 12px;
		padding: 10px 14px;
		border: none;
		border-bottom: 1px solid #eeeeee;
		text-align: right;
	}

	.woocommerce-account .woocommerce-MyAccount-content table.shop_table td:last-child {
		border-bottom: none;
	}

	/* WooCommerce puts the column name in data-title; show it as the row label */
	.woocommerce-account .woocommerce-MyAccount-content table.shop_table td[data-title]::before {
		content: attr(data-title);
		font-size: 10px;
		letter-spacing: 2px;
		text-transform: uppercase;
		opacity: 0.6;
		text-align: left;
		flex-shrink: 0;
	}

	/* Actions cell: full-width tappable buttons */
	.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions {
		display: block;
		text-align: left;
	}

	.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions .woocommerce-button {
		display: block;
		width: 100%;
		margin: 0 0 8px;
		padding: 12px 16px;
		text-align: center;
		box-sizing: border-box;
	}

	.woocommerce-account .woocommerce-MyAccount-content table.shop_table td.woocommerce-orders-table__cell-order-actions .woocommerce-button:last-child {
		margin-bottom: 0;
	}

	/* Forms: comfortable tap targets, no zoom-on-focus (iOS zooms under 16px) */
	.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
	.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
	.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
	.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
	.woocommerce-account .woocommerce-MyAccount-content select {
		font-size: 16px;
	}

	.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title .edit {
		width: 100%;
		display: block;
		text-align: center;
		box-sizing: border-box;
		padding: 12px 16px;
	}

	.woocommerce-account .woocommerce-MyAccount-content .form-row {
		width: 100% !important;
		float: none;
	}

	/* Nav links: slightly larger tap area on touch */
	.woocommerce-account .woocommerce-MyAccount-navigation a {
		padding: 15px 20px;
	}
}
