/*
Theme Name: Whimsy Street
Theme URI: https://whimsystreet.example
Author: Whimsy Street
Description: A whimsical, WooCommerce-ready storefront theme for Whimsy Street — dreamy nightwear, magical wings and playful accessories for little girls. Cottage-garden pastel palette, postage-stamp motifs, and a ready-made Our Story page.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 9.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whimsy-street
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, two-columns
*/

/* ==========================================================
   1. Tokens
   ========================================================== */
:root {
	--ws-blush: #F4AFBA;
	--ws-blush-deep: #E58E9F;
	--ws-blush-soft: #FCE6EB;
	--ws-hydrangea: #C4D8F0;
	--ws-hydrangea-soft: #E6EEF8;
	--ws-sage: #B8E0C8;
	--ws-sage-soft: #E7F4EC;
	--ws-primrose: #F0D898;
	--ws-primrose-soft: #FBF3DC;
	--ws-violet: #D4C0E8;
	--ws-violet-soft: #F2EBF8;
	--ws-petal: #FAF4F8;
	--ws-cream: #FFFDF8;
	--ws-white: #FFFFFF;

	--ws-ink: #4E4351;
	--ws-ink-soft: #776A7A;
	--ws-leaf: #5F7A4C;        /* buttons & links (logo green, deepened for contrast) */
	--ws-leaf-logo: #809E66;   /* exact logo green, decorative only */
	--ws-line: #EBDDE5;

	--ws-font-display: "Cormorant Garamond", "Times New Roman", serif;
	--ws-font-body: "Nunito", "Helvetica Neue", Arial, sans-serif;
	--ws-font-script: "Sacramento", "Brush Script MT", cursive;

	--ws-radius: 22px;
	--ws-radius-sm: 12px;
	--ws-shadow: 0 10px 30px -12px rgba(120, 80, 110, .25);
	--ws-max: 1240px;
	--ws-gutter: clamp(18px, 4vw, 40px);

	--ws-stripes: repeating-linear-gradient(90deg, #FBE3EA 0 20px, #FFFFFF 20px 52px);
}

/* ==========================================================
   2. Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ws-petal);
	color: var(--ws-ink);
	font-family: var(--ws-font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ws-leaf); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ws-blush-deep); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ws-font-display);
	font-weight: 600;
	line-height: 1.15;
	color: var(--ws-ink);
	margin: 0 0 .5em;
	letter-spacing: .005em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }
::selection { background: var(--ws-blush); color: var(--ws-ink); }
:focus-visible { outline: 3px solid var(--ws-violet); outline-offset: 3px; border-radius: 6px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000;
	background: #fff; padding: 12px 18px; top: 8px; left: 8px; border-radius: 8px;
}

.ws-container { width: 100%; max-width: var(--ws-max); margin: 0 auto; padding: 0 var(--ws-gutter); }
.ws-narrow { max-width: 760px; }
.ws-section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.ws-script { font-family: var(--ws-font-script); font-weight: 400; color: var(--ws-leaf-logo); line-height: 1; letter-spacing: 0; }
.ws-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--ws-font-body); font-size: .78rem; font-weight: 700;
	letter-spacing: .22em; text-transform: uppercase; color: var(--ws-ink-soft);
	margin-bottom: 14px;
}
.ws-eyebrow::before, .ws-eyebrow::after { content: "✦"; color: var(--ws-violet); font-size: .9em; letter-spacing: 0; }
.ws-section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); }
.ws-section-head h2 .ws-script { font-size: 1.45em; display: inline-block; transform: translateY(.06em); }
.ws-section-head p { color: var(--ws-ink-soft); }

/* Buttons */
.ws-btn, .button, button, input[type="submit"], .wp-block-button__link, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--ws-font-body); font-weight: 700; font-size: .95rem; letter-spacing: .03em;
	padding: 14px 28px; border-radius: 999px; border: 2px solid var(--ws-leaf);
	background: var(--ws-leaf); color: #fff; text-decoration: none; cursor: pointer;
	transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
	line-height: 1.2;
}
.ws-btn:hover, .button:hover, button:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
	background: #4F6A3E; border-color: #4F6A3E; color: #fff; transform: translateY(-2px); box-shadow: var(--ws-shadow);
}
.ws-btn--ghost { background: transparent; color: var(--ws-leaf); }
.ws-btn--ghost:hover { background: var(--ws-leaf); color: #fff; }
.ws-btn--blush { background: var(--ws-blush); border-color: var(--ws-blush); color: var(--ws-ink); }
.ws-btn--blush:hover { background: var(--ws-blush-deep); border-color: var(--ws-blush-deep); color: var(--ws-ink); }

/* Forms */
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"],
input[type="number"], input[type="url"], select, textarea {
	width: 100%; font: inherit; color: var(--ws-ink);
	background: #fff; border: 1.5px solid var(--ws-line); border-radius: var(--ws-radius-sm);
	padding: 12px 16px; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ws-violet); box-shadow: 0 0 0 4px rgba(212, 192, 232, .35); }
