/* Marbella To You — banner de cookies. Mismo lenguaje visual que la web; contrastes WCAG AA; botones de 44 px. */
.mtyc { position: fixed; left: 24px; bottom: 24px; z-index: 100; width: min(440px, calc(100vw - 48px)); color: #2B221C; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; opacity: 0; transform: translateY(12px); visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.mtyc.is-open { opacity: 1; transform: none; visibility: visible; }
.mtyc [hidden] { display: none !important; }
.mtyc__box { position: relative; background: #fff; border: 1px solid #B5A48F; padding: 26px 26px 20px; max-height: calc(100vh - 48px); overflow-y: auto; outline: none; }
.mtyc .mtyc__eyebrow { margin: 0 0 8px; font-size: 11.5px; font-weight: 500; letter-spacing: .26em; color: #5A3E2B; }
.mtyc .mtyc__title { margin: 0 0 12px; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 28px; line-height: 1.1; }
.mtyc .mtyc__text { margin: 0 0 18px; font-size: 14px; line-height: 1.6; color: #5C5148; }
.mtyc .mtyc__text a, .mtyc a { color: #5A3E2B; text-decoration: underline; text-underline-offset: 3px; }
.mtyc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mtyc__btns--3 { grid-template-columns: 1fr 1fr; }
.mtyc__btns--3 .mtyc-btn--line { grid-column: 1 / -1; }
.mtyc button { font: inherit; border-radius: 0; box-shadow: none; text-transform: none; cursor: pointer; }
.mtyc .mtyc-btn { min-height: 46px; padding: 12px 14px; border: 1px solid #3B2A1F; background: #3B2A1F; color: #fff; font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.mtyc .mtyc-btn:hover { background: #5A3E2B; border-color: #5A3E2B; }
.mtyc .mtyc-btn--line { background: #fff; color: #3B2A1F; }
.mtyc .mtyc-btn--line:hover { background: #EFE7DB; color: #5A3E2B; }
.mtyc-link, .mtyc .mtyc-link { display: inline-block; margin-top: 12px; padding: 10px 0; min-height: 44px; border: 0; background: none; color: #5A3E2B; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.mtyc button:focus-visible { outline: 2px solid #5A3E2B; outline-offset: 2px; }
.mtyc .mtyc__x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; color: #5C5148; font-size: 26px; line-height: 1; }

.mtyc__l2 { margin-top: 4px; }
.mtyc-cat { padding: 14px 0; border-top: 1px solid #E3D8C8; }
.mtyc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mtyc-cat__name { font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.mtyc-cat__always { font-size: 12.5px; color: #5C5148; }
.mtyc .mtyc-cat__desc { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: #5C5148; }
.mtyc .mtyc-switch { position: relative; flex: none; width: 48px; height: 28px; padding: 0; border: 1px solid #B5A48F; background: #EFE7DB; }
.mtyc .mtyc-switch span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #B5A48F; transition: transform .2s, background .2s; }
.mtyc .mtyc-switch[aria-checked="true"] { background: #3B2A1F; border-color: #3B2A1F; }
.mtyc .mtyc-switch[aria-checked="true"] span { transform: translateX(20px); background: #fff; }
.mtyc .mtyc-switch::before { content: ""; position: absolute; inset: -9px; } /* zona táctil de 44 px */
.mtyc__l2 .mtyc__btns { margin-top: 16px; }
.mtyc .mtyc__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }

@media (max-width: 759px) {
	.mtyc { left: 0; right: 0; bottom: 0; width: 100%; }
	.mtyc__box { border-width: 1px 0 0; padding: 20px 20px calc(16px + env(safe-area-inset-bottom)); max-height: 85vh; }
	.mtyc .mtyc__title { font-size: 24px; }
	.mtyc .mtyc__text { font-size: 13.5px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .mtyc { transition: none; } }
