/* G & F Mattress and Furniture — theme stylesheet. Theme by The Free Website Guys. */

/* ===================== 1. CSS variables (Section 6.1) ===================== */
:root {
	--gf-color-background: #f9f6f0;
	--gf-color-foreground: #132d35;
	--gf-color-primary: #b07c4f;
	--gf-color-primary-deep: #8f5e3d;
	--gf-color-primary-foreground: #fbf8f4;
	--gf-color-secondary: #f3eee7;
	--gf-color-muted: #eae4dc;
	--gf-color-muted-foreground: #6f665d;
	--gf-color-border: #e1dad0;
	--gf-color-dark: #0c2d36;
	--gf-color-dark-alt: #22454f;
	--gf-color-ivory: #faf8f4;
	--gf-color-gold-soft: #d4b89b;
	--gf-color-button-text: #fbf8f4;

	--font-display: 'Instrument Serif', 'Georgia', 'Times New Roman', serif;
	--font-body: 'Manrope', system-ui, -apple-system, sans-serif;

	--btn-radius: 2px;
	--btn-height: 52px;
	--btn-padding: 15px 30px;
	--btn-font-size: 14px;
	--btn-font-weight: 600;
	--btn-letter-spacing: 0.16em;
	--btn-text-transform: uppercase;
	--card-radius: 4px;
	--section-padding: 2rem;
	--checkout-gap: 2rem;
	--header-height: 92px;
	--header-height-mobile: 76px;
	--logo-height: 64px;

	--shadow-soft: 0 4px 20px hsla(193, 40%, 12%, 0.07);
	--shadow-elevated: 0 22px 60px -18px hsla(193, 40%, 12%, 0.24);
	--shadow-gold: 0 14px 34px -14px hsla(28, 38%, 40%, 0.38);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
	--gradient-cocoa: linear-gradient(135deg, var(--gf-color-dark) 0%, var(--gf-color-dark-alt) 100%);
	--gradient-berry: linear-gradient(135deg, var(--gf-color-primary) 0%, var(--gf-color-primary-deep) 100%);
}

/* ===================== 2. Base / reset ===================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	background-color: var(--gf-color-background);
	color: var(--gf-color-foreground);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: inherit;
	font-size: inherit;
	line-height: 1.06;
	letter-spacing: -0.01em;
	color: var(--gf-color-foreground);
	margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; padding: 0; cursor: pointer; color: inherit; }

/* Clickable elements — hand cursor */
a[href],
button:not(:disabled),
[role="button"],
.theme-card-link,
.gf-product-card,
.gf-offer-item,
.gf-filter-pill,
.gf-room-tile,
.gf-social-tile,
.gf-carousel__nav-btn,
.theme-nav-link,
.alta-nav-link,
.site-footer a,
.gf-contact__link,
.theme-contact-form__pref,
.theme-contact-modal__close,
.theme-contact-modal__meta a,
.gf-faq-item__toggle,
[data-contact-open],
[data-cart-open],
[data-cart-close],
[data-contact-close],
[data-back-to-top],
[data-lightbox-open],
.select2-selection,
input[type="submit"],
input[type="button"],
label[for] {
	cursor: pointer;
}

/* Admin bar — keep sticky header below WP toolbar */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media screen and (max-width: 600px) {
	/* Below 600px WP admin bar is not fixed; header stays at top: 0 */
	.admin-bar .site-header { top: 0; }
}
img { max-width: 100%; height: auto; display: block; }
img:not(.cover-img):not(.gf-product-card__img):not(.gf-product-gallery__img):not(.gf-hero__video) {
	max-width: 100%;
	height: auto;
}
.cover-img, .gf-product-card__img, .gf-product-gallery__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
ul, ol { margin: 0; padding: 0; list-style: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: hsla(28, 38%, 50%, 0.25); color: var(--gf-color-dark); }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px; height: 1px; overflow: hidden;
}

/* ===================== 3. Layout helpers ===================== */
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2.5rem; } }

.gf-section { padding: 5rem 0; }
@media (min-width: 768px) { .gf-section { padding: 7rem 0; } }

.cs-section-dark { background-color: var(--gf-color-dark); color: var(--gf-color-ivory); }
.cs-section-cream { background-color: var(--gf-color-ivory); color: var(--gf-color-foreground); }
.cs-section-cream-alt { background-color: var(--gf-color-secondary); color: var(--gf-color-foreground); }

.gf-section__head { margin-bottom: 3rem; }
.gf-section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.gf-section__head-copy { max-width: 42rem; }
.gf-section__head--narrow { max-width: 42rem; }
.gf-section__lead { margin-top: 1rem; color: var(--gf-color-muted-foreground); max-width: 38rem; line-height: 1.6; }
.gf-section__lead--light { color: hsla(38,44%,96%,0.75); }
.gf-section__lead--light-2 { color: hsla(38,44%,96%,0.82); font-size: 1.05rem; }

.gf-heading { font-family: var(--font-display); font-weight: 400; margin-top: 1.25rem; text-wrap: balance; line-height: 1; letter-spacing: -0.01em; }
/* Match Lovable text-4xl / md:text-6xl (36px / 60px) */
.gf-heading--lg { font-size: 2.25rem; }
.gf-heading--md { font-size: 2.25rem; }
@media (min-width: 768px) {
	.gf-heading--lg { font-size: 3.75rem; line-height: 1; }
	.gf-heading--md { font-size: 3rem; }
}
.gf-heading--light { color: var(--gf-color-ivory); }

.cs-label {
	font-family: var(--font-body);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 0.82rem;
	line-height: 1.3;
}
.font-hero { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1; }
/* Font family only — do not reset font-size (would override .gf-heading--lg etc.) */
.font-display { font-family: var(--font-display); }

.gf-marker {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-body); font-weight: 600; text-transform: uppercase;
	letter-spacing: 0.22em; font-size: 0.82rem; color: var(--gf-color-primary);
}
.gf-marker::after { content: ''; width: 46px; height: 1px; background: hsla(28,38%,50%,0.5); }

/* ===================== 4. Buttons ===================== */
.doce-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: var(--btn-padding); border-radius: var(--btn-radius);
	font-family: var(--font-body); font-weight: var(--btn-font-weight);
	font-size: var(--btn-font-size); letter-spacing: var(--btn-letter-spacing);
	text-transform: var(--btn-text-transform); cursor: pointer; position: relative; overflow: hidden;
	transition: transform 320ms var(--transition-smooth), box-shadow 320ms var(--transition-smooth), background-color 320ms, color 320ms, border-color 320ms;
	border: none;
}
.doce-btn::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(110deg, transparent 20%, hsla(0,0%,100%,0.22) 50%, transparent 80%);
	transform: translateX(-120%); transition: transform 750ms var(--transition-smooth);
	pointer-events: none;
}
.doce-btn:hover::after { transform: translateX(120%); }
.doce-btn-primary { background: var(--gf-color-primary); color: var(--gf-color-button-text); box-shadow: var(--shadow-gold); }
.doce-btn-primary:hover { transform: translateY(-3px); background: var(--gf-color-primary-deep); }
.doce-btn-choc { background: var(--gf-color-dark); color: var(--gf-color-ivory); }
.doce-btn-choc:hover { transform: translateY(-3px); background: var(--gf-color-dark-alt); box-shadow: var(--shadow-elevated); }
.doce-btn-ghost { background: transparent; color: var(--gf-color-dark); border: 1.5px solid hsla(193,64%,13%,0.35); }
.doce-btn-ghost:hover { transform: translateY(-3px); background: var(--gf-color-dark); color: var(--gf-color-ivory); border-color: var(--gf-color-dark); }
.doce-btn-outline-light { background: transparent; color: var(--gf-color-ivory); border: 1.5px solid hsla(38,44%,96%,0.55); }
.doce-btn-outline-light:hover { transform: translateY(-3px); background: var(--gf-color-ivory); color: var(--gf-color-dark); }

