/* =====================================================
   Glowshop — Storefront child theme
   Cast-iron cookware storefront replica
   ===================================================== */

:root {
	--gs-text: 0 0 0;
	--gs-bg: 255 255 255;
	--gs-surface: 250 250 250;
	--gs-dark: #1d1d1d;
	--gs-darker: #171717;
	--gs-yellow: #ffe100;
	--gs-highlight: #f9e59d;
	--gs-sale: #e11d48;
	--gs-rating: #f59e0b;
	--gs-border: rgba(0, 0, 0, 0.1);
	--gs-border-light: rgba(0, 0, 0, 0.06);

	--font-heading: 'Roboto Slab', serif;
	--font-body: 'Open Sans', sans-serif;

	--text-2xs: 0.75rem;
	--text-xs: 0.8125rem;
	--text-sm: 0.875rem;
	--text-base: 1rem;
	--text-lg: 1.125rem;
	--text-xl: 1.25rem;
	--text-2xl: 1.5rem;
	--text-3xl: 1.75rem;
	--text-4xl: 2rem;
	--text-5xl: 2.5rem;

	--title-sm: clamp(1.5rem, 2.526vw, 2.5rem);
	--title-md: clamp(2rem, 3.368vw, 4rem);
	--title-lg: clamp(2.5rem, 3.368vw, 4rem);

	--fluid-sm-to-base: clamp(0.875rem, 0.8115rem + 0.1587vw, 1rem);
	--fluid-xs-to-sm: clamp(0.8125rem, 0.7297rem + 0.1013vw, 0.875rem);
	--fluid-sm-to-lg: clamp(0.875rem, 0.748rem + 0.3174vw, 1.125rem);
	--fluid-base-to-xl: clamp(1rem, 0.873rem + 0.3175vw, 1.25rem);

	--sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem; --sp-5: 1.25rem; --sp-6: 1.5rem;
	--sp-8: 2rem; --sp-10: 2.5rem; --sp-12: 3rem; --sp-14: 3.5rem; --sp-16: 4rem;
	--sp-18: 4.5rem; --sp-20: 5rem; --sp-24: 6rem; --sp-28: 7rem;

	--page-width: 1900px;
	--page-padding: 1.25rem;
	--rounded-card: 0.75rem;
	--rounded-full: 9999px;
	--topbar-height: 3rem;
	--header-height: 6.875rem;
	--animation-primary: 0.5s cubic-bezier(0.3, 1, 0.3, 1);
	--animation-fast: 0.3s cubic-bezier(0.7, 0, 0.3, 1);
}

@media (min-width: 768px) {
	:root { --page-padding: 2.25rem; }
}
@media (min-width: 1280px) {
	:root { --page-padding: 3rem; }
}
@media (min-width: 1536px) {
	:root { --topbar-height: 3.5rem; }
	:root { --page-padding: max(3rem, calc(50vw - var(--page-width) / 2)); }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

/* Static capture mode (?gsstatic=1) */
html.gs-static .header { position: static !important; }
html.gs-static * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.gs-static .product__slides { scroll-snap-type: none !important; }
html.gs-static .product-sticky-form, html.gs-static .mobile-dock { display: none !important; }
html.gs-static .product-info-sticky { position: static !important; }

body {
	margin: 0;
	background-color: rgb(var(--gs-bg));
	color: rgb(var(--gs-text));
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--text-base);
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.03em;
	margin: 0;
}

input, select, textarea { font-family: var(--font-body); font-size: 1rem; }

.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.show-mobile, .show-mobile-lg { display: none !important; }

.page-width {
	max-width: var(--page-width);
	margin: 0 auto;
	padding-inline: var(--page-padding);
	width: 100%;
}
.page-width--full { max-width: 100%; }

.section-padding { padding-block: clamp(2.5rem, 5vw, 5rem); }

/* ---------- Icons ---------- */

.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-xs { width: 1rem; height: 1rem; }
.icon-sm { width: 1.25rem; height: 1.25rem; }
.icon-md { width: 1.5rem; height: 1.5rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }
.stroke-1 { stroke-width: 1; }

/* ---------- Buttons ---------- */

