
/* Local preview: direct previous/next product category controls. */
.tidal-plan-switcher { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%; }
.tidal-plan-arrow { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--card); color: var(--primary); cursor: pointer; transition: background .15s,border-color .15s; }
.tidal-plan-arrow:hover { background: var(--tidal-blue-3); border-color: var(--tidal-blue-7); }
.tidal-plan-arrow:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media(max-width:640px) { .tidal-plan-switcher { gap: 9px; } .tidal-plan-arrow { flex-basis: 38px; width: 38px; height: 38px; } }

/* Place category arrows beside the product cards, not the heading controls. */
.tidal-plan-carousel { position: relative; padding-inline: 22px; }
.tidal-plan-carousel > .tidal-plan-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; box-shadow: 0 3px 12px #18355812; }
@media(max-width:640px) {
 .tidal-plan-carousel { padding-inline: 15px; }
 .tidal-plan-carousel > .tidal-plan-arrow { top: 245px; width: 36px; height: 36px; }
 .tidal-plan-carousel .tidal-plan-card { padding-inline: 22px; }
}

.tidal-plan-carousel > .tidal-plan-arrow-prev { left: 0; right: auto; }
.tidal-plan-carousel > .tidal-plan-arrow-next { right: 0; left: auto; }

.tidal-plan-carousel > .tidal-plan-arrow {
 width: 46px; height: 68px; border-radius: 12px; border: 1px solid var(--tidal-blue-6);
 background: linear-gradient(180deg,#ffffff,#f2f7ff); color: var(--primary);
 display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
 box-shadow: 0 4px 14px #19477512; padding: 0; transition: background .16s,border-color .16s,box-shadow .16s;
}
.tidal-plan-carousel > .tidal-plan-arrow span { font-size: 10px; font-weight: 600; letter-spacing: 1px; }
.tidal-plan-carousel > .tidal-plan-arrow:hover { background: #eaf3ff; border-color: var(--primary); box-shadow: 0 5px 16px #19477520; }
@media(max-width:640px) { .tidal-plan-carousel > .tidal-plan-arrow { width: 40px; height: 62px; border-radius: 10px; } }

/* Larger icon-only category control. */
.tidal-plan-carousel > .tidal-plan-arrow {
 width: 56px; height: 76px; border-radius: 14px; border: 2px solid #fff;
 background: var(--primary); color: #fff;
 box-shadow: 0 5px 18px #174a8730;
}
.tidal-plan-carousel > .tidal-plan-arrow:hover { background: var(--tidal-blue-10); color: #fff; border-color: #fff; box-shadow: 0 6px 22px #174a8740; }
@media(max-width:640px) { .tidal-plan-carousel > .tidal-plan-arrow { width: 48px; height: 66px; border-radius: 12px; } }

/* Reserve a separate side gutter so the arrow never covers a product CTA. */
.tidal-plan-carousel { padding-inline: 0; }
.tidal-plan-carousel[data-category='recurring'] { padding-right: 68px; }
.tidal-plan-carousel[data-category='permanent'] { padding-left: 68px; }
@media(max-width:640px) {
 .tidal-plan-carousel[data-category='recurring'] { padding-right: 58px; }
 .tidal-plan-carousel[data-category='permanent'] { padding-left: 58px; }
}