/* ===================== 5. Cards ===================== */
.doce-card {
	background: #fff; border-radius: var(--card-radius); border: 1px solid var(--gf-color-border);
	box-shadow: var(--shadow-soft); overflow: hidden;
	transition: transform 500ms cubic-bezier(0.22,1,0.36,1), box-shadow 500ms var(--transition-smooth), border-color 400ms;
}
.doce-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); border-color: hsla(28,38%,50%,0.4); }
.cs-card-hover-aggressive { position: relative; z-index: 1; transition: transform 500ms cubic-bezier(0.22,1,0.36,1), box-shadow 500ms ease; }
.cs-card-hover-aggressive:hover { z-index: 10; transform: translateY(-8px); box-shadow: var(--shadow-elevated); }

/* ===================== 6. Nav underline ===================== */
.alta-nav-link { position: relative; display: inline-block; padding-bottom: 3px; transition: color 280ms ease, opacity 280ms ease; }
.alta-nav-link::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: 2px;
	background: var(--gf-color-primary); transform: scaleX(0); transform-origin: right center;
	transition: transform 400ms cubic-bezier(0.22,1,0.36,1);
}
.alta-nav-link:hover::after, .alta-nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }

/* ===================== 7. Reveal / animation utilities (Section 2.1) ===================== */
.animate-fade-in { animation: gfFadeIn 0.6s var(--transition-smooth) forwards; }
.animate-slide-up { animation: gfSlideUp 0.5s var(--transition-smooth) forwards; }
@keyframes gfFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gfSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

[data-reveal], .reveal-item {
	opacity: 0; transform: translateY(26px);
	transition: opacity 900ms cubic-bezier(0.22,1,0.36,1), transform 900ms cubic-bezier(0.22,1,0.36,1);
	transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed, .reveal-item.is-revealed, .reveal-item.is-visible { opacity: 1; transform: translateY(0); }

[data-reveal-child] {
	opacity: 0; transform: translateY(22px);
	transition: opacity 800ms cubic-bezier(0.22,1,0.36,1), transform 800ms cubic-bezier(0.22,1,0.36,1);
	transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal-child].is-revealed { opacity: 1; transform: translateY(0); }

/* Customizer preview fallback — never leave reveal content invisible (Section 2.1.5). */
body.is-customizer [data-reveal],
body.is-customizer [data-reveal-child],
body.is-customizer .reveal-item {
	opacity: 1 !important;
	transform: none !important;
}

.parallax-bg, [data-parallax] { transform: translate3d(0, var(--parallax-y, 0px), 0); }

@keyframes gfTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.alta-ticker-viewport { overflow: hidden; }
.alta-ticker-track { display: flex; width: max-content; animation: gfTicker 52s linear infinite; will-change: transform; }
.alta-ticker-viewport:hover .alta-ticker-track { animation-play-state: paused; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@media (prefers-reduced-motion: reduce) {
	[data-reveal], [data-reveal-child], .reveal-item { opacity: 1 !important; transform: none !important; transition: none !important; }
	.doce-card, .doce-card:hover, .cs-card-hover-aggressive, .cs-card-hover-aggressive:hover { transition: none !important; transform: none !important; }
	.alta-ticker-track, .gf-hero__video { animation: none !important; }
	[data-tilt] { transform: none !important; }
}

/* ===================== 8. Announcement ticker ===================== */
.gf-announcement { background-color: var(--gf-color-muted); position: relative; overflow: hidden; }
.gf-announcement__track { padding: 0.65rem 0; }
.gf-announcement__group { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; flex-shrink: 0; }
.gf-announcement__item { display: flex; align-items: center; gap: 2rem; flex-shrink: 0; }
.gf-announcement__text { color: var(--gf-color-dark); white-space: nowrap; }
.gf-announcement__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gf-color-primary); display: inline-block; flex-shrink: 0; }

/* ===================== 9. Header ===================== */
.site-header {
	position: sticky; top: 0; left: 0; right: 0; z-index: 50; width: 100%;
	background-color: var(--gf-color-dark);
	border-bottom: 1px solid hsla(38,44%,96%,0.12);
	transition: all 0.4s ease;
	backdrop-filter: blur(10px);
}
.site-header.is-scrolled { background-color: hsla(193,64%,11%,0.97); box-shadow: var(--shadow-elevated); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; height: var(--header-height-mobile); transition: height 0.4s ease; flex-wrap: nowrap; }
@media (min-width: 768px) { .site-nav { height: var(--header-height); } }
.site-header.is-scrolled .site-nav { height: 68px; }
@media (min-width: 768px) { .site-header.is-scrolled .site-nav { height: 84px; } }

.site-branding { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; min-width: 0; color: var(--gf-color-ivory); }
.site-logo-img { height: var(--logo-height) !important; width: auto !important; transition: height 0.4s ease; }
.site-logo-text { font-family: var(--font-display); font-size: 1.6rem; color: var(--gf-color-ivory); white-space: nowrap; }
.site-logo-text--secondary { font-size: 1rem; font-family: var(--font-body); opacity: 0.75; }