.button {
	--buttons-height: 3rem;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	height: var(--buttons-height);
	padding-inline: 1.75rem;
	border-radius: var(--rounded-full);
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 0.8115rem + 0.1587vw, 1.25rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1;
	overflow: hidden;
	transition: color var(--animation-fast), background-color var(--animation-fast);
	-webkit-tap-highlight-color: transparent;
}
.button .btn-fill {
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background-color: var(--gs-yellow);
	transform: scaleX(1);
	transform-origin: left;
	transition: transform var(--animation-primary);
	z-index: 0;
}
.button .btn-text { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.button--primary { background-color: var(--gs-yellow); color: #000; border: 1px solid var(--gs-yellow); }
.button--primary .btn-fill { background-color: #000; transform: scaleX(0); }
.button--primary:hover { color: var(--gs-yellow); }
.button--primary:hover .btn-fill { transform: scaleX(1); }
.button--primary:active { transform: scale(0.98); }

.button--secondary {
	background-color: rgba(var(--gs-text), 0.06);
	color: rgb(var(--gs-text));
	border: 1px solid transparent;
}
.button--secondary:hover { background-color: rgba(var(--gs-text), 0.12); }

.button--blur { background-color: var(--gs-yellow); border: 1px solid var(--gs-yellow); color: #000; }
.button--blur .btn-fill { background-color: rgba(0, 0, 0, 0.75); backdrop-filter: blur(12px); transform: scaleX(0); transform-origin: left; }
.button--blur:hover { color: #fff; }
.button--blur:hover .btn-fill { transform: scaleX(1); }

.button--sm { --buttons-height: 2.5rem; font-size: var(--text-base); padding-inline: 1.25rem; }
.button--md { --buttons-height: 3rem; }
.button--lg { --buttons-height: 3.5rem; padding-inline: 2.25rem; }

/* ---------- Badges ---------- */

.badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.625rem;
	font-size: var(--text-2xs);
	line-height: 1.2;
	width: max-content;
	border-radius: var(--rounded-full);
}
.badge--onsale {
	background-color: var(--gs-sale);
	color: #fff;
}

/* ---------- Highlight text ---------- */

.highlighted-text { font-style: normal; }
.highlighted-text.is-yellow { color: var(--gs-yellow); }
.highlight-mark {
	font-style: normal;
	background-image: linear-gradient(var(--gs-highlight), var(--gs-highlight));
	background-position: 0 82%;
	background-size: 100% 34%;
	background-repeat: no-repeat;
	padding-inline: 0.25rem;
}

/* =====================================================
   Announcement topbar
   ===================================================== */

.topbar-section {
	background-color: var(--gs-dark);
	color: #fff;
	height: var(--topbar-height);
	font-size: var(--text-sm);
}

@media (max-width: 989px) {
	.topbar-section { height: auto; min-height: 2.75rem; }
	.announcement-text { font-size: 0.75rem; padding-block: 0.375rem; }
	.announcement__slides { max-width: 20rem; min-width: 0; }
}

.topbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
	align-items: center;
	gap: min(1.5vw, 3.5rem);
	height: 100%;
}

.social-icons { justify-self: start; }
.social-list { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.social_platform { display: block; opacity: 1; transition: opacity var(--animation-fast); }
.social_platform:hover { opacity: 0.7; }

.announcement-bar {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	position: relative;
	width: 100%;
}
.announcement__slides {
	position: relative;
	width: 100%;
	max-width: 28rem;
	min-width: 28rem;
	height: 100%;
	overflow: hidden;
}
.announcement__slide { display: none; height: 100%; align-items: center; justify-content: center; }
.announcement__slide.is-active { display: flex; }
.announcement__content { display: flex; align-items: center; gap: 0.5rem; transition: opacity var(--animation-smooth); }
.announcement-text { margin: 0; line-height: 1.3; text-align: center; font-weight: 400; font-size: var(--text-sm); }
.announcement-bar .fader {
	display: flex;
	align-items: center;
	padding-inline: 0.875rem;
	height: 100%;
	opacity: 0.9;
	transition: opacity var(--animation-fast);
}
.announcement-bar .fader:hover { opacity: 0.6; }
.announcement-bar--single .announcement__slides { min-width: 0; max-width: none; }
.fader-left { order: -1; }
.topbar-spacer { justify-self: end; }

/* =====================================================
   Header
   ===================================================== */

.gs-header-wrapper {
	position: static;
}

.header {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 3rem);
	background-color: rgb(var(--gs-bg));
	padding-block: 0.625rem;
	position: sticky;
	top: 0;
	z-index: 40;
	box-shadow: 0 1px 0 var(--gs-border-light);
}

.header__icons { display: flex; align-items: center; gap: 0.625rem; z-index: 2; }
.header__menu-button { display: none; }
.header__icons--end { margin-left: auto; gap: 0.75rem; }

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	position: relative;
	transition: opacity var(--animation-fast);
}
.icon-button:hover { opacity: 0.65; }

.header__logo { display: flex; align-items: center; z-index: 2; }
.header__logo-link { display: flex; align-items: center; }
.logo { max-width: 100%; height: auto; }
.logo-desktop { max-width: 150px; }
.logo-mobile { display: none; max-width: 70px; }

.header__menu { display: flex; }
.nav-list { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.nav-item { position: static; }
.menu__item {
	display: flex;
	align-items: center;
	font-family: var(--font-heading);
	font-size: clamp(1rem, 0.748rem + 0.3174vw, 1.25rem);
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1;
	padding-block: 1rem;
	position: relative;
	cursor: pointer;
	white-space: nowrap;
}
.menu__item::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 0.5rem;
	height: 1.35px;
	background-color: currentColor;
	transition: right var(--animation-fast);
}
.nav-item:hover .menu__item::after,
.nav-item:focus-within .menu__item::after { right: 0; }

/* --- Mega menu --- */

.mega-menu, .dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--animation-fast), visibility var(--animation-fast);
	z-index: 30;
}
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu,
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.mega-menu__container {
	background-color: rgb(var(--gs-bg));
	border-radius: 0 0 var(--rounded-card) var(--rounded-card);
	box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.25);
}
.mega-menu__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 15rem;
	gap: 2rem;
	padding-block: 2.5rem;
}
.mega-menu__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(1.25rem, 6.5vw, 8rem);
	row-gap: 2.5rem;
	align-content: start;
}
.mega-col-title {
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.2;
	display: inline-block;
	margin-block-end: 0.75rem;
}
.mega-col-title:hover { text-decoration: underline; }
.mega-menu__nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.mega-menu__nav ul a { font-size: var(--text-base); line-height: 1.5; transition: opacity var(--animation-fast); }
.mega-menu__nav ul a:hover { opacity: 0.6; text-decoration: underline; }
.mega-more { align-self: start; }
.mega-menu__promo { position: relative; }
.mega-menu__promo .media-card { position: relative; display: block; border-radius: var(--rounded-card); overflow: hidden; }
.mega-menu__promo .badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; max-width: calc(100% - 2rem); }
.mega-menu__promo .promo-img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform var(--animation-primary); }
.mega-menu__promo:hover .promo-img { transform: scale(1.05); }

/* --- Simple dropdown --- */

.dropdown__container {
	background-color: rgb(var(--gs-bg));
	border-radius: 0 0 var(--rounded-card) var(--rounded-card);
	box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.25);
	padding: 1.5rem 2rem 2rem;
	display: inline-block;
	min-width: 15rem;
	position: relative;
}
.dropdown__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.dropdown__nav a { font-size: var(--fluid-sm-to-base); line-height: 1.3; }
.dropdown__nav a:hover { text-decoration: underline; opacity: 0.7; }

/* --- Cart badge --- */

.cart-button .gs-cart-count {
	position: absolute;
	top: 0.25rem;
	right: 0.125rem;
	min-width: 1rem;
	height: 1rem;
	padding-inline: 0.25rem;
	border-radius: var(--rounded-full);
	background-color: var(--gs-dark);
	color: #fff;
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1rem;
	text-align: center;
}
.gs-cart-count[data-count="0"], .dock-count[data-count="0"] { display: none; }

