/* Outage Kits: site-wide pieces from the plugin (header widgets, kit cards). */

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Header "Build my kit" / "My kit · N items" ------------------------------ */
.ok-kit-btn { margin: 0; }
.ok-kit-btn__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border-radius: 8px;
	background: #F0B24A;
	color: #2E2005 !important;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .2s, border-color .2s;
}
.ok-kit-btn__link:hover { background: #F4C26A; }
.ok-kit-btn.has-kit .ok-kit-btn__link {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .35);
	color: #fff !important;
	font-size: 14px;
}
.ok-kit-btn.has-kit .ok-kit-btn__link:hover { border-color: rgba(255, 255, 255, .7); }
.ok-kit-btn__count { color: #CFE3DF; font-weight: 500; font-variant-numeric: tabular-nums; }

/* US / Canada switch ---------------------------------------------------- */
.ok-market {
	display: inline-flex;
	padding: 3px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, .28);
	gap: 2px;
}
.ok-market__opt {
	min-width: 38px;
	height: 32px;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #CFE3DF;
	font: 600 13px/1 Figtree, system-ui, sans-serif;
	letter-spacing: .02em;
	cursor: pointer;
}
.ok-market__opt[aria-pressed="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
.ok-market__opt:hover { color: #fff; }

/* Checklist tools (Print / Clear ticks) ---------------------------------- */
.ok-check-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 4px; }
.ok-check-tools button {
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	padding: 10px 16px;
	border-radius: 10px;
	cursor: pointer;
	border: 2px solid #1D5C57;
	background: #1D5C57;
	color: #fff;
}
.ok-check-tools button:hover { background: #154643; border-color: #154643; }
.ok-check-tools .ok-check-tools__clear { background: transparent; color: #1D5C57; }
.ok-check-tools .ok-check-tools__clear:hover { background: #E1EDEA; }
.ok-check-tools button[hidden] { display: none; }
.ok-check-tools__note { flex-basis: 100%; margin: 0; font-size: 14px; color: #4F5B59; }

/* Our picks (product explainers) ----------------------------------------- */
.ok-picks { margin-top: 2.4em; padding: 24px; background: #FFFDF8; border: 1px solid #E3DCCD; border-radius: 12px; }
.ok-picks__title { margin: 0 0 6px; }
.ok-picks__intro { margin: 0 0 16px; font-size: 16px !important; color: #4F5B59; }
.ok-picks__market[hidden] { display: none; }
.ok-picks__row { margin: 22px 0 8px; font-size: 17px; }
.ok-picks__list { list-style: none; margin: 0; padding: 0; }
.ok-pick { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid #F1ECE2; font-size: 16px !important; }
.ok-picks__list .ok-pick:first-child { border-top: 0; }
.ok-pick__img { display: grid; place-items: center; width: 72px; height: 72px; background: #fff; border-radius: 8px; overflow: hidden; }
.ok-pick__img img { max-width: 64px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.ok-pick__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ok-pick__name { font-weight: 700; color: #1E2B2A !important; text-decoration: none; line-height: 1.3; }
.ok-pick__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.ok-pick__spec { font-size: 14px; color: #4F5B59; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ok-pick__price { font-size: 18px; font-weight: 800; color: #1E2B2A; white-space: nowrap; }
.ok-picks__foot { margin: 18px 0 0; }
.ok-picks__build { display: inline-block; padding: 12px 18px; border-radius: 10px; background: #1D5C57; color: #fff !important; font-weight: 700; text-decoration: none; }
.ok-picks__build:hover { background: #154643; }
.ok-picks__note { margin: 12px 0 0; font-size: 13px !important; line-height: 1.45 !important; color: #5E6A68; }
@media (max-width: 600px) {
	.ok-picks { padding: 18px 16px; }
	.ok-pick { grid-template-columns: 60px minmax(0, 1fr); gap: 4px 12px; }
	.ok-pick__img { width: 60px; height: 60px; grid-row: span 2; }
	.ok-pick__img img { max-width: 54px; max-height: 54px; }
	.ok-pick__price { grid-column: 2; font-size: 16px; }
}

/* Ready-made kit cards ---------------------------------------------------- */
.ok-kits {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 20px;
}
.ok-kit {
	background: #FFFDF8;
	border: 1px solid #E3DCCD;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	transition: box-shadow .25s, transform .25s;
}
.ok-kit:hover { box-shadow: 0 8px 20px -10px rgba(30, 43, 42, .35); transform: translateY(-2px); }
.ok-kit__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.ok-kit__media {
	height: 180px;
	background: #E4EEEB;
	overflow: hidden;
}
.ok-kit__art { display: block; width: 100%; height: 100%; object-fit: cover; }
.ok-kit__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ok-kit__title { font-family: Nunito, ui-rounded, system-ui, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; margin: 0 0 8px; color: #1E2B2A; }
.ok-kit__blurb { font-size: 15px; line-height: 1.5; margin: 0 0 18px; color: #2B3736; }
.ok-kit__foot {
	margin: auto 0 0;
	padding-top: 14px;
	border-top: 1px solid #E3DCCD;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	color: #4F5B59;
}
.ok-kit__go { color: #1D5C57; font-weight: 700; white-space: nowrap; }
.ok-kit__meta { text-wrap: balance; }

.ok-kit--dark { background: #154643; border-color: #154643; }
.ok-kit--dark::before {
	content: "";
	position: absolute;
	width: 230px;
	height: 230px;
	right: -70px;
	top: -60px;
	border: 26px solid rgba(255, 255, 255, .22);
	border-top-color: transparent;
	border-radius: 50%;
	transform: rotate(0deg);
	opacity: .5;
	pointer-events: none;
}
.ok-kit--dark .ok-kit__media { margin: 12px 12px 0; border-radius: 8px; position: relative; z-index: 1; height: 168px; }
.ok-kit--dark .ok-kit__title { color: #fff; }
.ok-kit--dark .ok-kit__blurb { color: #CFE3DF; }
.ok-kit--dark .ok-kit__foot { border-top-color: rgba(255, 255, 255, .16); color: #CFE3DF; }
.ok-kit--dark .ok-kit__go { color: #F0B24A; }

/* Phones: kit cards become list rows (92 px thumbnail, title, meta, chevron), per the design. */
@media (max-width: 600px) {
	.ok-kits { gap: 10px; }
	.ok-kit__link { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; }
	.ok-kit__media, .ok-kit--dark .ok-kit__media { height: 92px; margin: 0; border-radius: 0; }
	.ok-kit__body { padding: 12px 34px 12px 14px; position: relative; }
	.ok-kit__body::after { content: "›"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 26px; color: #5E6A68; }
	.ok-kit--dark .ok-kit__body::after { color: #F0B24A; }
	.ok-kit__title { font-size: 17px; font-family: Figtree, system-ui, sans-serif; font-weight: 700; letter-spacing: 0; margin-bottom: 2px; }
	.ok-kit__blurb { display: none; }
	.ok-kit__foot { border: 0; padding: 0; font-size: 14px; }
	.ok-kit__go { display: none; }
	.ok-kit--dark::before { display: none; }
}