.site-nav__links { display: none; align-items: center; justify-content: center; gap: 1.25rem; flex: 1; min-width: 0; padding: 0 0.75rem; }
@media (min-width: 1280px) { .site-nav__links { display: flex; } }
.theme-nav-list { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.theme-nav-link, .theme-nav-list a {
	color: var(--gf-color-ivory); font-family: var(--font-body); font-weight: 500;
	font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.theme-nav-link:hover { opacity: 0.8; }

.site-nav__actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.site-nav__cta { display: none; padding: 0.75rem 1.5rem !important; font-size: 0.82rem !important; }
@media (min-width: 768px) and (max-width: 1279px) { .site-nav__cta { display: inline-flex; } }
@media (min-width: 1536px) { .site-nav__cta { display: inline-flex; } }

.site-nav__icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border-radius: 50%; color: var(--gf-color-ivory); transition: all 0.3s ease; position: relative;
}
.site-nav__icon-btn:hover { background: hsla(0,0%,100%,0.1); transform: translateY(-2px); }
.site-nav__menu-btn { display: inline-flex; }
@media (min-width: 1280px) { .site-nav__menu-btn { display: none; } }
.site-nav__menu-btn.is-open .icon-menu { display: none; }
.site-nav__menu-btn.is-open .icon-close { display: inline-flex !important; }

.theme-cart-count {
	position: absolute; top: 0; right: 0; min-width: 19px; height: 19px; padding: 0 4px;
	border-radius: 999px; font-size: 0.72rem; font-weight: 600; display: flex; align-items: center; justify-content: center;
	background: var(--gf-color-primary); color: var(--gf-color-ivory); font-family: var(--font-body);
}
.theme-cart-count:empty { display: none; }

.site-search { display: none; padding-bottom: 1.25rem; border-top: 1px solid hsla(38,44%,96%,0.14); }
.site-search[data-open] { display: block; }
.site-search__input {
	width: 100%; margin-top: 1rem; background: transparent; border: none; border-bottom: 1px solid hsla(38,44%,96%,0.3);
	padding: 0.75rem 0.25rem; font-size: 1rem; color: var(--gf-color-ivory); outline: none;
}
.site-search__input::placeholder { color: hsla(38,44%,96%,0.6); }
.site-search__results { margin-top: 1rem; display: grid; gap: 0.5rem; max-height: 60vh; overflow: auto; }
.site-search__result { display: flex; align-items: center; gap: 1rem; text-align: left; padding: 0.5rem; border-radius: 4px; transition: background 0.2s ease; color: var(--gf-color-ivory); width: 100%; }
.site-search__result:hover { background: hsla(0,0%,100%,0.1); }
.site-search__result-img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.site-search__result-name { display: block; font-size: 0.9rem; font-weight: 500; color: var(--gf-color-ivory); }
.site-search__result-cat { display: block; font-size: 0.82rem; color: hsla(38,44%,96%,0.6); }
.site-search__result-price { font-size: 0.85rem; font-weight: 600; color: var(--gf-color-primary); margin-left: auto; }
.site-search__empty { font-size: 0.85rem; color: hsla(38,44%,96%,0.65); }

.site-mobile-menu { display: none; padding: 1rem 0 1.5rem; border-top: 1px solid hsla(38,44%,96%,0.14); background: var(--gf-color-dark); }
.site-mobile-menu[data-open] { display: block; }
.site-mobile-menu__links { display: flex; flex-direction: column; gap: 0.25rem; }
.site-mobile-menu .theme-nav-list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.site-mobile-menu .theme-nav-link, .site-mobile-menu .theme-nav-list a { display: block; padding: 0.75rem 0.25rem; }
.site-mobile-menu__cta { margin-top: 0.75rem; width: 100%; }

/* ===================== 10. Hero ===================== */
.gf-hero { position: relative; min-height: calc(100svh - 7.4rem); display: flex; align-items: flex-end; overflow: hidden; }
@media (min-width: 768px) { .gf-hero { min-height: calc(100svh - 9.6rem); } }
body.theme-no-hero .gf-hero { display: none; }
.gf-hero__bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--gf-color-dark); }
.gf-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gf-hero__gradient { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, hsla(193,64%,10%,0.72) 0%, hsla(193,64%,10%,0.42) 45%, hsla(193,64%,10%,0.9) 100%); }
.gf-hero__glow { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse at 15% 65%, hsla(28,38%,50%,0.22) 0%, transparent 58%); }
.gf-hero__content { position: relative; z-index: 10; padding-top: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .gf-hero__content { padding-top: 4rem; padding-bottom: 4rem; } }
/* Keep side inset comfortable below desktop (container-wide alone was being zeroed by the old shorthand). */
@media (max-width: 1023px) {
	.gf-hero > .container-wide {
		padding-left: 1.75rem;
		padding-right: 1.75rem;
	}
}
@media (max-width: 639px) {
	.gf-hero > .container-wide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
.gf-hero__inner { max-width: 48rem; }
.gf-hero__eyebrow { color: var(--gf-color-gold-soft); display: block; }
.gf-hero__title { color: var(--gf-color-ivory); margin-top: 0.75rem; font-size: 2.5rem; }
@media (min-width: 640px) { .gf-hero__title { font-size: 3.5rem; } }
@media (min-width: 1024px) { .gf-hero__title { font-size: 5rem; } }
.gf-hero__subtitle { color: hsla(38,44%,96%,0.86); margin-top: 1rem; font-size: 1rem; max-width: 36rem; }
@media (min-width: 768px) { .gf-hero__subtitle { font-size: 1.125rem; } }
.gf-hero__tagline { color: var(--gf-color-gold-soft); margin-top: 0.75rem; }
.gf-hero__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .gf-hero__actions { flex-direction: row; } }

/* ===================== 11. Room grid ===================== */
.gf-room-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .gf-room-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gf-room-grid { grid-template-columns: 1fr 1fr 1fr; } }
.gf-room-tile { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; text-align: left; }
.gf-room-tile__img { transition: transform 1.2s ease; }
.gf-room-tile:hover .gf-room-tile__img { transform: scale(1.06); }
.gf-room-tile__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, hsla(193,64%,10%,0.05) 30%, hsla(193,64%,10%,0.82) 100%); }
.gf-room-tile__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; }
.gf-room-tile__label { color: var(--gf-color-ivory); font-size: 1.6rem; }
.gf-room-tile__arrow { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--gf-color-primary); color: var(--gf-color-ivory); transition: transform 0.5s ease; }
.gf-room-tile:hover .gf-room-tile__arrow { transform: translateX(4px); }

/* ===================== 12. Offer list ===================== */
/* Lovable classes are text-[30px] md:text-[46px], but a global span{font-size:14px}
   rule there collapses the visible type. Match the intended display scale while
   keeping a single row at container-wide (~1131px): use 30px at all breakpoints. */
.gf-offer-list { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: baseline; }
.gf-offer-item,
.gf-offer-item span {
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.25;
	font-weight: 400;
	white-space: nowrap;
}
.gf-offer-item span, .gf-offer-item { color: hsla(38,44%,96%,0.62); transition: color 0.5s ease; }
.gf-offer-item:hover,
.gf-offer-item:hover span { color: var(--gf-color-gold-soft); }

/* ===================== 13. Product grid / cards ===================== */
.gf-filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.gf-filter-pill {
	padding: 0.65rem 1.25rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.3s ease;
	border: 1px solid var(--gf-color-border); color: var(--gf-color-muted-foreground);
}
.gf-filter-pill:hover { transform: translateY(-2px); }
.gf-filter-pill.is-active { background: var(--gf-color-dark); color: var(--gf-color-ivory); border-color: var(--gf-color-dark); }

.gf-shop-empty { padding: 2.5rem 0; color: var(--gf-color-muted-foreground); }
.gf-shop-empty-static { padding: 2.5rem 0; color: var(--gf-color-muted-foreground); }

.gf-product-grid, .theme-product-grid {
	display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch;
}
@media (min-width: 640px) { .gf-product-grid, .theme-product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gf-product-grid, .theme-product-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; } }
.gf-product-grid.gf-product-grid--carousel { display: flex; grid-template-columns: none; }

.theme-product-card-wrap, .gf-product-card {
	display: flex; flex-direction: column; height: 100%; position: relative;
	background: #fff; border-radius: var(--card-radius); border: 1px solid var(--gf-color-border);
	box-shadow: var(--shadow-soft); overflow: hidden;
	transition: transform 500ms cubic-bezier(0.22,1,0.36,1), box-shadow 500ms var(--transition-smooth), border-color 400ms;
}
.gf-product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-elevated); border-color: hsla(28,38%,50%,0.4); }
.gf-product-card > .theme-card-link { position: absolute; inset: 0; z-index: 2; pointer-events: auto; }
.gf-product-card *:not(.theme-card-link) { pointer-events: none; }
.gf-product-card .gf-add-to-cart-btn, .gf-product-card a.add_to_cart_button { pointer-events: auto; }

