/* Visual reference: tabansms.com, 2026-10-12. Presentation only; commerce stays in plugins. */
:root {
  --taban-primary:#2396d3; --taban-secondary:#4bb0e5; --taban-primary-hover:#1578b4;
  --taban-ink:#333; --taban-muted:#666; --taban-line:#e5e7eb; --taban-page:#f3f4f6;
  --taban-radius:48px; --taban-surface:#fff;
}
body.taban-legacy-presentation { background:var(--taban-page); color:var(--taban-ink); font-family:"Yekan Bakh",sans-serif; line-height:1.75; }
.taban-legacy-presentation img { max-width:100%; height:auto; }
.taban-legacy-presentation .site-shell,.taban-legacy-presentation .site-main { width:min(1216px,calc(100% - 64px)); max-width:none; margin-inline:auto; }
.taban-legacy-presentation .site-main { padding:36px 0 0; min-height:65vh; }
.taban-legacy-presentation :is(h1,h2,h3) { color:var(--taban-ink); letter-spacing:normal; }
.taban-legacy-presentation .taban-icon { display:inline-block; flex-shrink:0; width:24px; height:24px; vertical-align:middle; }
.taban-legacy-presentation a:hover { text-decoration:none; }
.taban-legacy-presentation :is(a,button,summary,input,select,textarea):focus-visible { outline:3px solid var(--taban-primary); outline-offset:4px; }
.taban-legacy-presentation .button,:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) :is(a.button,button.button,input.button),.taban-legacy-presentation .wc-block-components-button:not(.is-link) { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:10px 24px; border:1px solid var(--taban-primary); border-radius:999px; background:var(--taban-primary); color:#fff; font:inherit; font-weight:700; line-height:1.5; box-shadow:none; text-decoration:none; cursor:pointer; transition:background .18s,border-color .18s; }
.taban-legacy-presentation .button:hover,:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) :is(a.button,button.button,input.button):hover,.taban-legacy-presentation .wc-block-components-button:not(.is-link):hover { background:var(--taban-primary-hover); border-color:var(--taban-primary-hover); color:white; transform:none; }
.taban-legacy-presentation :is(.button--outline,.button--hero-ghost) { background:transparent; color:var(--taban-primary); border-width:2px; }
.taban-legacy-presentation :is(.button--light,.button--disabled) { background:white; color:var(--taban-primary); }
.taban-legacy-presentation .button--disabled { border-color:#ddd; color:#888; cursor:default; }
/* Same floating, rounded header as the public reference. */
.site-header.legacy-header { position:sticky; top:0; z-index:50; padding:12px 0; border:0; background:transparent; box-shadow:none; }
.admin-bar .legacy-header { top:32px; }
.legacy-header__bar { display:flex; align-items:center; gap:22px; min-height:70px; padding:12px 20px; border:1px solid #e9eaed; border-radius:48px; background:rgb(255 255 255 / 90%); backdrop-filter:blur(6px); }
.legacy-header .site-brand { flex:0 0 128px; }
.legacy-header .site-brand img { display:block; width:128px; max-width:128px; height:auto; }
.legacy-desktop-nav { flex:1; }
.legacy-desktop-nav > ul { display:flex; align-items:center; justify-content:flex-start; gap:20px; list-style:none; padding:0; margin:0; }
.legacy-desktop-nav :is(a,summary) { display:flex; align-items:center; gap:8px; padding:6px 0; color:#555; font-size:14px; font-weight:500; white-space:nowrap; cursor:pointer; }
.legacy-desktop-nav :is(a:hover,a[aria-current=page],summary:hover) { color:var(--taban-primary); }
.legacy-nav-group { position:relative; }
.legacy-nav-group summary { list-style:none; }
.legacy-nav-group summary::-webkit-details-marker { display:none; }
.legacy-nav-group summary .taban-icon { width:12px; height:12px; }
.legacy-nav-group > ul { position:absolute; top:100%; right:-14px; z-index:60; width:max-content; min-width:224px; padding:12px; margin:8px 0 0; list-style:none; border:1px solid #eee; border-radius:24px; background:#fff; box-shadow:0 12px 30px #00000010; }
.legacy-nav-group > ul a { white-space:normal; padding:10px 12px; border-radius:14px; }
.legacy-nav-group > ul a:hover { background:#eaf6fc; }
.legacy-header__actions { display:flex; align-items:center; gap:16px; margin-inline-start:auto; }
.legacy-header__phone { display:flex; flex-direction:column; align-items:center; white-space:nowrap; line-height:1.1; color:var(--taban-primary); font-size:14px; font-weight:700; }
.legacy-header__phone small { margin-bottom:4px; color:#666; font-size:12px; font-weight:400; }
.legacy-header__actions .button { min-height:44px; padding:9px 22px; font-size:14px; }
.legacy-menu-toggle { display:none; border:0; padding:5px; background:transparent; color:var(--taban-primary); cursor:pointer; }
.legacy-mobile-navigation { position:fixed; inset:0; width:min(420px,100%); height:100%; max-height:100%; margin:0 0 0 auto; padding:24px; border:0; background:#fff; color:#333; overflow:auto; }
.legacy-mobile-navigation:not([open]) { display:none; }
.legacy-mobile-navigation::backdrop { background:#10253388; }
.legacy-mobile-navigation__top { display:flex; align-items:center; justify-content:space-between; }
.legacy-mobile-navigation__top button { border:0; border-radius:50%; padding:10px; background:#f3f4f6; cursor:pointer; }
.legacy-mobile-navigation__actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:24px 0; }
.legacy-mobile-navigation nav ul { list-style:none; margin:0; padding:0; }
.legacy-mobile-navigation nav > ul > li { border-bottom:1px solid #eee; }
.legacy-mobile-navigation nav :is(a,summary) { display:flex; align-items:center; justify-content:space-between; padding:14px 0; color:#555; cursor:pointer; list-style:none; }
.legacy-mobile-navigation summary::-webkit-details-marker { display:none; }
.legacy-mobile-navigation nav ul ul { padding-inline-start:16px; }
.legacy-mobile-navigation nav ul ul a { font-size:14px; }
.legacy-mobile-navigation__phone { display:block; padding-top:24px; text-align:center; font-weight:700; }
/* Home follows the original hierarchy, with the richer data kept in the cards. */
.legacy-home section { margin:0 0 32px; }
.legacy-home .legacy-hero { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; padding:8px 0 28px; }
.legacy-hero__copy h1 { margin:18px 0 10px; font-size:36px; font-weight:900; line-height:1.6; }
.legacy-hero__copy h2 { margin:10px 0 16px; font-size:18px; color:#555; font-weight:700; }
.legacy-hero__copy p { margin:8px 0; color:#777; font-size:14px; }
.legacy-hero__list { padding:0; margin:0; list-style:none; color:#666; font-size:16px; line-height:1.8; }
.legacy-hero__list li::before { content:'– '; }
.legacy-hero__image img { display:block; width:100%; }
.legacy-hero__avatars { display:flex; align-items:center; }
.legacy-hero__avatars img { width:26px; height:26px; border-radius:50%; object-fit:cover; margin-inline-end:-7px; border:1px solid #fff; }
.legacy-hero__consultation { margin-top:22px; }
.legacy-hero__consultation .taban-consultation-form { grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:12px; margin:0; }
.legacy-hero__consultation .taban-consultation-form > p:first-child { margin:0; }
.legacy-hero__consultation label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.legacy-hero__consultation .taban-consultation-hint { font-size:11px; }
.legacy-hero__consultation .taban-consultation-message { grid-column:1/-1; min-height:0; }
.legacy-hero__consultation .taban-consultation-message:empty { display:none; }
.taban-legacy-presentation .taban-consultation-form input:not([type=checkbox]),.taban-legacy-presentation .taban-consultation-form textarea { min-height:48px; padding:12px 24px; border:1px solid #e5e7eb; border-radius:28px; background:#fafafa; color:#444; }
.taban-legacy-presentation .taban-consultation-form textarea { border-radius:24px; min-height:108px; }
.taban-legacy-presentation .taban-consultation-form button { min-height:48px; margin:0; padding:12px 24px; border:1px solid var(--taban-primary); border-radius:999px; background:var(--taban-primary); color:#fff; box-shadow:none; font:inherit; font-weight:700; }
.taban-legacy-presentation .taban-consultation-form button:hover { background:var(--taban-primary-hover); }
.legacy-section-heading { margin:0 auto 24px; text-align:center; }
.legacy-section-heading h2 { margin:0 0 8px; font-size:24px; font-weight:700; }
.legacy-section-heading p { margin:0; color:#777; }
.legacy-home .legacy-pricing,.legacy-pricing { padding:24px; border-radius:48px; background:linear-gradient(-275deg,var(--taban-primary),var(--taban-secondary)); }
.legacy-pricing > .legacy-section-heading :is(h2,p) { color:white; }
.legacy-plan-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.legacy-plan { display:flex; flex-direction:column; min-width:0; padding:24px; border:1px solid #e9edf0; border-radius:24px; background:#fff; box-shadow:0 2px 3px #00000004; }
.legacy-plan__top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.legacy-plan__icon .taban-icon { width:40px; height:40px; color:#888; }
.legacy-plan--basic .taban-icon { color:#a66438; }
.legacy-plan--gold .taban-icon { color:#d6a000; }
.legacy-plan--diamond .taban-icon { color:#36b8db; }
.legacy-plan__badge { padding:4px 8px; border-radius:999px; background:#eaf6fc; color:#1578b4; font-size:11px; white-space:nowrap; }
.legacy-plan h3 { margin:12px 0 8px; font-size:18px; }
.legacy-plan__price { display:flex; gap:10px; align-items:flex-end; margin:0 0 16px; color:#444; }
.legacy-plan__price > strong { font-size:48px; line-height:1; font-weight:900; }
.legacy-plan__price > span { display:flex; flex-direction:column; font-size:16px; font-weight:700; line-height:1.3; }
.legacy-plan__price del { font-size:14px; color:#d29d9d; font-weight:400; }
.legacy-plan__price--contact { font-size:28px; margin-top:8px; font-weight:800; }
.legacy-plan__details { list-style:none; padding:0; margin:0 0 18px; color:#666; font-size:13px; line-height:2; }
.legacy-plan__description { margin:0 0 18px; color:#777; font-size:13px; }
.legacy-plan .button { width:100%; margin-top:auto; font-size:15px; padding-inline:8px; }
.legacy-pricing__note { margin-top:24px; padding:12px 18px; border-radius:24px; background:#fff; color:#777; font-size:14px; }
.legacy-pricing__note p { margin:4px 0; }
.legacy-pricing__note a { font-weight:700; }
.legacy-features { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); border:1px solid #e5e7eb; border-radius:48px; background:#ffffffbb; overflow:hidden; }
.legacy-feature { display:flex; flex-direction:column; align-items:center; gap:14px; min-height:132px; padding:24px 10px; border-inline-end:1px solid #e5e7eb; border-bottom:1px solid #e5e7eb; color:#666; text-align:center; font-size:14px; }
.legacy-feature .taban-icon { width:32px; height:32px; color:#666; }
.legacy-feature:hover { background:#fff; color:var(--taban-primary); }
.legacy-feature:hover .taban-icon { color:var(--taban-primary); }
.legacy-home .legacy-video { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; padding:24px; border-radius:48px; background:white; }
.legacy-video__copy { padding:16px; }
.legacy-video__copy h2 { font-size:24px; margin-top:0; }
.legacy-video__copy p { color:#777; }
.legacy-video video { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:28px; }
.legacy-benefit-strip { display:flex; gap:32px; overflow:auto; padding:20px 24px; border:1px solid #e5e7eb; border-radius:24px; background:#ffffff99; scrollbar-width:thin; }
.legacy-benefit-strip span { display:flex; gap:8px; align-items:center; white-space:nowrap; font-size:14px; color:#666; }
.legacy-steps__tabs { display:flex; justify-content:center; gap:12px; margin-bottom:24px; }
.legacy-steps__tabs button { min-height:44px; padding:8px 28px; border:1px solid #e5e7eb; border-radius:999px; background:#fff; color:#666; font:inherit; cursor:pointer; }
.legacy-steps__tabs button[aria-selected=true] { border-color:var(--taban-primary); background:var(--taban-primary); color:white; }
.legacy-step { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:center; min-height:330px; padding:24px 36px; border-radius:48px; background:#fff; }
.legacy-step[hidden] { display:none; }
.legacy-step h3 { font-size:24px; margin:12px 0; }
.legacy-step p { color:#777; max-width:530px; }
.legacy-step > div > .taban-icon { width:42px; height:42px; color:#666; }
.legacy-step img { display:block; width:100%; max-height:300px; object-fit:contain; }
.legacy-device-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.legacy-device { display:flex; flex-direction:column; padding:24px; border-radius:36px; background:#fff; }
.legacy-device img { display:block; width:100%; height:280px; object-fit:contain; }
.legacy-device h3 { font-size:18px; margin:16px 0 8px; line-height:1.65; }
.legacy-device__price { margin-bottom:20px; color:#444; font-size:18px; font-weight:700; }
.legacy-device__price del { font-size:14px; color:#aaa; }
.legacy-device__price ins { text-decoration:none; }
.legacy-device .button { width:100%; margin-top:auto; }
.legacy-home .legacy-device-story { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; padding:36px; border-radius:48px; background:#fff; }
.legacy-device-story > img { display:block; max-height:330px; margin:auto; object-fit:contain; }
.legacy-device-story h2 { margin-top:0; font-size:26px; }
.legacy-device-story p { color:#777; }
.legacy-device-story .service-hero__actions { margin-top:24px; }
.legacy-support { display:grid; grid-template-columns:.8fr 1.2fr; gap:24px; }
.legacy-support__copy,.legacy-support__links { padding:32px; border-radius:48px; background:#fff; }
.legacy-support h2 { margin-top:0; font-size:24px; }
.legacy-support__copy > p { color:#777; }
.legacy-support__links { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-content:center; }
.legacy-support__links a { display:flex; align-items:center; gap:14px; color:#666; }
.legacy-support__links a > .taban-icon,.legacy-support__links a > img { width:40px; height:40px; color:var(--taban-primary); }
.legacy-support__links strong,.legacy-support__links small { display:block; }
.legacy-support__links small { font-size:13px; color:#888; }
.legacy-home .legacy-consultation { display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; padding:36px 40px; border-radius:48px; background:#fff; }
.legacy-consultation h2 { font-size:24px; margin:0 0 8px; }
.legacy-consultation p { color:#777; }
.legacy-consultation > img { display:block; max-height:380px; object-fit:contain; margin:auto; }
.legacy-home .legacy-service-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.legacy-service-links a { display:flex; align-items:center; gap:16px; padding:24px; border:1px solid #e5e7eb; border-radius:28px; color:#555; background:#ffffff99; }
.legacy-service-links .taban-icon { width:32px; height:32px; color:var(--taban-primary); }
.legacy-service-links b,.legacy-service-links small { display:block; }
.legacy-service-links small { font-size:13px; color:#888; }
.legacy-seo { padding:24px; border-radius:28px; background:#ffffffaa; }
.legacy-seo summary { font-weight:700; font-size:20px; cursor:pointer; }
.legacy-seo p { color:#777; }
/* Existing enriched service pages, comparison, cart and signup retain their structure. */
.taban-legacy-presentation .service-page { margin-top:0; }
.taban-legacy-presentation .service-hero { border:0; border-radius:48px; padding:32px 0; background:transparent; gap:48px; }
.taban-legacy-presentation .service-hero::after { display:none; }
.taban-legacy-presentation .service-hero h1 { color:#333; font-size:36px; line-height:1.65; }
.taban-legacy-presentation .service-hero__copy > p { color:#777; }
.taban-legacy-presentation .service-hero__image img { filter:none; animation:none; border-radius:32px; }
.taban-legacy-presentation .eyebrow { border:0; background:transparent; color:var(--taban-primary); padding:0; }
.taban-legacy-presentation .breadcrumbs { color:#888; }
.taban-legacy-presentation .service-content { padding-top:24px; }
.taban-legacy-presentation :is(.service-card,.service-editorial-content,.content-split,.contact-form-panel,.device-availability) { border:0; border-radius:36px; background:#fff; box-shadow:none; }
.taban-legacy-presentation .service-card__index { background:#edf8fe; color:var(--taban-primary); }
.taban-legacy-presentation .service-endcap { border-radius:48px; background:linear-gradient(-275deg,var(--taban-primary),var(--taban-secondary)); }
.taban-legacy-presentation .service-endcap h2,.taban-legacy-presentation .service-endcap p,.taban-legacy-presentation .service-endcap .eyebrow { color:#fff; }
.taban-legacy-presentation .plan-feature-comparison { border:0; background:transparent; padding-inline:0; }
.taban-legacy-presentation .plan-feature-section { border:1px solid #e5e7eb; border-radius:24px; box-shadow:none; }
.taban-legacy-presentation .plan-feature-section > summary { background:#fff; color:#555; }
.taban-legacy-presentation .taban-registration { --reg-blue:var(--taban-primary); --reg-blue-dark:var(--taban-primary-hover); margin-top:10px; }
.taban-legacy-presentation .taban-registration__panel { box-shadow:none; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product,:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) div.product { border:0; border-radius:36px; box-shadow:none; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) div.product .product_title { font-size:30px; }
.taban-legacy-presentation .woocommerce-cart-form,.taban-legacy-presentation .cart_totals,.taban-legacy-presentation .wc-block-cart-items,.taban-legacy-presentation .wc-block-components-sidebar { padding:24px; border:0; border-radius:32px; background:#fff; }
.taban-legacy-presentation .cart-panel-guide { border:0; border-radius:36px; background:#fff; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) table.shop_table { border:0; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) table.shop_table td { border-top:1px solid #eee; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) .cart-collaterals { margin-top:24px; }
.taban-legacy-presentation .wc-block-components-button__text { color:inherit; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) form .form-row :is(input.input-text,textarea,select) { border-radius:22px; border-color:#e5e7eb; background:#fafafa; padding-inline:18px; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) .woocommerce-order,.taban-legacy-presentation .woocommerce-checkout #order_review { border-radius:32px; }
/* Original light footer, without the old site's mismatched contact numbers. */
.legacy-footer { margin-top:64px; padding:0 0 24px; color:#555; background:transparent; }
.legacy-footer > .site-shell { padding-top:24px; border-top:1px solid #d1d5db; }
.legacy-footer__contact { display:flex; gap:32px; align-items:center; margin-bottom:32px; }
.legacy-footer__contact > a { flex:0 0 192px; }
.legacy-footer__contact img { width:192px; }
.legacy-footer__contact ul { display:flex; flex:1; align-items:center; flex-wrap:wrap; gap:18px 24px; padding:0; margin:0; list-style:none; font-size:14px; }
.legacy-footer__contact li,.legacy-footer__contact a { display:flex; align-items:center; gap:8px; color:#666; }
.legacy-footer__contact .taban-icon { width:20px; height:20px; color:#999; }
.legacy-footer__columns { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; }
.legacy-footer__columns details > summary { display:flex; align-items:center; justify-content:space-between; list-style:none; margin-bottom:14px; color:#333; font-weight:700; }
.legacy-footer__columns summary::-webkit-details-marker { display:none; }
.legacy-footer__columns summary .taban-icon { display:none; }
.legacy-footer__columns ul { display:flex; flex-direction:column; gap:12px; margin:0; padding:0; list-style:none; }
.legacy-footer__columns a { display:flex; align-items:center; gap:8px; color:#555; font-size:14px; }
.legacy-footer__columns a:hover { color:var(--taban-primary); }
.legacy-footer__bottom { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:24px; padding-top:16px; border-top:1px solid #d1d5db; }
.legacy-footer__bottom p { font-size:12px; color:#888; }
.legacy-footer__trust { display:flex; gap:16px; align-items:center; }
.legacy-footer__trust img { width:64px; height:64px; object-fit:contain; }
@media(min-width:1280px) { .legacy-header__bar { gap:24px; } .legacy-desktop-nav > ul { gap:24px; } }
@media(max-width:1279px) { .legacy-header__phone small { display:none; } .legacy-header__bar { gap:16px; } .legacy-desktop-nav > ul { gap:16px; } .legacy-header__actions { gap:12px; } .legacy-header__actions .button { padding-inline:18px; } }
@media(max-width:1100px) { .legacy-header__phone { display:none; } .legacy-header__bar { gap:14px; } .legacy-desktop-nav > ul { gap:14px; } }
@media(max-width:1023px) {
  .legacy-menu-toggle { display:block; } .legacy-desktop-nav { display:none; }
  .legacy-plan-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .legacy-features { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .legacy-device-grid { gap:16px; } .legacy-device { padding:18px; } .legacy-device img { height:220px; }
  .legacy-footer__contact { flex-direction:column; align-items:flex-start; gap:20px; }
  .legacy-footer__contact > a { flex-basis:auto; }
}
@media(max-width:767px) {
  .taban-legacy-presentation .site-shell,.taban-legacy-presentation .site-main { width:calc(100% - 32px); }
  .taban-legacy-presentation .site-main { padding-top:20px; }
  .legacy-header__bar { min-height:64px; gap:12px; padding:10px 16px; }
  .legacy-header .site-brand { flex-basis:110px; } .legacy-header .site-brand img { width:110px; }
  .legacy-header__signup { display:none!important; } .legacy-header__actions .button { min-height:40px; padding:8px 16px; font-size:13px; }
  .legacy-home .legacy-hero { grid-template-columns:1fr; padding:0 0 12px; gap:16px; }
  .legacy-hero__image { grid-row:1; } .legacy-hero__image img { max-width:420px; margin:auto; }
  .legacy-hero__copy h1 { font-size:28px; } .legacy-hero__copy h2 { font-size:17px; }
  .legacy-hero__list { font-size:14px; } .legacy-hero__copy > p { font-size:13px; }
  .legacy-home .legacy-pricing,.legacy-pricing { border-radius:32px; padding:20px; }
  .legacy-plan-grid { gap:16px; } .legacy-plan { padding:20px; }
  .legacy-plan__price > strong { font-size:40px; }
  .legacy-section-heading h2 { font-size:22px; }
  .legacy-home .legacy-video,.legacy-step,.legacy-home .legacy-device-story,.legacy-home .legacy-consultation { grid-template-columns:1fr; padding:24px; border-radius:32px; gap:24px; }
  .legacy-video__copy { padding:0; } .legacy-step img { max-height:250px; }
  .legacy-steps__tabs { gap:8px; } .legacy-steps__tabs button { padding:8px 12px; font-size:14px; }
  .legacy-device-grid { grid-template-columns:1fr; } .legacy-device img { height:280px; }
  .legacy-support { grid-template-columns:1fr; } .legacy-support__copy,.legacy-support__links { padding:24px; border-radius:32px; }
  .legacy-home .legacy-service-links { grid-template-columns:1fr; gap:16px; }
  .legacy-consultation > img { grid-row:1; max-height:270px; }
  .taban-legacy-presentation .service-hero { grid-template-columns:1fr; padding:0 0 24px; gap:24px; }
  .taban-legacy-presentation .service-hero h1 { font-size:28px; }
  .taban-legacy-presentation .service-hero__image { grid-row:1; min-height:0; }
  .taban-legacy-presentation .service-hero__image img { max-height:260px; }
  .taban-legacy-presentation :is(.service-editorial-content,.content-split,.service-card,.contact-form-panel,.service-endcap) { border-radius:28px; }
  .legacy-footer__columns { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .legacy-footer__columns summary .taban-icon { display:inline-block; width:16px; height:16px; }
  .legacy-footer__bottom { flex-direction:column-reverse; align-items:flex-start; gap:12px; }
  .legacy-footer { margin-top:40px; }
}
@media(max-width:480px) {
  .legacy-plan-grid { grid-template-columns:1fr; }
  .legacy-features { grid-template-columns:repeat(3,minmax(0,1fr)); border-radius:28px; }
  .legacy-feature { font-size:12px; min-height:110px; padding:20px 6px; gap:10px; }
  .legacy-plan__description { font-size:14px; } .legacy-plan { min-height:300px; }
  .legacy-support__links { gap:20px 12px; padding:24px 18px; }
  .legacy-support__links a { gap:8px; font-size:13px; } .legacy-support__links a > .taban-icon,.legacy-support__links a > img { width:28px; height:28px; }
  .legacy-hero__consultation .taban-consultation-form { grid-template-columns:1fr; }
  .legacy-hero__consultation .taban-consultation-form button { width:100%; }
  .legacy-footer__columns { grid-template-columns:1fr; }
  .legacy-footer__columns details { padding-bottom:16px; border-bottom:1px solid #e5e7eb; }
  .legacy-header__bar { gap:6px; padding-inline:12px; }
  .legacy-header .site-brand { flex-basis:104px; }
  .legacy-header__actions .button { padding-inline:14px; }
}
@media(max-width:782px) { .admin-bar .legacy-header { top:46px; } }
@media(max-width:600px) { .admin-bar .legacy-header { top:0; } }
@media(prefers-reduced-motion:reduce) { .taban-legacy-presentation * { scroll-behavior:auto!important; transition:none!important; } }
.service-hero__subtitle { font-size:18px; font-weight:700; line-height:1.8; margin:4px 0 12px; }
.service-page--contact-us .service-hero__image { order:-1; }
.service-page--contact-us .service-hero__image img { max-height:440px; }
.legacy-contact-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; margin-bottom:32px; }
.legacy-contact-grid > :is(article,a) { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-height:190px; padding:24px; border-radius:36px; background:#fff; color:#666; text-align:center; }
.legacy-contact-grid h2 { margin:0; font-size:18px; }
.legacy-contact-grid p { margin:0; font-size:14px; color:#777; }
.legacy-contact-grid .taban-icon { width:40px; height:40px; color:var(--taban-primary); }
.legacy-contact-grid img { height:40px; width:40px; }
.taban-legacy-presentation .legacy-contact-form { display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; padding:36px 40px; }
.legacy-contact-form > img { margin:auto; max-height:380px; object-fit:contain; }
.legacy-contact-form h2 { margin-top:0; font-size:24px; }
.legacy-contact-form p { color:#777; }
.taban-legacy-presentation .device-product-grid { gap:24px; }
.taban-legacy-presentation .device-product-card { border:0; border-radius:36px; padding:24px; background:white; box-shadow:none; }
@media(max-width:767px) {
 .legacy-contact-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .legacy-contact-grid > :is(article,a) { padding:18px; border-radius:28px; }
 .taban-legacy-presentation .legacy-contact-form { grid-template-columns:1fr; padding:24px; }
 .legacy-contact-form > img { grid-row:1; max-height:260px; }
}
@media(max-width:480px) { .legacy-contact-grid h2 { font-size:15px; } .legacy-contact-grid p { font-size:13px; } }
.taban-legacy-presentation .section-heading h2 { font-size:24px; line-height:1.7; }
.taban-legacy-presentation .section-heading p { color:#777; }
.legacy-blue-heart { color:var(--taban-primary); }
@media(max-width:767px) { .taban-legacy-presentation .section-heading h2 { font-size:22px; } }
/* Signup needs the full viewport so the reference form keeps generous mobile margins. */
.taban-legacy-presentation .site-main:has(.taban-registration) { width:100%; }

/* Replace the former WooCommerce gradient rules, which use !important. */
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) :is(a.button,button.button,input.button),
.taban-legacy-presentation :is(.wc-block-components-button:not(.is-link),.wp-block-button__link,.wp-element-button) {
  background:var(--taban-primary) !important; border-color:var(--taban-primary) !important; border-radius:999px !important;
}
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) :is(a.button,button.button,input.button):hover,
.taban-legacy-presentation :is(.wc-block-components-button:not(.is-link),.wp-block-button__link,.wp-element-button):hover {
  background:var(--taban-primary-hover) !important; border-color:var(--taban-primary-hover) !important; transform:none; box-shadow:none;
}
.taban-legacy-presentation :is(.woocommerce-Price-amount,.woocommerce-Price-amount > bdi) { display:inline-flex; gap:4px; direction:ltr; unicode-bidi:isolate; }
.taban-legacy-presentation .woocommerce-Price-currencySymbol { order:1; }
.taban-legacy-presentation .cart-panel-guide td del { display:block; margin-bottom:4px; }
.taban-legacy-presentation .cart-panel-guide td del .amount { color:#999; font-weight:400; }
.taban-legacy-presentation .cart-panel-guide td ins { display:inline-block; }
@media(max-width:640px) {
  .taban-legacy-presentation .cart-panel-guide :is(table,tbody) { width:100%; min-width:0; }
}

/* Clear sale hierarchy on all device cards and product detail pages. */
.taban-legacy-presentation :is(.price,.legacy-device__price,.plan-card__price) del,
.taban-legacy-presentation :is(.price,.legacy-device__price,.plan-card__price) del :is(.amount,bdi) {
  color:#8a96a3 !important; font-weight:400; font-size:14px; text-decoration:line-through !important; text-decoration-thickness:1.5px; opacity:1;
}
.taban-legacy-presentation :is(.price,.legacy-device__price,.plan-card__price) ins,
.taban-legacy-presentation :is(.price,.legacy-device__price,.plan-card__price) ins .amount {
  color:#0875ad !important; font-size:20px; font-weight:900; text-decoration:none;
}
.taban-legacy-presentation :is(.price,.legacy-device__price,.plan-card__price) { display:flex; align-items:center; justify-content:center; gap:8px 14px; flex-wrap:wrap; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product,
.taban-legacy-presentation :is(.legacy-device,.device-product-card) {
  position:relative; padding:20px; border:1px solid #e6edf3; border-radius:32px; background:linear-gradient(180deg,#fff 72%,#f2f9fd); box-shadow:0 8px 24px #1b526808; transition:box-shadow .2s,border-color .2s;
}
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product:hover,
.taban-legacy-presentation :is(.legacy-device,.device-product-card):hover { border-color:#b8dff2; box-shadow:0 14px 32px #1b526814; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product :is(img,h2) { margin-bottom:16px; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product img { border-radius:22px; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product h2 { font-size:18px; line-height:1.8; min-height:64px; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product .price { margin:12px 0 20px; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product a.button { width:100%; }
:is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) :is(ul.products li.product,div.product) .onsale,
.taban-legacy-presentation :is(.legacy-device,.device-product-card) .onsale {
  position:absolute; top:32px; right:32px; left:auto; z-index:4; min-width:0; min-height:0; margin:0; padding:8px 14px; border:2px solid white; border-radius:999px; background:#d43b40; color:#fff; font-size:14px; font-weight:800; line-height:1.5; box-shadow:0 4px 12px #b5232526;
}
.legacy-header__cart { position:relative; display:flex; align-items:center; justify-content:center; flex-shrink:0; width:34px; height:40px; color:var(--taban-primary); }
.legacy-header__cart-count { position:absolute; top:-2px; right:-5px; min-width:18px; height:18px; padding:0 3px; border:2px solid white; border-radius:20px; background:var(--taban-primary); color:white; font-size:11px; line-height:14px; text-align:center; }
.legacy-header__cart-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.taban-legacy-presentation .taban-cart-replace { display:inline-block; margin:6px; padding:6px 12px; border-radius:16px; background:#e6f5fc; color:#086c9e; font-weight:700; }
@media(min-width:1024px) { .legacy-desktop-nav > ul { gap:16px; } .legacy-header__actions { gap:12px; } }
@media(max-width:767px) { .legacy-header__actions { gap:8px; } .legacy-header__bar { gap:8px; padding-inline:12px; } }
.taban-legacy-presentation :is(a,button).button.button--outline { background:transparent !important; color:var(--taban-primary) !important; }
.taban-legacy-presentation :is(a,button).button.button--outline:hover { background:var(--taban-primary) !important; color:#fff !important; }
@media(max-width:600px) {
  :is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products { grid-template-columns:minmax(0,1fr); }
  :is(.taban-legacy-presentation.woocommerce,.taban-legacy-presentation .woocommerce) ul.products li.product { width:100% !important; margin:0 !important; float:none; }
  .legacy-header__bar { gap:6px; }
  .legacy-header .site-brand { flex:0 0 96px; }
  .legacy-header .site-brand img { width:96px; max-width:96px; }
  .legacy-header__actions { flex-shrink:0; }
  .legacy-header__actions .button { white-space:nowrap; padding-inline:10px; font-size:12px; }
}