label { font-weight: 600; font-size: .92rem; }

/* Stamp (perforated postage-stamp edge, echoing the logo) */
.ws-stamp-wrap { filter: drop-shadow(0 8px 16px rgba(120, 80, 110, .16)); }
.ws-stamp {
	--r: 7px;
	padding: calc(2.2 * var(--r));
	background: #fff;
	-webkit-mask:
		radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
		linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
	mask:
		radial-gradient(var(--r), #0000 97%, #000) round calc(-1.5 * var(--r)) calc(-1.5 * var(--r)) / calc(3 * var(--r)) calc(3 * var(--r)),
		linear-gradient(#000 0 0) no-repeat 50% / calc(100% - 3 * var(--r)) calc(100% - 3 * var(--r));
}

/* Scalloped divider */
.ws-scallop { height: 22px; background: radial-gradient(circle at 16px -4px, transparent 16px, var(--ws-scallop, var(--ws-petal)) 17px) 0 0 / 32px 22px repeat-x; }
.ws-scallop--down { transform: scaleY(-1); }

/* ==========================================================
   3. Header
   ========================================================== */
.ws-announce {
	background: var(--ws-blush); color: var(--ws-ink);
	text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .06em;
	padding: 9px 16px;
}
.ws-announce a { color: inherit; }
.ws-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250, 244, 248, .92);
	backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.admin-bar .ws-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ws-header { top: 0; position: relative; } }
.ws-header.is-scrolled { border-color: var(--ws-line); box-shadow: 0 6px 20px -16px rgba(120, 80, 110, .5); }
.ws-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
	min-height: 92px;
}
.ws-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: center; }
.ws-logo__stamp { width: 46px; transform: rotate(-6deg); transition: transform .4s ease; }
.ws-logo:hover .ws-logo__stamp { transform: rotate(4deg) scale(1.05); }
.ws-logo__word { width: 150px; }
.custom-logo-link img { max-height: 76px; width: auto; }
.ws-header.is-scrolled .ws-logo__word { width: 128px; }

.ws-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.ws-nav a {
	color: var(--ws-ink); text-decoration: none; font-weight: 700; font-size: .82rem; white-space: nowrap;
	letter-spacing: .07em; text-transform: uppercase; padding: 6px 0; position: relative;
}
.ws-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
	background: var(--ws-blush); transform: scaleX(0); transition: transform .25s ease; transform-origin: left;
}
.ws-nav a:hover::after, .ws-nav .current-menu-item > a::after, .ws-nav .current_page_item > a::after { transform: scaleX(1); }
.ws-nav .sub-menu { display: none; }

.ws-header__tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.ws-icon-btn {
	position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border-radius: 50%; border: 0; background: transparent; color: var(--ws-ink); cursor: pointer; text-decoration: none;
}
.ws-icon-btn:hover { background: var(--ws-blush-soft); color: var(--ws-ink); transform: none; box-shadow: none; }
.ws-icon-btn svg { width: 22px; height: 22px; }
.ws-cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
	display: grid; place-items: center; border-radius: 999px;
	background: var(--ws-leaf); color: #fff; font-size: .68rem; font-weight: 800; line-height: 1;
}
.ws-cart-count[data-count="0"] { background: var(--ws-violet); color: var(--ws-ink); }
.ws-menu-toggle { display: none; }

