/* ---------------------------------------------------------------
   GiftMatch — homepage styles
   Paste this entire file into: Appearance → Customize → Additional CSS
--------------------------------------------------------------- */

body.gm-app {
	--cream: #F6F1E4;
	--ink: #1E1A22;
	--teal: #0E8C82;
	--purple: #6C3FA6;
	--magenta: #E23F8E;
	--yellow: #F5C94E;
	--border: #DED2C3;
	background: var(--cream);
	color: var(--ink);
	font-family: 'Work Sans', sans-serif;
	line-height: 1.5;
}
body.gm-app h1, body.gm-app h2, body.gm-app h3, body.gm-app h4 {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 700;
	margin: 0;
}
body.gm-app a { text-decoration: none; color: inherit; }
body.gm-app p { margin: 0; }

/* CONFETTI DIVIDER */
.gm-confetti-strip {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='36' viewBox='0 0 140 36'%3E%3Cpath d='M0 20 Q10 6 20 20 T40 20' stroke='%230E8C82' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='55' cy='11' r='4' fill='%23E23F8E'/%3E%3Cpolygon points='78,7 86,21 70,21' fill='%236C3FA6'/%3E%3Ccircle cx='104' cy='27' r='3' fill='%23F5C94E'/%3E%3Cpath d='M92 9 Q103 -4 114 9' stroke='%236C3FA6' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='130' cy='14' r='2.5' fill='%230E8C82'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-size: 140px 36px;
	background-position: center;
}

/* HEADER */
.gm-header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--border); }
.gm-header-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; gap: 16px; }
.gm-logo { display: flex; flex-direction: column; align-items: flex-start; }
.gm-logo-mark { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; color: var(--teal); letter-spacing: -0.3px; }
.gm-logo-tag { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--magenta); }
.gm-nav-desktop { display: none; gap: 22px; }
.gm-nav-link { font-weight: 600; font-size: 14.5px; padding: 6px 2px; border-bottom: 2px solid transparent; white-space: nowrap; }
.gm-nav-link:hover { border-bottom-color: var(--magenta); }
.gm-header-actions { display: flex; align-items: center; gap: 6px; }
.gm-icon-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--border); background: none; cursor: pointer; }
.gm-nav-toggle { display: flex; }
.gm-nav-mobile { display: flex; flex-direction: column; padding: 4px 20px 14px; }
.gm-nav-mobile[hidden] { display: none; }
.gm-nav-mobile-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-weight: 600; }
@media (min-width: 900px) {
	.gm-nav-desktop { display: flex; }
	.gm-nav-toggle { display: none; }
}

