/* PATCH 17 - TAXI THEME XEVINFAST ADAPTATION
   Visual language adapted from the user-provided XeVinFast frontend:
   1280px shell, clean white surfaces, strong red accent, compact nav,
   editorial cards, responsive two-column content and mobile action bar.
   Scope: body.w11-theme-taxi only. Default theme remains untouched. */
:root{
  --tx-theme-accent:#ec2029;
  --tx-theme-accent-dark:#c81e1e;
  --tx-theme-ink:#1f2937;
  --tx-theme-muted:#667085;
  --tx-theme-bg:#f5f6f8;
  --tx-theme-surface:#fff;
  --tx-theme-border:#e5e7eb;
  --tx-theme-soft:#f8fafc;
  --tx-theme-radius:8px;
  --tx-theme-shadow:0 8px 24px rgba(15,23,42,.08);
  --tx-theme-container:1280px;
}
body.w11-theme-taxi{background:var(--tx-theme-bg);color:var(--tx-theme-ink);font-family:Arial,"Helvetica Neue",sans-serif;}
body.w11-theme-taxi a{color:inherit}
body.w11-theme-taxi .w11-pro-main{min-height:60vh;background:var(--tx-theme-bg)}
.txv-container{width:min(calc(100% - 28px),var(--tx-theme-container));margin:0 auto}
.txv-section{padding:28px 0}.txv-section--white{background:#fff}.txv-section--soft{background:#f7f8fa}
.txv-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 16px}
.txv-section-head h2{margin:0;font-size:26px;line-height:1.25;font-weight:800;color:#20242a}
.txv-section-head p{margin:4px 0 0;color:var(--tx-theme-muted);font-size:14px}
.txv-more{font-weight:700;color:var(--tx-theme-accent)!important;text-decoration:none;font-size:14px}
.txv-card{background:#fff;border:1px solid var(--tx-theme-border);border-radius:var(--tx-theme-radius);box-shadow:0 2px 8px rgba(15,23,42,.04)}

/* NAV - modeled after XeVinFast clean white navigation */
.txv-header{position:relative;z-index:1040;background:#fff;border-bottom:1px solid #eceff3;box-shadow:0 2px 10px rgba(15,23,42,.04)}
.txv-header.is-sticky{position:sticky;top:0}
.txv-topbar{background:#111827;color:#fff;font-size:12px}.txv-topbar .txv-container{min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.txv-topbar a{color:#fff;text-decoration:none}.txv-topbar__links{display:flex;gap:18px;align-items:center}
.txv-navbar{min-height:72px;display:flex;align-items:center;gap:24px}
.txv-brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:180px}.txv-brand img{display:block;max-width:180px;max-height:48px;object-fit:contain}.txv-brand__text{font-size:20px;font-weight:800;color:#111827}
.txv-menu{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0;flex:1;justify-content:center}.txv-menu a{display:flex;align-items:center;height:72px;padding:0 13px;text-decoration:none;font-size:14px;font-weight:700;color:#303742;border-bottom:3px solid transparent}.txv-menu a:hover,.txv-menu a.is-active{color:var(--tx-theme-accent);border-bottom-color:var(--tx-theme-accent)}
.txv-actions{display:flex;align-items:center;gap:8px}.txv-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 14px;border-radius:5px;font-size:13px;font-weight:800;text-decoration:none;border:1px solid var(--tx-theme-accent)}.txv-action--outline{background:#fff;color:var(--tx-theme-accent)!important}.txv-action--primary{background:var(--tx-theme-accent);color:#fff!important}.txv-action:hover{filter:brightness(.96)}
.txv-mobile-toggle{display:none;width:40px;height:40px;border:0;background:transparent;font-size:24px;color:#111827}.txv-mobile-drawer{display:none}

/* HOME */
body.w11-theme-taxi.alo-page-home .alo-home-shell,
body.w11-theme-taxi.alo-page-home .alo-home-marketplace,
body.w11-theme-taxi.alo-page-home .ct-home{background:transparent}
body.w11-theme-taxi.alo-page-home #main-content .container,
body.w11-theme-taxi.alo-page-home #main-content .container-fluid{max-width:var(--tx-theme-container);margin-left:auto;margin-right:auto}
body.w11-theme-taxi.alo-page-home .swiper,
body.w11-theme-taxi.alo-page-home .home-slider,
body.w11-theme-taxi.alo-page-home .alogiare-main-slider{border-radius:0!important;overflow:hidden}
body.w11-theme-taxi.alo-page-home .alo-home-section-title,
body.w11-theme-taxi.alo-page-home .section-title,
body.w11-theme-taxi.alo-page-home h2{letter-spacing:-.2px}
body.w11-theme-taxi.alo-page-home .dtx-card,
body.w11-theme-taxi.alo-page-home .listing-card,
body.w11-theme-taxi.alo-page-home .category-card,
body.w11-theme-taxi.alo-page-home .taxi-core-card{border-radius:6px!important;border:1px solid #e7e9ee!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.05)!important;transition:transform .18s ease,box-shadow .18s ease}
body.w11-theme-taxi.alo-page-home .dtx-card:hover,
body.w11-theme-taxi.alo-page-home .listing-card:hover,
body.w11-theme-taxi.alo-page-home .taxi-core-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(15,23,42,.09)!important}

/* PAGE TYPE / SHOP: preserve current content model, restyle into clean product-detail rhythm */
body.w11-theme-taxi.alo-page-shop-detail .ct5-shop-detail-page,
body.w11-theme-taxi.alo-page-shop-detail .local-service-page,
body.w11-theme-taxi.alo-page-shop-detail .taxi-shop-page{background:var(--tx-theme-bg)!important}
body.w11-theme-taxi.alo-page-shop-detail .ct5-shop-main,
body.w11-theme-taxi.alo-page-shop-detail .ls-page-container,
body.w11-theme-taxi.alo-page-shop-detail .taxi-shop-container,
body.w11-theme-taxi.alo-page-shop-detail .container{max-width:var(--tx-theme-container)}
body.w11-theme-taxi.alo-page-shop-detail .ct5-shop-hero,
body.w11-theme-taxi.alo-page-shop-detail .ls-hero,
body.w11-theme-taxi.alo-page-shop-detail .taxi-shop-hero{border-radius:8px!important;box-shadow:none!important;border:1px solid var(--tx-theme-border)!important;background:#fff!important}
body.w11-theme-taxi.alo-page-shop-detail .ct5-shop-title,
body.w11-theme-taxi.alo-page-shop-detail h1{color:#20242a!important;letter-spacing:-.5px}
body.w11-theme-taxi.alo-page-shop-detail .ct5-panel,
body.w11-theme-taxi.alo-page-shop-detail .money-panel,
body.w11-theme-taxi.alo-page-shop-detail .local-service-panel,
body.w11-theme-taxi.alo-page-shop-detail .taxi-shop-panel{background:#fff!important;border:1px solid var(--tx-theme-border)!important;border-radius:8px!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important}
body.w11-theme-taxi.alo-page-shop-detail .ct5-section-title,
body.w11-theme-taxi.alo-page-shop-detail .money-panel h2,
body.w11-theme-taxi.alo-page-shop-detail .local-service-panel h2{color:#20242a!important;border-left:4px solid var(--tx-theme-accent);padding-left:10px}
body.w11-theme-taxi.alo-page-shop-detail .btn-primary,
body.w11-theme-taxi.alo-page-shop-detail .ct5-btn-primary,
body.w11-theme-taxi.alo-page-shop-detail .taxi-btn-primary{background:var(--tx-theme-accent)!important;border-color:var(--tx-theme-accent)!important;color:#fff!important;border-radius:5px!important}

/* SUPPORTING LISTING: article-like service page */
body.w11-theme-taxi.alo-page-listing-detail .listing-detail-page,
body.w11-theme-taxi.alo-page-listing-detail .ct5-listing-detail{background:var(--tx-theme-bg)!important}
body.w11-theme-taxi.alo-page-listing-detail .ct5-listing-shell,
body.w11-theme-taxi.alo-page-listing-detail .listing-detail-shell,
body.w11-theme-taxi.alo-page-listing-detail .container{max-width:var(--tx-theme-container)}
body.w11-theme-taxi.alo-page-listing-detail .ct5-detail-card,
body.w11-theme-taxi.alo-page-listing-detail .listing-main-card,
body.w11-theme-taxi.alo-page-listing-detail .ct5-content-card{background:#fff!important;border:1px solid var(--tx-theme-border)!important;border-radius:8px!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important}
body.w11-theme-taxi.alo-page-listing-detail h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.2!important;color:#20242a!important;letter-spacing:-.6px}
body.w11-theme-taxi.alo-page-listing-detail .ct5-description,
body.w11-theme-taxi.alo-page-listing-detail .listing-description,
body.w11-theme-taxi.alo-page-listing-detail .seo-content{font-size:16px;line-height:1.8;color:#3b414a}
body.w11-theme-taxi.alo-page-listing-detail .ct5-description h2,
body.w11-theme-taxi.alo-page-listing-detail .listing-description h2,
body.w11-theme-taxi.alo-page-listing-detail .seo-content h2{font-size:23px;line-height:1.35;color:#20242a;margin-top:30px}

/* DIRECTORY + SEARCH */
body.w11-theme-taxi.alo-page-category .ctcat-shell,
body.w11-theme-taxi.alo-page-search .market-search-shell{max-width:var(--tx-theme-container);margin:auto}
body.w11-theme-taxi.alo-page-category .ctcat-item,
body.w11-theme-taxi.alo-page-search .market-search-card{border-radius:6px!important;border-color:var(--tx-theme-border)!important;box-shadow:none!important;background:#fff!important}
body.w11-theme-taxi.alo-page-search .market-search-tabs{background:#fff;border:1px solid var(--tx-theme-border);border-radius:6px;padding:4px}
body.w11-theme-taxi.alo-page-search .market-search-tab.is-active{background:var(--tx-theme-accent)!important;color:#fff!important}

/* NEWS - explicit editorial rewrite through CSS; follows XeVinFast editorial hierarchy */
body.w11-theme-taxi.alo-page-news-index,
body.w11-theme-taxi.alo-page-news-detail,
body.w11-theme-taxi.alo-page-news-category{background:#f4f5f7}
body.w11-theme-taxi .dt-news-page{padding-top:20px!important;padding-bottom:42px!important}
body.w11-theme-taxi .dt-news-shell{max-width:var(--tx-theme-container)!important;margin:auto!important;background:#fff!important;border:1px solid #e7e9ee!important;border-radius:8px!important;padding:24px 28px!important;box-shadow:0 2px 8px rgba(15,23,42,.04)!important}
body.w11-theme-taxi .dt-news-heading h1,
body.w11-theme-taxi .dt-news-title{color:#20242a!important;font-size:clamp(28px,3.2vw,42px)!important;line-height:1.2!important;text-transform:none!important;letter-spacing:-.6px}
body.w11-theme-taxi .dt-news-nav{border-bottom:1px solid #eceff3!important;gap:0!important;overflow:auto}
body.w11-theme-taxi .dt-news-nav a{border-radius:0!important;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:#384250!important;padding:12px 14px!important;font-weight:700!important;white-space:nowrap}
body.w11-theme-taxi .dt-news-nav a.is-active,
body.w11-theme-taxi .dt-news-nav a:hover{color:var(--tx-theme-accent)!important;border-bottom-color:var(--tx-theme-accent)!important}
body.w11-theme-taxi .dt-overlay-card,
body.w11-theme-taxi .dt-latest-card-clean,
body.w11-theme-taxi .dt-topic-row-card,
body.w11-theme-taxi .dt-interest-side-item{border-radius:6px!important;overflow:hidden!important;border-color:#e8eaef!important}
body.w11-theme-taxi .dt-news-article,
body.w11-theme-taxi .dt-article-main{max-width:820px!important}
body.w11-theme-taxi .dt-news-body,
body.w11-theme-taxi .dt-article-content{font-size:17px!important;line-height:1.85!important;color:#343a43!important}
body.w11-theme-taxi .dt-news-body h2,
body.w11-theme-taxi .dt-article-content h2{font-size:25px!important;line-height:1.35!important;color:#20242a!important;margin-top:34px!important}

/* CONTACT / ABOUT / AUTH */
body.w11-theme-taxi.alo-page-content .about-page,
body.w11-theme-taxi.alo-page-contact .contact-page,
body.w11-theme-taxi.alo-page-auth .authx-page{background:var(--tx-theme-bg)!important}
body.w11-theme-taxi.alo-page-auth .authx-card{border-radius:8px!important;box-shadow:var(--tx-theme-shadow)!important}
body.w11-theme-taxi.alo-page-auth .authx-left{background:linear-gradient(135deg,#111827,#2d3748)!important;color:#fff!important}
body.w11-theme-taxi.alo-page-auth .authx-btn,
body.w11-theme-taxi.alo-page-auth button[type=submit]{background:var(--tx-theme-accent)!important;border-color:var(--tx-theme-accent)!important;color:#fff!important;border-radius:5px!important}

/* FOOTER */
.txv-footer{background:var(--tx-theme-footer-bg,#111827);color:var(--tx-theme-footer-text,#cbd5e1);margin-top:36px}.txv-footer a{color:#cbd5e1;text-decoration:none}.txv-footer a:hover{color:#fff}.txv-footer__main{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px;padding:42px 0 32px}.txv-footer__title{color:#fff;font-size:15px;font-weight:800;margin:0 0 14px;text-transform:uppercase}.txv-footer__brand{font-size:20px;font-weight:800;color:#fff;margin-bottom:10px}.txv-footer__desc{font-size:13.5px;line-height:1.7;max-width:360px}.txv-footer__list{list-style:none;margin:0;padding:0;display:grid;gap:9px;font-size:13.5px}.txv-footer__bottom{border-top:1px solid #2b3442;padding:14px 0;font-size:12px;color:#9aa4b2;display:flex;justify-content:space-between;gap:12px;align-items:center}

/* MOBILE BOTTOM BAR */
.txv-mobile-bar{display:none}
@media(max-width:991px){
 .txv-topbar{display:none}.txv-navbar{min-height:58px;gap:10px}.txv-brand{min-width:0;flex:1;justify-content:center}.txv-brand img{max-height:40px;max-width:160px}.txv-brand__text{font-size:18px}.txv-menu,.txv-actions{display:none}.txv-mobile-toggle{display:inline-grid;place-items:center}.txv-mobile-call{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border-radius:50%;background:var(--tx-theme-accent);color:#fff!important;text-decoration:none}
 .txv-mobile-drawer{display:block;position:fixed;inset:58px 0 auto 0;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 12px 30px rgba(15,23,42,.12);transform:translateY(-130%);transition:.22s ease;z-index:1035;padding:10px 14px 18px}.txv-mobile-drawer.is-open{transform:translateY(0)}.txv-mobile-drawer a{display:flex;align-items:center;min-height:44px;border-bottom:1px solid #f0f1f3;text-decoration:none;font-weight:700;color:#27303d;padding:0 4px}.txv-mobile-drawer a:last-child{border-bottom:0}
 .txv-footer{padding-bottom:68px}.txv-footer__main{grid-template-columns:1fr 1fr;gap:24px;padding:30px 0 24px}.txv-footer__brand-col{grid-column:1/-1}.txv-footer__bottom{display:block;line-height:1.7}
 .txv-mobile-bar{position:fixed;left:0;right:0;bottom:0;z-index:1100;height:62px;background:#fff;border-top:1px solid #e6e8ed;box-shadow:0 -4px 18px rgba(15,23,42,.08);display:grid;grid-template-columns:repeat(5,1fr)}.txv-mobile-bar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#667085;text-decoration:none;font-size:10.5px;font-weight:700}.txv-mobile-bar a i{font-size:19px}.txv-mobile-bar a.is-primary{color:#fff}.txv-mobile-bar__primary{position:relative}.txv-mobile-bar__primary span{position:absolute;top:-16px;width:50px;height:50px;border-radius:50%;background:var(--tx-theme-accent);display:grid;place-items:center;color:#fff;border:4px solid #fff;box-shadow:0 4px 12px rgba(236,32,41,.28)}.txv-mobile-bar__primary small{margin-top:24px;font-size:10.5px;font-weight:800;color:var(--tx-theme-accent)}
 body.w11-theme-taxi .w11-pro-main{padding-bottom:10px}
}
@media(max-width:767px){
 .txv-container{width:min(calc(100% - 20px),var(--tx-theme-container))}.txv-section{padding:20px 0}.txv-section-head h2{font-size:21px}.txv-footer__main{grid-template-columns:1fr}.txv-footer__brand-col{grid-column:auto}
 body.w11-theme-taxi .dt-news-shell{padding:14px!important;border-radius:0!important;border-left:0!important;border-right:0!important}.txv-section-head{align-items:flex-start}
 body.w11-theme-taxi.alo-page-listing-detail h1{font-size:26px!important}
 body.w11-theme-taxi.alo-page-listing-detail .ct5-description,body.w11-theme-taxi.alo-page-listing-detail .listing-description,body.w11-theme-taxi.alo-page-listing-detail .seo-content{font-size:15.5px;line-height:1.75}
}
