/*
Theme Name: Purple Squishy
Theme URI: https://dlz.sucj.vip/
Description: A soft, playful child theme of Purple for squishy stress-relief toy stores. Cream base, strawberry accents, rounded cards and pill buttons. All original Purple files stay untouched — switch back to Purple at any time.
Author: Kirari Lab
Template: purple
Version: 1.0.2
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purple-squishy
Tags: e-commerce, block-patterns, full-site-editing, style-variations
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
	--sq-cream: #fff9f5;
	--sq-cream-deep: #fff3ec;
	--sq-ink: #2e2430;
	--sq-muted: #6b5a63;
	--sq-pink: #e2456a;
	--sq-pink-dark: #c93458;
	--sq-pink-soft: #ffedf1;
	--sq-pink-tint: #ffd9e2;
	--sq-butter: #ffe08a;
	--sq-mint: #c8f0e4;
	--sq-lilac: #e3d9ff;
	--sq-line: rgba(46, 36, 48, 0.1);
	--sq-radius-xl: 32px;
	--sq-radius-l: 24px;
	--sq-radius-m: 18px;
	--sq-radius-s: 12px;
	--sq-shadow-s: 0 4px 14px rgba(46, 36, 48, 0.05);
	--sq-shadow-m: 0 12px 32px rgba(46, 36, 48, 0.08);
	--sq-shadow-l: 0 22px 48px rgba(46, 36, 48, 0.12);
	--sq-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

body {
	background-color: var(--sq-cream);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection {
	background: var(--sq-pink-tint);
	color: var(--sq-ink);
}

/* A touch more breathing room between running text */
p {
	text-wrap: pretty;
}

h1,
h2,
h3,
.wp-block-heading {
	text-wrap: balance;
}

/* ==========================================================================
   3. Header
   ========================================================================== */

.sq-header {
	background: var(--sq-cream);
	border-bottom: 1px solid var(--sq-line);
	z-index: 50;
}

/* Announcement bar ------------------------------------------------------- */

.sq-notice {
	background: var(--sq-ink);
	padding: 9px 0;
}

.sq-notice .wp-block-group {
	row-gap: 2px;
	column-gap: 24px;
}

.sq-notice__item {
	color: #fdf6f1;
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	line-height: 1.5;
	margin: 0;
	opacity: 0.9;
	text-transform: uppercase;
}

.sq-notice__item::before {
	color: var(--sq-pink-tint);
	content: "\2022";
	margin-right: 8px;
}

.sq-notice__item:first-child::before {
	content: "";
	margin: 0;
}

/* Main bar -------------------------------------------------------------- */

.wp-block-group.sq-header__bar {
	gap: 24px;
	padding-bottom: 16px;
	padding-top: 16px;
}

.sq-header .wp-block-site-title {
	margin: 0;
}

.sq-header .wp-block-site-title a {
	color: var(--sq-ink);
	transition: color 0.2s var(--sq-ease);
}

.sq-header .wp-block-site-title a:hover {
	color: var(--sq-pink);
}

.sq-header .wp-block-navigation-item__content {
	color: var(--sq-ink);
	padding-bottom: 2px;
	position: relative;
	transition: color 0.2s var(--sq-ease);
}

.sq-header .wp-block-navigation-item__content::after {
	background: var(--sq-pink);
	border-radius: 999px;
	bottom: -2px;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s var(--sq-ease);
	width: 100%;
}

.sq-header .wp-block-navigation-item__content:hover {
	color: var(--sq-pink);
}

.sq-header .wp-block-navigation-item__content:hover::after {
	transform: scaleX(1);
}

.sq-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
	text-decoration: none;
}

.sq-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.wp-block-group.sq-actions {
	gap: 6px;
}

/* Icon buttons: the 40px circle belongs to the link/button, never to the SVG */
.sq-actions .wc-block-customer-account,
.sq-actions .wc-block-mini-cart {
	align-items: center;
	display: flex;
	margin: 0;
}

.sq-actions .wc-block-customer-account__link,
.sq-actions .wc-block-mini-cart__button {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: var(--sq-ink);
	display: inline-flex;
	height: 40px;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: background 0.2s var(--sq-ease), color 0.2s var(--sq-ease);
	width: 40px;
}

