.starbox-tip {
	--starbox-tip-primary: #e4b5a3;
	--starbox-tip-hover: #cf927c;
	--starbox-tip-text: #432b23;
	margin: 1.25rem 0;
	padding: 1.1rem;
	border: 1px solid #efd8cf;
	border-color: color-mix(in srgb, var(--starbox-tip-primary) 68%, white);
	border-radius: 12px;
	background: #fcf7f5;
	background: color-mix(in srgb, var(--starbox-tip-primary) 12%, white);
	color: var(--starbox-tip-text);
}
.starbox-tip h3 { margin: 0 0 .3rem; color: var(--starbox-tip-text); font-size: 1.05rem; line-height: 1.35; }
.starbox-tip > p { margin: 0 0 .85rem; font-size: .94rem; }
.starbox-tip__choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.starbox-tip__choice { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.starbox-tip__choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.starbox-tip__choice span { display: inline-flex; min-height: 2.25rem; align-items: center; padding: .45rem .72rem; border: 1px solid var(--starbox-tip-primary); border-radius: 8px; background: #fff; color: var(--starbox-tip-text); font-size: .9rem; line-height: 1.2; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.starbox-tip__choice:hover span { border-color: var(--starbox-tip-hover); }
.starbox-tip__choice input:checked + span { border-color: var(--starbox-tip-hover); background: var(--starbox-tip-primary); font-weight: 600; }
.starbox-tip__choice input:focus-visible + span { outline: 2px solid var(--starbox-tip-text); outline-offset: 2px; }
.starbox-tip__choice input:disabled + span { cursor: wait; opacity: .65; }
.starbox-tip__custom { max-width: 18rem; margin-top: .9rem; }
.starbox-tip__custom[hidden] { display: none !important; }
.starbox-tip__custom > label { display: block; margin-bottom: .3rem; font-size: .9rem; font-weight: 600; }
.starbox-tip__amount { display: flex; overflow: hidden; border: 1px solid #b8aca8; border-radius: 8px; background: #fff; }
.starbox-tip__amount:focus-within { border-color: var(--starbox-tip-hover); box-shadow: 0 0 0 1px var(--starbox-tip-hover); }
.starbox-tip__amount > span { display: flex; align-items: center; padding: 0 .65rem; background: #f6f2f0; }
.starbox-tip__amount input { width: 100%; min-height: 2.65rem; margin: 0 !important; padding: .55rem .65rem !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--starbox-tip-text); }
.starbox-tip__custom small { display: block; margin-top: .32rem; color: #66534d; font-size: .78rem; }
.starbox-tip__custom .starbox-tip__error { color: #9b2c2c; }
@media (max-width: 480px) {
	.starbox-tip { padding: .9rem; }
	.starbox-tip__choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.starbox-tip__choice span { justify-content: center; text-align: center; }
	.starbox-tip__custom { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .starbox-tip__choice span { transition: none; } }

/* Dropdown presentation for both checkout integrations. */
.starbox-tip__select-label { display:block; margin:0 0 .35rem; font-size:.9rem; font-weight:600; }
.starbox-tip .starbox-tip__select { display:block; box-sizing:border-box; width:100%; min-height:44px; margin:0; padding:.65rem .8rem; border:1px solid var(--starbox-tip-primary); border-radius:8px; background-color:#fff; color:var(--starbox-tip-text); font-family:inherit; font-size:16px; line-height:1.4; }
.starbox-tip .starbox-tip__select:focus-visible { outline:2px solid var(--starbox-tip-hover); outline-offset:2px; }
.starbox-tip .starbox-tip__select:disabled { cursor:wait; opacity:.65; }