.gs-header-drop { height: 0; }

/* =====================================================
   Drawers
   ===================================================== */

.gs-drawer { position: fixed; inset: 0; z-index: 100; }
.gs-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity var(--animation-fast);
	cursor: pointer;
}
.gs-drawer__inner {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	width: min(26rem, 92vw);
	background-color: rgb(var(--gs-bg));
	transform: translateX(-100%);
	transition: transform 0.45s cubic-bezier(0.3, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
}
.gs-drawer__inner--right { left: auto; right: 0; transform: translateX(100%); }
.gs-drawer.is-open .gs-overlay { opacity: 1; }
.gs-drawer.is-open .gs-drawer__inner { transform: translateX(0); }

.gs-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border-block-end: 1px solid var(--gs-border-light);
}
.drawer-title { font-family: var(--font-heading); font-size: var(--text-2xl); }

.gs-drawer__nav { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }
.drawer-menu > li { border-block-end: 1px solid var(--gs-border-light); }
.drawer-menu-item, .drawer-submenu-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	letter-spacing: -0.03em;
	line-height: 1;
	padding-block: 1.25rem;
	cursor: pointer;
}
.drawer-details[open] .chev, .drawer-details--sub[open] .chev { transform: rotate(45deg); }
.chev { display: inline-block; transition: transform var(--animation-fast); font-size: var(--text-2xl); }
.drawer-submenu { padding-block-end: 1rem; }
.drawer-details--sub { border-block-start: 1px solid var(--gs-border-light); }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links li a {
	display: block;
	padding-block: 0.75rem;
	font-size: var(--text-base);
	line-height: 1.3;
}
.drawer-links li a:hover { opacity: 0.6; }
.drawer-promo { margin-block-start: 1.25rem; position: relative; border-radius: var(--rounded-card); overflow: hidden; }
.drawer-promo .badge { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 1; max-width: calc(100% - 1.5rem); }
.drawer-promo img { aspect-ratio: 1; object-fit: cover; }

.gs-drawer__footer { padding: 1.25rem; border-block-start: 1px solid var(--gs-border-light); }
.drawer-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* Search drawer */
.gs-drawer--top .gs-drawer__panel {
	position: absolute;
	top: 0; left: 0; right: 0;
	background-color: rgb(var(--gs-bg));
	transform: translateY(-100%);
	transition: transform 0.45s cubic-bezier(0.3, 1, 0.3, 1);
	padding-block: 1.5rem;
	box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.25);
}
.gs-drawer--top.is-open .gs-drawer__panel { transform: translateY(0); }
.search-form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background-color: rgba(var(--gs-text), 0.045);
	border-radius: var(--rounded-full);
	padding-inline: 1.25rem;
	height: 3.25rem;
}
.search-input {
	flex: 1;
	border: 0;
	background: none;
	outline: none;
	font-size: var(--text-lg);
	height: 100%;
}

/* Cart drawer */
.gs-cart-contents { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: grid; grid-template-columns: 5rem 1fr auto; gap: 0.75rem; align-items: start; border-block-end: 1px solid var(--gs-border-light); padding-block-end: 1rem; }
.cart-item-media img { width: 5rem; height: 5rem; object-fit: cover; border-radius: 0.5rem; background-color: rgb(var(--gs-surface)); }
.cart-item-title { font-weight: 500; font-size: var(--text-sm); line-height: 1.3; display: block; }
.cart-item-qty { margin: 0.25rem 0 0; font-size: var(--text-xs); opacity: 0.6; }
.cart-item-price { margin: 0.25rem 0 0; font-size: var(--text-sm); }
.cart-item-remove { font-size: 1.25rem; opacity: 0.6; }
.cart-item-remove:hover { opacity: 1; }
.cart-empty { text-align: center; margin-block: 2rem; opacity: 0.7; }
.cart-drawer-footer { display: flex; flex-direction: column; gap: 0.75rem; }
.cart-subtotal { margin: 0; font-weight: 700; font-size: var(--text-base); }

/* =====================================================
   Hero
   ===================================================== */