/* Search overlay */
.ws-search {
	position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding-top: 18vh;
	background: rgba(78, 67, 81, .35); backdrop-filter: blur(4px);
	opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.ws-search.is-open { opacity: 1; visibility: visible; }
.ws-search__panel { width: min(640px, 92vw); background: var(--ws-cream); border-radius: var(--ws-radius); padding: 28px; box-shadow: var(--ws-shadow); }
.ws-search__panel h2 { font-size: 1.6rem; }
.ws-search form { display: flex; gap: 10px; }
.ws-search form label { flex: 1; }
.ws-search .search-field { width: 100%; }

/* Mobile drawer */
.ws-drawer {
	position: fixed; inset: 0 auto 0 0; width: min(360px, 88vw); z-index: 120;
	background: var(--ws-cream); padding: 24px; overflow-y: auto;
	transform: translateX(-100%); transition: transform .35s ease; box-shadow: var(--ws-shadow);
}
.ws-drawer.is-open { transform: none; }
.ws-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ws-drawer ul { list-style: none; margin: 0; padding: 0; }
.ws-drawer li a {
	display: block; padding: 14px 4px; border-bottom: 1px dashed var(--ws-line);
	font-family: var(--ws-font-display); font-size: 1.45rem; font-weight: 600; color: var(--ws-ink); text-decoration: none;
}
.ws-drawer .sub-menu a { font-size: 1.1rem; padding-left: 18px; }
.ws-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(78, 67, 81, .35); opacity: 0; visibility: hidden; transition: .3s; }
.ws-scrim.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1160px) {
	.ws-header__inner { grid-template-columns: auto 1fr auto; min-height: 74px; }
	.ws-nav { display: none; }
	.ws-menu-toggle { display: inline-grid; }
	.ws-logo { justify-self: center; }
	.ws-logo__stamp { width: 36px; }
	.ws-logo__word, .ws-header.is-scrolled .ws-logo__word { width: 112px; }
	.ws-header__tools .ws-hide-sm { display: none; }
}

/* ==========================================================
   4. Home — hero
   ========================================================== */
.ws-hero { background: var(--ws-stripes); position: relative; overflow: hidden; }
.ws-hero::after { /* soft vignette so text reads cleanly over the stripes */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse at 30% 50%, rgba(255, 253, 248, .92) 0 38%, rgba(255, 253, 248, 0) 70%);
}
.ws-hero__inner {
	position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
	gap: clamp(24px, 5vw, 72px); padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(64px, 10vw, 130px);
}
.ws-hero h1 { margin-bottom: 22px; }
.ws-hero h1 .ws-script { display: block; font-size: 1.55em; margin-top: .05em; color: var(--ws-leaf-logo); }
.ws-hero__lede { font-size: 1.12rem; color: var(--ws-ink-soft); max-width: 34em; margin-bottom: 30px; }
.ws-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.ws-hero__art { position: relative; justify-self: center; width: min(380px, 80vw); }
.ws-hero__stamp { animation: ws-float 7s ease-in-out infinite; transform-origin: 50% 60%; }
.ws-hero__stamp img { width: 100%; }
.ws-hero__note {
	position: absolute; left: -14%; bottom: 8%; background: var(--ws-cream); padding: 12px 18px; border-radius: 16px;
	box-shadow: var(--ws-shadow); font-family: var(--ws-font-script); font-size: 1.9rem; color: var(--ws-leaf-logo);
	transform: rotate(-5deg); line-height: 1;
}
.ws-sparkle { position: absolute; color: var(--ws-violet); animation: ws-twinkle 3.2s ease-in-out infinite; }
.ws-sparkle--1 { top: -4%; right: 6%; font-size: 28px; }
.ws-sparkle--2 { top: 36%; right: -8%; font-size: 18px; animation-delay: 1.1s; color: var(--ws-blush-deep); }
.ws-sparkle--3 { bottom: -4%; right: 22%; font-size: 22px; animation-delay: 2s; color: #9DB8DC; }
@keyframes ws-float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-12px); } }
@keyframes ws-twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@media (max-width: 860px) {
	.ws-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.ws-hero::after { background: rgba(255, 253, 248, .78); }
	.ws-hero__lede { margin-inline: auto; }
	.ws-hero__ctas { justify-content: center; }
	.ws-hero__art { order: -1; width: min(240px, 62vw); }
	.ws-hero__note { font-size: 1.4rem; left: -18%; }
}