.gf-product-card__media {
	position: relative; width: 100%; height: 0; padding-bottom: 75%; /* 4:3 — definite CB for abs imgs */
	overflow: hidden; background: var(--gf-color-secondary); flex-shrink: 0;
}
.gf-product-card__media > .gf-product-card__img,
.gf-product-card__media > img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center;
}
.gf-product-card__img--main { transition: transform 1.1s ease, opacity 1.1s ease; z-index: 0; }
.gf-product-card:has(.gf-product-card__img--hover):hover .gf-product-card__img--main { transform: scale(1.05); opacity: 0; }
.gf-product-card:not(:has(.gf-product-card__img--hover)):hover .gf-product-card__img--main { transform: scale(1.05); }
.gf-product-card__img--hover { opacity: 0; transform: scale(1.05); transition: transform 0.9s ease, opacity 0.9s ease; z-index: 1; }
.gf-product-card:hover .gf-product-card__img--hover { opacity: 1; transform: scale(1); }
.gf-product-card__index { position: absolute; top: 1rem; left: 1rem; color: var(--gf-color-primary); }
.gf-product-card__arrow {
	position: absolute; bottom: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(8px);
	transition: all 0.5s ease; background: var(--gf-color-primary); color: var(--gf-color-ivory);
}
.gf-product-card:hover .gf-product-card__arrow { opacity: 1; transform: translateY(0); }
.gf-product-card__badge {
	position: absolute; bottom: 0.75rem; left: 0.75rem; background: var(--gf-color-dark); color: var(--gf-color-ivory);
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.6rem; border-radius: 3px;
}
.gf-product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; min-width: 0; }
.gf-product-card__cat { color: var(--gf-color-muted-foreground); }
.gf-product-card__title { margin-top: 0.6rem; font-size: 1.35rem; line-height: 1.2; }
@media (min-width: 768px) { .gf-product-card__title { font-size: 1.6rem; } }
.gf-product-card__tagline { margin-top: 0.5rem; font-size: 0.85rem; line-height: 1.5; color: var(--gf-color-muted-foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gf-product-card__footer { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; min-width: 0; }
.gf-product-card__price { font-size: 1.4rem; color: var(--gf-color-primary-deep); flex-shrink: 0; }
.gf-product-card__price .woocommerce-Price-amount { font-family: var(--font-display); }
.gf-product-card__view { color: var(--gf-color-dark); white-space: nowrap; }

/* ===================== 14. Carousel ===================== */
.gf-carousel { position: relative; }
.gf-carousel__track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scroll-behavior: smooth; }
.gf-carousel__slide { scroll-snap-align: start; flex-shrink: 0; width: 86%; }
@media (min-width: 640px) { .gf-carousel__slide { width: 62%; } }
@media (min-width: 768px) { .gf-carousel__slide { width: 46%; } }
@media (min-width: 1024px) { .gf-carousel__slide { width: 32%; } }
.gf-carousel__nav { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; }
.gf-carousel__nav-btn {
	width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	transition: transform 0.3s ease; border: 1px solid var(--gf-color-border); color: var(--gf-color-dark);
}
.gf-carousel__nav-btn:hover { transform: translateY(-3px); }
.gf-carousel__nav-btn--primary { background: var(--gf-color-primary); color: var(--gf-color-ivory); border: none; }

/* ===================== 15. Inspire grid ===================== */
.gf-inspire-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .gf-inspire-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gf-inspire-grid { grid-template-columns: 1fr 1fr 1fr; } }
.gf-inspire-tile { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 1 / 1; margin: 0; }
.gf-inspire-tile__img { transition: transform 1.2s ease; }
.gf-inspire-tile:hover .gf-inspire-tile__img { transform: scale(1.06); }
.gf-inspire-tile__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; color: var(--gf-color-ivory); background: linear-gradient(180deg, transparent, hsla(193,64%,10%,0.8)); }

/* ===================== 16. Ticker ===================== */
.gf-ticker-section { overflow: hidden; }
.gf-ticker-wrap { margin-top: 2.5rem; }
.gf-ticker-track { padding: 0; }
.gf-ticker-group { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; flex-shrink: 0; }
.gf-ticker-word { color: hsla(38,44%,96%,0.85); font-size: 3rem; line-height: 1; white-space: nowrap; }
@media (min-width: 768px) { .gf-ticker-word { font-size: 6rem; } }
.gf-ticker-dot { color: var(--gf-color-primary); }

/* ===================== 17. Steps ===================== */
.gf-steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .gf-steps-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gf-steps-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.gf-step-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; }
.gf-step-card__num { font-size: 2.2rem; color: var(--gf-color-primary); }
.gf-step-card__title { margin-top: 0.75rem; font-size: 1.55rem; }
.gf-step-card__body { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.6; color: var(--gf-color-muted-foreground); }

/* ===================== 18. Financing ===================== */
.gf-financing { position: relative; padding: 6rem 0; overflow: hidden; }
@media (min-width: 768px) { .gf-financing { padding: 8rem 0; } }
.gf-financing__bg { position: absolute; inset: 0; }
.gf-financing__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, hsla(193,64%,10%,0.94) 0%, hsla(193,64%,10%,0.72) 100%); }
.gf-financing__content { position: relative; z-index: 2; }
.gf-financing__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .gf-financing__actions { flex-direction: row; } }

/* ===================== 19. Delivery ===================== */
.gf-delivery-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .gf-delivery-grid { grid-template-columns: 1fr 1fr; } }
.gf-delivery-card { display: flex; flex-direction: column; height: 100%; padding: 2rem; }
.gf-delivery-card__icon { color: var(--gf-color-primary); }
.gf-delivery-card__title { margin-top: 1.25rem; font-size: 1.85rem; }
.gf-delivery-card__body { margin-top: 0.75rem; color: var(--gf-color-muted-foreground); line-height: 1.6; }
.gf-delivery-cta { margin-top: 2rem; }

/* ===================== 20. Testimonials ===================== */
/* Match Lovable: grid grid-cols-1 md:grid-cols-3 gap-6 items-stretch + h-full flex flex-col p-8 */
.gf-testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; width: 100%; }
@media (min-width: 768px) { .gf-testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; } }
.gf-testimonial-card {
	display: flex; flex-direction: column; height: 100%; width: 100%; min-width: 0;
	padding: 2rem; margin: 0; min-height: 0; box-sizing: border-box;
}
.gf-testimonial-card__badge { align-self: flex-start; padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--gf-color-muted); color: var(--gf-color-muted-foreground); font-size: 0.875rem; }
.gf-testimonial-card__text { margin-top: 1.25rem; color: var(--gf-color-muted-foreground); line-height: 1.625; flex: 1; }
.gf-testimonial-card__footer { margin-top: 1.5rem; color: var(--gf-color-muted-foreground); font-size: 0.875rem; }
.gf-testimonials-cta { margin-top: 2rem; }

/* ===================== 21. Why us ===================== */
.gf-why-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 640px) { .gf-why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gf-why-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.gf-why-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; }
.gf-why-card__icon { color: var(--gf-color-primary); display: inline-flex; }
.gf-why-card__title { margin-top: 1.25rem; font-size: 1.5rem; }
.gf-why-card__body { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.6; color: var(--gf-color-muted-foreground); }

/* ===================== 22. About ===================== */
.gf-about { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .gf-about { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.gf-about__body { margin-top: 1.5rem; font-size: 1.05rem; }
.gf-about__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .gf-about__actions { flex-direction: row; } }
.gf-about__media { position: relative; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-elevated); min-height: 260px; }
@media (min-width: 1024px) { .gf-about__media { aspect-ratio: auto; height: 100%; } }

/* ===================== 23. FAQ ===================== */
.gf-faq { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .gf-faq { grid-template-columns: 1fr 2fr; } }
.gf-faq-accordion { border-color: var(--gf-color-border); }
.gf-faq-item { border-top: 1px solid var(--gf-color-border); }
.gf-faq-item:last-child { border-bottom: 1px solid var(--gf-color-border); }
.gf-faq-item__question { width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; text-align: left; }
.gf-faq-item__q { font-size: 1.35rem; line-height: 1.3; }
@media (min-width: 768px) { .gf-faq-item__q { font-size: 1.55rem; } }
.gf-faq-item__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gf-color-muted); color: var(--gf-color-dark); transition: background 0.3s ease, color 0.3s ease; }
.gf-faq-item.is-open .gf-faq-item__icon { background: var(--gf-color-primary); color: var(--gf-color-ivory); }
.gf-faq-item__icon .icon-minus { display: none; }
.gf-faq-item.is-open .gf-faq-item__icon .icon-plus { display: none; }
.gf-faq-item.is-open .gf-faq-item__icon .icon-minus { display: block; }
.gf-faq-item__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.gf-faq-item__answer p { padding: 0 3rem 1.5rem 0; color: var(--gf-color-muted-foreground); line-height: 1.6; }
.gf-faq-item.is-open .gf-faq-item__answer { max-height: 600px; }

