/* [w321emhq_gift] — large, plain, readable. Inherits the theme's fonts and colours where it can. */
.w321emhq-gift { --g-accent: #2271b1; --g-ok: #1d6b35; --g-bad: #a3261b; --g-line: rgba(0,0,0,.18); --g-soft: rgba(0,0,0,.035);
	max-width: 680px; font-size: 18px; line-height: 1.55; }
.w321emhq-gift *, .w321emhq-gift *::before, .w321emhq-gift *::after { box-sizing: border-box; }
.w321emhq-gift fieldset { border: 1px solid var(--g-line); border-radius: 10px; padding: 18px 20px 8px; margin: 0 0 22px; min-width: 0; }
.w321emhq-gift legend { font-weight: 700; font-size: 1.1em; padding: 0 6px; }
.w321emhq-gift label { display: block; font-weight: 600; }
.w321emhq-gift label small, .w321emhq-gift small { font-weight: 400; opacity: .8; font-size: .85em; }
.w321emhq-gift input[type=text], .w321emhq-gift input[type=email], .w321emhq-gift input[type=date],
.w321emhq-gift input[type=time], .w321emhq-gift textarea {
	width: 100%; max-width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; margin-top: 4px;
	border: 2px solid var(--g-line); border-radius: 8px; background: #fff; color: #1d2327; }
.w321emhq-gift input[type=date], .w321emhq-gift input[type=time] { width: auto; }
.w321emhq-gift input:focus, .w321emhq-gift textarea:focus { outline: 3px solid var(--g-accent); outline-offset: 1px; border-color: var(--g-accent); }
.w321emhq-gift p { margin: 0 0 14px; }
.w321emhq-gift-plan { display: flex !important; gap: 12px; align-items: flex-start; padding: 14px; margin: 0 0 12px;
	border: 2px solid var(--g-line); border-radius: 10px; cursor: pointer; }
.w321emhq-gift-plan:has(input:checked) { border-color: var(--g-accent); background: var(--g-soft); }
.w321emhq-gift-plan input { width: 22px; height: 22px; margin-top: 3px; flex: 0 0 auto; }
.w321emhq-gift-plan-body { display: flex; flex-direction: column; font-weight: 400; }
.w321emhq-gift-plan-body strong { font-size: 1.1em; }
.w321emhq-gift-price { font-size: 1.25em; font-weight: 700; }
.w321emhq-gift-inline { display: inline-flex !important; gap: 8px; align-items: center; margin: 0 22px 8px 0; font-weight: 400 !important; }
.w321emhq-gift-inline input { width: 20px; height: 20px; }
.w321emhq-gift-later label { display: inline-block; margin-right: 16px; }
.w321emhq-gift-count { display: block; text-align: right; }
.w321emhq-gift-go { font: inherit; font-weight: 700; font-size: 1.1em; padding: 14px 26px; border: 0; border-radius: 8px;
	background: var(--g-accent); color: #fff; cursor: pointer; }
.w321emhq-gift-go:hover { filter: brightness(1.1); }
.w321emhq-gift-go:disabled { opacity: .6; cursor: wait; }
.w321emhq-gift-go:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
.w321emhq-gift-small { font-size: .85em; opacity: .85; }
.w321emhq-gift-msg, .w321emhq-gift-note { padding: 12px 16px; border-left: 5px solid var(--g-bad); background: #fbf1f0; color: #1d2327; border-radius: 4px; margin: 0 0 18px; }
.w321emhq-gift-note { border-left-color: #888; background: #f6f6f6; }
.w321emhq-gift-note.is-ok { border-left-color: var(--g-ok); background: #f2f8f3; }
.w321emhq-gift-note h2 { margin-top: 0; }
.w321emhq-gift-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .w321emhq-gift fieldset { padding: 14px 14px 4px; } .w321emhq-gift-go { width: 100%; } }