/* Ribbon marquee */
.ws-ribbon { background: var(--ws-leaf-logo); color: #fff; overflow: hidden; white-space: nowrap; padding: 14px 0; }
.ws-ribbon__track { display: inline-flex; gap: 38px; animation: ws-marquee 38s linear infinite; padding-left: 38px; }
.ws-ribbon span { font-family: var(--ws-font-display); font-size: 1.35rem; font-style: italic; font-weight: 500; }
.ws-ribbon i { font-style: normal; color: var(--ws-primrose); }
@keyframes ws-marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   5. Home — categories (stamps)
   ========================================================== */
.ws-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2.4vw, 30px); }
.ws-cat { text-decoration: none; color: var(--ws-ink); display: block; transition: transform .35s ease; }
.ws-cat:nth-child(odd) { transform: rotate(-2deg); }
.ws-cat:nth-child(even) { transform: rotate(1.6deg) translateY(10px); }
.ws-cat:hover { transform: rotate(0) translateY(-8px); color: var(--ws-ink); }
.ws-cat .ws-stamp { background: var(--ws-cream); }
.ws-cat__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--ws-blush-soft); }
.ws-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ws-cat:hover .ws-cat__img img { transform: scale(1.06); }
.ws-cat__name { display: block; text-align: center; font-family: var(--ws-font-display); font-size: 1.3rem; font-weight: 600; margin-top: 12px; line-height: 1.15; }
.ws-cat__count { display: block; text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-ink-soft); }
@media (max-width: 1024px) { .ws-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
	.ws-cats { grid-template-columns: repeat(2, 1fr); }
	.ws-cat:nth-child(5) { grid-column: 1 / -1; width: 50%; justify-self: center; }
}

/* ==========================================================
   6. Home — welcome, story teaser, promise, quote, newsletter
   ========================================================== */
.ws-welcome { background: var(--ws-cream); text-align: center; }
.ws-welcome h2 .ws-script { display: block; font-size: 1.15em; line-height: 1.1; margin-top: .15em; }
.ws-welcome__text { font-size: 1.12rem; color: var(--ws-ink-soft); }
.ws-welcome__text p:first-child::first-letter { font-family: var(--ws-font-display); font-size: 3.2em; float: left; line-height: .8; margin: .08em .1em 0 0; color: var(--ws-blush-deep); }
.ws-welcome__text { text-align: left; }
.ws-flourish { display: block; margin: 26px auto 0; width: 140px; color: var(--ws-blush); }

