/*
Theme Name: Nora Child
Theme URI: https://www.instagram.com/nora_timeless_accessories/
Author: Nora Timeless Accessories
Description: Child theme of Nora Timeless Accessories. Holds a full snapshot of the site's CSS, JS and templates so updating the parent theme does not overwrite them. Edit styles here, not in the parent.
Template: nora
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: nora
*/

/* ------------------------------------------------------------------
   1. Design tokens
------------------------------------------------------------------- */
:root {
	--rose: #b86f7a;          /* exact logo colour from the poster */
	--rose-deep: #a35d69;
	--rose-soft: #d9a9b0;
	--blush: #f4e6e3;
	--blush-2: #efdcd8;
	--cream: #fbf6f3;
	--sand: #efe4dc;
	--ink: #3b2a2e;
	--muted: #7d676b;
	--line: #e8d6d2;
	--white: #fff;

	--serif: "Cormorant Garamond", "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--script: "Allura", "Brush Script MT", cursive;

	--radius: 4px;
	--shadow: 0 10px 30px -18px rgba(120, 60, 70, .45);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
}

/* ------------------------------------------------------------------
   2. Base
------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	font-weight: 600;
	color: var(--ink);
	line-height: 1.15;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--white); padding: 10px 16px;
}
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.script { font-family: var(--script); font-weight: 400; color: var(--rose); }

/* Buttons */
.btn,
.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-element-button,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	background: var(--rose);
	color: var(--white);
	border: 1px solid var(--rose);
	border-radius: var(--radius);
	padding: .8em 1.8em;
	font-family: var(--sans);
	font-size: .78rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover, .button:hover, button.button:hover, input[type="submit"]:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover, .wp-element-button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--rose-deep); border-color: var(--rose-deep); color: var(--white);
}
.btn--ghost { background: transparent; color: var(--rose-deep); }
.btn--ghost:hover { background: var(--rose); color: var(--white); }
.btn--light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.85); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--rose-deep); border-color: var(--white); }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--rose); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--rose-deep); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled { opacity: .55; }

input[type="text"], input[type="email"], input[type="search"], input[type="tel"],
input[type="password"], input[type="number"], input[type="url"], select, textarea,
.woocommerce form .form-row .input-text {
	width: 100%;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: .75em 1em;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(184,111,122,.15); }

/* ------------------------------------------------------------------
   3. Announcement bar + header
------------------------------------------------------------------- */
.announcement {
	background: var(--rose);
	color: var(--white);
	font-size: .72rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-align: center;
}
.announcement { position: relative; overflow: hidden; }
.announcement .container { display: flex; align-items: center; justify-content: center; min-height: 36px; position: relative; pointer-events: none; }
.announcement__wish { position: absolute; right: var(--gutter); color: var(--white); display: flex; z-index: 2; padding: 6px 0 6px 12px; background: var(--rose); box-shadow: -14px 0 14px var(--rose); pointer-events: auto; }
.announcement__wish:hover { color: var(--blush); }

/* Scrolling announcement: text travels the full width of the bar, left to right */
.announcement__marquee { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; }
.announcement__track { width: 100%; text-align: left; white-space: nowrap; will-change: transform; animation: nora-marquee 16s linear infinite; }
.announcement__text { display: inline-block; padding: 0 1em; }
.announcement:hover .announcement__track { animation-play-state: paused; }
@keyframes nora-marquee {
	from { transform: translateX(-100%); }
	to { transform: translateX(100%); }
}
@media (max-width: 700px) {
	.announcement__track { animation-duration: 10s; }
}
@media (prefers-reduced-motion: reduce) {
	.announcement__track { animation: none; text-align: center; }
}

.site-header {
	background: var(--cream);
	border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 50;
	transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(90, 40, 50, .5); }