.sq-actions .wc-block-customer-account__link:hover,
.sq-actions .wc-block-customer-account__link:focus-visible,
.sq-actions .wc-block-mini-cart__button:hover,
.sq-actions .wc-block-mini-cart__button:focus-visible {
	background: var(--sq-pink-soft);
	color: var(--sq-pink);
}

.sq-actions .wc-block-customer-account__visual {
	align-items: center;
	display: flex;
	height: 20px;
	justify-content: center;
	width: 20px;
}

/* Every header icon ends up the same optical size */
.sq-actions .wc-block-customer-account__account-icon,
.sq-actions .wc-block-customer-account__visual > svg,
.sq-actions .wc-block-mini-cart__icon,
.sq-actions .wc-block-mini-cart__button svg,
.sq-actions svg {
	display: block;
	height: 20px !important;
	width: 20px !important;
}

.sq-actions .wc-block-customer-account__link {
	text-decoration: none;
}

/* Header search: a real, always-visible boxed field ---------------------- */

.sq-actions .sq-search {
	border: 0 !important;
	flex: 0 0 auto;
	margin: 0 8px 0 0;
	padding: 0;
	width: 250px;
}

.sq-actions .sq-search .wp-block-search__inside-wrapper {
	align-items: center;
	background: #fff;
	border: 1px solid var(--sq-line);
	border-radius: 999px;
	display: flex;
	height: 40px;
	overflow: hidden;
	padding: 0 4px 0 16px;
	transition: border-color 0.2s var(--sq-ease), box-shadow 0.2s var(--sq-ease);
}

.sq-actions .sq-search .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--sq-pink);
	box-shadow: 0 0 0 3px rgba(226, 69, 106, 0.12);
}

.sq-actions .sq-search .wp-block-search__input {
	background: transparent;
	border: 0 !important;
	box-shadow: none;
	color: var(--sq-ink);
	flex: 1 1 auto;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.875rem;
	height: 100%;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.sq-actions .sq-search .wp-block-search__input::placeholder {
	color: var(--sq-muted);
	opacity: 0.75;
}

.sq-actions .sq-search .wp-block-search__input:focus {
	outline: none;
	box-shadow: none;
}

.sq-actions .sq-search .wp-block-search__button,
.sq-actions .sq-search .wp-block-search__button.has-icon {
	align-items: center;
	background: transparent !important;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: var(--sq-muted) !important;
	display: flex;
	flex: 0 0 auto;
	height: 32px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 32px;
}

.sq-actions .sq-search .wp-block-search__button:hover {
	background: var(--sq-pink-soft) !important;
	color: var(--sq-pink) !important;
}

.sq-actions .sq-search .wp-block-search__button svg {
	height: 17px !important;
	width: 17px !important;
}

/* Mobile overlay menu */
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--sq-cream);
}

.wp-block-navigation__responsive-container-open {
	color: var(--sq-ink);
}

/* ==========================================================================
   3b. Product grids pinned to 4 columns
   ========================================================================== */