.ws-story-teaser { background: var(--ws-hydrangea-soft); overflow: hidden; }
.ws-story-teaser__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.ws-polaroids { position: relative; min-height: 520px; }
.ws-polaroid {
	position: absolute; width: 52%; background: #fff; padding: 12px 12px 46px; border-radius: 4px; box-shadow: var(--ws-shadow);
}
.ws-polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.ws-polaroid figcaption { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-family: var(--ws-font-script); font-size: 1.7rem; color: var(--ws-ink-soft); line-height: 1; }
.ws-polaroid--a { left: 0; top: 50px; transform: rotate(-6deg); z-index: 1; }
.ws-polaroid--b { right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.ws-tape { position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(244, 175, 186, .65); }
.ws-polaroid--b .ws-tape { background: rgba(240, 216, 152, .75); transform: translateX(-50%) rotate(4deg); }
.ws-story-teaser blockquote { margin: 0 0 18px; font-family: var(--ws-font-display); font-size: 1.45rem; font-style: italic; color: var(--ws-ink); line-height: 1.4; }
.ws-signoff { font-family: var(--ws-font-script); font-size: 2rem; line-height: 1.2; color: var(--ws-leaf-logo); margin: 6px 0 22px; }
@media (max-width: 860px) {
	.ws-story-teaser__inner { grid-template-columns: 1fr; }
	.ws-polaroids { min-height: 0; aspect-ratio: 1 / .95; max-width: 520px; width: 100%; margin: 0 auto; }
}

.ws-promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.ws-promise__item { padding: 10px; }
.ws-promise__icon { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 2.1rem; }
.ws-promise__item:nth-child(1) .ws-promise__icon { background: var(--ws-blush-soft); }
.ws-promise__item:nth-child(2) .ws-promise__icon { background: var(--ws-sage-soft); }
.ws-promise__item:nth-child(3) .ws-promise__icon { background: var(--ws-violet-soft); }
.ws-promise__item:nth-child(4) .ws-promise__icon { background: var(--ws-primrose-soft); }
.ws-promise__icon svg { width: 46px; height: 46px; }
.ws-promise h3 { font-size: 1.35rem; margin-bottom: 6px; }
.ws-promise p { font-size: .95rem; color: var(--ws-ink-soft); margin: 0; }
@media (max-width: 860px) { .ws-promise { grid-template-columns: repeat(2, 1fr); } }

.ws-quote { background: var(--ws-stripes); text-align: center; }
.ws-quote__card { position: relative; max-width: 820px; margin: 0 auto; background: var(--ws-cream); border-radius: var(--ws-radius); padding: clamp(36px, 6vw, 64px); box-shadow: var(--ws-shadow); }
.ws-quote__card p { font-family: var(--ws-font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; line-height: 1.35; margin: 0; }
.ws-quote__card .ws-script { display: block; font-size: 2.2rem; margin-top: 18px; }

.ws-newsletter { background: var(--ws-violet-soft); text-align: center; }
.ws-newsletter form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.ws-newsletter input[type="email"] { border-radius: 999px; padding-inline: 22px; }
.ws-newsletter small { display: block; margin-top: 14px; color: var(--ws-ink-soft); }
.ws-newsletter .ws-notice { margin: 0 auto 16px; max-width: 520px; }
@media (max-width: 520px) { .ws-newsletter form { flex-direction: column; } }

.ws-notice { padding: 12px 18px; border-radius: var(--ws-radius-sm); background: var(--ws-sage-soft); color: var(--ws-ink); font-weight: 600; }
.ws-notice--error { background: var(--ws-blush-soft); }

/* ==========================================================
   7. Footer
   ========================================================== */
.ws-footer { background: var(--ws-cream); padding-top: 0; position: relative; }
.ws-footer .ws-scallop { --ws-scallop: var(--ws-cream); margin-top: -22px; position: relative; }
.ws-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 60px 0 40px; }
.ws-footer__brand img { width: 74px; transform: rotate(-5deg); margin-bottom: 12px; }
.ws-footer__brand .ws-logo__word { width: 160px; margin-bottom: 14px; }
.ws-footer__brand p { color: var(--ws-ink-soft); font-size: .95rem; max-width: 28em; }
.ws-footer h4 { font-family: var(--ws-font-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--ws-ink-soft); margin-bottom: 16px; }
.ws-footer ul { list-style: none; margin: 0; padding: 0; }
.ws-footer li { margin-bottom: 8px; }
.ws-footer li a { color: var(--ws-ink); text-decoration: none; }
.ws-footer li a:hover { color: var(--ws-blush-deep); }
.ws-social { display: flex; gap: 10px; margin-top: 14px; }
.ws-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ws-blush-soft); color: var(--ws-ink); }
.ws-social a:hover { background: var(--ws-blush); }
.ws-social svg { width: 19px; height: 19px; }
.ws-footer__bottom { border-top: 1px dashed var(--ws-line); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--ws-ink-soft); }
@media (max-width: 860px) { .ws-footer__grid { grid-template-columns: 1fr 1fr; } .ws-footer__brand { grid-column: 1 / -1; } }

