/* Bardwell Pilot Feedback (plan 12, "How it appears on the site"). Gray like the box text, never teal. */

/* The strip is the box's last row, under the store links. bardwell-product-boxes lines it up across a row
   (registered in includes/front.php). */
.bfb-strip { display: block; margin: 14px 0 0; border-top: 1px solid #e2e2e2; padding: 6px 0 0; }

.bfb-open {
	display: inline-flex; align-items: center; gap: 6px;
	background: none; border: 0; padding: 2px 0; margin: 0; box-shadow: none;
	font: inherit; font-size: 13px; line-height: 1.4; color: #8a8a8a; text-transform: none; letter-spacing: normal;
	cursor: pointer;
}
.bfb-open:hover, .bfb-open:focus-visible { color: #555; text-decoration: underline; }
.bfb-open[disabled] { cursor: default; text-decoration: none; color: #8a8a8a; }
.bfb-icon { width: 16px; height: 16px; flex: none; }

.bfb-section { max-width: var(--site_width, 1200px); margin: 0 auto; padding: 2px 30px 0; box-sizing: border-box; }

/* Panel */
.bfb-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 100000; display: flex; align-items: center; justify-content: center; }
.bfb-panel {
	background: #fff; color: #333; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
	border-radius: 8px; box-shadow: 0 8px 30px rgba(0, 0, 0, .25); padding: 20px; box-sizing: border-box; font-size: 15px; line-height: 1.45;
}
.bfb-panel h2 { font-size: 18px; line-height: 1.3; margin: 0 32px 14px 0; padding: 0; text-transform: none; letter-spacing: normal; }
.bfb-close { position: absolute; top: 10px; right: 10px; background: none; border: 0; font-size: 26px; line-height: 1; color: #777; cursor: pointer; padding: 4px 8px; }
.bfb-panel-inner { position: relative; }
.bfb-choices { display: grid; gap: 8px; margin: 0 0 12px; }
.bfb-choice {
	display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
	background: #fff; border: 1px solid #d6d6d6; border-radius: 6px; padding: 10px 12px; font: inherit; color: #333; cursor: pointer;
}
.bfb-choice svg { width: 20px; height: 20px; flex: none; color: #666; }
.bfb-choice[aria-pressed="true"] { border-color: #555; background: #f4f4f4; }
.bfb-field { margin: 0 0 12px; }
.bfb-field label { display: block; font-weight: 600; margin: 0 0 4px; }
.bfb-field textarea, .bfb-field select { width: 100%; box-sizing: border-box; font: inherit; padding: 8px; border: 1px solid #c8c8c8; border-radius: 4px; color: #333; background: #fff; }
.bfb-field select { height: auto; min-height: 40px; line-height: 1.4; }   /* the theme's fixed select height clips the text */
.bfb-field textarea { min-height: 90px; resize: vertical; }
.bfb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bfb-send { background: #333; color: #fff; border: 0; border-radius: 4px; padding: 9px 20px; font: inherit; cursor: pointer; }
.bfb-send[disabled] { opacity: .45; cursor: default; }
.bfb-privacy { font-size: 12px; color: #888; margin: 12px 0 0; }
.bfb-error { color: #b00020; margin: 0 0 10px; }
.bfb-thanks { margin: 8px 0; }

/* Phones: the panel slides up from the bottom. */
@media (max-width: 600px) {
	.bfb-backdrop { align-items: flex-end; }
	.bfb-panel { width: 100%; max-height: 85vh; border-radius: 12px 12px 0 0; animation: bfb-up .2s ease-out; }
}
@keyframes bfb-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .bfb-panel { animation: none; } }
