/* SmartSchools Donations – Donasies storefront. Reads like the shop: white
   product cards on the page grey, site navy buttons. No amounts raised shown. */
.ssd-shop {
	--ssd-navy: #1a284a;
	--ssd-navy-dark: #111b33;
	--ssd-ink: #242429;
	--ssd-muted: #65696f;
	--ssd-line: #e2e4e9;
	color: var(--ssd-ink);
	margin: 0 0 40px;
}
.ssd-shop *, .ssd-shop *::before, .ssd-shop *::after { box-sizing: border-box; }
.ssd-shop a { text-decoration: none; }

/* Buttons – beat the theme's full-width grey .button */
.ssd-shop-bar .button, .ssd-shop .ssd-feature .button {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 6px;
	width: auto !important; min-height: 46px; margin: 0 !important; padding: 10px 20px !important;
	background: var(--ssd-navy) !important; color: #fff !important; border: 0 !important; border-radius: 4px !important;
	font: inherit; font-weight: 600 !important; font-size: 15px !important; line-height: 1.2 !important;
	text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; cursor: pointer; white-space: nowrap;
}
.ssd-shop-bar .button:hover { background: var(--ssd-navy-dark) !important; }
.ssd-shop-bar .button:focus-visible, .ssd-shop-chip:focus-visible, .ssd-shop input:focus-visible { outline: 3px solid rgba(26, 40, 74, .35); outline-offset: 2px; }

/* Heading + intro (editable in Settings or the Elementor widget) */
.ssd-shop-head { margin: 0 0 24px; }
.ssd-shop-title { margin: 0 0 8px !important; padding: 0; font-size: 38px; font-weight: 400; line-height: 1.2; color: var(--ssd-ink); }
.ssd-shop-intro { color: var(--ssd-muted); font-size: 17px; line-height: 1.55; }
.ssd-shop-intro p { margin: 0 0 8px; }
.ssd-shop-intro p:last-child { margin-bottom: 0; }

/* Featured multi-donation card */
.ssd-feature {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	background: var(--ssd-navy); color: #fff !important; border-radius: 6px; padding: 22px 26px; margin: 0 0 24px;
}
.ssd-feature-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ssd-feature-kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.ssd-feature strong { font-size: 22px; font-weight: 600; line-height: 1.3; color: #fff; }
.ssd-feature-text > span:last-child { opacity: .85; font-size: 15px; }
.ssd-shop .ssd-feature .ssd-feature-btn { background: #fff !important; color: var(--ssd-navy) !important; }
.ssd-feature:hover .ssd-feature-btn { background: #eef0f6 !important; }

/* Chips + search */
.ssd-shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; }
.ssd-shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ssd-shop-chip {
	display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px;
	background: #fff; border: 1px solid #d5d8de; color: var(--ssd-ink) !important; font-weight: 500; font-size: 15px; line-height: 1.3;
}
.ssd-shop-chip:hover { border-color: var(--ssd-ink); }
.ssd-shop-chip.is-on { background: var(--ssd-navy); border-color: var(--ssd-navy); color: #fff !important; }
.ssd-shop-search { display: flex; gap: 8px; margin: 0; }
.ssd-shop-search input[type="search"] {
	width: 260px; max-width: 100%; min-height: 46px; margin: 0; padding: 8px 14px;
	background: #fff; border: 1px solid #cfd3da; border-radius: 4px; color: var(--ssd-ink); font: inherit; font-size: 15px; box-shadow: none;
}

/* Donation cards = WooCommerce's own product cards (theme-styled, like Winkel). */
.ssd-shop ul.products { margin-top: 0; }

.ssd-shop-empty { background: #fff; border-radius: 6px; padding: 28px; color: var(--ssd-muted); text-align: center; }
.ssd-shop-pages { display: flex; justify-content: center; gap: 6px; margin: 28px 0 0; }
.ssd-shop-pages a, .ssd-shop-pages span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: #fff; color: var(--ssd-ink) !important; border: 1px solid var(--ssd-line); }
.ssd-shop-pages .is-on { background: var(--ssd-navy); color: #fff !important; border-color: var(--ssd-navy); }

/* Donation product page: back link */
.ssd-back { margin: 0 0 16px; }
.ssd-back a { color: var(--ssd-navy, #1a284a); font-weight: 500; }
.ssd-back a:hover { text-decoration: underline; }

@media (max-width: 600px) {
	.ssd-shop-bar, .ssd-shop-search { width: 100%; }
	.ssd-shop-search input[type="search"] { flex: 1; width: auto; }
	.ssd-feature { padding: 18px; }
	.ssd-feature strong { font-size: 19px; }
	.ssd-shop-title { font-size: 30px; }
}