.hero-section { position: relative; }
.hero-slider { position: relative; overflow: hidden; height: 400px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-media { position: relative; height: 100%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.show-desktop.hero-img { display: none; }
.hero-overlay { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.2); pointer-events: none; }

.hero-words {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	pointer-events: none;
}
.hero-word {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding-block-end: 2rem;
}
.hero-box .special-heading { display: flex; }
.split-lines { display: flex; flex-direction: column; gap: 0.5rem; }
.split-lines p {
	margin: 0;
	font-family: var(--font-heading);
	font-size: var(--title-sm);
	line-height: 1;
	letter-spacing: -0.03em;
	color: #fff;
	background-color: #000;
	padding: 0.25rem 1.125rem 0.75rem;
	white-space: nowrap;
	width: fit-content;
}
.split-lines p.em, .split-lines p strong em { color: var(--gs-yellow); font-style: normal; }
.hero-word .button { align-self: flex-end; pointer-events: auto; }

.hero-dots {
	position: absolute;
	bottom: 0.875rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.375rem;
	z-index: 2;
}
.hero-dot { width: 0.5rem; height: 0.5rem; border-radius: var(--rounded-full); background-color: rgba(255, 255, 255, 0.5); transition: background-color var(--animation-fast); }
.hero-dot.is-active { background-color: #fff; }

@media (min-width: 768px) {
	.hero-slider { height: 595px; }
	.show-desktop.hero-img { display: block; }
	.show-mobile.hero-img { display: none; }
	.hero-word { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-block-end: 2.5rem; }
	.hero-word .button { align-self: flex-end; }
}
@media (min-width: 1280px) {
	.hero-slider { height: 700px; }
}

/* =====================================================
   Product cards + carousels
   ===================================================== */

.product-card {
	background-color: rgb(var(--gs-surface));
	border-radius: var(--rounded-card);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	font-family: var(--font-heading);
}
.product-card__media { position: relative; overflow: hidden; }
.badges {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	display: grid;
	gap: 0.75rem;
	pointer-events: none;
}
.card-media-link { display: block; }
.card-image { width: 100%; aspect-ratio: 1; object-fit: cover; background-color: #fff; transition: transform var(--animation-primary); }
.product-card__media:hover .card-image { transform: scale(1.05); }

.quick-add {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	transform: translateY(100%);
	transition: transform var(--animation-primary);
	pointer-events: none;
	z-index: 1;
}
.product-card__media:hover .quick-add { transform: translateY(0); }
.quick-add .button { pointer-events: auto; --buttons-height: 2.75rem; margin-block-end: 1rem; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }

.product-card__content {
	padding: clamp(1rem, 1.263vw, 1.5rem) clamp(1rem, 2.105vw, 2.5rem) clamp(1rem, 2.105vw, 2.5rem);
	display: flex;
	flex-direction: column;
	flex: 1;
}
.product-card__details { display: flex; align-items: baseline; gap: 0.75rem; width: 100%; }
.product-card__details .grow { flex: 1; margin: 0; }
.product-card__title {
	font-family: var(--font-heading);
	font-size: var(--fluid-base-to-xl);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.03em;
	display: inline;
}
.product-card__title:hover { text-decoration: underline; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.price .price__regular { font-size: var(--fluid-sm-to-base); white-space: nowrap; }
.price .price__regular small { font-weight: 400; font-size: 0.85em; }
.price--on-sale .price__regular { color: var(--gs-sale); font-weight: 500; }
.price .price__sale {
	position: relative;
	color: rgba(var(--gs-text), 0.6);
	font-size: var(--fluid-xs-to-sm);
	white-space: nowrap;
}
.price .price__sale::before {
	content: "";
	position: absolute;
	top: 50%; left: -2%;
	width: 104%;
	border-block-end: 1px solid var(--gs-sale);
	transform: rotate(-15deg);
}

.product-card__bottom { display: flex; align-items: center; gap: 0.5rem; padding-block-start: 1rem; }
.size-options { display: inline-flex; align-items: flex-start; gap: 0.5rem; flex-wrap: wrap; }
.size-option {
	display: inline-block;
	padding: 0.45em 0.55em;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-align: center;
	font-size: var(--fluid-sm-to-base);
	line-height: 1;
	font-family: var(--font-body);
	transition: border-color var(--animation-fast), background-color var(--animation-fast);
}
.size-option:hover { border-color: #000; }
.more-count { font-weight: 500; font-size: var(--text-xs); letter-spacing: 0.1em; opacity: 0.8; }
.swatch-item .color-swatch {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border-radius: var(--rounded-full);
	background-color: var(--swatch-color, #ccc);
	border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Carousel */
.carousel-wrapper { position: relative; }
.carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 3rem;
	height: 3rem;
	border-radius: var(--rounded-full);
	background-color: rgb(var(--gs-bg));
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	transition: transform var(--animation-fast), opacity var(--animation-fast);
}
.carousel-arrow:hover { transform: translateY(-50%) scale(1.06); }
.carousel-arrow--left { left: 0.5rem; }
.carousel-arrow--right { right: 0.5rem; }
.carousel-arrow[disabled] { opacity: 0.35; pointer-events: none; }

.product-carousel, .recipe-carousel {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3rem) / 4);
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-block: 0.25rem;
}
.product-carousel::-webkit-scrollbar, .recipe-carousel::-webkit-scrollbar { display: none; }
.product-carousel > li, .recipe-carousel > li { scroll-snap-align: start; }

/* Featured products tabs */
.featured-tab-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-block-end: 1.75rem; }
.featured-tab-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; align-items: baseline; }
.featured-tab {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	letter-spacing: -0.03em;
	color: rgba(var(--gs-text), 0.55);
	transition: color var(--animation-fast), font-size var(--animation-fast);
}
.featured-tab:hover { color: rgb(var(--gs-text)); }
.featured-tab.is-active { font-size: var(--title-sm); color: rgb(var(--gs-text)); }
.view-all-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: var(--text-sm); opacity: 0.8; }
.view-all-link:hover { opacity: 1; text-decoration: underline; }
.featured-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row;
	gap: 1rem;
	overflow: visible;
}

.section-heading { font-size: clamp(1.75rem, 1.4063rem + 0.5vw, 2rem); letter-spacing: -0.03em; }
.heading-center { text-align: center; margin-block-end: clamp(1.5rem, 4vw, 3rem); }

/* =====================================================
   Tips section
   ===================================================== */

.tips-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	margin-block-start: clamp(1.5rem, 4vw, 3rem);
}
.tip-card { display: flex; flex-direction: column; gap: 0.875rem; }
.tip-media { border-radius: var(--rounded-card); overflow: hidden; aspect-ratio: 0.98; background-color: rgb(var(--gs-surface)); }
.tip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--animation-primary); }
.tip-card:hover .tip-media img { transform: scale(1.05); }
.tip-title { margin: 0; font-size: var(--text-base); line-height: 1.35; font-weight: 500; max-width: 16rem; }
.tip-card:hover .tip-title { text-decoration: underline; }
.tips-footer, .recipes-footer { display: flex; justify-content: center; margin-block-start: clamp(1.5rem, 4vw, 3rem); }

/* =====================================================
   Collage section
   ===================================================== */

.collage-section .section-heading { margin-block-end: clamp(1.5rem, 4vw, 3rem); }
.collage-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(3, minmax(170px, 17vw));
	grid-template-areas:
		"sk sk en en"
		"sk sk ba du"
		"gr gi gi du";
	gap: 1rem;
}
.collage-tile { position: relative; border-radius: var(--rounded-card); overflow: hidden; display: block; height: 100%; }
.collage-tile:nth-child(1) { grid-area: sk; }
.collage-tile:nth-child(2) { grid-area: en; }
.collage-tile:nth-child(3) { grid-area: ba; }
.collage-tile:nth-child(4) { grid-area: du; }
.collage-tile:nth-child(5) { grid-area: gr; }
.collage-tile:nth-child(6) { grid-area: gi; }
.collage-media { height: 100%; }
.collage-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--animation-primary); }
.collage-tile:hover .collage-media img { transform: scale(1.04); }
.collage-label {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	color: #fff;
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	letter-spacing: -0.03em;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* =====================================================
   Recipes
   ===================================================== */

.recipes-section .section-heading { margin-block-end: clamp(1.5rem, 4vw, 3rem); }
.recipe-card a { display: flex; flex-direction: column; gap: 0.75rem; }
.recipe-media { border-radius: var(--rounded-card); overflow: hidden; aspect-ratio: 1; background-color: rgb(var(--gs-surface)); }
.recipe-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--animation-primary); }
.recipe-card:hover .recipe-media img { transform: scale(1.05); }
.recipe-title { margin: 0; font-size: var(--text-base); line-height: 1.3; font-weight: 500; }