/* HERO — centered, no CTAs */
.gm-hero { max-width: 1180px; margin: 0 auto; padding: 48px 20px 40px; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; justify-items: center; text-align: center; }
.gm-hero-text { display: flex; flex-direction: column; align-items: center; max-width: 700px; }
.gm-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.gm-hero h1 { font-size: 38px; line-height: 1.08; letter-spacing: -0.5px; margin-bottom: 14px; }
.gm-hero-text p { font-size: 16.5px; color: #4A4350; max-width: 460px; }
@media (min-width: 900px) {
	.gm-hero { padding: 64px 20px 56px; }
	.gm-hero h1 { font-size: 48px; }
}

/* SECTIONS */
.gm-section { max-width: 1180px; margin: 0 auto; padding: 44px 20px; }
.gm-section-tint { background: #EFE8D6; }
.gm-section-center { text-align: center; }
.gm-section h2 { font-size: 25px; margin-bottom: 6px; }
.gm-section-sub { color: #6B6270; font-size: 14.5px; margin-bottom: 24px; }
.gm-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.gm-empty-state { color: #6B6270; font-size: 14px; font-style: italic; margin-top: 18px; }

/* SCROLL ROW */
.gm-scroll-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; margin-top: 20px; scrollbar-width: thin; }
.gm-scroll-item { flex: 0 0 240px; }

/* PRODUCT CARD */
.gm-card { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; width: 100%; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.gm-card:hover { box-shadow: 0 8px 20px rgba(30,26,34,0.09); transform: translateY(-2px); }
.gm-card-media { position: relative; padding: 20px; display: flex; justify-content: center; background: #FBF8F0; }
.gm-card-media--photo { padding: 0; background: none; }
.gm-card-photo { width: 100%; height: 168px; object-fit: cover; display: block; }
.gm-plaque { width: 100%; max-width: 140px; aspect-ratio: 1; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.gm-sticker { position: absolute; top: 10px; right: 10px; color: #fff; font-family: 'Space Mono', monospace; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 999px; transform: rotate(4deg); text-transform: uppercase; letter-spacing: 0.03em; }
.gm-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gm-card-body h3 { font-size: 15.5px; line-height: 1.25; }
.gm-hook { font-size: 13px; color: #6B6270; font-style: italic; flex: 1; }
.gm-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.gm-price { font-family: 'Space Mono', monospace; font-size: 11px; color: var(--purple); }
.gm-cta { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12.5px; color: var(--teal); }

/* SHOP BY CHILDHOOD DEPARTMENT — de-tiled, centered */
.gm-dept-grid { display: inline-grid; grid-template-columns: repeat(2, auto); gap: 18px 40px; margin-top: 22px; text-align: left; }
.gm-dept-item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--ink); }
.gm-dept-icon { display: inline-flex; }
.gm-dept-icon svg { width: 20px; height: 20px; }
@media (min-width: 700px) { .gm-dept-grid { grid-template-columns: repeat(5, auto); } }

/* GUIDE */
.gm-guide { display: flex; flex-direction: column; gap: 22px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.gm-guide h3 { font-size: 20px; margin: 8px 0 10px; }
.gm-guide p { color: #4A4350; font-size: 14.5px; margin-bottom: 12px; }
.gm-guide .gm-plaque { width: 140px; height: 140px; max-width: 140px; flex-shrink: 0; }
.gm-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13px; color: var(--teal); }
@media (min-width: 700px) { .gm-guide { flex-direction: row; align-items: center; } }

/* FOOTER */
.gm-footer { background: var(--ink); color: #E7E2D6; margin-top: 20px; }
.gm-footer-inner { max-width: 1180px; margin: 0 auto; padding: 40px 20px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.gm-footer-brand p { color: #B9B2C2; font-size: 13.5px; margin-top: 6px; max-width: 260px; }
.gm-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gm-footer-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--yellow); margin-bottom: 8px; }
.gm-footer-cols p { font-size: 13px; color: #B9B2C2; line-height: 1.8; }
.gm-newsletter h4 { font-size: 15px; margin-bottom: 6px; }
.gm-newsletter p { font-size: 13px; color: #B9B2C2; margin-bottom: 12px; }
.gm-newsletter-form { display: flex; gap: 8px; }
.gm-newsletter-form input { flex: 1; padding: 10px 12px; border-radius: 999px; border: 1px solid #4A4350; background: #2A2530; color: #fff; font-size: 13px; }
.gm-newsletter-form button { display: flex; align-items: center; gap: 6px; background: var(--magenta); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; border: none; cursor: pointer; }
.gm-disclosure { border-top: 1px solid #3A3440; padding: 16px 20px; font-size: 11.5px; color: #8A8292; max-width: 1180px; margin: 0 auto; }
@media (min-width: 800px) { .gm-footer-inner { grid-template-columns: 1fr 1.4fr 1fr; } }

/* Accessibility utility (in case the active theme doesn't already provide one) */
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.gm-hero h1,
.gm-hero .gm-eyebrow,
.gm-app h1, .gm-app h2, .gm-app h3, .gm-app h4 {
	color: var(--ink) !important;
}
.gm-eyebrow { color: var(--purple) !important; }