.header-main {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding-top: 14px; padding-bottom: 10px;
}
.header-left, .header-right { display: flex; align-items: center; gap: 6px; }
.header-right { justify-content: flex-end; }
.icon-btn {
	background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; position: relative; border-radius: 50%;
}
.icon-btn:hover { color: var(--rose); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count {
	position: absolute; top: 2px; right: 0;
	min-width: 17px; height: 17px; padding: 0 4px;
	background: var(--rose); color: var(--white);
	border-radius: 999px; font-size: .62rem; font-weight: 600; line-height: 17px; text-align: center;
}
.brand { display: flex; flex-direction: column; align-items: center; color: var(--rose); text-align: center; }
.brand:hover { color: var(--rose-deep); }
.brand__mark { width: clamp(92px, 11vw, 132px); height: auto; color: var(--rose); }
.brand__mark svg { width: 100%; height: auto; display: block; }
.brand__mark img { width: 100%; }
.brand__tag {
	margin-top: 2px;
	font-family: var(--serif); font-size: clamp(.6rem, 1vw, .74rem); font-weight: 500;
	letter-spacing: .38em; text-transform: uppercase; color: var(--rose);
	padding-left: .38em;
}
.primary-nav { border-top: 1px solid var(--line); }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 34px; }
.primary-nav a {
	display: block; padding: 13px 0; color: var(--ink);
	font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; position: relative;
}
.primary-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
	background: var(--rose); transform: scaleX(0); transition: transform .25s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--rose); }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); }
/* Desktop dropdowns */
.primary-nav li { position: relative; }
.primary-nav .menu-item-has-children > a { padding-right: 14px; }
.primary-nav .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -4px;
	border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg);
}
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: 50%; z-index: 60;
	display: block; min-width: 220px; padding: 10px 0; margin: 0;
	background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); text-align: left;
	opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.primary-nav .sub-menu li { display: block; }