/* ==========================================================
   8. Pages, posts & Our Story
   ========================================================== */
.ws-page-hero { background: var(--ws-stripes); text-align: center; padding: clamp(48px, 8vw, 96px) 0; position: relative; }
.ws-page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,253,248,.72), rgba(255,253,248,.72)); }
.ws-page-hero > * { position: relative; }
.ws-page-hero h1 { margin: 0; }
.ws-page-hero p { color: var(--ws-ink-soft); margin: 10px auto 0; max-width: 40em; }

.ws-content { padding: clamp(40px, 6vw, 80px) 0; }
.entry-content > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: 1100px; }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content blockquote, .wp-block-quote { border-left: 4px solid var(--ws-blush); padding: 6px 0 6px 22px; font-family: var(--ws-font-display); font-size: 1.4rem; font-style: italic; }
.entry-content ul li::marker { color: var(--ws-blush-deep); }
.entry-content img { border-radius: var(--ws-radius-sm); }
.wp-block-details, details { background: var(--ws-cream); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-sm); padding: 14px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 700; }

.ws-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.ws-post-card { background: var(--ws-cream); border-radius: var(--ws-radius); overflow: hidden; box-shadow: var(--ws-shadow); }
.ws-post-card__body { padding: 22px; }
.ws-post-card h2 { font-size: 1.5rem; }
.ws-post-card a { text-decoration: none; color: inherit; }
.ws-meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-ink-soft); }
.navigation.pagination, .woocommerce-pagination { margin-top: 48px; text-align: center; }
.nav-links, .woocommerce-pagination ul.page-numbers { display: inline-flex !important; gap: 8px; border: 0 !important; padding: 0; margin: 0; list-style: none; }
.page-numbers { display: inline-grid !important; place-items: center; min-width: 44px; height: 44px; padding: 0 12px !important; border-radius: 999px; background: var(--ws-cream); color: var(--ws-ink) !important; text-decoration: none; font-weight: 700; border: 0 !important; }
.page-numbers.current, .page-numbers:hover { background: var(--ws-blush) !important; }
.woocommerce-pagination ul.page-numbers li { border: 0 !important; }

/* Our Story template */
.ws-story-hero { background: var(--ws-stripes); position: relative; overflow: hidden; }
.ws-story-hero::before { content: ""; position: absolute; inset: 0; background: rgba(255, 253, 248, .78); }
.ws-story-hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(48px, 8vw, 110px); }
.ws-story-hero h1 .ws-script { display: block; font-size: 1.4em; color: var(--ws-leaf-logo); }
.ws-story-hero .ws-polaroids { min-height: 460px; }
.ws-story-body { display: grid; grid-template-columns: 1fr minmax(0, 700px) 1fr; padding: clamp(48px, 7vw, 96px) var(--ws-gutter); }
.ws-story-body .entry-content { grid-column: 2; font-size: 1.12rem; }
.ws-story-body .entry-content > * { max-width: none; }
.ws-story-body .entry-content > p:first-of-type { font-family: var(--ws-font-display); font-size: 1.6rem; line-height: 1.45; color: var(--ws-ink); }
.ws-story-signature { text-align: center; padding-bottom: clamp(56px, 8vw, 100px); }
.ws-story-signature .ws-script { font-size: clamp(2.4rem, 5vw, 3.6rem); display: block; margin-bottom: 18px; }
@media (max-width: 860px) { .ws-story-hero__inner { grid-template-columns: 1fr; text-align: center; } .ws-story-hero .ws-polaroids { min-height: 0; aspect-ratio: 1/.95; max-width: 480px; margin: 0 auto; width: 100%; } }

/* 404 */
.ws-404 { text-align: center; padding: 100px 0; }
.ws-404 img { width: 180px; margin: 0 auto 20px; transform: rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