.sq-grid-4 .wc-block-product-template {
	align-items: stretch;
	display: grid !important;
	gap: 18px !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

/* Height comes from the grid row, not from a percentage — otherwise the card
 * overflows its cell as soon as anything (margin, border) is added. */
.sq-grid-4 .wc-block-product-template > li,
.sq-grid-4 .wc-block-product {
	align-self: stretch;
	height: auto !important;
	min-width: 0;
}

/* ==========================================================================
   4. Hero
   ========================================================================== */

.sq-hero {
	background-color: var(--sq-cream);
	background-image:
		radial-gradient(58% 55% at 8% 12%, #ffe4eb 0%, rgba(255, 228, 235, 0) 72%),
		radial-gradient(50% 55% at 92% 6%, #d9f5ec 0%, rgba(217, 245, 236, 0) 70%),
		radial-gradient(72% 62% at 50% 108%, #fff0d2 0%, rgba(255, 240, 210, 0) 72%);
	overflow: hidden;
	padding-bottom: clamp(48px, 7vw, 92px);
	padding-top: clamp(48px, 7vw, 88px);
	position: relative;
}

.sq-hero__inner {
	margin-left: auto;
	margin-right: auto;
	max-width: 780px;
	text-align: center;
}

.sq-eyebrow {
	background: #fff;
	border: 1px solid var(--sq-line);
	border-radius: 999px;
	color: var(--sq-ink);
	display: inline-flex;
	align-items: center;
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 22px;
	padding: 8px 16px;
	text-transform: uppercase;
	box-shadow: var(--sq-shadow-s);
}

.sq-eyebrow::before {
	background: var(--sq-pink);
	border-radius: 999px;
	content: "";
	height: 6px;
	margin-right: 9px;
	width: 6px;
}

.sq-hero__title {
	margin: 0;
}

.sq-hero__sub {
	color: var(--sq-muted);
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	line-height: 1.65;
	margin: 20px auto 0;
	max-width: 540px;
}

.sq-hero__cta {
	gap: 12px;
	margin-top: 30px;
}

.wp-block-group.sq-hero__trust {
	gap: 8px 22px;
	margin-top: 26px;
}

.sq-hero__trust p {
	color: var(--sq-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin: 0;
}

.sq-hero__trust p + p::before {
	color: var(--sq-pink-tint);
	content: "\2022";
	margin-right: 12px;
}

.sq-hero__trust strong {
	color: var(--sq-ink);
	font-weight: 700;
}

/* ==========================================================================
   5. Sections & headings
   ========================================================================== */

.sq-section {
	padding-bottom: clamp(44px, 6vw, 76px);
	padding-top: clamp(44px, 6vw, 76px);
}

.sq-section--tight {
	padding-bottom: clamp(24px, 3vw, 36px);
	padding-top: clamp(24px, 3vw, 36px);
}

.sq-section--soft {
	background: var(--sq-pink-soft);
}

.sq-section--cream {
	background: var(--sq-cream-deep);
}

.wp-block-group.sq-head {
	align-items: flex-end;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 26px;
}

.wp-block-group.sq-head--center {
	align-items: center;
	justify-content: center;
	text-align: center;
}

.wp-block-group.sq-head__text {
	gap: 0;
}

.wp-block-group.sq-head__text .sq-head__kicker {
	margin-bottom: 4px;
}

.sq-head__title {
	margin: 0;
}

.sq-head__kicker {
	color: var(--sq-pink);
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.sq-head__link a {
	color: var(--sq-ink);
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.875rem;
	font-weight: 700;
	white-space: nowrap;
}

.sq-head__link a::after {
	content: " \2192";
	transition: margin 0.2s var(--sq-ease);
}

.sq-head__link a:hover {
	color: var(--sq-pink);
}

.sq-head__link a:hover::after {
	margin-left: 3px;
}

.sq-lead {
	color: var(--sq-muted);
	margin-left: auto;
	margin-right: auto;
	max-width: 560px;
	text-align: center;
}

.sq-section--center {
	text-align: center;
}

/* ==========================================================================
   6. Category chips
   ========================================================================== */

.sq-vibes {
	padding-bottom: clamp(10px, 2vw, 18px);
	padding-top: clamp(20px, 3vw, 32px);
}

.sq-vibes .wp-block-group.sq-head {
	margin-bottom: 18px;
}

.wp-block-woocommerce-product-categories.sq-chips {
	margin: 0 auto;
	max-width: 1100px;
}

.sq-chips ul.wc-block-product-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sq-chips ul.wc-block-product-categories-list li {
	margin: 0;
	width: auto;
}

.sq-chips ul.wc-block-product-categories-list li a {
	background: #fff;
	border: 1px solid var(--sq-line);
	border-radius: 999px;
	color: var(--sq-ink);
	display: inline-flex;
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.875rem;
	font-weight: 600;
	padding: 9px 18px;
	transition: all 0.2s var(--sq-ease);
}

.sq-chips ul.wc-block-product-categories-list li a:hover {
	background: var(--sq-pink);
	border-color: var(--sq-pink);
	color: #fff;
	transform: translateY(-2px);
}

.sq-chips .wc-block-product-categories-list-item-count {
	color: inherit;
	opacity: 0.55;
}

/* ==========================================================================
   7. Product cards
   ========================================================================== */

.wc-block-product-template {
	gap: 18px;
}

/* WordPress gives every child of an .is-layout-flow list a top margin. The
 * product template ends up with that class, so cards get pushed down inside
 * their grid cell and bleed into the next row. Kill it. */
.wc-block-product-template > li,
.wc-block-product-template > li + li,
.wc-block-product {
	background: #fff;
	border: 1px solid var(--sq-line);
	border-radius: var(--sq-radius-l);
	height: 100%;
	list-style: none;
	margin: 0 !important;
	padding: 12px 12px 18px;
	transition: transform 0.25s var(--sq-ease), box-shadow 0.25s var(--sq-ease), border-color 0.25s var(--sq-ease);
}

.wc-block-product-template > li:hover,
.wc-block-product:hover {
	border-color: var(--sq-pink-tint);
	box-shadow: var(--sq-shadow-m);
	transform: translateY(-4px);
}

.wc-block-product .wc-block-components-product-image,
.wc-block-product .wp-block-woocommerce-product-image {
	overflow: hidden;
	position: relative;
}

.wc-block-product .wc-block-components-product-image img,
.wc-block-product .wp-block-woocommerce-product-image img {
	background: var(--sq-cream-deep);
	border-radius: var(--sq-radius-m);
	display: block;
	transition: transform 0.4s var(--sq-ease);
	width: 100%;
}

.wc-block-product:hover img {
	transform: scale(1.03);
}

.wc-block-product .wp-block-post-title {
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.45;
	margin: 14px 2px 0 !important;
	padding: 0 2px;
}

.wc-block-product .wp-block-post-title a {
	color: var(--sq-ink);
}

.wc-block-product .wp-block-post-title a:hover {
	color: var(--sq-pink);
}

.wc-block-product .wp-block-woocommerce-product-price {
	color: var(--sq-muted);
	font-size: 0.875rem;
	margin: 6px 2px 0 !important;
	padding: 0 2px;
}

.wc-block-product .wp-block-woocommerce-product-price del {
	color: var(--sq-muted);
	font-weight: 400;
	opacity: 0.6;
}

.wc-block-product .wp-block-woocommerce-product-price ins {
	color: var(--sq-pink);
	font-weight: 700;
	text-decoration: none;
}

/* Sale badge: a static pill pinned to the image corner (the block nests two
 * absolutely positioned divs, which used to drift out of the card). */
.wc-block-product .wp-block-woocommerce-product-sale-badge {
	left: 10px;
	line-height: 0;
	margin: 0;
	position: absolute;
	top: 10px;
	z-index: 2;
}

.wc-block-product .wc-block-components-product-sale-badge {
	background: var(--sq-butter) !important;
	border: 0 !important;
	border-radius: 999px !important;
	color: var(--sq-ink) !important;
	display: inline-block;
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.45;
	margin: 0 !important;
	padding: 5px 12px !important;
	position: static !important;
	text-transform: uppercase;
	transform: none !important;
	width: auto;
}

/* Keep the label in English on an English storefront */
.wc-block-product .wc-block-components-product-sale-badge__text {
	font-size: 0;
}

.wc-block-product .wc-block-components-product-sale-badge__text::before {
	content: "Sale";
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
}

/* Rating inside cards, if enabled */
.wc-block-product .wc-block-components-product-rating {
	margin: 6px 2px 0;
}

.wc-block-product .wc-block-components-product-rating__stars {
	color: var(--sq-pink);
}

/* Filters / sorting on shop pages */
.wp-block-woocommerce-product-filter-chips .wc-block-components-chip {
	background: #fff;
	border: 1px solid var(--sq-line);
	border-radius: 999px;
}

/* ==========================================================================
   8. Feature / value cards
   ========================================================================== */

.wp-block-columns.sq-feature-grid {
	gap: 18px;
}

.sq-card {
	background: #fff;
	border: 1px solid var(--sq-line);
	border-radius: var(--sq-radius-l);
	box-shadow: var(--sq-shadow-s);
	height: 100%;
	padding: clamp(22px, 3vw, 30px);
	transition: transform 0.25s var(--sq-ease), box-shadow 0.25s var(--sq-ease);
}

.sq-card:hover {
	box-shadow: var(--sq-shadow-m);
	transform: translateY(-3px);
}

.sq-card__icon {
	align-items: center;
	background: var(--sq-pink-soft);
	border-radius: 999px;
	display: flex;
	font-size: 1.375rem;
	height: 52px;
	justify-content: center;
	line-height: 1;
	margin-bottom: 16px;
	width: 52px;
}

.sq-card--mint .sq-card__icon {
	background: var(--sq-mint);
}

.sq-card--butter .sq-card__icon {
	background: var(--sq-butter);
}

.sq-card--lilac .sq-card__icon {
	background: var(--sq-lilac);
}

.sq-card h3 {
	color: var(--sq-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 8px;
}

.sq-card p {
	color: var(--sq-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin: 0;
}

/* ==========================================================================
   9. Bundle / promo panel
   ========================================================================== */

.sq-bundle {
	background: linear-gradient(118deg, #ffe3ea 0%, #fff0d6 100%);
	border: 2px dashed rgba(226, 69, 106, 0.28);
	border-radius: var(--sq-radius-xl);
	overflow: hidden;
	padding: clamp(34px, 5vw, 58px) clamp(22px, 4vw, 48px);
	position: relative;
	text-align: center;
}

.sq-bundle::before,
.sq-bundle::after {
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
	border-radius: 50%;
	content: "";
	height: 220px;
	position: absolute;
	width: 220px;
}

.sq-bundle::before {
	left: -70px;
	top: -80px;
}

.sq-bundle::after {
	bottom: -90px;
	right: -60px;
}

.sq-bundle h2 {
	margin: 0 auto;
	max-width: 620px;
	position: relative;
	z-index: 1;
}

.sq-bundle p {
	color: var(--sq-ink);
	margin: 14px auto 0;
	max-width: 520px;
	opacity: 0.75;
	position: relative;
	z-index: 1;
}

.sq-bundle .wp-block-buttons {
	justify-content: center;
	margin-top: 26px;
	position: relative;
	z-index: 1;
}

.sq-bundle__note {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-top: 16px;
	opacity: 0.6;
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   10. Reviews
   ========================================================================== */

.sq-review {
	background: #fff;
	border: 1px solid var(--sq-line);
	border-radius: var(--sq-radius-l);
	height: 100%;
	padding: clamp(22px, 3vw, 28px);
}

.sq-review__stars {
	color: var(--sq-pink);
	font-size: 0.875rem;
	letter-spacing: 3px;
	line-height: 1;
	margin: 0 0 12px;
}

.sq-review__quote {
	color: var(--sq-ink);
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.5;
	margin: 0 0 18px;
}

.sq-review__meta {
	color: var(--sq-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	margin: 0;
}

.sq-review__meta span {
	opacity: 0.6;
}

/* ==========================================================================
   11. FAQ
   ========================================================================== */

.sq-faq {
	margin-left: auto;
	margin-right: auto;
	max-width: 760px;
}

.sq-faq .wp-block-accordion-item {
	border-bottom: 1px solid var(--sq-line);
}

.sq-faq .wp-block-accordion-heading__toggle {
	background: transparent;
	border: 0;
	color: var(--sq-ink);
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 1rem;
	font-weight: 700;
	padding: 18px 0;
	text-align: left;
	width: 100%;
}

.sq-faq .wp-block-accordion-heading__toggle:hover {
	color: var(--sq-pink);
}

.sq-faq .wp-block-accordion-heading__toggle-icon {
	background: var(--sq-pink-soft);
	border-radius: 999px;
	color: var(--sq-pink);
	font-size: 1rem;
	font-weight: 700;
	height: 28px;
	line-height: 28px;
	text-align: center;
	width: 28px;
}

.sq-faq .wp-block-accordion-panel p {
	color: var(--sq-muted);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */

.sq-footer {
	background: var(--sq-pink-soft);
	border-top: 1px solid var(--sq-line);
	margin-top: 0;
}

.sq-footer .wp-block-site-title a {
	color: var(--sq-ink);
}

.sq-footer .wp-block-site-tagline {
	color: var(--sq-muted);
	font-size: 0.875rem;
	max-width: 280px;
}

.sq-footer h4,
.sq-footer .wp-block-heading {
	color: var(--sq-ink);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.sq-footer .wp-block-navigation-item__content {
	color: var(--sq-muted);
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.875rem;
	font-weight: 400;
}

.sq-footer .wp-block-navigation-item__content:hover {
	color: var(--sq-pink);
}

.sq-footer .wp-block-social-link-anchor {
	color: var(--sq-ink);
}

.sq-footer .wp-block-social-link-anchor:hover {
	color: var(--sq-pink);
}

.wp-block-group.sq-trust {
	border-bottom: 1px solid var(--sq-line);
	gap: 12px 26px;
	justify-content: space-between;
}

p.sq-trust__item {
	color: var(--sq-ink);
	font-family: var(--wp--preset--font-family--figtree);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin: 0;
	white-space: nowrap;
}

.wp-block-group.sq-footer__bottom {
	align-items: center;
	gap: 12px;
	justify-content: space-between;
}

.sq-footer__note {
	color: var(--sq-muted);
	line-height: 1.65;
	margin: 0 0 8px;
}

.sq-footer__note a {
	color: var(--sq-ink);
	font-weight: 600;
}

.sq-footer__note a:hover {
	color: var(--sq-pink);
}

.sq-footer__bottom p {
	color: var(--sq-muted);
	font-size: 0.75rem;
	margin: 0;
}

/* Footer link lists (plain paragraphs so the {{shop}} placeholder can be
 * resolved on render — esc_url would strip braces from a nav link). */
.wp-block-group.sq-footer__links {
	gap: 0;
}

.sq-footer__links p {
	font-size: 0.875rem;
	line-height: 1.9;
	margin: 0 0 10px;
}

.sq-footer__links a {
	color: var(--sq-muted);
	transition: color 0.2s var(--sq-ease);
}

.sq-footer__links a:hover {
	color: var(--sq-pink);
}

.wp-block-group.sq-footer__legal {
	gap: 6px 22px;
}

.sq-footer__legal p {
	font-size: 0.8125rem;
	margin: 0;
}

.sq-footer__legal a {
	color: var(--sq-muted);
}

.sq-footer__legal a:hover {
	color: var(--sq-pink);
}

/* ==========================================================================
   13. Cart / checkout polish
   ========================================================================== */

.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	border-radius: 999px;
}

.wc-block-components-text-input input,
.wc-blocks-components-select__select,
.wc-block-components-textarea {
	border-radius: var(--sq-radius-s);
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 1240px) {
	.sq-actions .sq-search {
		width: 200px;
	}
}

/* Tablet: stack the three-up groups so the copy never gets squeezed */
@media (max-width: 1023px) {
	.wp-block-group.sq-header__bar {
		padding-bottom: 12px;
		padding-top: 12px;
	}

	.sq-notice__item:nth-child(3) {
		display: none;
	}

	.sq-actions .sq-search {
		display: none;
	}

	.sq-grid-4 .wc-block-product-template {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.sq-feature-grid > .wp-block-column,
	.sq-review-grid > .wp-block-column {
		flex-basis: 100% !important;
	}

	.wp-block-columns.sq-feature-grid,
	.wp-block-columns.sq-review-grid {
		gap: 14px;
	}
}

@media (max-width: 781px) {
	.sq-notice__item {
		font-size: 0.625rem;
	}

	.sq-notice__item:nth-child(2) {
		display: none;
	}

	.sq-notice .wp-block-group {
		justify-content: center;
		text-align: center;
	}

	.sq-hero__cta {
		gap: 10px;
	}

	.sq-hero__cta .wp-block-button,
	.sq-hero__cta .wp-block-button__link {
		width: 100%;
	}

	.sq-hero__trust {
		gap: 6px;
	}

	.sq-hero__trust p + p::before {
		display: none;
	}

	.wp-block-group.sq-head {
		align-items: flex-start;
		flex-direction: column;
		text-align: left;
	}

	.wp-block-group.sq-head--center {
		align-items: center;
		text-align: center;
	}

	.wp-block-group.sq-trust {
		justify-content: flex-start;
	}

	p.sq-trust__item {
		white-space: normal;
	}

	.sq-grid-4 .wc-block-product-template {
		gap: 12px !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.wc-block-product-template > li,
	.wc-block-product {
		border-radius: var(--sq-radius-m);
		padding: 10px 10px 14px;
	}

	.wc-block-product .wp-block-post-title {
		font-size: 0.875rem;
	}

	.wp-block-group.sq-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.sq-bundle {
		border-radius: var(--sq-radius-l);
	}
}