.primary-nav .sub-menu a { padding: 9px 22px; font-size: .72rem; letter-spacing: .14em; white-space: nowrap; }
.primary-nav .sub-menu a::after { display: none; }
.primary-nav .sub-menu a:hover { background: var(--blush); }
.menu-toggle { display: none; }

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(59, 42, 46, .45); opacity: 0; transition: opacity .3s; }
.drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw);
	background: var(--cream); padding: 22px 26px; overflow-y: auto;
	transform: translateX(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer__head .brand__mark { width: 86px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a {
	display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
	font-family: var(--serif); font-size: 1.3rem; color: var(--ink);
}
.drawer .sub-menu a { font-size: 1.05rem; padding-left: 16px; color: var(--muted); }
.drawer__social { display: flex; gap: 14px; margin-top: 26px; }

/* Search overlay */
.search-overlay {
	position: fixed; inset: 0; z-index: 210; background: rgba(251, 246, 243, .97);
	display: flex; align-items: flex-start; justify-content: center; padding-top: 18vh;
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__inner { width: min(640px, 90vw); text-align: center; }
.search-overlay__inner h2 { font-size: 2rem; margin-bottom: 18px; }
.search-overlay .icon-btn.close { position: absolute; top: 20px; right: 20px; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { font-size: 1.05rem; padding: .9em 1.1em; }

/* ------------------------------------------------------------------
   4. Section scaffolding
------------------------------------------------------------------- */
.section { padding: clamp(44px, 6vw, 80px) 0; }
.section--tight { padding: clamp(32px, 4vw, 52px) 0; }
.section--blush { background: var(--blush); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.view-all {
	font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
	display: inline-flex; align-items: center; gap: .5em; white-space: nowrap;
}
.view-all:hover { color: var(--rose); }
.arrow { display: inline-block; transition: transform .2s; }
a:hover .arrow { transform: translateX(4px); }

/* ------------------------------------------------------------------
   5. Hero slider
------------------------------------------------------------------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(1200px 500px at 85% 20%, rgba(217, 169, 176, .35), transparent 60%),
		linear-gradient(180deg, var(--cream), var(--blush));
}
.hero__inner {
	display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 70px);
	min-height: clamp(520px, 70vh, 680px); padding-top: 40px; padding-bottom: 40px;
}
.hero__eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; display: block; }
.hero__eyebrow:empty { display: none; }
.hero__title {
	font-family: var(--serif); font-weight: 500; text-transform: uppercase;
	font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: .04em; line-height: 1.02; margin-bottom: 22px;
}
.hero__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--muted); max-width: 30ch; margin-bottom: 30px; }
.hero__script { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; margin-top: 34px; transform: rotate(-6deg); transform-origin: left; display: inline-block; }
.hero__media { position: relative; justify-self: center; width: min(460px, 100%); }
.hero__frame {
	position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px 6px 6px; overflow: hidden;
	box-shadow: var(--shadow); background: var(--sand);
}
.hero__frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 230px 230px 4px 4px; pointer-events: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.04); transition: transform 6s ease; }
.hero__slide.is-active img { transform: scale(1); }
.hero__outline {
	position: absolute; inset: -18px -18px auto auto; width: 100%; aspect-ratio: 4 / 5;
	border: 1px solid var(--rose-soft); border-radius: 240px 240px 6px 6px; z-index: -1;
}
.hero__dots { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.hero__dots button {
	width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer;
	border: 1px solid var(--rose); background: transparent; transition: background .2s, transform .2s;
}
.hero__dots button.is-active { background: var(--rose); transform: scale(1.15); }
.hero__frame { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hero { touch-action: pan-y; }
.powered-bar { background: #000; text-align: center; padding: 8px 16px; font-size: .72rem; letter-spacing: .08em; line-height: 1.4; }
.powered-bar a { color: rgba(255,255,255,.75); text-decoration: none; }
.powered-bar a:hover, .powered-bar a:focus-visible { color: #fff; }
.hero__frame:active { cursor: grabbing; }
.hero__arrow {
	position: absolute; top: calc(50% - 16px); transform: translateY(-50%); z-index: 2;
	width: 40px; height: 40px; border-radius: 50%; padding: 0; cursor: pointer;
	display: grid; place-items: center; border: 0;
	background: rgba(255,255,255,.75); color: var(--rose); font-size: 1.7rem; line-height: 1;
	box-shadow: 0 4px 14px rgba(0,0,0,.08); transition: background .2s, opacity .2s;
}
.hero__arrow span { display: block; margin-top: -3px; }
.hero__arrow:hover, .hero__arrow:focus-visible { background: #fff; }
.hero__arrow--prev { left: 14px; }
.hero__arrow--next { right: 14px; }
.hero__arrow { display: none !important; } /* left/right arrows removed on all browsers */
@media (hover: hover) {
	.hero__arrow { opacity: 0; }
	.hero__media:hover .hero__arrow, .hero__arrow:focus-visible { opacity: 1; }
}

/* ------------------------------------------------------------------
   6. Feature strip
------------------------------------------------------------------- */
.features { border-bottom: 1px solid var(--line); background: var(--cream); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 30px 0; text-align: center; }
.feature svg { width: 34px; height: 34px; color: var(--ink); margin: 0 auto 10px; stroke-width: 1.2; }
.feature strong { display: block; font-weight: 500; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }
.feature span { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1rem; }

/* ------------------------------------------------------------------
   7. Category tiles + collections
------------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 2vw, 24px); }
.cat-tile { display: block; text-align: center; color: var(--ink); }
.cat-tile__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.cat-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__name { display: block; margin-top: 12px; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.cat-tile:hover .cat-tile__name { color: var(--rose); }

.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.collection-card { display: block; background: var(--blush); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-align: center; transition: box-shadow .3s, transform .3s; }
.collection-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.collection-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.collection-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection-card:hover img { transform: scale(1.05); }
.collection-card__body { padding: 16px 12px 18px; }
.collection-card__title { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.collection-card__cta { display: inline-flex; gap: .4em; margin-top: 2px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.collection-card:hover .collection-card__cta { color: var(--rose); }

/* ------------------------------------------------------------------
   8. Product cards (WooCommerce loop)
------------------------------------------------------------------- */
.woocommerce ul.products, ul.products {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px);
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important; padding: 0;
	text-align: center; display: flex; flex-direction: column;
}
.product-card__media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.product-card__media a { display: block; }
.product-card__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 !important; transition: transform .6s ease; }
li.product:hover .product-card__media img { transform: scale(1.05); }
.woocommerce ul.products li.product, ul.products li.product { min-width: 0; }

/* Multi-image product cards: swipe on touch, arrows on hover */
.card-gallery { position: relative; }
.card-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.card-gallery__track::-webkit-scrollbar { display: none; }
.card-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; overflow: hidden; }
li.product:hover .card-gallery .card-gallery__slide img { transform: none; }
.card-gallery__nav {
	position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
	width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
	background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.3rem; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transition: opacity .2s, background .2s;
}
.card-gallery__nav--prev { left: 8px; }
.card-gallery__nav--next { right: 8px; }
.card-gallery__nav:hover { background: var(--white); color: var(--rose); }
li.product:hover .card-gallery__nav, .card-gallery__nav:focus-visible { opacity: 1; }
.card-gallery__dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.card-gallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(40,25,28,.12); transition: background .2s, transform .2s; }
.card-gallery__dots span.is-active { background: var(--white); transform: scale(1.25); }
@media (hover: none) { .card-gallery__nav { display: none; } }

.wish-btn {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255,255,255,.85); color: var(--rose);
	display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s;
}
.wish-btn:hover { transform: scale(1.1); background: var(--white); }
.wish-btn svg { width: 18px; height: 18px; }
.wish-btn.is-active svg path { fill: var(--rose); }
.woocommerce ul.products li.product .onsale, .onsale {
	position: absolute; top: 10px; left: 10px; right: auto; margin: 0; z-index: 2;
	background: var(--rose); color: var(--white); border-radius: 999px; min-height: 0; min-width: 0; line-height: 1;
	padding: .5em .9em; font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.product-card__body { padding: 14px 4px 0; display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce-loop-product__title {
	font-family: var(--sans); font-size: .92rem; font-weight: 400; color: var(--ink); padding: 0; margin: 0 0 4px; line-height: 1.35;
}
.product-card__body a { color: var(--ink); }
.product-card__body a:hover .woocommerce-loop-product__title { color: var(--rose); }
.woocommerce ul.products li.product .price, .product-card__body .price {
	color: var(--ink); font-size: .95rem; font-weight: 500; margin-bottom: 12px; display: block;
}
.price del { color: var(--muted); opacity: .7; font-weight: 400; margin-right: 4px; }
.price ins { text-decoration: none; color: var(--rose-deep); }
.woocommerce ul.products li.product .button, .product-card__body .button {
	margin-top: auto; width: 100%; padding: .85em 1em; font-size: .7rem;
}
.woocommerce ul.products li.product .button.loading { opacity: .7; }
.woocommerce ul.products li.product .button.added::after { display: none; }
.woocommerce a.added_to_cart { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); }
.star-rating { color: var(--rose); }

/* ------------------------------------------------------------------
   9. Promo banners
------------------------------------------------------------------- */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 26px); }
.promo {
	position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 280px;
	border-radius: var(--radius); overflow: hidden; color: var(--ink);
}
.promo__media { position: relative; overflow: hidden; }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.promo:hover .promo__media img { transform: scale(1.05); }
.promo__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(20px, 3vw, 40px); }
.promo__body h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 500; margin-bottom: 10px; }
.promo__body p { color: var(--muted); margin-bottom: 20px; }
.promo--summer { background: linear-gradient(135deg, #6b4a36, #a77b55); color: var(--white); }
.promo--summer h3 { color: var(--white); }
.promo--summer p { color: rgba(255,255,255,.82); }
.promo--summer .promo__media { order: 2; }
.promo--gift { background: linear-gradient(135deg, var(--blush-2), #f2d4d3); }

.story {
	position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
	background: linear-gradient(90deg, #c9dbe3 0%, #dfe9ee 55%, #eef3f5 100%);
	min-height: 380px; overflow: hidden;
}
.story__media { position: relative; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.story__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #dfe9ee 100%); }
.story__body { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(20px, 5vw, 80px); }
.story__body h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; max-width: 12ch; }
.story__body p { color: var(--muted); max-width: 38ch; }

/* ------------------------------------------------------------------
   10. Instagram + newsletter
------------------------------------------------------------------- */
.insta-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.insta-head h2 { margin: 0; }
.insta-head h2 a { color: inherit; }
.insta-head h2 a:hover { color: var(--rose); }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; align-items: stretch; }
.insta-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.insta-tile::after {
	content: ""; position: absolute; inset: 0; background: rgba(184,111,122,.35) url("assets/img/icon-instagram.svg") center / 34px no-repeat;
	opacity: 0; transition: opacity .3s;
}
.insta-tile:hover::after { opacity: 1; }
.insta-tile:hover img { transform: scale(1.06); }
.insta-qr { background: var(--white); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 180px; }
.insta-qr img { width: 130px; }
.insta-qr span { font-size: .66rem; color: var(--muted); margin-top: 6px; text-align: center; letter-spacing: .05em; }

.newsletter { background: var(--rose); color: var(--white); text-align: center; }
.newsletter h2 { color: var(--white); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 8px; }
.newsletter p { color: rgba(255,255,255,.88); max-width: 46ch; margin: 0 auto 26px; }
.newsletter__form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.newsletter__form input[type="email"] { border-color: var(--white); flex: 1; }
.newsletter__form .btn { background: transparent; border-color: var(--white); white-space: nowrap; }
.newsletter__form .btn:hover { background: var(--white); color: var(--rose-deep); }
.newsletter__msg { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }

/* ------------------------------------------------------------------
   11. Footer
------------------------------------------------------------------- */
.site-footer { background: var(--cream); text-align: center; padding: 50px 0 34px; border-top: 1px solid var(--line); }
.footer-brand { display: inline-flex; margin-bottom: 18px; }
.footer-brand .brand__mark { width: 110px; }
.social { display: flex; justify-content: center; gap: 22px; margin-bottom: 24px; }
.social a { color: var(--rose); display: inline-flex; }
.social a:hover { color: var(--rose-deep); transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; }
.footer-nav ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer-nav a { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep); }
.footer-contact { font-size: .88rem; color: var(--muted); margin-bottom: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer-contact a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.footer-contact svg { width: 15px; height: 15px; color: var(--rose); }
.copyright { font-size: .76rem; color: var(--muted); margin: 0 0 22px; }
.footer-script { font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; }
.footer-script svg { width: 24px; height: 24px; color: var(--rose); display: inline-block; vertical-align: middle; margin-left: 6px; }

.whatsapp-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	width: 56px; height: 56px; border-radius: 50%; background: var(--rose); color: var(--white);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(120, 50, 60, .6);
	transition: transform .2s, background .2s;
}
.whatsapp-float:hover { transform: scale(1.08); background: var(--rose-deep); color: var(--white); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ------------------------------------------------------------------
   12. Inner pages, blog, WooCommerce pages
------------------------------------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--cream), var(--blush)); text-align: center; padding: clamp(40px, 6vw, 70px) 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0; font-weight: 500; }
.page-hero p { margin: 8px auto 0; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 1.2rem; max-width: 50ch; }
.page-hero .script { font-size: 2rem; display: block; margin-bottom: -4px; }
.content-area { padding: clamp(36px, 5vw, 64px) 0; }
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content > * + h2, .entry-content > * + h3 { margin-top: 1.6em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.entry-content summary { cursor: pointer; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.entry-content summary::after { content: "+"; color: var(--rose); font-family: var(--sans); font-weight: 300; }
.entry-content details[open] summary::after { content: "–"; }
.entry-content details p { margin: 10px 0 0; color: var(--muted); }
.entry-content.is-wide, .woocommerce-page .entry-content { max-width: none; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.contact-card { background: var(--blush); border-radius: var(--radius); padding: 24px; text-align: center; text-decoration: none !important; color: var(--ink); }
.contact-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.contact-card strong { display: block; font-family: var(--serif); font-size: 1.3rem; }
.contact-card span { color: var(--muted); font-size: .9rem; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.post-card__body { padding: 20px; }
.post-card__meta { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pagination, .woocommerce nav.woocommerce-pagination { margin-top: 40px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span,
.page-numbers { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 10px; color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul li span.current, .page-numbers.current { background: var(--rose); color: var(--white); border-color: var(--rose); }

/* Shop toolbar */
.woocommerce .woocommerce-breadcrumb { font-size: .76rem; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0; float: none; color: var(--muted); font-size: .88rem; }
.woocommerce .woocommerce-ordering select { width: auto; padding: .55em 2.2em .55em .9em; }
.shop-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; justify-content: center; }
.shop-cats a { padding: .5em 1.2em; border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--white); }
.shop-cats a:hover, .shop-cats a.is-current { background: var(--rose); border-color: var(--rose); color: var(--white); }
.term-description { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 24px; }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images { position: relative; }
.woocommerce div.product div.images img { border-radius: var(--radius); background: var(--sand); }
.woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.woocommerce div.product div.images { min-width: 0; }
.woocommerce div.product div.images .flex-viewport { border-radius: var(--radius); }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; height: auto; display: block; }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; overflow: visible; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 80px !important; float: none !important; margin: 0 !important; list-style: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; cursor: pointer; opacity: .55; border: 1px solid transparent; transition: opacity .2s, border-color .2s; }
.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { opacity: 1; border-color: var(--rose); }
/* Gallery wrapper + zoom button */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { position: absolute; top: 12px; right: 12px; z-index: 3; }
.woocommerce div.product .product_title { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500; margin-bottom: 8px; }
.woocommerce div.product .summary p.price, .woocommerce div.product .summary > .price { color: var(--rose-deep); font-size: 1.5rem; font-family: var(--serif); font-weight: 600; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); font-size: 1.02rem; margin: 18px 0 24px; }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; margin-bottom: 26px; flex-wrap: wrap; }
.woocommerce div.product form.cart div.quantity { margin: 0; float: none; }
.woocommerce .quantity .qty { width: 80px; height: 100%; min-height: 48px; text-align: center; }
.woocommerce div.product form.cart .button { flex: 1; min-height: 48px; float: none; }
.product-assurances { display: grid; gap: 10px; padding: 20px; background: var(--blush); border-radius: var(--radius); margin-bottom: 22px; }
.product-assurances div { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.product-assurances svg { width: 22px; height: 22px; color: var(--rose); flex: none; }
.woocommerce div.product .product_meta { font-size: .82rem; color: var(--muted); }
.woocommerce div.product .product_meta > span { display: block; margin-bottom: 4px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 22px; display: flex; justify-content: center; gap: 30px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--rose); box-shadow: inset 0 -2px 0 var(--rose); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 760px; margin: 0 auto 40px; }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.related > h2, .upsells > h2 { text-align: center; margin-bottom: 26px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	border: 0; border-left: 3px solid var(--rose); background: var(--white); border-radius: var(--radius); color: var(--ink);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--rose); }

/* Cart / checkout (classic + blocks) */
.woocommerce table.shop_table { border-color: var(--line); border-radius: var(--radius); background: var(--white); }
.woocommerce table.shop_table th { font-family: var(--sans); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.wc-block-cart, .wc-block-checkout { font-family: var(--sans); }
.wc-block-components-product-name { color: var(--ink) !important; font-family: var(--serif); font-size: 1.15rem !important; font-weight: 600; }
.wc-block-components-totals-item__label, .wc-block-components-title { font-family: var(--sans); }
.wc-block-components-title.wc-block-components-title { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { width: 100%; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { margin-top: 0; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { background: var(--white); border-radius: var(--radius); padding: 22px !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select select {
	border-color: var(--line) !important; border-radius: var(--radius) !important;
}
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-family: var(--serif); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--rose); background: var(--blush); }

/* Wishlist */
.wishlist-empty { text-align: center; padding: 40px 0; }
.wishlist-empty .script { font-size: 2.4rem; display: block; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------
   13. Responsive
------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(3, 1fr); }
	.collection-grid { grid-template-columns: repeat(3, 1fr); }
	.promo-grid { grid-template-columns: 1fr; }
	.insta-grid { grid-template-columns: repeat(4, 1fr); }
	.insta-qr { display: none; }
}
@media (max-width: 640px) {
	/* Collections stay side by side on phones, like the Shop by Category tiles */
	.collection-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.collection-card__img { aspect-ratio: 4 / 5; }
	.collection-card__body { padding: 10px 4px 12px; }
	.collection-card__title { font-size: .95rem !important; line-height: 1.2; }
	.collection-card__cta { font-size: .56rem; letter-spacing: .1em; }
}
@media (max-width: 860px) {
	.primary-nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.header-main { padding-top: 10px; padding-bottom: 8px; }

	/* Mobile hero: full-bleed photo with overlay text, like the mockup */
	.hero { background: var(--ink); }
	.hero__inner { display: block; position: relative; min-height: 0; padding: 0; }
	.hero__media { position: absolute; inset: 0; width: 100%; z-index: 0; }
	.hero__frame, .hero__frame::after { border-radius: 0; height: 100%; aspect-ratio: auto; box-shadow: none; }
	.hero__frame::after, .hero__outline { display: none; }
	.hero__frame::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(40,25,28,.62), rgba(40,25,28,.15) 75%), linear-gradient(0deg, rgba(40,25,28,.45), transparent 45%); }
	.hero__dots { position: absolute; bottom: 18px; left: 0; right: 0; z-index: 3; margin: 0; }
	.hero__dots button { border-color: var(--white); }
	.hero__dots button.is-active { background: var(--white); }
	.hero__content { position: relative; z-index: 3; min-height: 540px; padding: 150px var(--gutter) 70px; color: var(--white); display: flex; flex-direction: column; justify-content: flex-end; }
	.hero__title { color: var(--white); }
	.hero__text { color: rgba(255,255,255,.9); }
	.hero__eyebrow { color: var(--blush); }
	.hero__content .btn { align-self: flex-start; }
	.hero__script { color: var(--white); font-size: 2.1rem; margin-top: 22px; transform: rotate(-5deg); transform-origin: right; display: block; text-align: right; }

	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images { position: static; }
	.story { grid-template-columns: 1fr; }
	.story__media { min-height: 300px; }
	.story__media::after { background: linear-gradient(0deg, #dfe9ee 0%, transparent 40%); }
	.story__body { padding-top: 10px; }
}
/* ------------------------------------------------------------------
   Coming soon page (coming-soon.php)
------------------------------------------------------------------- */
.soon {
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; justify-content: center;
	padding: 48px var(--gutter);
	text-align: center;
	background: radial-gradient(ellipse at top, var(--blush) 0%, var(--cream) 60%);
}
.soon__inner { max-width: 560px; width: 100%; }
.soon__brand { margin-bottom: 34px; }
.soon__brand .brand__mark { width: clamp(130px, 30vw, 180px); }
.soon__script { display: block; font-size: clamp(2rem, 6vw, 2.6rem); line-height: 1; }
.soon__title { font-size: clamp(2.6rem, 8vw, 4rem); font-weight: 500; letter-spacing: .02em; margin: 4px 0 14px; color: #000; }
.soon__text { color: var(--muted); max-width: 44ch; margin: 0 auto 30px; }
.soon__form input[type="email"] { flex: 1; border-color: var(--rose-soft); }
.soon__form .btn { background: var(--rose); border-color: var(--rose); color: var(--white); }
.soon__form .btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--white); }
.soon .newsletter__msg { color: var(--rose-deep); }
.soon__social { margin-top: 38px; }
.soon__social .social { margin-bottom: 14px; }
.soon__whatsapp { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; }
.soon__whatsapp:hover { color: var(--rose-deep); }
.soon__whatsapp svg { width: 18px; height: 18px; color: var(--rose); }

@media (max-width: 600px) {
	body { font-size: 15px; }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
	.cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.cat-tile__name { font-size: .95rem; margin-top: 8px; }
	.collection-card__title { font-size: 1.1rem; }
	.features__grid { gap: 8px; padding: 22px 0; }
	.feature svg { width: 28px; height: 28px; }
	.feature strong { font-size: .62rem; letter-spacing: .1em; }
	.feature span { font-size: .85rem; }
	.promo { grid-template-columns: 1fr 1fr; min-height: 210px; }
	.promo__body h3 { font-size: 1.5rem; }
	.promo__body p { font-size: .88rem; margin-bottom: 14px; }
	.insta-grid { grid-template-columns: repeat(2, 1fr); }
	.newsletter__form { flex-direction: column; }
	.section-head h2 { font-size: 1.6rem; }
	.announcement { font-size: .62rem; letter-spacing: .12em; }
	.whatsapp-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
}