/* ===================== 24. Contact section ===================== */
.gf-contact { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .gf-contact { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.gf-contact__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.gf-contact__link { display: flex; align-items: flex-start; gap: 0.75rem; }
.gf-contact__link-icon { color: var(--gf-color-primary); flex-shrink: 0; margin-top: 0.15rem; }
.gf-contact__link-label { display: block; color: hsla(38,44%,96%,0.6); }
.gf-contact__link-value { display: block; font-size: 1.05rem; color: var(--gf-color-ivory); margin-top: 0.15rem; overflow-wrap: break-word; word-break: break-word; }
.gf-contact__form-wrap { min-width: 0; }
.gf-contact__success { padding: 2rem; border-radius: 4px; background: hsla(38,44%,96%,0.08); color: var(--gf-color-ivory); }
.gf-contact__success h3 { font-size: 1.8rem; }
.gf-contact__success p { margin-top: 0.75rem; color: hsla(38,44%,96%,0.8); }

/* ===================== 25. Forms (shared: contact page, contact modal) ===================== */
.theme-contact-form__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .theme-contact-form__grid { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.theme-contact-form__field--full { grid-column: 1 / -1; }
.theme-contact-form__row { display: grid; grid-template-columns: 1fr; gap: 0.65rem; }
@media (min-width: 480px) { .theme-contact-form__row { grid-template-columns: 1fr 1fr; } }
.theme-contact-form__submit { display: flex; justify-content: flex-end; }
.theme-contact-form label, .theme-contact-form__legend { font-size: 0.82rem; font-weight: 600; font-family: var(--font-body); }
.theme-contact-form input, .theme-contact-form select, .theme-contact-form textarea {
	width: 100%; padding: 0.85rem 1rem; border-radius: 4px; font-size: 1rem; color: var(--gf-color-foreground);
	background: var(--gf-color-secondary); border: 1px solid var(--gf-color-border); transition: box-shadow 0.2s ease;
}
.theme-contact-form input:focus, .theme-contact-form select:focus, .theme-contact-form textarea:focus {
	outline: none; box-shadow: 0 0 0 2px var(--gf-color-primary);
}
.theme-contact-form textarea { resize: none; }
.theme-contact-form--page label, .theme-contact-form--page .theme-contact-form__legend { color: hsla(38,44%,96%,0.7); }
.theme-contact-form--page input, .theme-contact-form--page select, .theme-contact-form--page textarea { background: var(--gf-color-ivory); color: var(--gf-color-foreground); }
.theme-contact-form__pref-group { display: flex; gap: 0.5rem; }
.theme-contact-form__pref { padding: 0.65rem 1.25rem; border-radius: 4px; font-size: 0.85rem; border: 1px solid hsla(38,44%,96%,0.3); color: hsla(38,44%,96%,0.8); transition: all 0.2s ease; }
.theme-contact-form__pref.is-active { background: var(--gf-color-primary); color: var(--gf-color-ivory); border-color: var(--gf-color-primary); }

/* ===================== 26. Social hub ===================== */
.gf-social-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch; }
@media (min-width: 768px) { .gf-social-grid { grid-template-columns: repeat(3, 1fr); } }
.gf-social-tile { position: relative; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; }
.gf-social-tile__img { transition: transform 1.2s ease; }
.gf-social-tile:hover .gf-social-tile__img { transform: scale(1.06); }
.gf-social-tile__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, hsla(193,64%,10%,0.3), hsla(193,64%,10%,0.88)); transition: opacity 0.5s ease; }
.gf-social-tile__content { position: absolute; inset: 0; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; color: var(--gf-color-ivory); }
.gf-social-tile__icon { color: var(--gf-color-gold-soft); margin-bottom: 0.75rem; }
.gf-social-tile__label { font-size: 1.6rem; }
.gf-social-tile__handle { font-size: 0.85rem; margin-top: 0.25rem; color: hsla(38,44%,96%,0.8); }
.gf-social-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 3rem; }
@media (min-width: 640px) { .gf-social-actions { flex-direction: row; align-items: center; } }

/* ===================== 27. Footer ===================== */
.site-footer { position: relative; overflow: hidden; background: var(--gf-color-dark); color: var(--gf-color-ivory); }
.site-footer__inner { padding-top: 4rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .site-footer__inner { padding-top: 6rem; padding-bottom: 2.5rem; } }
@media (max-width: 1023px) {
	.site-footer > .container-wide {
		padding-left: 1.75rem;
		padding-right: 1.75rem;
	}
}
@media (max-width: 639px) {
	.site-footer > .container-wide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; } }
.site-footer__brand { grid-column: span 5; }
.site-footer__col { grid-column: span 3; }
.site-footer__col:last-child { grid-column: span 4; }
.site-footer__tagline { margin-top: 1.5rem; max-width: 28rem; font-size: 0.95rem; line-height: 1.6; color: hsla(38,44%,96%,0.72); }
.site-footer__socials { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; }
.site-footer__social-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid hsla(38,44%,96%,0.28); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; color: var(--gf-color-ivory); }
.site-footer__social-btn:hover { transform: translateY(-3px); background: var(--gf-color-primary); border-color: var(--gf-color-primary); }
.site-footer__heading { margin-bottom: 1.25rem; color: var(--gf-color-gold-soft); }
.site-footer__links, .site-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__links a, .site-footer__links button { color: hsla(38,44%,96%,0.72); font-size: 0.9rem; text-align: left; }
.site-footer__contact-link { display: inline-flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: hsla(38,44%,96%,0.72); overflow-wrap: break-word; word-break: break-word; }
.site-footer__contact-link:hover { color: var(--gf-color-gold-soft); }
.site-footer__contact-btn { margin-top: 1.5rem; padding: 0.75rem 1.5rem !important; }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid hsla(38,44%,96%,0.16); display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.85rem; color: hsla(38,44%,96%,0.72); }
@media (min-width: 640px) { .site-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.site-footer__bottom a { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom a:hover { color: var(--gf-color-gold-soft); }
.site-logo-img--footer { height: 5rem !important; }

/* ===================== 28. Back to top ===================== */
.theme-back-to-top {
	position: fixed; bottom: 2rem; right: 2rem; z-index: 50; width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-gold);
	background: var(--gradient-berry); color: var(--gf-color-ivory);
	opacity: 0; pointer-events: none; transition: all 0.3s ease;
}
.theme-back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.theme-back-to-top:hover { transform: scale(1.1) translateY(-3px); }
@media (min-width: 768px) { .theme-back-to-top { width: 48px; height: 48px; } }

/* ===================== 29. Cart drawer + overlay ===================== */
#theme-cart-overlay, #theme-contact-overlay {
	position: fixed; inset: 0; z-index: 60; background: hsla(193,64%,10%,0.72); backdrop-filter: blur(2px);
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.cart-open #theme-cart-overlay { opacity: 1; pointer-events: auto; }
body.contact-open #theme-contact-overlay { opacity: 1; pointer-events: auto; }

#theme-cart-drawer {
	position: fixed; right: 0; top: 0; height: 100%; width: 100%; max-width: 28rem; z-index: 61;
	box-shadow: var(--shadow-elevated); display: flex; flex-direction: column; background: var(--gf-color-ivory);
	transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
body.cart-open #theme-cart-drawer { transform: translateX(0); }
#theme-cart-drawer.is-updating { opacity: 0.6; pointer-events: none; }
.theme-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--gf-color-muted); }
.theme-cart-drawer__title { font-size: 1.6rem; }
.theme-cart-drawer__close { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.theme-cart-drawer__close:hover { background: rgba(0,0,0,0.05); transform: rotate(90deg); }
.theme-cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.theme-cart-drawer__empty-icon { width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; background: var(--gf-color-secondary); color: var(--gf-color-primary); }
.theme-cart-drawer__empty-text { margin-bottom: 1.5rem; color: var(--gf-color-muted-foreground); }
.theme-cart-drawer__items { flex: 1; overflow: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.theme-cart-drawer__item { display: flex; gap: 1rem; padding: 0.75rem; border-radius: 4px; transition: background 0.2s ease; }
.theme-cart-drawer__item:hover { background: var(--gf-color-secondary); }
.theme-cart-drawer__item-image { width: 80px; height: 80px; overflow: hidden; border-radius: 4px; flex-shrink: 0; position: relative; background: var(--gf-color-muted); }
.theme-cart-drawer__item-body { flex: 1; min-width: 0; }
.theme-cart-drawer__item-title { display: block; font-size: 0.95rem; line-height: 1.3; }
.theme-cart-drawer__item-title:hover { color: var(--gf-color-primary); }
.theme-cart-drawer__item-meta { font-size: 0.82rem; color: var(--gf-color-muted-foreground); margin-top: 0.15rem; }
.theme-cart-drawer__item-price { font-size: 0.85rem; font-weight: 600; color: var(--gf-color-primary-deep); margin-top: 0.25rem; }
.theme-cart-drawer__item-controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.6rem; }
.theme-cart-drawer__qty-btn { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gf-color-muted); transition: background 0.2s ease; }
.theme-cart-drawer__qty-btn:hover { background: var(--gf-color-secondary); }
.theme-cart-drawer__qty-value { font-size: 0.85rem; width: 24px; text-align: center; }
.theme-cart-drawer__remove { margin-left: auto; font-size: 0.82rem; color: var(--gf-color-muted-foreground); }
.theme-cart-drawer__remove:hover { color: var(--gf-color-primary-deep); }
.theme-cart-drawer__footer { padding: 1.5rem; border-top: 1px solid var(--gf-color-muted); display: flex; flex-direction: column; gap: 1rem; }
.theme-cart-drawer__subtotal { display: flex; justify-content: space-between; align-items: baseline; }
.theme-cart-drawer__subtotal-value { font-size: 1.9rem; color: var(--gf-color-primary-deep); }
.theme-cart-drawer__checkout { width: 100%; }
.theme-cart-drawer__empty-btn { width: 100%; text-align: center; padding: 0.6rem; font-size: 0.85rem; color: var(--gf-color-muted-foreground); }
.theme-cart-drawer__empty-btn:hover { color: var(--gf-color-primary-deep); }