/* =====================================================
   History overlay
   ===================================================== */

.history-section { position: relative; overflow: hidden; }
.history-media { position: absolute; inset: 0; }
.history-media img { width: 100%; height: 100%; object-fit: cover; }
.history-overlay { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.25); }
.history-content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding-block: clamp(4rem, 10vw, 9rem);
	text-align: center;
}
.history-title {
	color: #fff;
	font-size: var(--title-md);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* =====================================================
   Collection page
   ===================================================== */

.collection-banner-section .banner { position: relative; }
.banner-content { display: flex; align-items: flex-end; min-height: 200px; padding-block: 1.5rem; }
.banner-box { text-align: left; }
.breadcrumb ul { display: inline-flex; gap: 1.5rem; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 1.5rem; font-size: var(--text-sm); }
.breadcrumb a:hover { text-decoration: underline; }
.banner-title { font-size: var(--title-lg); margin-block-start: 1rem; }
.banner-desc { margin-block-start: 1rem; max-width: 46rem; }
.banner-desc p { margin: 0; line-height: 1.5; font-size: var(--text-base); }

.collection-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1rem 1.5rem;
}
.filters-button .icon-sm { width: 1.1rem; height: 1.1rem; }
.sort-form { display: flex; align-items: center; gap: 0.75rem; }
.sort-label { font-size: var(--text-base); }
.select-wrapper { position: relative; display: inline-flex; align-items: center; }
.sort-select {
	appearance: none;
	-webkit-appearance: none;
	background-color: var(--gs-yellow);
	border: 1px solid var(--gs-yellow);
	border-radius: var(--rounded-full);
	height: 3.5rem;
	padding-inline: 1.5rem 2.5rem;
	font-family: var(--font-heading);
	font-size: var(--text-lg);
	letter-spacing: -0.03em;
	cursor: pointer;
}
.select-dot {
	position: absolute;
	right: 1.25rem;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: var(--rounded-full);
	background-color: currentColor;
	pointer-events: none;
}

.products-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}
.products-grid::before, .products-grid::after { content: none !important; display: none !important; }

.collection-pagination { display: flex; justify-content: center; padding-block: 2.5rem; }
.collection-pagination ul { display: flex; gap: 0.5rem; align-items: center; }
.collection-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: 0.5rem;
	border-radius: var(--rounded-full);
	font-size: var(--text-base);
	transition: background-color var(--animation-fast);
}
.collection-pagination .page-numbers.current { background-color: rgba(var(--gs-text), 0.08); pointer-events: none; }
.collection-pagination a.page-numbers:hover { background-color: rgba(var(--gs-text), 0.06); }

.no-products { padding-block: 3rem; opacity: 0.7; }

/* Shop bottom sections */
.shop-featured-section .section-heading { margin-block-end: 1.5rem; }
.collection-list-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}
.collection-list-card { display: flex; flex-direction: column; gap: 0.75rem; }
.collection-list-media { border-radius: var(--rounded-card); overflow: hidden; aspect-ratio: 1; background-color: rgb(var(--gs-surface)); }
.collection-list-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--animation-primary); }
.collection-list-card:hover .collection-list-media img { transform: scale(1.04); }
.collection-list-label { margin: 0; font-weight: 500; font-size: var(--text-base); line-height: 1.3; }
.collection-list-card:hover .collection-list-label { text-decoration: underline; }

.shop-overlay-section { padding-block: clamp(3rem, 7vw, 6rem); background-color: rgb(var(--gs-surface)); }
.overlay-title {
	font-size: clamp(1.375rem, 1.6vw, 2rem);
	line-height: 1.3;
	letter-spacing: -0.02em;
	max-width: 72rem;
}
.overlay-title a { text-decoration: underline; text-underline-offset: 3px; }
.overlay-title a:hover { opacity: 0.7; }
.overlay-notes { margin-block-start: 1.25rem; font-size: var(--text-sm); opacity: 0.75; }
.overlay-notes a { text-decoration: underline; }

/* =====================================================
   Product page
   ===================================================== */

.product-layout {
	display: grid;
	grid-template-columns: minmax(0, 62fr) minmax(0, 33fr);
	gap: clamp(2rem, 4.7vw, 4.5rem);
	padding-block: 1rem 3rem;
	align-items: start;
}

