.vs-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; background: #fff; color: #333; box-shadow: 0 -6px 30px rgba(0,0,0,.18); border-top: 4px solid #325C56; font-family: var(--wp--preset--font-family--avenir, "Avenir Medium", sans-serif); transform: translateY(100%); transition: transform .25s ease; max-height: 92vh; overflow-y: auto; }
.vs-consent[hidden] { display: none; }
.vs-consent.is-open { transform: translateY(0); }
.vs-consent__inner { max-width: 1500px; margin: 0 auto; padding: 22px 30px; display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.vs-consent__main { flex: 1 1 auto; max-width: 900px; }
.vs-consent__title { font-family: var(--wp--preset--font-family--oswald, Oswald, sans-serif); font-size: 22px; line-height: 1.2; text-transform: uppercase; font-weight: 400; color: #325C56; margin: 0 0 6px; }
.vs-consent__text { font-size: 15px; line-height: 1.5; margin: 0; color: #444; }
.vs-consent__text a { color: #325C56; text-decoration: underline; }
.vs-consent__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: 0 0 auto; }
.vs-btn { font: inherit; font-size: 15px; line-height: 1; padding: 13px 22px; border-radius: 4px; border: 2px solid #325C56; cursor: pointer; background: transparent; color: #325C56; min-height: 44px; }
.vs-btn--primary { background: #B78048; border-color: #B78048; color: #fff; }
.vs-btn--primary:hover { background: #a06f3d; border-color: #a06f3d; }
.vs-btn--secondary:hover { background: #325C56; color: #fff; }
.vs-btn--link { border-color: transparent; text-decoration: underline; padding-left: 8px; padding-right: 8px; }
.vs-btn:focus-visible, .vs-consent a:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.vs-consent__prefs { margin-top: 16px; border-top: 1px solid #ddd; }
.vs-consent__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid #eee; }
.vs-consent__row span { display: block; font-size: 14px; color: #666; margin-top: 3px; }
.vs-switch { position: relative; flex: 0 0 auto; }
.vs-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vs-switch__ui { display: block; width: 50px; height: 28px; border-radius: 28px; background: #bbb; position: relative; transition: background .2s; }
.vs-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.vs-switch input:checked + .vs-switch__ui { background: #325C56; }
.vs-switch input:checked + .vs-switch__ui::after { transform: translateX(22px); }
.vs-switch input:disabled + .vs-switch__ui { opacity: .6; }
.vs-switch input:focus-visible + .vs-switch__ui { outline: 3px solid #1a73e8; outline-offset: 2px; }

.vs-embed-ph { display: flex; align-items: center; justify-content: center; background: #efefe6; border: 1px solid #d9d9c8; border-radius: 6px; box-sizing: border-box; width: 100%; padding: 20px; text-align: center; }
.vs-embed-ph__box p { margin: 0 0 14px; color: #444; font-size: 15px; }
.vs-embed-ph__link { display: inline-block; margin-left: 10px; color: #325C56; font-size: 14px; }

@media (max-width: 767px) {
	.vs-consent__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 18px 20px; }
	.vs-consent__title { font-size: 19px; }
	.vs-consent__text { font-size: 14px; }
	.vs-consent__actions { flex-direction: column; }
	.vs-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .vs-consent, .vs-switch__ui, .vs-switch__ui::after { transition: none; } }

/* tablet: stack text above buttons so the preferences panel has room */
@media (max-width: 1024px) and (min-width: 768px) {
	.vs-consent__inner { flex-direction: column; align-items: stretch; gap: 16px; }
	.vs-consent__main { max-width: none; }
	.vs-consent__actions { flex-wrap: wrap; }
}