/* Hide the WooCommerce-injected "View cart" link (Section 11.4.2). */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward { display: none !important; }

/* ===================== 30. Contact modal ===================== */
/* Responsive width; content sized to fit the viewport without scrolling */
#theme-contact-modal {
	position: fixed; inset: 0; z-index: 62; display: flex; align-items: center; justify-content: center;
	padding: max(0.75rem, env(safe-area-inset-top, 0px)) max(0.75rem, env(safe-area-inset-right, 0px)) max(0.75rem, env(safe-area-inset-bottom, 0px)) max(0.75rem, env(safe-area-inset-left, 0px));
	opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
body.contact-open #theme-contact-modal { opacity: 1; pointer-events: auto; }
.theme-contact-modal__panel {
	--modal-pad: clamp(0.85rem, 2.2vw, 1.5rem);
	--modal-gap: clamp(0.45rem, 1.2vh, 0.85rem);
	--modal-field-pad: clamp(0.45rem, 1.1vh, 0.7rem) clamp(0.65rem, 1.5vw, 0.85rem);
	--modal-textarea-min: clamp(2.75rem, 8vh, 4.25rem);
	background: var(--gf-color-ivory); border: 1px solid var(--gf-color-muted); border-radius: 4px;
	/* Grows/shrinks with the viewport; caps around Lovable max-w-lg on mid screens, a bit wider on large */
	width: min(100%, clamp(18rem, 92vw, 36rem));
	max-height: none;
	overflow: visible;
	padding: var(--modal-pad);
	margin: 0;
	position: relative; transform: scale(0.96); transition: transform 0.3s ease;
	display: flex; flex-direction: column; gap: 0;
	box-sizing: border-box;
}
body.contact-open .theme-contact-modal__panel { transform: scale(1); }
.theme-contact-modal__close { position: absolute; top: 0.65rem; right: 0.65rem; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; }
.theme-contact-modal__close:hover { background: rgba(0,0,0,0.05); }
.theme-contact-modal__title {
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.8vw, 1.875rem);
	line-height: 1.15; padding-right: 2rem;
}
.theme-contact-modal__desc {
	margin-top: 0.3rem; color: var(--gf-color-muted-foreground);
	font-size: clamp(0.8rem, 1.6vw, 0.875rem); line-height: 1.4;
}
.theme-contact-modal__meta {
	margin-top: var(--modal-gap); display: flex; flex-wrap: wrap;
	gap: 0.45rem 0.85rem; font-size: 0.8125rem; color: var(--gf-color-muted-foreground);
}
.theme-contact-modal__meta a { display: inline-flex; align-items: center; gap: 0.35rem; transition: color 0.2s ease; }
.theme-contact-modal__meta a svg { flex-shrink: 0; width: 15px; height: 15px; }
.theme-contact-modal__meta a:hover { color: var(--gf-color-primary); }
.theme-contact-modal__body { margin-top: var(--modal-gap); display: flex; flex-direction: column; min-height: 0; }
.theme-contact-modal__body .theme-contact-form {
	margin-top: var(--modal-gap); display: flex; flex-direction: column; gap: var(--modal-gap);
}
.theme-contact-modal__body .theme-contact-form__row { gap: var(--modal-gap); }
.theme-contact-modal__body .theme-contact-form__field { gap: 0.3rem; }
.theme-contact-modal__body .theme-contact-form__field label {
	margin-bottom: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.theme-contact-modal__body .theme-contact-form__field input,
.theme-contact-modal__body .theme-contact-form__field textarea {
	padding: var(--modal-field-pad); font-size: 0.9375rem;
}
.theme-contact-modal__body .theme-contact-form__field textarea {
	min-height: var(--modal-textarea-min); height: var(--modal-textarea-min); resize: none;
}
.theme-contact-modal__body .theme-contact-form__submit { margin-top: 0.15rem; flex-shrink: 0; }
.theme-contact-modal__body .theme-contact-form__submit .doce-btn { gap: 0.5rem; }
.theme-contact-modal__success { text-align: center; padding: 1.5rem 0; }
.theme-contact-modal__success-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; background: var(--gradient-berry); color: var(--gf-color-ivory); box-shadow: var(--shadow-gold); }
.theme-contact-modal__success h3 { font-family: var(--font-display); font-size: 1.5rem; }
.theme-contact-modal__success p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--gf-color-muted-foreground); }

/* Short viewports: keep everything on screen without an inner scrollbar */
@media (max-height: 780px) {
	.theme-contact-modal__panel {
		--modal-pad: 0.85rem 1rem;
		--modal-gap: 0.4rem;
		--modal-field-pad: 0.4rem 0.7rem;
		--modal-textarea-min: 2.5rem;
	}
	.theme-contact-modal__title { font-size: 1.35rem; }
	.theme-contact-modal__desc { font-size: 0.8rem; margin-top: 0.2rem; }
	.theme-contact-modal__meta { font-size: 0.75rem; }
}
@media (max-height: 640px) {
	.theme-contact-modal__panel {
		--modal-pad: 0.7rem 0.85rem;
		--modal-gap: 0.3rem;
		--modal-textarea-min: 2.15rem;
	}
	.theme-contact-modal__meta { display: none; }
}