/* ---------- Gallery: one main image + thumbnail strip below (reference layout) ---------- */
.product-gallery { min-width: 0; position: relative; }
.product__stage { position: relative; max-width: 36rem; margin-inline: auto; }
.product__slides {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.product__slides::-webkit-scrollbar { display: none; }
.product__slide {
	flex: 0 0 100%;
	width: 100%;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}
.product__slide a { display: block; }
.product-gallery .gallery-image {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: contain;
	background-color: #fff;
}
.gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: var(--rounded-full);
	background-color: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
	color: #141414;
	opacity: 0.9;
	transition: opacity var(--animation-fast), background-color var(--animation-fast);
}
.gallery-arrow:hover { background-color: #fff; opacity: 1; }
.gallery-arrow--prev { left: 0.75rem; }
.gallery-arrow--next { right: 0.75rem; }
.product__thumbs {
	display: flex;
	gap: 0.75rem;
	/* flex-start first: browsers without `safe` keep a scrollable strip. */
	justify-content: flex-start;
	justify-content: safe center;
	max-width: 36rem;
	margin-inline: auto;
	margin-block-start: 1rem;
	padding-block-end: 0.25rem;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.product__thumbs::-webkit-scrollbar { display: none; }
.product__thumb {
	flex: 0 0 auto;
	width: 5rem;
	height: 5rem;
	padding: 0;
	border: 1px solid var(--gs-border);
	border-radius: 0.5rem;
	background-color: #fff;
	overflow: hidden;
	transition: border-color var(--animation-fast), box-shadow var(--animation-fast);
}
.product__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.product__thumb:hover { border-color: #9a9a9a; }
.product__thumb.is-active { border-color: #141414; box-shadow: inset 0 0 0 1px #141414; }

.product-info { position: relative; }
.product-info-sticky { position: sticky; top: calc(var(--topbar-height) + 1rem); display: flex; flex-direction: column; gap: 1.25rem; }
.product-title { font-size: var(--fluid-base-to-2xl, clamp(1.5rem, 1.2rem + 1vw, 2.125rem)); line-height: 1.1; }
.product__text { line-height: 1.5; font-size: var(--text-base); }
.product__text p { margin: 0; }

.product-form .cart { display: flex; flex-direction: column; gap: 1.25rem; }
.product-form .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 1.25rem; }
.product-form .variations { display: flex; flex-direction: column; gap: 1.25rem; }
.variation-field { display: flex; flex-direction: column; gap: 0.625rem; }
.variation-label { font-size: var(--text-base); font-weight: 500; }
.variation-selected { font-weight: 400; opacity: 0.7; }
.variation-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-option {
	padding: 0.6em 0.85em;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: var(--text-base);
	line-height: 1;
	transition: border-color var(--animation-fast), box-shadow var(--animation-fast);
	background-color: #fff;
}
.pill-option:hover { border-color: #000; }
.pill-option.is-selected { border-color: #000; font-weight: 700; box-shadow: inset 0 0 0 1px #000; }
.swatch-option {
	width: 2rem;
	height: 2rem;
	border-radius: var(--rounded-full);
	background-color: var(--swatch-color, #ccc);
	border: 2px solid #fff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
	transition: box-shadow var(--animation-fast);
}
.swatch-option.is-selected { box-shadow: 0 0 0 2px #000; }
.gs-native-select[hidden] { display: none !important; }

.gs-quantity-row { display: flex; flex-direction: column; gap: 0.625rem; }

/* Generic quantity input (cart / legacy markup). */
.quantity .qty {
	height: 3.5rem;
	width: 7rem;
	text-align: center;
	border: 1px solid var(--gs-border);
	border-radius: var(--rounded-full);
	background-color: #fff;
	font-size: var(--text-lg);
	-moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* PDP buy box: pill wrapper + − / + stepper (buttons injected by glowshop.js).
   Declared after the generic rule so the equal-specificity selectors win. */
.gs-quantity-row .quantity {
	display: inline-flex;
	align-items: stretch;
	width: fit-content;
	border: 1px solid var(--gs-border);
	border-radius: var(--rounded-full);
	background-color: #fff;
	overflow: hidden;
}
.gs-quantity-row .quantity .qty {
	height: 3.5rem;
	width: 4.5rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	text-align: center;
	font-size: var(--text-lg);
	font-weight: 500;
}
.gs-quantity-row .quantity .qty:focus { outline: none; }
.gs-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	min-height: 3.5rem;
	font-size: var(--text-xl);
	font-weight: 400;
	line-height: 1;
	color: #141414;
	transition: background-color var(--animation-fast), opacity var(--animation-fast);
}
.gs-qty__btn:hover { background-color: rgba(0, 0, 0, 0.06); }
.gs-qty__btn[disabled] { opacity: 0.25; cursor: not-allowed; }
.gs-qty__btn[disabled]:hover { background-color: transparent; }

.single_add_to_cart_button { width: 100%; max-width: none; }
.woocommerce-variation-price { margin-block-end: 0.75rem; }
.woocommerce-variation-availability .stock { color: var(--gs-rating); font-size: var(--text-sm); }
.woocommerce-variation-availability .stock.out-of-stock { color: var(--gs-sale); }
.stock.in-stock { color: var(--gs-rating); font-size: var(--text-sm); }

.product-accordions { display: flex; flex-direction: column; border-block-start: 1px solid var(--gs-border); }
.accordion { border-block-end: 1px solid var(--gs-border); }
.accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 1.125rem;
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: var(--text-base);
	font-weight: 500;
	letter-spacing: -0.01em;
	list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion__head { display: inline-flex; align-items: center; gap: 0.625rem; min-width: 0; }
.accordion__icon { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
.acc-icon { font-size: var(--text-xl); line-height: 1; transition: transform var(--animation-fast); }
.accordion[open] .acc-icon { transform: rotate(45deg); }
.accordion-content { padding-block-end: 1.25rem; }
.accordion-content p { margin: 0 0 0.75rem; line-height: 1.5; }
.accordion-content p:last-child { margin-block-end: 0; }
.accordion-content a { text-decoration: underline; }

/* Sticky ATC bar */
.product-sticky-form {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 30;
	pointer-events: none;
	opacity: 0;
	transition: opacity var(--animation-fast), transform var(--animation-fast);
	transform: translateY(100%);
}
.product-sticky-form.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.product-sticky-form__card {
	max-width: 62rem;
	margin: 0 auto 1rem;
	background-color: rgb(var(--gs-bg));
	border-radius: var(--rounded-card);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	padding: 1rem 1.25rem;
}
.product-sticky-form__variant { display: flex; align-items: center; gap: 1rem; }
.sticky-media img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: 0.5rem; background-color: rgb(var(--gs-surface)); }
.sticky-info { flex: 1; min-width: 0; }
.sticky-title { margin: 0; font-weight: 500; font-size: var(--text-base); line-height: 1.3; }
.sticky-option { margin: 0.125rem 0 0; font-size: var(--text-xs); opacity: 0.6; }
.sticky-price .price { display: flex; }
.sticky-atc { --buttons-height: 3rem; }

.related-section .section-heading { margin-block-end: 1.5rem; }

/* =====================================================
   Footer
   ===================================================== */

.footer-section {
	background-color: var(--gs-dark);
	color: #fff;
	padding-block: clamp(3rem, 6vw, 4.5rem);
	margin-block-start: clamp(2.5rem, 5vw, 5rem);
}
.footer {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 6rem);
	align-items: start;
}
.footer__left { display: flex; flex-direction: row; gap: 3rem; flex-wrap: wrap; }
.footer__item { flex: 1 1 14rem; }
.footer__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	cursor: pointer;
	list-style: none;
}
.footer__summary::-webkit-details-marker { display: none; }
.footer-col-title {
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	letter-spacing: -0.03em;
	font-weight: 500;
}
.footer-chevron { font-size: var(--text-2xl); transition: transform var(--animation-fast); }
.footer__item[open] .footer-chevron { transform: rotate(45deg); }
.footer__content { margin-block-start: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: var(--fluid-sm-to-lg); line-height: 1.3; opacity: 0.95; }
.footer-links a:hover { text-decoration: underline; opacity: 0.75; }
.footer__contact { display: flex; flex-direction: column; gap: 0.25rem; }
.footer__contact p { margin: 0; }
.footer__contact .link:hover { text-decoration: underline; }
.footer__brand { flex: 1 1 100%; max-width: 34rem; }
.footer-brand-name {
	margin: 0 0 0.75rem;
	font-family: var(--font-heading);
	font-size: var(--text-2xl);
	font-weight: 500;
	letter-spacing: -0.03em;
}
.footer-brand-about { margin: 0; font-size: var(--fluid-sm-to-lg); line-height: 1.55; opacity: 0.78; }
.footer-address { opacity: 0.95; }

.footer__right { display: grid; gap: 2.5rem; align-content: start; }
.footer-newsletter-title {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 1.6vw, 1.75rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 500;
	max-width: 30rem;
}
.newsletter-form { max-width: 28rem; margin-block-start: 1.5rem; }
.newsletter-form .field { position: relative; }
.newsletter-form .input {
	width: 100%;
	height: 3.25rem;
	border: 0;
	border-radius: var(--rounded-full);
	background-color: rgba(255, 255, 255, 0.08);
	color: #fff;
	padding-inline: 1.5rem 3.5rem;
	font-size: var(--text-base);
	outline: none;
	transition: background-color var(--animation-fast);
}
.newsletter-form .input::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter-form .input:focus { background-color: rgba(255, 255, 255, 0.16); }
.newsletter-submit {
	position: absolute;
	right: 0.375rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--rounded-full);
	background-color: var(--gs-yellow);
	color: #000;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color var(--animation-fast);
}
.newsletter-submit:hover { background-color: #fff; }
.newsletter-success { margin-block-start: 0.75rem; color: var(--gs-yellow); font-size: var(--text-sm); }
.footer__socials .social-list { gap: 1.75rem; }

.footer-copyright-section { background-color: var(--gs-darker); color: #fff; padding-block: 1.25rem; }
.footer-copyright { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.credits { font-size: var(--text-sm); text-align: center; }
.payment-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.payment-icon { width: 38px; height: 24px; }

/* =====================================================
   Mobile dock
   ===================================================== */

.mobile-dock {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 50;
	display: flex;
	background-color: rgb(var(--gs-bg));
	border-block-start: 1px solid var(--gs-border-light);
	padding-block: 0.375rem calc(0.375rem + env(safe-area-inset-bottom));
	box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.06);
}
.dock-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.125rem;
	font-size: 0.625rem;
	letter-spacing: 0.02em;
	position: relative;
}
.dock-count {
	position: absolute;
	top: 0;
	right: calc(50% - 1.25rem);
	min-width: 0.9375rem;
	height: 0.9375rem;
	padding-inline: 0.25rem;
	border-radius: var(--rounded-full);
	background-color: var(--gs-dark);
	color: #fff;
	font-size: 0.5625rem;
	font-weight: 700;
	line-height: 0.9375rem;
}

/* =====================================================
   Generic page
   ===================================================== */

.page-wrap { padding-block: 2rem 4rem; min-height: 40vh; }
.content-page .page-title { font-size: var(--title-lg); margin-block-end: 1.5rem; }
.rte { line-height: 1.6; font-size: var(--text-base); }
.rte p { margin-block: 0.75rem; }
.rte ul { list-style: disc; padding-inline-start: 1.5rem; }
.rte a { text-decoration: underline; }
.archive-title { font-size: var(--title-md); margin-block-end: 1.5rem; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.post-card { background-color: rgb(var(--gs-surface)); border-radius: var(--rounded-card); padding: 1rem; }
.post-title { font-size: var(--text-xl); margin-block: 0.75rem; }

/* WooCommerce notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background-color: rgb(var(--gs-surface));
	border-radius: var(--rounded-card);
	padding: 1rem 1.25rem;
	margin-block-end: 1rem;
	list-style: none;
}
.woocommerce-error { color: var(--gs-sale); }

/* =====================================================
   Blog / article / archive templates
   ===================================================== */

.gs-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-block-end: 1.25rem;
	font-size: var(--text-sm);
	opacity: 0.7;
}
.gs-crumbs a:hover { text-decoration: underline; }
.gs-crumbs__sep { opacity: 0.5; }
.gs-crumbs__here { opacity: 0.9; }

.gs-article { max-width: 50rem; margin-inline: auto; }
.gs-article__cat {
	margin: 0 0 0.75rem;
	font-family: var(--font-body);
	font-size: var(--text-2xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gs-sale);
}
.gs-article__title { font-size: clamp(1.75rem, 1.15rem + 1.7vw, 2.625rem); line-height: 1.15; }
.gs-article__meta { margin: 1rem 0 0; font-size: var(--text-sm); opacity: 0.62; }
.gs-article__hero {
	margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
	border-radius: var(--rounded-card);
	overflow: hidden;
	background-color: rgb(var(--gs-surface));
}
.gs-article__hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gs-article__body { margin-block-start: clamp(1.5rem, 3vw, 2.25rem); }
.gs-article__body h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); margin-block: 2rem 0.75rem; }
.gs-article__body > p:first-child {
	font-size: var(--fluid-base-to-xl);
	line-height: 1.5;
	color: rgba(var(--gs-text), 0.75);
}

.gs-article__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 50rem;
	margin: 2.5rem auto 0;
	padding-block-start: 1.5rem;
	border-block-start: 1px solid var(--gs-border);
}
.gs-article__nav-item { display: flex; flex-direction: column; gap: 0.375rem; }
.gs-article__nav-item--next { align-items: flex-end; text-align: right; }
.gs-article__nav-label {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.6;
}
.gs-article__nav-title { font-family: var(--font-heading); font-size: var(--text-lg); line-height: 1.25; }
.gs-article__nav-item:hover .gs-article__nav-title { text-decoration: underline; }
.gs-article__nav-item.is-empty { pointer-events: none; }

.gs-related { max-width: 50rem; margin: 3rem auto 0; }
.gs-related .section-heading { margin-block-end: 1.5rem; }

.archive-head { margin-block-end: 2rem; }
.archive-count { margin: 0.5rem 0 0; font-size: var(--text-sm); opacity: 0.65; }

.post-thumb { display: block; border-radius: var(--rounded-card); overflow: hidden; background-color: #fff; }
.post-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform var(--animation-primary); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-title { font-size: var(--text-xl); margin-block: 0.875rem 0.5rem; line-height: 1.3; }
.post-title a:hover { text-decoration: underline; }
.post-excerpt { margin: 0; font-size: var(--text-sm); line-height: 1.5; opacity: 0.72; }
.post-more {
	display: inline-block;
	margin-block-start: 0.75rem;
	font-size: var(--text-sm);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.post-more:hover { opacity: 0.7; }

.rte ol { list-style: decimal; padding-inline-start: 1.5rem; }
.rte h2 { margin-block: 2rem 0.75rem; }
.rte h3 { margin-block: 1.5rem 0.5rem; }
.rte li { margin-block: 0.375rem; }

.page-wrap .pagination { margin-block-start: 2.5rem; }
.page-wrap .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.page-wrap .pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: 0.5rem;
	border-radius: var(--rounded-full);
	font-size: var(--text-base);
}
.page-wrap .pagination .page-numbers.current { background-color: rgba(var(--gs-text), 0.08); pointer-events: none; }
.page-wrap .pagination a.page-numbers:hover { background-color: rgba(var(--gs-text), 0.06); }

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 1535px) {
	.topbar-spacer { display: none; }
}

@media (max-width: 1279px) {
	.products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
	.collage-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: repeat(5, minmax(150px, 34vw));
		grid-template-areas:
			"sk sk"
			"en en"
			"ba du"
			"gi gi"
			"gr gr";
	}
	.collection-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mega-menu__nav { column-gap: 3rem; }
	.social-icons, .topbar-spacer { display: none; }
	.topbar { grid-template-columns: 1fr; }
}

@media (max-width: 989px) {
	.show-desktop { display: none !important; }
	.show-desktop-lg { display: none !important; }
	.show-mobile, .show-mobile-lg { display: flex !important; }

	:root { --page-padding: 1.25rem; }

	.topbar-section { font-size: var(--text-xs); }
	.announcement__slides { min-width: 0; }

	.header {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
		grid-template-areas: "start logo end";
		align-items: center;
		gap: 0.5rem;
	}
	.header__menu-button { grid-area: start; justify-self: start; }
	.header__logo { grid-area: logo; justify-content: center; }
	.logo-desktop { display: none; }
	.logo-mobile { display: block; }
	.header__menu { display: none; }
	.header__icons--end { grid-area: end; justify-self: end; margin-left: 0; gap: 0.375rem; }
	/* 移动端隐藏账号入口（底部 dock 已有 Account），与源站一致 */
	.header__icons--end .account-button { display: none; }
	.menu-drawer-button { display: flex; }

	.hero-word { padding-inline: var(--page-padding); padding-block-end: 2rem; }
	.split-lines p { font-size: clamp(1.375rem, 5.2vw, 2rem); padding: 0.25rem 0.75rem 0.5rem; white-space: normal; }

	.featured-tab-list { gap: 0.25rem 1.25rem; }
	.featured-tab { font-size: var(--text-lg); }
	.featured-tab.is-active { font-size: var(--text-2xl); }

	.product-carousel, .recipe-carousel { grid-auto-columns: calc((100% - 1rem) / 2); }
	.featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.carousel-arrow { display: none; }

	.products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	.post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.collection-toolbar { flex-wrap: wrap; }
	.filters-button { --buttons-height: 2.75rem; font-size: var(--text-base); }
	.sort-select { height: 2.75rem; font-size: var(--text-base); }

	.product-layout { grid-template-columns: 1fr; gap: 1.5rem; }
	.gallery-arrow { display: none; }
	.product__thumbs { justify-content: flex-start; margin-block-start: 0.75rem; }
	.product__thumb { width: 4rem; height: 4rem; }
	.product-info-sticky { position: static; }
	.single_add_to_cart_button { width: 100%; max-width: none; }

	.footer { grid-template-columns: 1fr; }
	.footer__left { flex-direction: column; gap: 0; }
	.footer__item { border-block-end: 1px solid rgba(255, 255, 255, 0.12); padding-block: 0.5rem; flex: initial; }
	.footer__content { margin-block-start: 0.75rem; padding-block-end: 1rem; }
	.footer__socials { justify-content: flex-start; }

	.mobile-dock + .footer-copyright-section { padding-block-end: 4.5rem; }
	.site-main { padding-block-end: 4rem; }
	body { padding-block-end: 4.25rem; }
}

@media (max-width: 640px) {
	.products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tips-grid { gap: 0.75rem; }
	.post-list { grid-template-columns: 1fr; }
	.gs-article__nav { grid-template-columns: 1fr; }
	.gs-article__nav-item--next { align-items: flex-start; text-align: left; }
	.collection-pagination .page-numbers { min-width: 2.25rem; height: 2.25rem; }
}