/* ===================== 31. WooCommerce: add-to-cart button override (Section 11.4.1) ===================== */
.single_add_to_cart_button.button,
.add_to_cart_button.button,
a.single_add_to_cart_button,
a.add_to_cart_button {
	background-color: var(--gf-color-primary) !important;
	color: var(--gf-color-button-text) !important;
	border: none !important;
	border-radius: var(--btn-radius) !important;
	min-height: var(--btn-height) !important;
	padding: var(--btn-padding) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: var(--font-body) !important;
	font-size: var(--btn-font-size) !important;
	font-weight: var(--btn-font-weight) !important;
	letter-spacing: var(--btn-letter-spacing) !important;
	text-transform: var(--btn-text-transform) !important;
	cursor: pointer !important;
	transition: opacity 0.2s ease !important;
	box-shadow: var(--shadow-gold);
}
.single_add_to_cart_button.button:hover,
.add_to_cart_button.button:hover {
	opacity: 0.85 !important;
	background-color: var(--gf-color-primary) !important;
	color: var(--gf-color-button-text) !important;
}
.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
	cursor: not-allowed !important;
	opacity: 0.4 !important;
	pointer-events: none !important;
}
.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
	opacity: 0.4 !important;
	background-color: var(--gf-color-primary) !important;
}
.ajax_add_to_cart.theme-btn-loading { opacity: 0.6 !important; pointer-events: none !important; cursor: wait !important; }
.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after { display: none !important; }

/* Buy Now keeps choc (teal) even though it shares WC add-to-cart classes. */
.single_add_to_cart_button.doce-btn-choc,
a.single_add_to_cart_button.doce-btn-choc,
.gf-buy-now-btn.button {
	background-color: var(--gf-color-dark) !important;
	color: var(--gf-color-ivory) !important;
	box-shadow: none;
}
.single_add_to_cart_button.doce-btn-choc:hover,
a.single_add_to_cart_button.doce-btn-choc:hover,
.gf-buy-now-btn.button:hover {
	opacity: 1 !important;
	background-color: var(--gf-color-dark-alt) !important;
	color: var(--gf-color-ivory) !important;
	box-shadow: var(--shadow-elevated);
	transform: translateY(-3px);
}

/* ===================== 32. Single product page ===================== */
.single-product-main.cs-section-cream { background-color: var(--gf-color-ivory); }
.gf-product-breadcrumb {
	padding: 1.5rem 0; font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--gf-color-muted-foreground); font-family: var(--font-body); font-weight: 600;
}
.gf-product-breadcrumb a { transition: color 0.2s ease; }
.gf-product-breadcrumb a:hover { color: var(--gf-color-primary); }
.gf-product-breadcrumb__sep { margin: 0 0.5rem; opacity: 0.5; }
.gf-product-breadcrumb__current { color: var(--gf-color-foreground); }

.gf-product-layout, .theme-product-layout {
	display: grid; grid-template-columns: 1fr; gap: 2.5rem;
	padding-top: 0.5rem; padding-bottom: 6rem; min-width: 0; align-items: start;
}
@media (min-width: 1024px) {
	.gf-product-layout, .theme-product-layout { grid-template-columns: 7fr 5fr; gap: 4rem; }
}
.gf-product-gallery, .theme-product-gallery { min-width: 0; max-width: 100%; }
.gf-product-gallery__main {
	display: block; width: 100%; height: 0; padding-bottom: 75%; /* 4:3 — definite CB for abs cover */
	overflow: hidden; border-radius: 4px;
	box-shadow: var(--shadow-elevated); position: relative; background: var(--gf-color-muted); cursor: zoom-in;
}
.gf-product-gallery__main > .gf-product-gallery__img,
.gf-product-gallery__main > img {
	position: absolute !important;
	top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
	inset: 0 !important;
	width: 100% !important; height: 100% !important;
	max-width: none !important; max-height: none !important;
	object-fit: cover !important; object-position: center;
}
.gf-product-gallery__img { transition: transform 0.7s ease; }
.gf-product-gallery__main:hover .gf-product-gallery__img { transform: scale(1.05); }
.gf-product-thumbnails, .theme-product-thumbnails {
	margin-top: 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; max-width: 100%;
}
.gf-product-thumb {
	position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: 4px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	box-shadow: 0 0 0 1px var(--gf-color-muted); background: var(--gf-color-muted);
}
.gf-product-thumb:hover { transform: translateY(-4px); }
.gf-product-thumb.is-active { box-shadow: 0 0 0 2px var(--gf-color-primary); }

.gf-product-info, .theme-product-info { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
	.gf-product-info, .theme-product-info { position: sticky; top: 8rem; align-self: start; }
}
.gf-product-info .cs-label,
.gf-product-option__label { font-size: 0.875rem; }
.gf-product-info__title, .product-title {
	font-family: var(--font-display); font-weight: 400;
	margin-top: 1.25rem; margin-bottom: 1.25rem;
	font-size: 1.875rem; line-height: 1.04; color: var(--gf-color-foreground);
}
@media (min-width: 768px) { .gf-product-info__title, .product-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .gf-product-info__title, .product-title { font-size: 3.1rem; } }
.gf-product-info__price { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1.5rem; }
.gf-product-info__price-value { font-size: 2.25rem; color: var(--gf-color-primary-deep); }
.gf-product-info__price-currency { font-size: 0.875rem; color: var(--gf-color-muted-foreground); }
.gf-product-info__stock--out {
	display: inline-block; margin-bottom: 1rem; padding: 0.4rem 0.85rem; border-radius: 999px;
	background: var(--gf-color-muted); color: var(--gf-color-muted-foreground); font-size: 0.82rem; font-weight: 600;
}
.gf-product-info__description { color: var(--gf-color-muted-foreground); line-height: 1.65; margin-bottom: 2rem; font-size: 1rem; }
.gf-product-info__description p { margin: 0; }
.gf-product-option { margin-bottom: 1.5rem; }
.gf-product-option__label { margin-bottom: 0.75rem; color: var(--gf-color-muted-foreground); }
.gf-product-option__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gf-product-option__pill {
	padding: 0.625rem 1rem; border-radius: 4px; font-size: 0.875rem; font-family: var(--font-body);
	border: 1px solid var(--gf-color-border); color: var(--gf-color-foreground); transition: all 0.2s ease;
}
.gf-product-option__pill.is-active {
	background: var(--gf-color-dark); color: var(--gf-color-ivory); border-color: var(--gf-color-dark);
}

.single-product .theme-add-to-cart-area,
.single-product .gf-add-to-cart-area,
.gf-product-actions {
	display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem;
}
@media (min-width: 640px) {
	.single-product .theme-add-to-cart-area,
	.single-product .gf-add-to-cart-area,
	.gf-product-actions { flex-direction: row; }
}
.gf-product-actions--secondary { margin-top: 0.75rem; }
.single-product .single_add_to_cart_button,
.gf-product-actions .doce-btn { flex: 1 1 0; min-width: 0; }
.gf-add-to-cart-btn.is-added { opacity: 0.8; pointer-events: none; }
.gf-add-to-cart-btn.is-added .gf-add-to-cart-btn__label { display: none; }
.gf-add-to-cart-btn.is-added .gf-add-to-cart-btn__added { display: inline-flex; align-items: center; gap: 0.5rem; }
.gf-add-to-cart-btn__added[hidden] { display: none; }

.theme-quantity-wrapper, .gf-quantity-wrapper {
	display: inline-flex; align-items: center; border-radius: 4px; overflow: hidden;
	background: var(--gf-color-secondary); border: 1px solid var(--gf-color-muted);
}
.theme-qty-minus, .theme-qty-plus, .gf-qty-btn {
	padding: 0.75rem 1rem; transition: background 0.2s ease; display: inline-flex; align-items: center; justify-content: center;
}
.theme-qty-minus:hover, .theme-qty-plus:hover, .gf-qty-btn:hover { background: var(--gf-color-muted); }
.theme-qty-input, .gf-qty-input {
	width: 48px; min-width: 48px; text-align: center; border: none; background: transparent;
	padding: 0.75rem 0.25rem; -moz-appearance: textfield; font-variant-numeric: tabular-nums;
}
.theme-qty-input::-webkit-outer-spin-button, .theme-qty-input::-webkit-inner-spin-button,
.gf-qty-input::-webkit-outer-spin-button, .gf-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tabular-nums { font-variant-numeric: tabular-nums; }

.gf-product-info__delivery-note {
	display: flex; align-items: flex-start; gap: 0.625rem; margin-top: 1.25rem;
	padding: 0.75rem 1rem; border-radius: 4px; background: var(--gf-color-secondary);
	color: var(--gf-color-muted-foreground); font-size: 0.875rem;
}
.gf-product-info__delivery-note svg { flex-shrink: 0; margin-top: 0.125rem; }
.gf-product-info__dimensions {
	margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--gf-color-border); border-radius: 4px;
}
.gf-product-info__dimensions-label {
	display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; color: var(--gf-color-muted-foreground);
}
.gf-product-info__dimensions ul { display: flex; flex-direction: column; gap: 0.375rem; }
.gf-product-info__dimensions li { font-size: 0.875rem; color: var(--gf-color-muted-foreground); }
.gf-product-info__specs { margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 0.875rem; }
.gf-product-info__specs dt { color: var(--gf-color-muted-foreground); }
.gf-product-info__specs dd { margin-top: 0.25rem; color: var(--gf-color-foreground); }
.gf-product-info__details, .woocommerce-product-details__short-description, .woocommerce-variation-description, .posted_in {
	overflow-wrap: break-word; word-break: break-word;
}
.gf-product-info__details { margin-top: 2rem; border-top: 1px solid var(--gf-color-border); }
.gf-product-info__details-toggle {
	width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; text-align: left;
}
.gf-product-info__details-toggle .cs-label { transition: color 0.2s ease; }
.gf-product-info__details-toggle:hover .cs-label { color: var(--gf-color-primary); }
.gf-product-info__details-toggle svg { transition: transform 0.3s ease; flex-shrink: 0; }
.gf-product-info__details-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.gf-product-info__details-body { padding-bottom: 1.5rem; }
.gf-product-info__details-body ul { display: flex; flex-direction: column; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.gf-product-info__details-body li {
	display: flex; align-items: flex-start; font-size: 0.9375rem; color: var(--gf-color-muted-foreground);
}
.gf-product-info__details-body li::before {
	content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gf-color-primary);
	margin: 0.55rem 0.75rem 0 0; flex-shrink: 0;
}
.gf-product-info__details-body[hidden] { display: none; }

.gf-related-products { padding: 5rem 0; border-top: 1px solid var(--gf-color-border); }
.gf-related-products__head { margin-bottom: 2.5rem; }

#theme-lightbox {
	position: fixed; inset: 0; z-index: 100; background: hsla(193,64%,8%,0.93); backdrop-filter: blur(4px);
	display: flex; align-items: center; justify-content: center; padding: 1rem;
}
@media (min-width: 768px) { #theme-lightbox { padding: 2.5rem; } }
#theme-lightbox[hidden] { display: none; }
#theme-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; cursor: default; }
.theme-lightbox__close {
	position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255,255,255,0.1); color: #fff; display: flex; align-items: center; justify-content: center;
	transition: background 0.2s ease;
}
@media (min-width: 768px) { .theme-lightbox__close { top: 1.5rem; right: 1.5rem; } }
.theme-lightbox__close:hover { background: rgba(255,255,255,0.25); }

/* ===================== 33. Generic page / 404 ===================== */
/* Vertical only — horizontal padding comes from .container-wide (do not zero it). */
.gf-page { padding-top: 3rem; padding-bottom: 5rem; min-height: 40vh; }
@media (max-width: 1023px) {
	.container-wide.gf-page {
		padding-left: 1.75rem;
		padding-right: 1.75rem;
	}
}
@media (max-width: 639px) {
	.container-wide.gf-page {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
.page-title { font-size: 2.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }
.gf-404 { min-height: 60vh; display: flex; align-items: center; }
.gf-404__inner { text-align: center; padding: 5rem 0; }
.gf-404__body { margin: 1.25rem auto 2rem; max-width: 30rem; }

/* ===================== 34. WooCommerce notices (Section 14.1) ===================== */
.single-product .woocommerce-message, .single-product .woocommerce-info { display: none; }
#theme-cart-drawer .woocommerce-message { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--gf-color-secondary); border: 1px solid var(--gf-color-border); border-radius: 4px;
	padding: 1rem 1.25rem; font-size: 0.9rem; color: var(--gf-color-foreground); list-style: none; margin-bottom: 1.5rem;
}

/* ===================== 35. Checkout / Cart / My Account Blocks (Section 13) ===================== */
body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main,
body.woocommerce-account .site-main {
	padding-top: 2rem;
	padding-bottom: 4rem;
}
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-checkout .wc-block-cart-items {
	font-family: var(--font-body);
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
	min-width: 0;
	width: 100%;
	max-width: none;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select {
	width: 100% !important;
	max-width: none !important;
	border-radius: 4px;
	border-color: var(--gf-color-border);
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus {
	outline: none; box-shadow: 0 0 0 2px var(--gf-color-primary);
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-checkout {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
	body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--checkout-gap);
		align-items: start;
	}
}
body.woocommerce-checkout .wc-block-components-notice-banner { grid-column: 1 / -1; }

body.woocommerce-checkout .wc-block-checkout__sidebar {
	background-color: var(--gf-color-secondary);
	border-radius: var(--card-radius);
	padding: var(--section-padding);
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	background-color: var(--gf-color-primary) !important;
	border-radius: var(--btn-radius) !important;
	text-transform: var(--btn-text-transform);
	letter-spacing: var(--btn-letter-spacing);
	font-weight: var(--btn-font-weight);
}

/* Cart & My Account width/alignment parity (Section 13.7) */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-account .woocommerce-MyAccount-content {
	max-width: none;
}
@media (min-width: 768px) {
	body.woocommerce-cart .wp-block-woocommerce-cart {
		display: grid; grid-template-columns: 1fr 1fr; gap: var(--checkout-gap); align-items: start;
	}
}

/* ===================== 36. Thank you page (Section 22.8) ===================== */
body.theme-thankyou-page { overflow-x: hidden; }
.gf-thankyou { max-width: 42rem; margin: 0 auto; text-align: center; padding: 3rem 0; }
.gf-thankyou__icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--gradient-berry); color: var(--gf-color-ivory); box-shadow: var(--shadow-gold); }
.gf-thankyou__note { margin: 1rem 0 2rem; color: var(--gf-color-muted-foreground); }
.gf-thankyou__cta { margin-top: 1rem; }
body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title { padding: 0 0 1rem 0; text-align: center; }
body.theme-thankyou-page .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; list-style: none; padding: 1rem 0; margin: 0 0 2rem; border-top: 1px solid var(--gf-color-border); border-bottom: 1px solid var(--gf-color-border); }
body.theme-thankyou-page .woocommerce-order-details table { width: 100%; table-layout: fixed; border-collapse: collapse; }
body.theme-thankyou-page .woocommerce-order-details tfoot th { text-align: left; }
body.theme-thankyou-page .woocommerce-order-details tfoot td { text-align: right; }
body.theme-thankyou-page .woocommerce-customer-details { display: flex; flex-direction: column; gap: 1.5rem; text-align: left; }
body.theme-thankyou-page .woocommerce-customer-details address { max-width: 480px; overflow-wrap: break-word; margin: 0 auto; }
@media (min-width: 768px) {
	body.theme-thankyou-page .woocommerce-customer-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}
