/*
Theme Name: Thuê Ngoài Marketing Theme
Theme URI: https://dev.com.vn
Author: dev.com.vn
Author URI: https://dev.com.vn
Description: Theme giao diện kiểu Document Share cho website giải pháp marketing thuê ngoài, đồng bộ với plugin Thuê Ngoài Marketing Solutions.
Version: 2.3.3
Text Domain: tom-theme
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


:root{
  --tom-primary:#1a6ef5;
  --tom-primary-dark:#1457c3;
  --tom-primary-soft:#eef4ff;
  --tom-text:#0f172a;
  --tom-muted:#64748b;
  --tom-border:#dbe4f0;
  --tom-bg:#f7f9fc;
  --tom-white:#ffffff;
  --tom-success:#10b981;
  --tom-warning:#f59e0b;
  --tom-danger:#ef4444;
  --tom-shadow:0 18px 40px rgba(15,23,42,.07);
  --tom-shadow-sm:0 8px 24px rgba(15,23,42,.05);
  --tom-radius:20px;
  --tom-radius-sm:14px;
  --tom-container:1240px;
}
*,:before,:after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:13.95px;
  line-height:1.6;
  color:var(--tom-text);
  background:var(--tom-bg);
}
a{color:var(--tom-primary);text-decoration:none}
a:hover{color:var(--tom-primary-dark)}
img{max-width:100%;display:block}
input,select,button,textarea{font:inherit}
button{cursor:pointer}
.page-shell>.page-shell__inner{max-width:none;padding:0}
.container{width:min(100% - 32px,var(--tom-container));margin:0 auto}
.entry-content{color:var(--tom-text)}
.entry-content>*:first-child{margin-top:0}
.entry-content>*:last-child{margin-bottom:0}
.entry-content h2,.entry-content h3,.entry-content h4{line-height:1.3;margin:1.3em 0 .6em}
.entry-content p,.entry-content ul,.entry-content ol{margin:.8em 0}
.entry-content ul,.entry-content ol{padding-left:20px}

.tom-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:0 18px;border-radius:14px;border:1px solid var(--tom-primary);
  background:var(--tom-primary);color:#fff;font-weight:600;transition:.2s ease;
}
.tom-btn:hover{background:var(--tom-primary-dark);border-color:var(--tom-primary-dark);color:#fff}
.tom-btn--ghost{background:#fff;color:var(--tom-primary);border-color:var(--tom-border)}
.tom-btn--ghost:hover{background:var(--tom-primary-soft);color:var(--tom-primary)}
.tom-btn--small{min-height:40px;padding:0 14px;border-radius:12px;font-size:12.09px}
.tom-kicker{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:var(--tom-primary-soft);color:var(--tom-primary);font-size:11.16px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.tom-chip,.tom-card__pack,.tom-card__badge,.tom-filter-chip,.tom-home-tags a,.tom-home-search__select select,.tom-single-meta-inline span{
  display:inline-flex;align-items:center;border-radius:999px;border:1px solid var(--tom-border);background:#fff;
}
.tom-chip{padding:6px 10px;font-size:11.16px;color:var(--tom-text)}
.tom-card__pack{padding:6px 10px;font-size:11.16px;font-weight:600;background:var(--tom-primary-soft);border-color:transparent;color:var(--tom-primary)}
.tom-card__badge{padding:6px 10px;font-size:10.23px;font-weight:600;background:#0f172a;color:#fff;border:none}
.tom-card__badge--inline{position:static}
.site-brand{display:flex;align-items:center;gap:12px;color:var(--tom-text)}
.site-brand__logo{width:42px;height:42px;border-radius:14px;background:var(--tom-primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800}
.site-brand__text{display:grid;gap:2px}
.site-brand__text strong{font-size:16.74px;line-height:1.2;color:var(--tom-text)}
.site-brand__text span{font-size:11.16px;color:var(--tom-muted);line-height:1.35}
.site-brand__logo-image--header,.site-brand__logo-image--footer,.site-brand__logo-image--drawer{max-height:48px;width:auto}

.site-header--docshare{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid rgba(219,228,240,.9)}
.site-header__topbar{background:#0f172a;color:#cbd5e1;font-size:11.16px}
.site-header__topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:36px}
.site-header__topbar-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.site-header__topbar a{color:#e2e8f0}
.site-header__main{display:flex;align-items:center;gap:18px;min-height:82px}
.site-header__nav{flex:1;min-width:0}
.menu--primary{display:flex;align-items:center;gap:20px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.menu--primary li{position:relative}
.menu--primary a{display:flex;align-items:center;min-height:40px;color:var(--tom-text);font-weight:600}
.menu--primary .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;list-style:none;margin:8px 0 0;padding:10px;background:#fff;border:1px solid var(--tom-border);border-radius:16px;box-shadow:var(--tom-shadow-sm)}
.menu--primary li:hover>.sub-menu{display:block}
.menu--primary .sub-menu a{padding:10px 12px;border-radius:10px;font-weight:500}
.menu--primary .sub-menu a:hover{background:var(--tom-primary-soft)}
.site-header__actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.tom-header-toggle{display:none;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;border:1px solid var(--tom-border);background:#fff;color:var(--tom-text)}
.site-header__searchline{border-top:1px solid rgba(219,228,240,.7);padding:12px 0 16px}
.tom-header-search{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid var(--tom-border);border-radius:18px;background:#fff;box-shadow:var(--tom-shadow-sm)}
.tom-header-search input{flex:1;min-width:0;height:48px;border:none;background:transparent;padding:0 12px;font-size:13.95px;color:var(--tom-text);outline:none}
.tom-header-search button{height:48px;padding:0 18px;border:none;border-radius:14px;background:var(--tom-primary);color:#fff;font-weight:600}
.tom-header-search--drawer{margin-top:18px}

.tom-mobile-overlay{position:fixed;inset:0;background:rgba(15,23,42,.55);opacity:0;visibility:hidden;transition:.25s;z-index:89}
.tom-mobile-overlay.is-open{opacity:1;visibility:visible}
.tom-mobile-drawer{position:fixed;top:0;left:0;bottom:0;width:min(90vw,360px);padding:20px;background:#fff;transform:translateX(-102%);transition:.25s;z-index:90;overflow:auto}
.tom-mobile-drawer.is-open{transform:translateX(0)}
.tom-mobile-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tom-mobile-drawer__menu,.tom-mobile-drawer__menu .sub-menu{list-style:none;padding:0;margin:0}
.tom-mobile-drawer__menu{display:grid;gap:4px;margin-top:14px}
.tom-mobile-drawer__menu a,.tom-mobile-drawer__extra a{display:block;padding:10px 12px;border-radius:12px;color:var(--tom-text)}
.tom-mobile-drawer__menu a:hover,.tom-mobile-drawer__extra a:hover{background:var(--tom-primary-soft)}
.tom-mobile-drawer__menu .sub-menu{padding-left:10px}
.tom-mobile-drawer__extra{display:grid;gap:4px;margin-top:12px;padding-top:12px;border-top:1px solid var(--tom-border)}

.tom-home-hero{padding:36px 0 18px}
.tom-home-hero__shell{padding:34px;border:1px solid var(--tom-border);border-radius:28px;background:linear-gradient(180deg,#fff 0%,#f9fbff 100%);box-shadow:var(--tom-shadow)}
.tom-home-hero__badge{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;background:var(--tom-primary-soft);color:var(--tom-primary);font-size:11.16px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.tom-home-hero h1{font-size:44.64px;line-height:1.1;margin:16px 0 12px}
.tom-home-hero p{max-width:920px;color:var(--tom-muted);font-size:15.81px;margin:0 0 20px}
.tom-home-search{display:flex;align-items:stretch;gap:12px;margin-bottom:16px}
.tom-home-search input{flex:1;min-width:0;height:62px;padding:0 20px;border:1px solid var(--tom-border);border-radius:18px;background:#fff;outline:none;font-size:15.81px}
.tom-home-search__select{display:flex;align-items:center;padding:0 14px;border:1px solid var(--tom-border);border-radius:18px;background:#fff;min-width:220px}
.tom-home-search__select select{width:100%;height:60px;border:none;outline:none;background:transparent;padding:0;color:var(--tom-muted)}
.tom-home-tags{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tom-home-tags span{font-size:12.09px;font-weight:600;color:var(--tom-text)}
.tom-home-tags a{padding:8px 14px;font-size:12.09px;color:var(--tom-text);transition:.2s}
.tom-home-tags a:hover,.tom-filter-chip:hover,.tom-filter-chip.is-active{background:var(--tom-primary);border-color:var(--tom-primary);color:#fff}

.tom-stats-bar{padding:0 0 16px}
.tom-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tom-stat-item{display:flex;flex-direction:column;gap:4px;padding:18px 20px;background:#fff;border:1px solid var(--tom-border);border-radius:20px;box-shadow:var(--tom-shadow-sm)}
.tom-stat-item strong{font-size:26.04px;line-height:1;color:var(--tom-text)}
.tom-stat-item span{color:var(--tom-muted);font-size:13.02px}

.tom-filter-strip{padding:0 0 8px}
.tom-filter-strip__inner{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0}
.tom-filter-strip__inner>span{font-size:12.09px;font-weight:600;color:var(--tom-muted)}
.tom-filter-chip{padding:8px 14px;font-size:12.09px;color:var(--tom-text);transition:.2s}

.tom-home-section{padding:18px 0}
.tom-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.tom-section-head h2{margin:0 0 6px;font-size:27.9px;line-height:1.15}
.tom-section-head p{margin:0;color:var(--tom-muted)}
.tom-section-head--split a{font-weight:700}
.tom-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tom-service-card{display:flex;align-items:center;gap:14px;padding:18px;border-radius:20px;border:1px solid var(--tom-border);background:#fff;box-shadow:var(--tom-shadow-sm);color:var(--tom-text);transition:.2s}
.tom-service-card:hover{transform:translateY(-3px);border-color:var(--tom-primary)}
.tom-service-card__icon{width:48px;height:48px;border-radius:14px;background:var(--tom-primary);display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:20.46px;flex:0 0 auto}
.tom-service-card__text{display:grid;gap:3px}
.tom-service-card__text strong{font-size:15.81px;line-height:1.2}
.tom-service-card__text small{font-size:12.09px;color:var(--tom-muted)}
.tom-home-columns-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tom-home-columns-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tom-home-list-card,.tom-home-link-card,.tom-section-card,.tom-page-card,.tom-sidebar-card,.tom-empty-state{padding:20px;border-radius:22px;border:1px solid var(--tom-border);background:#fff;box-shadow:var(--tom-shadow-sm)}
.tom-home-list-card__head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:14px}
.tom-home-list-card__head h3{font-size:20.46px;line-height:1.2;margin:0 0 4px}
.tom-home-list-card__head p{margin:0;color:var(--tom-muted)}
.tom-home-link-list{display:grid;gap:8px}
.tom-home-link-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--tom-border)}
.tom-home-link-item:last-child{border-bottom:none;padding-bottom:0}
.tom-home-link-item a{color:var(--tom-text);font-weight:600}
.tom-home-link-item span{color:var(--tom-muted);font-size:12.09px}

.tom-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tom-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--tom-border);border-radius:22px;overflow:hidden;box-shadow:var(--tom-shadow-sm);transition:.22s}
.tom-card:hover{transform:translateY(-4px);border-color:var(--tom-primary)}
.tom-card__media{position:relative;display:block;aspect-ratio:16/10;background:#eff4fb;overflow:hidden}
.tom-card__media img{width:100%;height:100%;object-fit:cover}
.tom-card__badge{position:absolute;top:14px;left:14px;z-index:2}
.tom-card__body{display:grid;gap:12px;padding:16px}
.tom-card__topline{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.tom-card__pills{display:flex;gap:8px;flex-wrap:wrap}
.tom-card__price{font-size:12.09px;font-weight:600;color:var(--tom-primary)}
.tom-card__title{font-size:17.67px;line-height:1.35;margin:0}
.tom-card__title a{color:var(--tom-text)}
.tom-card__excerpt{margin:0;color:var(--tom-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.tom-card__meta{display:flex;gap:12px;flex-wrap:wrap;font-size:11.16px;color:var(--tom-muted)}
.tom-card__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:2px}

.tom-doc-list{display:grid;gap:14px}
.tom-doc-list--compact .tom-doc-item{grid-template-columns:86px minmax(0,1fr)}
.tom-doc-list--compact .tom-doc-item__media{width:86px}
.tom-doc-list--compact .tom-doc-item__actions{display:none}
.tom-doc-list--compact .tom-doc-item__title{font-size:15.81px}
.tom-doc-list--compact .tom-doc-item__excerpt{display:none}
.tom-doc-list--compact .tom-doc-item__meta{gap:8px 10px;font-size:10.23px}
.tom-doc-item{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 16px;background:#fff;border:1px solid var(--tom-border);border-radius:18px;box-shadow:var(--tom-shadow-sm)}
.tom-doc-item__media{display:block;width:96px;border-radius:14px;overflow:hidden;aspect-ratio:4/5;background:#eff4fb}
.tom-doc-item__media img{width:100%;height:100%;object-fit:cover}
.tom-doc-item__main{min-width:0}
.tom-doc-item__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:6px}
.tom-doc-item__pills{display:flex;gap:8px;flex-wrap:wrap}
.tom-doc-item__title{margin:0 0 6px;font-size:17.67px;line-height:1.35}
.tom-doc-item__title a{color:var(--tom-text)}
.tom-doc-item__excerpt{margin:0 0 10px;color:var(--tom-muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tom-doc-item__meta{display:flex;gap:10px 16px;flex-wrap:wrap;font-size:11.16px;color:var(--tom-muted)}
.tom-doc-item__actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:8px;min-width:140px}
.tom-doc-item__actions strong{font-size:16.74px;line-height:1;color:var(--tom-primary)}

.tom-archive-head{padding:24px 0 10px}
.tom-archive-head__main{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:8px}
.tom-archive-head__main h1{margin:0 0 6px;font-size:35.34px;line-height:1.1}
.tom-archive-head__main p{margin:0;color:var(--tom-muted)}
.entry-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12.09px;color:var(--tom-muted)}
.entry-breadcrumbs a{color:var(--tom-muted)}
.tom-mobile-filter-btn{display:none;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:12px;border:1px solid var(--tom-border);background:#fff;color:var(--tom-text);font-weight:600}
.tom-archive-listing{padding:0 0 26px}
.tom-archive-shell{display:grid;grid-template-columns:300px minmax(0,1fr);gap:22px;align-items:start}
.tom-archive-sidebar{position:sticky;top:138px}
.tom-sidebar-card__head{display:grid;gap:2px;margin-bottom:12px}
.tom-sidebar-card__head strong{font-size:15.81px}
.tom-sidebar-card__head span{font-size:11.16px;color:var(--tom-muted)}
.tom-results-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px;font-size:13.02px;color:var(--tom-muted)}
.tom-results-meta strong{color:var(--tom-text)}
.tom-empty-state{text-align:center;padding:36px 24px}
.tom-empty-state--404 h1{margin-top:0}

.tom-filters,.tom-filters-form{display:grid;gap:12px}
.tom-filters__searchline,.tom-filters__quickrow,.tom-filters__advanced-grid{display:grid;gap:12px}
.tom-field{display:grid;gap:6px}
.tom-field label{font-size:11.16px;font-weight:600;color:#334155}
.tom-field input,.tom-field select{width:100%;min-height:46px;padding:0 14px;border:1px solid var(--tom-border);border-radius:14px;background:#fff;color:var(--tom-text);outline:none}
.tom-field input:focus,.tom-field select:focus,.tom-home-search input:focus,.tom-header-search input:focus{border-color:var(--tom-primary);box-shadow:0 0 0 3px rgba(26,110,245,.12)}
.tom-filters__actions,.tom-filters__actions--top{display:flex;gap:10px;flex-wrap:wrap}
.tom-filters__advanced{display:none;padding-top:6px;border-top:1px solid var(--tom-border)}
.tom-filters__advanced.is-open{display:block}
.tom-filter-more{min-height:42px;padding:0 14px;border-radius:12px;border:1px dashed var(--tom-border);background:#fff;color:var(--tom-text);font-weight:600}

.tom-pagination,.toms-pagination{display:flex;justify-content:center;margin-top:18px}
.tom-pagination .page-numbers,.toms-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;margin:0 4px;padding:0 12px;border-radius:12px;border:1px solid var(--tom-border);background:#fff;color:var(--tom-text)}
.tom-pagination .page-numbers.current,.toms-pagination .page-numbers.current{background:var(--tom-primary);border-color:var(--tom-primary);color:#fff}

.tom-single-hero{padding:26px 0 14px}
.tom-single-shell{display:grid;grid-template-columns:340px minmax(0,1fr);gap:22px;align-items:start;padding-top:10px}
.tom-single-cover{border-radius:24px;overflow:hidden;border:1px solid var(--tom-border);background:#fff;box-shadow:var(--tom-shadow-sm)}
.tom-single-cover img{width:100%;height:100%;object-fit:cover}
.tom-single-main{padding:22px;border-radius:24px;border:1px solid var(--tom-border);background:#fff;box-shadow:var(--tom-shadow)}
.tom-single-pills{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.tom-single-main h1{margin:0 0 10px;font-size:35.34px;line-height:1.12}
.tom-single-summary{margin:0 0 14px;color:var(--tom-muted);font-size:14.88px}
.tom-single-meta-inline{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.tom-single-meta-inline span{padding:8px 12px;font-size:12.09px;color:var(--tom-text)}
.tom-single-actions{display:flex;gap:10px;flex-wrap:wrap}
.tom-single-body{padding:0 0 28px}
.tom-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.tom-single-content,.tom-single-sidebar{display:grid;gap:16px}
.tom-info-matrix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tom-info-matrix__item{padding:14px;border-radius:16px;background:var(--tom-bg);border:1px solid var(--tom-border);display:grid;gap:4px}
.tom-info-matrix__item span{font-size:11.16px;color:var(--tom-muted)}
.tom-info-matrix__item strong{font-size:13.95px;line-height:1.4}
.tom-check-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.tom-check-list li{position:relative;padding-left:24px}
.tom-check-list li:before{content:'✓';position:absolute;left:0;top:0;color:var(--tom-success);font-weight:700}
.tom-sidebar-links{display:grid;gap:8px}
.tom-sidebar-links a{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:14px;background:var(--tom-bg);color:var(--tom-text);border:1px solid var(--tom-border)}
.tom-related-list{display:grid;gap:10px}
.tom-related-list__item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--tom-border)}
.tom-related-list__item:last-child{border-bottom:none;padding-bottom:0}
.tom-related-list__item a{color:var(--tom-text);font-weight:600}
.tom-related-list__item span{color:var(--tom-primary);font-size:12.09px;font-weight:700}

.tom-page-section{padding:24px 0}
.tom-page-head{margin-bottom:18px}
.tom-page-head h1{margin:0 0 8px;font-size:35.34px;line-height:1.12}
.tom-page-head p{margin:0;color:var(--tom-muted)}
.tom-page-head--single{margin-bottom:10px}
.tom-page-card--plain{padding:0;border:none;background:transparent;box-shadow:none}

.tom-footer-cta{padding:12px 0 0}
.tom-footer-cta__box{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:26px;border-radius:26px;background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);color:#fff;box-shadow:var(--tom-shadow)}
.tom-footer-cta__box h2{margin:10px 0 8px;font-size:31.62px;line-height:1.15}
.tom-footer-cta__box p{margin:0;max-width:760px;color:rgba(255,255,255,.78)}
.tom-footer-cta__actions{display:flex;gap:10px;flex-wrap:wrap}
.tom-footer-cta__actions .tom-btn--ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#fff}
.tom-footer-cta__actions .tom-btn--ghost:hover{background:rgba(255,255,255,.18)}
.site-footer--docshare{padding:26px 0 86px}
.site-footer__grid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:18px;padding:26px 0;border-bottom:1px solid var(--tom-border)}
.site-footer__brand p{margin:14px 0 0;color:var(--tom-muted)}
.site-footer__contactrow{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.site-footer__contactrow a{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;border:1px solid var(--tom-border);background:#fff;color:var(--tom-text)}
.site-footer__col h4{margin:0 0 12px;font-size:16.74px}
.site-footer__col ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.site-footer__col a{color:var(--tom-text)}
.site-footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:16px;color:var(--tom-muted);font-size:13.02px}
.site-footer__bottom-links{display:flex;gap:14px;flex-wrap:wrap}

.tom-mobile-bottom-nav{display:none;position:fixed;left:12px;right:12px;bottom:12px;z-index:85;background:#fff;border:1px solid var(--tom-border);border-radius:18px;box-shadow:var(--tom-shadow);padding:8px 10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tom-mobile-bottom-nav a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:0 8px;border-radius:12px;color:var(--tom-text);font-size:11.16px;font-weight:700}
.tom-mobile-bottom-nav a:hover{background:var(--tom-primary-soft)}
.tom-mobile-filter-panel{position:fixed;right:12px;left:12px;bottom:12px;z-index:92;max-height:78vh;overflow:auto;padding:18px;border-radius:22px;background:#fff;border:1px solid var(--tom-border);box-shadow:var(--tom-shadow);transform:translateY(110%);transition:.25s}
.tom-mobile-filter-panel.is-open{transform:translateY(0)}
.tom-mobile-filter-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.tom-mobile-filter-panel__head h3{margin:0;font-size:18.6px}
.tom-mobile-filter-panel__head button{width:40px;height:40px;border-radius:12px;border:1px solid var(--tom-border);background:#fff}

/* Plugin builder / shortcode alignment */
.toms-builder-page,.toms-grid-wrap,.toms-wrap{padding:12px 0}
.toms-builder-head,.toms-builder-head--listing,.toms-builder-page--listing,.toms-grid-wrap,.toms-wrap>.toms-container{max-width:none}
.toms-builder-head,.toms-builder-listing,.toms-builder-summary,.toms-card,.toms-saved-card,.toms-builder-listing-shell,.toms-wrap .toms-container>*,.toms-grid-wrap>*{border-color:var(--tom-border)!important}
.toms-builder-head,.toms-builder-summary,.toms-saved-card,.toms-wrap .toms-container>*:not(style):not(script){background:#fff;border:1px solid var(--tom-border);border-radius:22px;box-shadow:var(--tom-shadow-sm)}
.toms-builder-head{padding:22px;margin-bottom:14px}
.toms-builder-head h1{margin-top:0;font-size:31.62px;line-height:1.15}
.toms-builder-head p{color:var(--tom-muted)}
.toms-builder-bar{display:grid;grid-template-columns:minmax(0,1fr) 240px auto;gap:12px;margin-top:16px}
.toms-builder-bar input,.toms-builder-bar select{width:100%;height:50px;padding:0 14px;border:1px solid var(--tom-border);border-radius:14px;background:#fff}
.toms-builder-bar__actions{display:flex;gap:10px;flex-wrap:wrap}
.toms-builder-listing{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px;border:1px solid var(--tom-border);border-radius:18px;background:#fff;box-shadow:var(--tom-shadow-sm);margin-bottom:12px}
.toms-builder-listing__top,.toms-card-top,.toms-card-meta,.toms-builder-pills{display:flex;gap:8px;flex-wrap:wrap}
.toms-builder-listing h3,.toms-card-title{margin:.2rem 0;font-size:17.67px;line-height:1.35}
.toms-builder-listing p,.toms-card-intro{margin:0;color:var(--tom-muted)}
.toms-builder-listing__right{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:130px}
.toms-builder-detail-link{font-size:12.09px;font-weight:700}
.toms-type,.toms-chip,.toms-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid var(--tom-border);background:#fff;font-size:11.16px}
.toms-type{background:var(--tom-primary-soft);border-color:transparent;color:var(--tom-primary);font-weight:700}
.toms-price{font-size:12.09px;font-weight:600;color:var(--tom-primary)}
.toms-btn,.toms-btn-gold,.toms-btn-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:12px;border:1px solid var(--tom-primary);font-weight:600}
.toms-btn,.toms-btn-gold{background:var(--tom-primary);color:#fff}
.toms-btn-ghost{background:#fff;color:var(--tom-primary);border-color:var(--tom-border)}
.toms-card{padding:16px;background:#fff;border:1px solid var(--tom-border);border-radius:20px;box-shadow:var(--tom-shadow-sm)}
.toms-card-media{display:block;border-radius:16px;overflow:hidden;aspect-ratio:16/10;background:#eff4fb;margin-bottom:14px}
.toms-card-media img{width:100%;height:100%;object-fit:cover}
.toms-card-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.toms-cards{display:grid;gap:16px}
.toms-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

@media (max-width: 1200px){
  .tom-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tom-home-columns-3{grid-template-columns:1fr 1fr}
  .tom-home-columns-3 .tom-home-list-card:last-child{grid-column:1/-1}
  .site-footer__grid{grid-template-columns:1fr 1fr}
  .toms-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 1024px){
  .site-header__nav{display:none}
  .tom-header-toggle{display:inline-flex}
  .site-header__actions .tom-btn--ghost{display:none}
  .tom-archive-shell,.tom-single-grid{grid-template-columns:1fr}
  .tom-archive-sidebar{display:none}
  .tom-mobile-filter-btn{display:inline-flex}
  .tom-single-shell{grid-template-columns:1fr}
  .tom-service-grid,.tom-home-columns-2,.tom-stats-grid{grid-template-columns:1fr 1fr}
  .tom-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .toms-builder-bar{grid-template-columns:1fr}
}
@media (max-width: 767px){
  body{font-size:13.02px}
  .container{width:min(100% - 20px,var(--tom-container))}
  .site-header__topbar{display:none}
  .site-header__main{min-height:72px}
  .site-header__actions .tom-btn{display:none}
  .site-header__searchline{padding:10px 0 12px}
  .tom-header-search input{height:44px;font-size:13.02px}
  .tom-header-search button{height:44px;padding:0 14px}
  .tom-home-hero{padding:18px 0 12px}
  .tom-home-hero__shell{padding:18px}
  .tom-home-hero h1,.tom-page-head h1,.tom-archive-head__main h1,.tom-single-main h1{font-size:27.9px}
  .tom-home-search{flex-direction:column}
  .tom-home-search__select{min-width:0}
  .tom-stats-grid,.tom-service-grid,.tom-home-columns-3,.tom-home-columns-2,.tom-card-grid,.site-footer__grid,.toms-mode-grid{grid-template-columns:1fr}
  .tom-doc-item{grid-template-columns:1fr;padding:14px}
  .tom-doc-item__media{display:none}
  .tom-doc-item__actions{flex-direction:row;justify-content:flex-start;align-items:center;min-width:0}
  .tom-doc-item__title{font-size:15.81px}
  .tom-doc-list--compact .tom-doc-item{grid-template-columns:1fr}
  .tom-doc-list--compact .tom-doc-item__media{display:none}
  .tom-info-matrix{grid-template-columns:1fr}
  .tom-footer-cta__box h2{font-size:26.04px}
  .site-footer--docshare{padding-bottom:92px}
  .tom-mobile-bottom-nav{display:grid}
  .toms-builder-listing{grid-template-columns:1fr}
  .toms-builder-listing__right{align-items:flex-start;min-width:0}
}


/* ===== 2.1.0 visual fit to Document Share ===== */
:root{
  --primary:var(--tom-primary);
  --primary-dark:var(--tom-primary-dark);
  --primary-light:var(--tom-primary-soft);
  --secondary:#ff6b35;
  --accent:#00c896;
  --text:var(--tom-text);
  --text-light:var(--tom-muted);
  --dark:#0d1b2a;
  --border:var(--tom-border);
  --bg:var(--tom-bg);
  --white:#ffffff;
  --radius:18px;
  --shadow:0 12px 40px rgba(26,110,245,.13);
}
html,body,button,input,select,textarea{font-family:'Inter',system-ui,sans-serif !important}
h1,h2,h3,h4,h5,h6,.site-brand__text strong,.section-title,.stat-number,.tom-page-head h1,.tom-archive-head__main h1,.tom-single-main h1{font-weight:600}
body.tom-theme{background:var(--bg)}
body.tom-theme .site-header__topbar{background:#0d1b2a;color:#dbe7f8}
body.tom-theme .site-header__topbar a{color:#fff}
.navbar{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:80}
.navbar .container{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;gap:16px}
.nav-links{display:flex;align-items:center;gap:24px;flex:1;min-width:0;justify-content:center}
.nav-links .menu--primary{gap:24px;justify-content:center}
.nav-right{display:flex;align-items:center;gap:12px;flex-shrink:0}
.btn-login,.btn-register{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:10px;font-size:13.02px;font-weight:600;transition:all .2s;white-space:nowrap}
.btn-login{color:var(--text);border:1.5px solid var(--border);background:var(--white)}
.btn-login:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}
.btn-register{background:var(--primary);color:#fff}
.btn-register:hover{background:var(--primary-dark)}
.hamburger{display:none;flex-direction:column;gap:5px;width:36px;height:36px;align-items:center;justify-content:center;border-radius:8px;border:1.5px solid var(--border);background:#fff}
.hamburger span{width:18px;height:2px;background:var(--text);border-radius:2px}
.hero{background:linear-gradient(135deg,#1a6ef5 0%,#0f4fc4 50%,#0a3a9e 100%);padding:80px 0 100px;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")}
.hero-inner{position:relative;z-index:1;text-align:center}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.15);backdrop-filter:blur(8px);color:#fff;border:1px solid rgba(255,255,255,.25);padding:6px 16px;border-radius:50px;font-size:12.09px;font-weight:500;margin-bottom:24px}
.hero h1{font-size:50.22px;font-weight:600;color:#fff;line-height:1.15;margin-bottom:18px}
.hero h1 span{color:#ffd166}
.hero p{font-size:16.74px;color:rgba(255,255,255,.85);max-width:780px;margin:0 auto 40px;line-height:1.7}
.search-box{background:#fff;border-radius:16px;padding:8px 8px 8px 20px;display:flex;align-items:center;gap:10px;max-width:860px;margin:0 auto 28px;box-shadow:0 8px 40px rgba(0,0,0,.18)}
.search-box input{flex:1;border:none;outline:none;font-size:14.88px;color:var(--text)}
.search-box input::placeholder{color:var(--text-light)}
.search-box .search-filter{border-left:1.5px solid var(--border);padding:0 16px;font-size:13.02px;color:var(--text-light);cursor:pointer;display:flex;align-items:center;gap:6px;white-space:nowrap}
.search-box .btn-search{background:var(--primary);color:#fff;border:none;padding:13px 28px;border-radius:10px;font-size:13.95px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px;white-space:nowrap}
.search-box .btn-search:hover{background:var(--primary-dark)}
.search-tags{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.search-tags>span{color:rgba(255,255,255,.7);font-size:12.09px}
.search-tag{background:rgba(255,255,255,.15);color:#fff;padding:4px 12px;border-radius:20px;font-size:12.09px;cursor:pointer;transition:all .2s;border:1px solid rgba(255,255,255,.2)}
.search-tag:hover{background:rgba(255,255,255,.25);color:#fff}
.stats-bar{background:var(--white);border-bottom:1px solid var(--border)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat-item{padding:22px 24px;display:flex;align-items:center;gap:14px;border-right:1px solid var(--border)}
.stat-item:last-child{border-right:none}
.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:18.6px;flex-shrink:0}
.stat-icon.blue{background:var(--primary-light);color:var(--primary)}
.stat-icon.orange{background:#fff3eb;color:var(--secondary)}
.stat-icon.green{background:#e6faf5;color:var(--accent)}
.stat-icon.purple{background:#f3e8ff;color:#7c3aed}
.stat-number{font-size:20.46px;color:var(--dark);line-height:1.2}
.stat-label{font-size:12.09px;color:var(--text-light)}
.section-pad{padding:64px 0}
.section-pad--soft{background:transparent}
.section-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:36px;gap:14px}
.section-title{font-size:26.04px;color:var(--dark);margin:0}
.section-title span{color:var(--primary)}
.section-subtitle{font-size:13.95px;color:var(--text-light);margin-top:6px}
.see-all{color:var(--primary);font-size:13.02px;font-weight:600;display:flex;align-items:center;gap:6px;transition:gap .2s;white-space:nowrap}
.see-all:hover{gap:10px}
.filter-bar{background:var(--white);border-bottom:1px solid var(--border);padding:14px 0}
.filter-inner{display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none}
.filter-inner::-webkit-scrollbar{display:none}
.filter-bar-label{font-size:12.09px;font-weight:600;color:var(--text-light);white-space:nowrap}
.filter-chip{padding:7px 16px;border-radius:20px;border:1.5px solid var(--border);font-size:12.09px;font-weight:500;color:var(--text);cursor:pointer;white-space:nowrap;transition:all .2s;background:transparent;text-decoration:none;display:inline-block;flex-shrink:0}
.filter-chip:hover,.filter-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}
.cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.cat-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--radius);padding:22px 16px;text-align:center;cursor:pointer;transition:all .25s;display:block;color:inherit}
.cat-card:hover{border-color:var(--primary);background:var(--primary-light);transform:translateY(-3px);box-shadow:var(--shadow)}
.cat-card:hover .cat-icon{background:var(--primary);color:#fff}
.cat-icon{width:52px;height:52px;border-radius:14px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;font-size:20.46px;transition:all .25s;background:#fff;border:1px solid var(--border)}
.cat-name{font-size:12.09px;font-weight:600;color:var(--text);margin-bottom:4px}
.cat-count{font-size:11.16px;color:var(--text-light)}
.dsh-home-columns-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.dsh-home-list-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden}
.dsh-home-list-card__head{padding:14px 16px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.dsh-home-list-card__head h3{font-size:13.95px;font-weight:600;margin:0 0 4px}
.dsh-home-list-card__head p{margin:0;color:var(--text-light);font-size:11.16px;line-height:1.5}
.dsh-home-list-card__head a{font-size:11.16px;color:var(--primary);font-weight:600;white-space:nowrap}
.dsh-list-vertical{padding:4px 0}
.dsh-home-category-sections{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.dsh-home-cat-section{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden}
.dsh-home-cat-section__head{padding:14px 16px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;gap:12px}
.dsh-home-cat-section__head h3{font-size:13.02px;font-weight:600;margin:0}
.dsh-home-cat-section__head a{font-size:11.16px;color:var(--primary);font-weight:600}
.dsh-home-link-item{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid var(--border);font-size:12.09px;transition:background .2s;gap:12px}
.dsh-home-link-item:last-child{border-bottom:none}
.dsh-home-link-item:hover{background:var(--primary-light)}
.dsh-home-link-item a{color:var(--text)}
.dsh-home-link-item a:hover{color:var(--primary)}
.doc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.doc-grid-4{grid-template-columns:repeat(4,1fr)}
.tom-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:all .25s;display:flex;flex-direction:column;box-shadow:none}
.tom-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(26,110,245,.13);border-color:var(--primary)}
.tom-card__media{display:block;height:170px;overflow:hidden;position:relative;background:var(--primary-light)}
.tom-card__media img{width:100%;height:100%;object-fit:cover}
.tom-card__body{padding:14px;flex:1;display:flex;flex-direction:column}
.tom-card__topline{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px;gap:8px}
.tom-card__pills{display:flex;flex-wrap:wrap;gap:5px}
.tom-card__title{font-size:13.02px;font-weight:600;color:var(--dark);line-height:1.45;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tom-card__title a{color:inherit}
.tom-card__title a:hover{color:var(--primary)}
.tom-card__excerpt{font-size:11.16px;color:var(--text-light);line-height:1.5;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tom-card__meta{display:flex;flex-wrap:wrap;gap:8px;font-size:10.23px;color:var(--text-light);margin-bottom:12px}
.tom-card__price{font-size:11.16px;font-weight:600;color:var(--secondary);white-space:nowrap}
.tom-card__actions{display:flex;gap:8px;margin-top:auto;flex-wrap:wrap}
.tom-doc-item{padding:10px 16px;display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--border);font-size:12.09px;transition:background .2s;background:transparent;border-radius:0;box-shadow:none}
.tom-doc-list{border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden;background:#fff;display:block}
.tom-doc-list .tom-doc-item:last-child{border-bottom:none}
.tom-doc-item:hover{background:var(--primary-light)}
.tom-doc-item__media{display:block;width:86px;min-width:86px;border-radius:10px;overflow:hidden;aspect-ratio:3/4;background:var(--primary-light)}
.tom-doc-item__media img{width:100%;height:100%;object-fit:cover}
.tom-doc-item__main{min-width:0;flex:1}
.tom-doc-item__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:6px}
.tom-doc-item__pills{display:flex;gap:6px;flex-wrap:wrap}
.tom-doc-item__title{margin:0 0 6px;font-size:13.02px;line-height:1.45;font-weight:600}
.tom-doc-item__title a{color:var(--dark)}
.tom-doc-item__title a:hover{color:var(--primary)}
.tom-doc-item__excerpt{margin:0 0 10px;color:var(--text-light);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.16px;line-height:1.5}
.tom-doc-item__meta{display:flex;gap:8px;flex-wrap:wrap;font-size:10.23px;color:var(--text-light);margin-bottom:0}
.tom-doc-item__actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:8px;min-width:144px}
.tom-doc-item__actions strong{font-size:13.02px;line-height:1.2;color:var(--secondary)}
.tom-doc-list--compact{border:none;border-radius:0;background:transparent}
.tom-doc-list--compact .tom-doc-item{padding:10px 16px}
.tom-doc-list--compact .tom-doc-item__actions{display:none}
.tom-doc-list--compact .tom-doc-item__media{width:74px;min-width:74px}
.tom-doc-list--compact .tom-doc-item__title{font-size:12.09px}
.tom-doc-list--compact .tom-doc-item__excerpt{display:none}
.tom-archive-head--docshare{padding:26px 0 18px}
.tom-archive-toolbar{margin-bottom:18px}
.tom-header-search--archive{padding:8px;border-radius:16px;box-shadow:none;border:1.5px solid var(--border)}
.tom-archive-listing--docshare{padding-bottom:36px}
.tom-archive-shell{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;align-items:start}
.tom-sidebar-card{background:#fff;border:1.5px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:none}
.tom-sidebar-card__head{display:grid;gap:4px;margin-bottom:14px}
.tom-sidebar-card__head strong{font-size:14.88px}
.tom-sidebar-card__head span{font-size:12.09px;color:var(--text-light)}
.tom-results-meta{padding:0 0 12px;font-size:13.02px;color:var(--text-light);display:flex;gap:12px;flex-wrap:wrap}
.tom-empty-state{padding:32px;text-align:center;color:var(--text-light);font-size:12.09px;background:#fff;border:1.5px solid var(--border);border-radius:var(--radius)}
.tom-single-shell{display:grid;grid-template-columns:220px 1fr;gap:32px;background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:28px;margin-bottom:24px;box-shadow:none}
.tom-single-cover{border-radius:10px;overflow:hidden;aspect-ratio:3/4;background:var(--primary-light);display:flex;align-items:center;justify-content:center;font-size:59.52px;border:0;box-shadow:none}
.tom-single-main{padding:0;border:none;box-shadow:none;background:transparent}
.tom-single-main h1{font-size:22.32px;line-height:1.35;margin:0 0 10px}
.tom-single-summary{font-size:13.02px;color:var(--text-light);margin-bottom:16px;line-height:1.65}
.tom-single-meta-inline{display:flex;flex-wrap:wrap;gap:12px;font-size:12.09px;color:var(--text-light);margin-bottom:18px}
.tom-single-meta-inline span{padding:0;border:none;background:transparent}
.tom-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}
.tom-section-card,.tom-page-card--docshare{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:22px;overflow:hidden;box-shadow:none}
.tom-section-card h2{font-size:15.81px;font-weight:600;color:var(--dark);margin:0 0 14px}
.tom-info-matrix__item{padding:14px;border-radius:16px;background:var(--bg);border:1px solid var(--border);display:grid;gap:4px}
.tom-related-list__item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--border)}
.tom-related-list__item:last-child{border-bottom:none;padding-bottom:0}
.tom-related-list__item a{color:var(--text);font-weight:600}
.tom-related-list__item span{color:var(--primary);font-size:12.09px;font-weight:700}
.tom-page-head{margin-bottom:18px}
.tom-page-head h1{font-size:35.34px;line-height:1.12;margin:0 0 8px}
.tom-page-head p{margin:0;color:var(--text-light)}
.site-footer--docshare{padding:26px 0 86px}
@media (max-width:1100px){
  .cat-grid{grid-template-columns:repeat(4,1fr)}
  .doc-grid,.doc-grid-4{grid-template-columns:repeat(3,1fr)}
  .dsh-home-columns-3,.dsh-home-category-sections,.tom-archive-shell,.tom-single-grid{grid-template-columns:1fr}
}
@media (max-width:860px){
  .nav-links,.nav-right .btn-login,.nav-right .btn-register{display:none}
  .hamburger,.tom-header-toggle{display:flex}
  .navbar .container{padding:12px 16px}
  .hero{padding:56px 0 72px}
  .hero h1{font-size:33.48px}
  .hero p{font-size:14.88px;margin-bottom:24px}
  .search-box{padding:14px;display:block}
  .search-box .search-filter{border-left:none;border-top:1px solid var(--border);padding:10px 0 0;margin-top:10px}
  .search-box .btn-search{width:100%;justify-content:center;margin-top:12px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat-item:nth-child(2){border-right:none}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .doc-grid,.doc-grid-4{grid-template-columns:repeat(2,1fr)}
  .tom-single-shell{grid-template-columns:1fr;padding:22px}
}
@media (max-width:640px){
  .container{width:min(100% - 24px,var(--tom-container))}
  .section-pad{padding:42px 0}
  .stats-grid{grid-template-columns:1fr}
  .stat-item{border-right:none;border-bottom:1px solid var(--border)}
  .stat-item:last-child{border-bottom:none}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .doc-grid,.doc-grid-4{grid-template-columns:1fr}
  .tom-doc-item{display:block}
  .tom-doc-item__media{display:none}
  .tom-doc-item__actions{margin-top:12px;flex-direction:row;align-items:center;justify-content:flex-start;min-width:0}
  .tom-mobile-bottom-nav{display:grid}
}


/* ===== 2.1.1 single layout fit to Document Share ===== */
.single-doc-wrap.tom-single-docshare{max-width:1000px;margin:0 auto;padding:32px 24px 60px}
.tom-single-docshare .entry-breadcrumbs{margin-bottom:24px}
.tom-single-docshare .single-hero{display:grid;grid-template-columns:220px 1fr;gap:32px;background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);padding:28px;margin-bottom:24px;box-shadow:none}
.tom-single-docshare .single-hero.tom-single-hero-card--post{grid-template-columns:1fr;gap:24px}
.tom-single-docshare .single-cover{border-radius:10px;overflow:hidden;aspect-ratio:3/4;background:var(--primary-light);display:flex;align-items:center;justify-content:center;font-size:59.52px;border:0}
.tom-single-docshare .single-cover.tom-single-cover-card--landscape{aspect-ratio:16/9}
.tom-single-docshare .single-cover img{width:100%;height:100%;object-fit:cover}
.tom-single-cover-fallback{font-size:50.22px;font-weight:600;color:var(--primary)}
.tom-single-docshare .single-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.tom-single-docshare .single-pill{display:inline-flex;align-items:center;padding:4px 12px;border-radius:6px;font-size:11.16px;font-weight:600;background:var(--primary-light);color:var(--primary);border:none}
.tom-single-docshare .single-pill.verified{background:var(--accent);color:#fff}
.tom-single-docshare .single-title{font-size:22.32px;font-weight:600;color:var(--dark);margin:0 0 10px;line-height:1.35}
.tom-single-docshare .single-summary{font-size:13.02px;color:var(--text-light);margin:0 0 16px;line-height:1.65}
.tom-single-docshare .single-stats{display:flex;gap:20px;flex-wrap:wrap;font-size:12.09px;color:var(--text-light);margin-bottom:18px}
.tom-single-docshare .single-stats span{display:flex;align-items:center;gap:5px}
.tom-single-docshare .single-stats strong{color:var(--dark)}
.tom-single-docshare .single-cta{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.tom-single-docshare .single-cta .btn-download,.tom-single-docshare .single-cta .btn-buy{display:inline-flex;align-items:center;justify-content:center;min-width:160px;padding:13px 20px;border-radius:10px;font-size:13.95px;font-weight:600;border:none;transition:all .2s;text-decoration:none}
.tom-single-docshare .single-cta .btn-download{background:var(--primary);color:#fff;flex:1}
.tom-single-docshare .single-cta .btn-download:hover{background:var(--primary-dark);color:#fff;transform:translateY(-1px)}
.tom-single-docshare .single-cta .btn-buy{background:var(--secondary);color:#fff}
.tom-single-docshare .single-cta .btn-buy:hover{background:#e55a28;color:#fff}
.tom-single-docshare .single-cta .btn-upvote,.tom-single-docshare .single-cta .btn-contact,.tom-single-docshare .single-cta .btn-chat{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:10px;font-size:13.02px;font-weight:600;border:1.5px solid var(--border);background:var(--white);color:var(--text);transition:all .2s;text-decoration:none}
.tom-single-docshare .single-cta .btn-upvote:hover,.tom-single-docshare .single-cta .btn-contact:hover,.tom-single-docshare .single-cta .btn-chat:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-light)}
.tom-single-docshare .single-meta-table{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;font-size:12.09px}
.tom-single-docshare .single-meta-table span{display:flex;gap:6px}
.tom-single-docshare .single-meta-table strong{color:var(--dark);min-width:92px}
.tom-single-docshare .doc-section-card{background:var(--white);border:1.5px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-bottom:20px;box-shadow:none}
.tom-single-docshare .doc-section-head{padding:16px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:8px}
.tom-single-docshare .doc-section-head h2{font-size:15.81px;font-weight:600;color:var(--dark);margin:0}
.tom-single-docshare .doc-section-body{padding:22px}
.tom-single-docshare .doc-richtext{font-size:13.95px;line-height:1.78;color:var(--text)}
.tom-single-docshare .doc-richtext h2,.tom-single-docshare .doc-richtext h3{color:var(--dark);margin:20px 0 10px;font-weight:600}
.tom-single-docshare .doc-richtext p{margin-bottom:12px}
.tom-single-docshare .doc-richtext ul{padding-left:20px;margin-bottom:12px}
.tom-single-docshare .doc-richtext ul li{margin-bottom:6px;list-style:disc}
.tom-docshare-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tom-docshare-info-item{padding:14px 16px;border-radius:14px;background:var(--bg);border:1px solid var(--border);display:grid;gap:4px}
.tom-docshare-info-item span{font-size:11.16px;color:var(--text-light)}
.tom-docshare-info-item strong{font-size:13.02px;color:var(--dark);font-weight:600}
.tom-docshare-check-list{margin:0;padding-left:18px}
.tom-docshare-check-list li{margin-bottom:8px}
.tom-docshare-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.tom-docshare-support-card{background:var(--bg);border-radius:10px;padding:20px}
.tom-docshare-support-card h3{font-size:13.95px;font-weight:600;margin:0 0 10px;color:var(--dark)}
.tom-docshare-support-card p{font-size:12.09px;color:var(--text-light);margin:0 0 16px;line-height:1.7}
.tom-docshare-support-actions{display:flex;flex-wrap:wrap;gap:10px}
.tom-docshare-support-actions .btn-download,.tom-docshare-support-actions .btn-contact,.tom-docshare-support-actions .btn-chat{display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;border-radius:10px;font-size:12.09px;font-weight:600;text-decoration:none}
.tom-docshare-support-actions .btn-download{background:var(--primary);color:#fff}
.tom-docshare-support-actions .btn-contact,.tom-docshare-support-actions .btn-chat{border:1.5px solid var(--border);background:#fff;color:var(--text)}
.tom-docshare-problem{margin-top:14px !important}
.tom-docshare-related-list{padding:8px 0}
.tom-single-docshare .related-item{display:flex;justify-content:space-between;align-items:center;padding:10px 22px;border-bottom:1px solid var(--border);font-size:12.09px;transition:background .2s;gap:12px}
.tom-single-docshare .related-item:last-child{border-bottom:none}
.tom-single-docshare .related-item:hover{background:var(--primary-light)}
.tom-single-docshare .related-item a{color:var(--text);flex:1}
.tom-single-docshare .related-item a:hover{color:var(--primary)}
.tom-single-docshare .related-item .rel-link{color:var(--primary);font-weight:600;flex-shrink:0;margin-left:12px;white-space:nowrap}
.tom-docshare-tag-list a{text-decoration:none}
@media (max-width:860px){
  .single-doc-wrap.tom-single-docshare{padding:24px 16px 46px}
  .tom-single-docshare .single-hero{grid-template-columns:1fr;gap:20px;padding:22px}
  .tom-single-docshare .single-meta-table,.tom-docshare-info-grid,.tom-docshare-support-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .tom-single-docshare .single-title{font-size:20.46px}
  .tom-single-docshare .single-cta{flex-direction:column}
  .tom-single-docshare .single-cta .btn-download,.tom-single-docshare .single-cta .btn-buy,.tom-single-docshare .single-cta .btn-upvote,.tom-single-docshare .single-cta .btn-contact,.tom-single-docshare .single-cta .btn-chat{width:100%}
  .tom-single-docshare .single-meta-table span{display:block}
}


/* ===== 2.1.2 header cleanup + global font scale ===== */
html,body,button,input,select,textarea{font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important}
body{font-size:13.95px}
.site-header__topbar{display:none !important}
.navbar--docshare-clean{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:80}
.navbar--docshare-clean .container{display:flex;align-items:center;gap:18px;padding:14px 24px}
.navbar--docshare-clean .site-brand{flex:0 0 auto}
.nav-links{flex:1 1 auto;min-width:0;justify-content:flex-start}
.nav-links .menu--primary{justify-content:flex-start;flex-wrap:wrap}
.nav-links .menu--primary > li > a{min-height:42px;font-weight:600;color:var(--text)}
.nav-links nav,.nav-links > div,.nav-links > ul{display:block;width:100%}
.nav-links .menu--primary{display:flex !important;visibility:visible;opacity:1}
.nav-right{margin-left:auto;gap:10px}
.btn-login,.btn-register{font-weight:600}
@media (max-width: 991px){
  .nav-links,.nav-right .btn-login,.nav-right .btn-register{display:none}
  .hamburger,.tom-header-toggle{display:flex}
  .navbar--docshare-clean .container{padding:12px 16px}
}


/* v2.1.4 single + footer rebuild */
.tom-related-grid,.tom-docshare-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:8px 0 0}
.tom-related-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;padding:14px;border:1px solid var(--tom-border);border-radius:20px;background:#fff;box-shadow:var(--tom-shadow-sm);align-items:stretch}
.tom-related-card__thumb{display:block;border-radius:16px;overflow:hidden;background:var(--tom-primary-soft);min-height:120px;height:100%}
.tom-related-card__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.tom-related-card__thumb-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:120px;font-size:33px;font-weight:600;color:var(--tom-primary)}
.tom-related-card__body{display:grid;gap:10px;align-content:start}
.tom-related-card__body h3{margin:0;font-size:16.74px;line-height:1.4}
.tom-related-card__body h3 a{color:var(--tom-text)}
.tom-related-card__body h3 a:hover{color:var(--tom-primary)}
.tom-related-card__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:auto}
.tom-related-card__meta .rel-link{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:var(--tom-primary-soft);color:var(--tom-primary);font-size:11.16px;font-weight:600}
.tom-related-card__more{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--tom-border);background:#fff;color:var(--tom-text);font-size:11.16px;font-weight:600}
.tom-related-card__more:hover{border-color:var(--tom-primary);color:var(--tom-primary)}

.site-footer--compact-links{padding:20px 0 86px;border-top:1px solid var(--tom-border);background:#fff}
.site-footer__grid--five{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;padding:10px 0 24px;border-bottom:1px solid var(--tom-border)}
.site-footer__iconlist{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.site-footer__iconlist li{margin:0}
.site-footer__iconlist a{display:flex;align-items:flex-start;gap:10px;color:var(--tom-text);line-height:1.45}
.site-footer__icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:var(--tom-primary-soft);color:var(--tom-primary);font-size:11px;font-weight:600;flex:0 0 22px;margin-top:1px}
.site-footer__iconlist a:hover{color:var(--tom-primary)}
.site-footer__iconlist a:hover .site-footer__icon{background:rgba(26,110,245,.14)}
.site-footer__col h4{margin:0 0 14px;font-size:15.81px;line-height:1.35}

@media (max-width: 1100px){
  .site-footer__grid--five{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 860px){
  .tom-related-grid,.tom-docshare-related-grid{grid-template-columns:1fr}
  .tom-related-card{grid-template-columns:132px minmax(0,1fr)}
  .site-footer__grid--five{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 640px){
  .tom-related-card{grid-template-columns:1fr}
  .tom-related-card__thumb,.tom-related-card__thumb-fallback{min-height:160px}
  .site-footer__grid--five{grid-template-columns:1fr}
}


/* ===== 2.2.0 CTA polish + WooCommerce fit ===== */
.btn-login{gap:10px}
.btn-login__count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:linear-gradient(135deg,#f59e0b 0%,#facc15 100%);color:#4a2d00;font-weight:700;line-height:1;box-shadow:0 8px 18px rgba(245,158,11,.26)}
.tom-mobile-drawer__extra .btn-login__count{margin-right:4px}

.tom-single-docshare .single-cta .btn-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 18px;border-radius:14px;border:1px solid transparent;font-weight:600;box-shadow:0 10px 24px rgba(15,23,42,.10)}
.tom-single-docshare .single-cta .btn-cta .btn-cta__icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:0 0 18px}
.tom-single-docshare .single-cta .btn-cta .btn-cta__icon svg{width:18px;height:18px;display:block}
.tom-single-docshare .single-cta .btn-cta--gold{background:linear-gradient(135deg,#f59e0b 0%,#facc15 100%);color:#3a2600}
.tom-single-docshare .single-cta .btn-cta--gold:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(245,158,11,.30);color:#2c1d00}
.tom-single-docshare .single-cta .btn-cta--orange{background:linear-gradient(135deg,#fb923c 0%,#f97316 100%);color:#fff}
.tom-single-docshare .single-cta .btn-cta--orange:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(249,115,22,.28);color:#fff}
.tom-single-docshare .single-cta .btn-cta--indigo{background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);color:#fff}
.tom-single-docshare .single-cta .btn-cta--indigo:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(79,70,229,.26);color:#fff}
.tom-single-docshare .single-cta .btn-cta--green{background:linear-gradient(135deg,#10b981 0%,#059669 100%);color:#fff}
.tom-single-docshare .single-cta .btn-cta--green:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(5,150,105,.26);color:#fff}
.tom-single-docshare .single-cta .btn-download.btn-cta,.tom-single-docshare .single-cta .btn-upvote.btn-cta,.tom-single-docshare .single-cta .btn-contact.btn-cta,.tom-single-docshare .single-cta .btn-chat.btn-cta{border:none}

.tom-woo-hero{padding:24px 0 12px}
.tom-woo-hero .woocommerce-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12.09px;color:var(--tom-muted);margin:0 0 10px}
.tom-woo-hero .woocommerce-breadcrumb a{color:var(--tom-muted)}
.tom-woo-hero__head{padding:8px 0 4px}
.tom-woo-hero__head h1{margin:0 0 8px;font-size:35.34px;line-height:1.12;color:var(--tom-text)}
.tom-woo-hero__head p{margin:0;max-width:880px;color:var(--tom-muted)}
.tom-woo-archive,.tom-woo-single{padding:0 0 28px}
.tom-woo-card{padding:22px;border:1px solid var(--tom-border);border-radius:24px;background:#fff;box-shadow:var(--tom-shadow-sm)}
.woocommerce .woocommerce-notices-wrapper:empty{display:none}
.woocommerce .woocommerce-notices-wrapper>*{margin-bottom:14px}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{margin:0 0 14px;padding:14px 16px 14px 46px;border:1px solid var(--tom-border);border-radius:16px;background:#fff;box-shadow:var(--tom-shadow-sm)}
.woocommerce .woocommerce-message{border-color:rgba(16,185,129,.28);background:#f0fdf4}
.woocommerce .woocommerce-info{border-color:rgba(26,110,245,.22);background:#f8fbff}
.woocommerce .woocommerce-error{border-color:rgba(239,68,68,.26);background:#fff5f5}
.woocommerce .woocommerce-result-count{margin:0;color:var(--tom-muted);font-size:12.09px}
.woocommerce .woocommerce-ordering{margin:0 0 18px}
.woocommerce .woocommerce-ordering select{min-height:44px;padding:0 40px 0 14px;border:1px solid var(--tom-border);border-radius:14px;background:#fff;color:var(--tom-text)}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:100% !important;float:none !important;margin:0 !important;padding:0;border:1px solid var(--tom-border);border-radius:22px;background:#fff;box-shadow:var(--tom-shadow-sm);overflow:hidden;transition:.22s}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);border-color:var(--tom-primary)}
.woocommerce ul.products li.product a img{margin:0;width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--tom-primary-soft)}
.woocommerce ul.products li.product .woocommerce-loop-category__title,.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:14px 16px 0;font-size:17.67px;line-height:1.35;font-weight:600;color:var(--tom-text)}
.woocommerce ul.products li.product .woocommerce-loop-category__title .count{font-size:12.09px;color:var(--tom-muted);font-weight:500}
.woocommerce ul.products li.product .price{display:block;padding:8px 16px 0;color:var(--tom-primary);font-size:13.95px;font-weight:600}
.woocommerce ul.products li.product .star-rating{margin:8px 16px 0}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{display:inline-flex;align-items:center;justify-content:center;margin:14px 16px 16px;padding:0 16px;min-height:42px;border-radius:12px;background:var(--tom-primary);color:#fff;font-weight:600}
.woocommerce ul.products li.product .button:hover,.woocommerce ul.products li.product .added_to_cart:hover{background:var(--tom-primary-dark);color:#fff}
.woocommerce span.onsale{left:14px;top:14px;min-height:34px;line-height:34px;padding:0 12px;border-radius:999px;background:linear-gradient(135deg,#f59e0b 0%,#facc15 100%);color:#3a2600;font-weight:700;box-shadow:none}
.woocommerce nav.woocommerce-pagination ul{display:flex;gap:8px;align-items:center;justify-content:center;border:none}
.woocommerce nav.woocommerce-pagination ul li{border:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border:1px solid var(--tom-border);border-radius:12px;background:#fff;color:var(--tom-text);padding:0 12px}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--tom-primary);border-color:var(--tom-primary);color:#fff}

.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:24px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none !important;width:auto !important;margin:0 !important}
.woocommerce div.product div.images{padding:18px;border:1px solid var(--tom-border);border-radius:22px;background:#fff;box-shadow:var(--tom-shadow-sm)}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{overflow:hidden;border-radius:16px}
.woocommerce div.product div.images img{border-radius:16px}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto !important;float:none !important;margin:0 !important}
.woocommerce div.product div.summary{padding:22px;border:1px solid var(--tom-border);border-radius:22px;background:#fff;box-shadow:var(--tom-shadow-sm)}
.woocommerce div.product .product_title{margin:0 0 12px;font-size:33px;line-height:1.16;font-weight:600;color:var(--tom-text)}
.woocommerce div.product p.price,.woocommerce div.product span.price{margin:0 0 12px;color:var(--tom-primary);font-size:22px;font-weight:600}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--tom-muted);margin-bottom:16px}
.woocommerce div.product form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}
.woocommerce div.product form.cart .quantity .qty{min-height:46px;border:1px solid var(--tom-border);border-radius:12px;padding:0 10px}
.woocommerce div.product form.cart .single_add_to_cart_button{min-height:48px;padding:0 20px;border-radius:14px;background:linear-gradient(135deg,#f59e0b 0%,#facc15 100%);color:#3a2600;font-weight:700}
.woocommerce div.product form.cart .single_add_to_cart_button:hover{background:linear-gradient(135deg,#f59e0b 0%,#fbbf24 100%);color:#2f1f00}
.woocommerce div.product .product_meta{display:grid;gap:8px;padding-top:16px;border-top:1px solid var(--tom-border);color:var(--tom-muted);font-size:12.09px}
.woocommerce div.product .product_meta a{color:var(--tom-text)}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin-top:2px}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;gap:10px;flex-wrap:wrap;padding:0 !important;margin:0 0 14px !important;border:none !important}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:none !important;background:transparent !important;margin:0 !important;padding:0 !important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:inline-flex;padding:10px 16px;border:1px solid var(--tom-border);border-radius:999px;background:#fff;color:var(--tom-text);font-weight:600}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:var(--tom-primary);border-color:var(--tom-primary);color:#fff}
.woocommerce div.product .woocommerce-tabs .panel{padding:22px;border:1px solid var(--tom-border);border-radius:22px;background:#fff;box-shadow:var(--tom-shadow-sm)}
.woocommerce div.product .woocommerce-tabs .panel h2:first-child{margin-top:0;font-size:22px;font-weight:600}
.woocommerce div.product .woocommerce-tabs .panel p:last-child{margin-bottom:0}
.woocommerce #reviews #comments ol.commentlist{padding:0}
.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0 0 0 92px;border:1px solid var(--tom-border);border-radius:16px}
.woocommerce .related.products,.woocommerce .up-sells.upsells{grid-column:1/-1;margin-top:4px}
.woocommerce .related.products > h2,.woocommerce .up-sells.upsells > h2{margin:0 0 16px;font-size:22px;font-weight:600;color:var(--tom-text)}
.woocommerce table.shop_attributes,.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{border-color:var(--tom-border)}
.woocommerce table.shop_attributes th{background:#f8fbff;font-weight:600}

@media (max-width: 1100px){
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .woocommerce div.product{grid-template-columns:1fr}
}
@media (max-width: 767px){
  .btn-login{padding:10px 14px}
  .tom-woo-card{padding:16px}
  .tom-woo-hero__head h1{font-size:28px}
  .woocommerce ul.products{grid-template-columns:1fr}
  .woocommerce div.product .product_title{font-size:27px}
  .woocommerce div.product div.images .flex-control-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}
}


/* v2.3.0 Woo sidebar + product ratio refresh */
.tom-woo-shell{display:grid;grid-template-columns:252px minmax(0,1fr);gap:22px;align-items:start}
.tom-woo-sidebar{position:sticky;top:126px}
.tom-woo-sidebar__card{padding:16px 14px;border:1px solid var(--tom-border);border-radius:22px;background:#fff;box-shadow:var(--tom-shadow-sm)}
.tom-woo-sidebar__head{display:grid;gap:4px;margin-bottom:12px}
.tom-woo-sidebar__head strong{font-size:14px;font-weight:600;color:var(--tom-text)}
.tom-woo-sidebar__head span{font-size:11px;color:var(--tom-muted)}
.tom-woo-cat-list,.tom-woo-cat-list li{list-style:none;margin:0;padding:0}
.tom-woo-cat-list{display:grid;gap:6px}
.tom-woo-cat-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;text-decoration:none;color:var(--tom-text);border:1px solid transparent;background:#fff}
.tom-woo-cat-list a:hover{border-color:var(--tom-border);background:#f8fbff}
.tom-woo-cat-list li.is-current>a{background:#eef6ff;border-color:#cfe2f7;color:var(--tom-primary);font-weight:600}
.tom-woo-cat-list a span{min-width:0}
.tom-woo-cat-list a small{font-size:11px;color:var(--tom-muted)}
.tom-woo-cat-list--child{margin:6px 0 2px 12px;padding-left:10px;border-left:1px dashed var(--tom-border)}
.tom-woo-main{min-width:0}
.tom-woo-loop-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.tom-woo-loop-head .woocommerce-result-count{margin-right:auto}
.woocommerce ul.products li.product a img{margin:0;width:100%;aspect-ratio:4/6;object-fit:cover;background:var(--tom-primary-soft)}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{width:calc(100% - 32px);margin-top:12px}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper{overflow:hidden;border-radius:18px}
.woocommerce div.product div.images .woocommerce-product-gallery__image a{display:block;aspect-ratio:4/6;background:var(--tom-primary-soft)}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:cover;border-radius:18px}
.woocommerce div.product div.images .flex-control-thumbs li img{aspect-ratio:4/6;object-fit:cover;border-radius:12px}
.woocommerce div.product form.cart .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;min-width:180px}
.woocommerce div.product .summary .price ins,.woocommerce div.product .summary .price bdi{font-weight:600}
.woocommerce .related.products ul.products{margin-top:0}
.woocommerce .related.products ul.products li.product{min-height:100%}
.woocommerce nav.woocommerce-pagination{margin-top:22px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{font-weight:600}
@media (max-width:1100px){
  .tom-woo-shell{grid-template-columns:1fr}
  .tom-woo-sidebar{position:static}
}


/* v2.3.0 archive filter sidebar compact */
.tom-archive-shell{grid-template-columns:272px minmax(0,1fr)}
.tom-archive-sidebar .tom-sidebar-card{padding:16px}
.tom-archive-sidebar .tom-sidebar-card__head strong{font-size:14px}
.tom-archive-sidebar .tom-sidebar-card__head span{font-size:11px}
.tom-filters__searchline{gap:10px}
.tom-filters__actions--top .tom-btn{min-height:40px;padding:0 12px}
.tom-filter-more{min-height:38px;padding:0 12px;border-radius:12px;border:1px solid var(--tom-border);background:#fff;color:var(--tom-text);font-weight:600}
@media (max-width:1100px){
  .tom-archive-shell{grid-template-columns:1fr}
}


/* v2.3.1 archive sidebar narrower */
.tom-archive-shell{grid-template-columns:236px minmax(0,1fr);gap:18px}
.tom-archive-sidebar .tom-sidebar-card{padding:14px}
.tom-archive-sidebar .tom-sidebar-card__head{margin-bottom:10px}
.tom-archive-sidebar .tom-sidebar-card__head strong{font-size:13px}
.tom-archive-sidebar .tom-sidebar-card__head span{font-size:10.5px;line-height:1.35}
.tom-results-meta{margin-bottom:12px}
@media (max-width:1100px){.tom-archive-shell{grid-template-columns:1fr}}


/* v2.3.2 home compact list + Woo 4-column fix */
.tom-doc-list--compact .tom-list-row{grid-template-columns:74px minmax(0,1fr);gap:12px;align-items:start;padding:12px 16px;border:none;border-bottom:1px solid var(--border);border-radius:0;box-shadow:none;background:transparent}
.tom-doc-list--compact .tom-list-row:last-child{border-bottom:none}
.tom-doc-list--compact .tom-list-row__media{width:74px;aspect-ratio:4/6;align-self:start;border-radius:12px;overflow:hidden}
.tom-doc-list--compact .tom-list-row__media img{width:100%;height:100%;object-fit:cover;display:block}
.tom-doc-list--compact .tom-list-row__main{gap:6px}
.tom-doc-list--compact .tom-list-row__meta-top{gap:6px}
.tom-doc-list--compact .tom-list-row__type,.tom-doc-list--compact .tom-list-row__cat{min-height:24px;padding:0 8px;font-size:10px}
.tom-doc-list--compact .tom-list-row__title{font-size:12.6px;line-height:1.4}
.tom-doc-list--compact .tom-list-row__excerpt,.tom-doc-list--compact .tom-list-row__chips{display:none}
.tom-doc-list--compact .tom-list-row__meta{grid-column:2;justify-items:start;min-width:0;gap:8px}
.tom-doc-list--compact .tom-list-row__price{font-size:12.6px;line-height:1.25}
.tom-doc-list--compact .tom-list-row__actions{flex-direction:row;flex-wrap:wrap;gap:8px}
.tom-doc-list--compact .tom-list-row__actions .tom-btn{width:auto;min-height:34px;padding:0 10px;font-size:11px;border-radius:10px}
.tom-doc-list--compact .tom-list-row__actions .tom-btn--ghost{border:1px solid var(--tom-border)}
.dsh-home-list-card .tom-doc-list--compact{display:grid}
.dsh-home-list-card .tom-doc-list--compact .tom-list-row + .tom-list-row{margin-top:0}

.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{width:calc(100% - 28px);margin:12px 14px 14px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:12px 14px 0;font-size:15px}
.woocommerce ul.products li.product .price{padding:8px 14px 0;font-size:13px}
.woocommerce ul.products li.product .product-cat-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;margin:12px 14px 0;border-radius:999px;background:#eef6ff;color:var(--tom-primary);font-size:10px;font-weight:600}
.woocommerce ul.products li.product .tom-product-card__body{display:flex;flex-direction:column;min-height:164px}
.woocommerce ul.products li.product .tom-product-card__actions{margin-top:auto;padding-top:10px}
.woocommerce ul.products li.product .tom-product-card__actions .button,
.woocommerce ul.products li.product .tom-product-card__actions .added_to_cart{margin:0;width:100%}
.woocommerce ul.products li.product a img{aspect-ratio:4/6}
.woocommerce .related.products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
.woocommerce .woocommerce-loop-product__link{text-decoration:none}
@media (max-width:1200px){
  .woocommerce ul.products,.woocommerce .related.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:980px){
  .woocommerce ul.products,.woocommerce .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .tom-doc-list--compact .tom-list-row{grid-template-columns:64px minmax(0,1fr);padding:12px 14px}
  .tom-doc-list--compact .tom-list-row__media{display:block;width:64px}
  .tom-doc-list--compact .tom-list-row__actions .tom-btn{min-height:32px}
  .woocommerce ul.products,.woocommerce .related.products ul.products{grid-template-columns:1fr}
}


/* v2.3.3 mobile polish */
.tom-mobile-bottom-nav__saved{
  background:linear-gradient(135deg,#fff7d6 0%,#ffe08a 100%);
  color:#6b4a00 !important;
  box-shadow:0 10px 24px rgba(245,158,11,.22);
}
.tom-mobile-bottom-nav__count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:24px;
  height:24px;
  padding:0 6px;
  margin-right:6px;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-size:11px;
  font-weight:700;
  line-height:1;
}
@media (max-width: 767px){
  .navbar,.navbar--docshare-clean{position:relative;top:auto;box-shadow:none}
  .navbar .container,.navbar--docshare-clean .container{padding:10px 12px;gap:10px;min-height:0}
  .navbar .site-brand,.navbar--docshare-clean .site-brand{gap:8px}
  .site-brand__logo{width:34px;height:34px;border-radius:10px;font-size:14px}
  .site-brand__logo-image--header{max-height:34px}
  .site-brand__text strong{font-size:13px}
  .site-brand__text span{display:none}
  .hamburger,.tom-header-toggle{width:38px;height:38px;border-radius:10px}
  .nav-right{gap:8px}

  .tom-archive-sidebar,
  .tom-woo-sidebar,
  .tom-single-sidebar,
  .tom-mobile-filter-btn,
  .tom-mobile-filter-panel{display:none !important}

  .tom-card-grid,
  .tom-home-columns-2,
  .tom-home-columns-3,
  .tom-service-grid,
  .toms-mode-grid,
  .woocommerce ul.products,
  .woocommerce .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr)) !important}

  .dsh-home-list-card .tom-doc-list--compact,
  .tom-doc-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:none;background:transparent}
  .tom-doc-list .tom-doc-item,
  .tom-doc-list .tom-list-row,
  .dsh-home-list-card .tom-doc-list--compact .tom-list-row{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    padding:12px;
    border:1px solid var(--tom-border);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--tom-shadow-sm);
  }
  .tom-doc-list .tom-doc-item__media,
  .tom-doc-list .tom-list-row__media,
  .dsh-home-list-card .tom-doc-list--compact .tom-list-row__media{
    display:block;
    width:100%;
    min-width:0;
    aspect-ratio:4/6;
    border-radius:12px;
    overflow:hidden;
  }
  .tom-doc-list .tom-doc-item__media img,
  .tom-doc-list .tom-list-row__media img{width:100%;height:100%;object-fit:cover}
  .tom-doc-list .tom-doc-item__actions,
  .tom-doc-list .tom-list-row__actions{min-width:0;align-items:stretch;justify-content:flex-start;gap:8px}
  .tom-doc-list .tom-doc-item__actions .tom-btn,
  .tom-doc-list .tom-list-row__actions .tom-btn{width:100%;min-height:34px;padding:0 10px;font-size:11px}
  .tom-doc-list .tom-doc-item__title,
  .tom-doc-list .tom-list-row__title{font-size:12px;line-height:1.4}
  .tom-doc-list .tom-doc-item__excerpt,
  .tom-doc-list .tom-list-row__excerpt{display:none}
  .tom-doc-list .tom-doc-item__meta,
  .tom-doc-list .tom-list-row__meta{gap:6px;font-size:10px}
  .tom-doc-list .tom-doc-item__top,
  .tom-doc-list .tom-list-row__meta-top{gap:6px}

  .tom-woo-card{padding:14px}
  .woocommerce ul.products{gap:12px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;padding:10px 10px 0}
  .woocommerce ul.products li.product .price{padding:7px 10px 0;font-size:12px}
  .woocommerce ul.products li.product .product-cat-chip{margin:10px 10px 0;font-size:9.5px}
  .woocommerce ul.products li.product .button,
  .woocommerce ul.products li.product .added_to_cart{width:calc(100% - 20px);margin:10px 10px 10px;min-height:36px;padding:0 10px;font-size:11px}
  .woocommerce .related.products > h2,.woocommerce .up-sells.upsells > h2{font-size:18px}

  .site-footer--docshare{padding-bottom:96px}
  .tom-mobile-bottom-nav{left:10px;right:10px;bottom:10px;padding:8px;gap:8px}
  .tom-mobile-bottom-nav a{min-height:46px;padding:0 6px;font-size:10.5px;line-height:1.15;flex-direction:column;gap:3px}
}


/* v2.3.4 mobile footer + compact Woo related */
@media (max-width: 640px){
  .site-footer__grid--five{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .site-footer__col h4{font-size:14px}
  .site-footer__iconlist{gap:8px}
  .site-footer__iconlist a{font-size:12px;line-height:1.4}
}
.tom-mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.tom-mobile-bottom-nav a{display:grid;place-items:center;gap:4px;padding:8px 6px;line-height:1.15}
.tom-mobile-bottom-nav a.is-saved-package{background:linear-gradient(135deg,#f59e0b 0%,#facc15 100%);color:#4a2d00;font-weight:700}
.tom-mobile-bottom-nav a.is-saved-package .btn-login__count{min-width:22px;height:22px;padding:0 6px;background:rgba(255,255,255,.7);box-shadow:none;font-size:11px}

.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.woocommerce ul.products li.product{display:flex;flex-direction:column}
.woocommerce ul.products li.product .tom-woo-product-card__media{display:block;background:var(--tom-primary-soft)}
.woocommerce ul.products li.product .tom-woo-loop-thumb,.woocommerce ul.products li.product a img{display:block;width:100%;height:auto;aspect-ratio:4/6;object-fit:cover;background:var(--tom-primary-soft)}
.woocommerce ul.products li.product .tom-woo-product-card__body{display:grid;gap:10px;padding:14px 14px 16px}
.woocommerce ul.products li.product .tom-woo-product-card__chips{display:flex;gap:6px;flex-wrap:wrap}
.woocommerce ul.products li.product .tom-woo-product-card__chip{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef6ff;color:var(--tom-primary);font-size:10.5px;font-weight:600;line-height:1}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .tom-woo-product-card__title{padding:0;margin:0;font-size:15px;line-height:1.42;font-weight:600}
.woocommerce ul.products li.product .tom-woo-product-card__title a{color:var(--tom-text)}
.woocommerce ul.products li.product .price,.woocommerce ul.products li.product .tom-woo-product-card__price{padding:0;margin:0;color:var(--tom-primary);font-size:14px;font-weight:600}
.woocommerce ul.products li.product .tom-woo-product-card__actions{margin-top:auto}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{width:100%;margin:0;min-height:40px;font-size:12.5px;border-radius:12px}
.woocommerce .related.products{margin-top:8px}
.woocommerce .related.products > h2{margin-bottom:12px}
.woocommerce .related.products ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.woocommerce .related.products ul.products li.product{border-radius:16px}
.woocommerce .related.products ul.products li.product .tom-woo-product-card__body{gap:8px;padding:10px 10px 12px}
.woocommerce .related.products ul.products li.product .tom-woo-product-card__chips{display:none}
.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title,.woocommerce .related.products ul.products li.product .tom-woo-product-card__title{font-size:12.5px;line-height:1.38}
.woocommerce .related.products ul.products li.product .price,.woocommerce .related.products ul.products li.product .tom-woo-product-card__price{font-size:12px}
.woocommerce .related.products ul.products li.product .button,.woocommerce .related.products ul.products li.product .added_to_cart{display:none !important}
@media (max-width: 1100px){
  .woocommerce ul.products,.woocommerce .related.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width: 767px){
  .woocommerce ul.products,.woocommerce .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .woocommerce ul.products li.product .tom-woo-product-card__body{padding:10px 10px 12px;gap:8px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce ul.products li.product .tom-woo-product-card__title{font-size:13px}
  .woocommerce ul.products li.product .price,.woocommerce ul.products li.product .tom-woo-product-card__price{font-size:12px}
  .woocommerce ul.products li.product .button,.woocommerce ul.products li.product .added_to_cart{min-height:36px;font-size:11px}
}

/* Imported self-contained homepage/header/footer layout, scoped to .tom-marketing-layout. */

    .tom-marketing-layout{--orange:#ff6a1a;--purple:#5b21b6;--navy:#07142f;--ink:#17233d;--text:#4b5568;--muted:#7a8598;--line:#e2e8f0;--soft:#fff4ee;--shadow:0 14px 34px rgba(20,30,60,.10);--soft-shadow:0 8px 22px rgba(15,35,70,.07);--container:1160px}
    .tom-marketing-layout, .tom-marketing-layout *{box-sizing:border-box}.tom-marketing-layout{scroll-behavior:smooth}.tom-marketing-layout{margin:0;background:#fff;color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}.tom-marketing-layout a{text-decoration:none;color:inherit}.tom-marketing-layout img{display:block;max-width:100%}.tom-marketing-layout .container{width:min(var(--container),calc(100% - 48px));margin:0 auto}.tom-marketing-layout .section{padding:28px 0 0}.tom-marketing-layout .head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.tom-marketing-layout .head h2{margin:0;color:#17233d;font-size:24px;line-height:1.22;font-weight:700;letter-spacing:-.03em}.tom-marketing-layout .label{display:block;color:var(--orange);font-size:11px;text-transform:uppercase;font-weight:700;margin-bottom:5px}.tom-marketing-layout .view{font-size:12px;color:var(--orange);font-weight:700;white-space:nowrap}.tom-marketing-layout .btn{height:42px;border:0;border-radius:8px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.tom-marketing-layout .btn-orange{background:var(--orange);color:#fff;box-shadow:0 12px 25px rgba(255,106,26,.25)}.tom-marketing-layout .btn-light{background:#fff;border:1px solid #d8dee9;color:#18243d}.tom-marketing-layout .btn-outline{background:#fff;border:1px solid #e1e7f0;color:#22314d}.tom-marketing-layout .price{color:#17233d;font-size:22px;font-weight:700;letter-spacing:-.02em}.tom-marketing-layout .tag{height:22px;display:inline-flex;align-items:center;border-radius:999px;background:#fff0e8;color:var(--orange);padding:0 9px;font-size:10px;font-weight:700}
    .tom-marketing-layout .top-strip{height:30px;background:#09142c;color:#dbe4f2;font-size:11px}.tom-marketing-layout .top-inner{height:30px;display:flex;align-items:center;justify-content:space-between}.tom-marketing-layout .top-left,.tom-marketing-layout .top-right{display:flex;align-items:center;gap:22px}.tom-marketing-layout .top-left span:first-child:before{content:"●";color:var(--orange);margin-right:6px}.tom-marketing-layout .top-left span:nth-child(2):before{content:"✉";color:var(--orange);margin-right:6px}.tom-marketing-layout .top-right span:last-child:before{content:"●";color:var(--orange);margin-right:6px}
    .tom-marketing-layout .topbar{height:72px;background:#fff;border-bottom:1px solid #eef2f6;box-shadow:0 4px 16px rgba(15,35,60,.05);position:sticky;top:0;z-index:80}.tom-marketing-layout .header{height:72px;display:grid;grid-template-columns:260px 1fr 260px;gap:22px;align-items:center}.tom-marketing-layout .brand{display:flex;align-items:center;gap:8px}.tom-marketing-layout .brand-mark{width:25px;height:25px;border-radius:50%;background:var(--orange);position:relative}.tom-marketing-layout .brand-mark:before{content:"";position:absolute;left:6px;top:5px;width:12px;height:14px;border-radius:5px;border:3px solid #fff;border-top-color:transparent;transform:rotate(-25deg)}.tom-marketing-layout .brand-title{font-size:20px;line-height:1;font-weight:700;letter-spacing:-.055em;color:var(--orange)}.tom-marketing-layout .brand-title span{color:#111827;font-size:15px;letter-spacing:-.04em}.tom-marketing-layout .nav{display:flex;align-items:center;justify-content:center;gap:24px;white-space:nowrap}.tom-marketing-layout .nav a{height:72px;display:flex;align-items:center;color:#233044;font-size:13px;font-weight:700;position:relative}.tom-marketing-layout .nav a.active{color:var(--orange)}.tom-marketing-layout .nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--orange);border-radius:99px 99px 0 0}.tom-marketing-layout .actions{display:flex;justify-content:flex-end;gap:12px;align-items:center}.tom-marketing-layout .actions .btn{height:38px;font-size:12px;padding:0 18px}
    .tom-marketing-layout .hero{position:relative;overflow:hidden;background:#fff;min-height:500px}.tom-marketing-layout .hero:before{content:"";position:absolute;right:-90px;top:22px;width:560px;height:390px;border-radius:48% 52% 46% 54%;background:linear-gradient(135deg,rgba(255,106,26,.08),rgba(124,58,237,.10))}.tom-marketing-layout .hero:after{content:"";position:absolute;right:0;bottom:0;width:540px;height:260px;background:radial-gradient(circle at 70% 60%,rgba(255,106,26,.12),transparent 35%);pointer-events:none}.tom-marketing-layout .hero-inner{position:relative;z-index:2;min-height:500px;display:grid;grid-template-columns:1fr 555px;gap:42px;align-items:center;padding:42px 0 36px}.tom-marketing-layout .hero-label{display:inline-flex;align-items:center;gap:8px;height:30px;border-radius:999px;background:#fff4ee;border:1px solid #ffd8c4;color:#ca4a11;padding:0 13px;font-size:11px;font-weight:700;text-transform:uppercase;margin-bottom:18px}.tom-marketing-layout .hero h1{margin:0 0 16px;color:#111827;font-size:42px;line-height:1.08;font-weight:700;letter-spacing:-.045em}.tom-marketing-layout .hero h1 span{color:var(--orange)}.tom-marketing-layout .hero p{margin:0 0 22px;color:#4b5568;font-size:14px;max-width:620px}.tom-marketing-layout .hero-features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}.tom-marketing-layout .hero-feature{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center}.tom-marketing-layout .hero-feature .ico{width:36px;height:36px;border-radius:50%;background:#fff3ec;color:var(--orange);display:grid;place-items:center;font-size:18px;border:1px solid #ffd5bf}.tom-marketing-layout .hero-feature strong{display:block;color:#22314d;font-size:12px;font-weight:700}.tom-marketing-layout .hero-feature span{display:block;color:#7b8796;font-size:10.5px;margin-top:2px}.tom-marketing-layout .hero-actions{display:flex;gap:14px;flex-wrap:wrap}
    .tom-marketing-layout .hero-art{position:relative;height:380px}.tom-marketing-layout .marketing-scene{position:absolute;left:12px;right:0;bottom:8px;height:350px}.tom-marketing-layout .dashboard,.tom-marketing-layout .content-card,.tom-marketing-layout .ads-card,.tom-marketing-layout .market-card,.tom-marketing-layout .phone-card,.tom-marketing-layout .report-card,.tom-marketing-layout .video-card{position:absolute;border-radius:16px;background:#fff;border:1px solid #eef2f6;box-shadow:0 22px 44px rgba(20,30,60,.16);overflow:hidden}.tom-marketing-layout .dashboard{right:40px;top:18px;width:300px;height:188px;background:linear-gradient(135deg,#111827,#5b21b6 56%,#ff6a1a)}.tom-marketing-layout .dashboard:before{content:"OUTSOURCE\A MARKETING";white-space:pre;position:absolute;left:26px;top:30px;color:#fff;font-size:28px;line-height:1.02;font-weight:700;letter-spacing:-.05em}.tom-marketing-layout .dashboard:after{content:"Content • Ads • Video • E-commerce";position:absolute;left:26px;bottom:26px;color:#ffe4d5;font-size:12px;font-weight:700;letter-spacing:.03em}.tom-marketing-layout .content-card{left:70px;top:76px;width:238px;height:178px;padding:20px;transform:rotate(-7deg)}.tom-marketing-layout .content-card:before{content:"Content Plan";display:block;color:#17233d;font-size:19px;font-weight:700;letter-spacing:-.04em;margin-bottom:18px}.tom-marketing-layout .content-card span{display:block;height:10px;border-radius:99px;background:#e5e7eb;margin:13px 0;width:86%}.tom-marketing-layout .content-card span:nth-child(2){background:#ff6a1a;width:68%}.tom-marketing-layout .content-card span:nth-child(3){background:#5b21b6;width:76%}.tom-marketing-layout .ads-card{left:0;bottom:52px;width:166px;height:108px;padding:16px}.tom-marketing-layout .ads-card strong{display:block;color:var(--orange);font-size:25px;line-height:1;font-weight:700}.tom-marketing-layout .ads-card span{display:block;margin-top:8px;color:#64748b;font-size:11px}.tom-marketing-layout .video-card{left:238px;bottom:36px;width:184px;height:98px;background:#111b3b;transform:rotate(6deg)}.tom-marketing-layout .video-card:before{content:"VIDEO • REELS • TVC";position:absolute;left:22px;top:38px;color:#fff;font-size:13px;font-weight:700;letter-spacing:.08em}.tom-marketing-layout .market-card{right:98px;bottom:56px;width:210px;height:90px;padding:16px;transform:rotate(-5deg)}.tom-marketing-layout .market-card:before{content:"SHOPEE • LAZADA • TIKTOK SHOP";display:block;color:#17233d;font-size:12px;font-weight:700}.tom-marketing-layout .market-card:after{content:"Quản lý gian hàng, SKU, khuyến mãi, ads sàn, livestream";display:block;margin-top:8px;color:#7b8796;font-size:10.5px;line-height:1.35}.tom-marketing-layout .phone-card{right:12px;bottom:8px;width:114px;height:148px;border-radius:22px;background:#101b37}.tom-marketing-layout .phone-card:before{content:"LIVE";position:absolute;left:30px;top:20px;color:#fff;font-weight:700;font-size:15px;letter-spacing:.08em}.tom-marketing-layout .phone-card:after{content:"";position:absolute;left:22px;right:22px;bottom:26px;height:64px;border-radius:12px;background:linear-gradient(135deg,#ff6a1a,#7c3aed)}.tom-marketing-layout .report-card{right:184px;top:220px;width:156px;height:82px;padding:14px}.tom-marketing-layout .report-card:before{content:"ROAS / CPA / GMV";display:block;color:#17233d;font-size:14px;font-weight:700}.tom-marketing-layout .report-card:after{content:"Dashboard báo cáo theo tuần / tháng";display:block;margin-top:8px;color:#7b8796;font-size:10.5px}
    .tom-marketing-layout .category-bar{position:relative;z-index:4;margin-top:-8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 38px rgba(20,30,60,.10);display:grid;grid-template-columns:repeat(10,1fr);overflow:hidden}.tom-marketing-layout .cat{height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-right:1px solid #edf2f7;gap:7px}.tom-marketing-layout .cat:last-child{border-right:0}.tom-marketing-layout .cat .ico{width:34px;height:34px;border-radius:10px;background:#fff4ee;color:var(--orange);display:grid;place-items:center;font-size:17px}.tom-marketing-layout .cat span{font-size:11px;color:#26344b;font-weight:700;line-height:1.25}
    .tom-marketing-layout .pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tom-marketing-layout .pillar-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--soft-shadow);padding:22px;position:relative;overflow:hidden}.tom-marketing-layout .pillar-card:before{content:"";position:absolute;right:-34px;top:-34px;width:120px;height:120px;border-radius:50%;background:linear-gradient(135deg,rgba(255,106,26,.12),rgba(124,58,237,.12))}.tom-marketing-layout .pillar-card .no{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:#fff4ee;color:var(--orange);font-size:17px;font-weight:700;margin-bottom:14px}.tom-marketing-layout .pillar-card h3{margin:0 0 8px;color:#17233d;font-size:20px;font-weight:700;letter-spacing:-.03em}.tom-marketing-layout .pillar-card p{margin:0 0 14px;color:#556274;font-size:13px;line-height:1.55}.tom-marketing-layout .pillar-card ul,.tom-marketing-layout .package ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.tom-marketing-layout .pillar-card li,.tom-marketing-layout .package li{font-size:12px;color:#4b5568}.tom-marketing-layout .pillar-card li:before,.tom-marketing-layout .package li:before{content:"●";color:var(--orange);font-size:9px;margin-right:8px}
    .tom-marketing-layout .solution-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.tom-marketing-layout .solution-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--soft-shadow);padding:18px;min-height:160px}.tom-marketing-layout .solution-card .ico{width:40px;height:40px;border-radius:12px;background:#fff4ee;border:1px solid #ffd5bf;color:var(--orange);display:grid;place-items:center;font-size:18px;margin-bottom:12px}.tom-marketing-layout .solution-card h3{margin:0 0 6px;color:#17233d;font-size:14px;font-weight:700}.tom-marketing-layout .solution-card p{margin:0;color:#667085;font-size:11.5px;line-height:1.5}
    .tom-marketing-layout .service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.tom-marketing-layout .service-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--soft-shadow);overflow:hidden}.tom-marketing-layout .service-card img{height:138px;width:100%;object-fit:cover;background:#f3f4f6}.tom-marketing-layout .service-body{padding:14px}.tom-marketing-layout .service-card h3{margin:0 0 7px;color:#222d42;font-size:13px;font-weight:700;line-height:1.35}.tom-marketing-layout .service-card p{margin:0 0 12px;color:#667085;font-size:11.5px;line-height:1.45}.tom-marketing-layout .service-card a{color:var(--orange);font-size:11px;font-weight:700}
    .tom-marketing-layout .pricing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.tom-marketing-layout .package{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--soft-shadow);padding:20px;position:relative}.tom-marketing-layout .package.active{border:2px solid var(--orange);padding:19px;box-shadow:0 16px 34px rgba(255,106,26,.13)}.tom-marketing-layout .package .ribbon{position:absolute;top:-1px;right:18px;height:26px;border-radius:0 0 8px 8px;background:var(--orange);color:#fff;display:flex;align-items:center;padding:0 12px;font-size:10px;font-weight:700;text-transform:uppercase}.tom-marketing-layout .package h3{margin:0;color:#17233d;font-size:17px;font-weight:700}.tom-marketing-layout .package .sub{color:#7b8796;font-size:12px;margin:4px 0 10px}.tom-marketing-layout .package .price{margin-bottom:12px}.tom-marketing-layout .package .note{font-size:10.5px;color:#7b8796;margin-top:-6px;margin-bottom:12px;line-height:1.45}.tom-marketing-layout .package ul{margin:0 0 18px}.tom-marketing-layout .package .btn{width:100%;height:36px;font-size:12px}
    .tom-marketing-layout .project-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.tom-marketing-layout .project{background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:var(--soft-shadow);overflow:hidden}.tom-marketing-layout .project img{height:112px;width:100%;object-fit:cover;background:#f3f4f6}.tom-marketing-layout .project-body{padding:10px}.tom-marketing-layout .project h3{margin:0 0 4px;color:#26344b;font-size:12px;font-weight:700;line-height:1.35}.tom-marketing-layout .project p{margin:0;color:#7b8796;font-size:10.5px}
    .tom-marketing-layout .logo-row{display:grid;grid-template-columns:repeat(10,1fr);gap:0;border:1px solid var(--line);background:#fff;border-radius:12px;box-shadow:var(--soft-shadow);overflow:hidden}.tom-marketing-layout .logo-cell{height:62px;display:grid;place-items:center;border-right:1px solid #eef2f7;color:#606a78;font-size:15px;font-weight:700;filter:grayscale(1);text-align:center}.tom-marketing-layout .logo-cell:last-child{border-right:0}
    .tom-marketing-layout .process-cta{display:grid;grid-template-columns:1fr 420px;gap:26px;align-items:center}.tom-marketing-layout .process-row{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.tom-marketing-layout .step{text-align:center;position:relative}.tom-marketing-layout .step:not(:last-child):after{content:"+";position:absolute;right:-11px;top:28px;color:var(--orange);font-size:18px;font-weight:700}.tom-marketing-layout .step .ico{width:56px;height:56px;border-radius:50%;background:#fff4ee;border:1px solid #ffd8c4;color:var(--orange);display:grid;place-items:center;font-size:24px;margin:0 auto 10px}.tom-marketing-layout .step h3{margin:0 0 5px;color:#17233d;font-size:11px;font-weight:700;line-height:1.35}.tom-marketing-layout .step p{margin:0;color:#7b8796;font-size:10.5px;line-height:1.35}.tom-marketing-layout .dark-cta{background:#111b3b;border-radius:13px;color:#fff;min-height:152px;position:relative;overflow:hidden;padding:28px 30px;box-shadow:0 16px 34px rgba(17,27,59,.18)}.tom-marketing-layout .dark-cta:before{content:"";position:absolute;right:-50px;bottom:-60px;width:220px;height:150px;background:radial-gradient(circle,#7c3aed 0 25%,transparent 26%),repeating-linear-gradient(135deg,rgba(255,106,26,.8) 0 2px,transparent 2px 7px);border-radius:50%;opacity:.55}.tom-marketing-layout .dark-cta h2{margin:0 0 8px;color:#fff;font-size:19px;line-height:1.3;font-weight:700}.tom-marketing-layout .dark-cta p{margin:0 0 18px;color:#d8e0ef;font-size:12px}
    .tom-marketing-layout .testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr) 190px;gap:18px}.tom-marketing-layout .quote{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--soft-shadow);padding:20px}.tom-marketing-layout .quote-mark{color:var(--orange);font-size:30px;font-weight:700;line-height:1}.tom-marketing-layout .quote p{margin:6px 0 16px;color:#4b5568;font-size:12px;line-height:1.55}.tom-marketing-layout .person{display:grid;grid-template-columns:38px 1fr;gap:10px;align-items:center}.tom-marketing-layout .avatar{width:38px;height:38px;border-radius:50%;object-fit:cover}.tom-marketing-layout .person strong{display:block;color:#26344b;font-size:12px;font-weight:700}.tom-marketing-layout .person span{display:block;color:#7b8796;font-size:10.5px}.tom-marketing-layout .rating-card{background:#111b3b;color:#fff;border-radius:12px;box-shadow:var(--soft-shadow);padding:24px;text-align:center;display:flex;flex-direction:column;justify-content:center}.tom-marketing-layout .rating-card strong{font-size:30px;font-weight:700;color:#fff}.tom-marketing-layout .rating-card strong span{font-size:18px;color:#cbd5e1}.tom-marketing-layout .stars{color:#ffc247;font-size:18px;margin:5px 0}.tom-marketing-layout .rating-card p{margin:0 0 10px;color:#dbe4f2;font-size:11px}.tom-marketing-layout .rating-card a{color:#ff9a56;font-weight:700;font-size:12px}
    .tom-marketing-layout .blog-layout{display:grid;grid-template-columns:1fr 190px;gap:18px}.tom-marketing-layout .blog-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.tom-marketing-layout .blog{background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:var(--soft-shadow);overflow:hidden}.tom-marketing-layout .blog img{height:94px;width:100%;object-fit:cover;background:#f3f4f6}.tom-marketing-layout .blog-body{padding:10px}.tom-marketing-layout .blog .tag{height:18px;font-size:9px;margin-bottom:6px}.tom-marketing-layout .blog h3{margin:0 0 6px;color:#26344b;font-size:11.5px;line-height:1.35;font-weight:700}.tom-marketing-layout .blog p{margin:0;color:#7b8796;font-size:10px}.tom-marketing-layout .side-list{background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:var(--soft-shadow);padding:14px;display:grid;gap:10px}.tom-marketing-layout .side-list a{font-size:12px;color:#34435d;display:flex;align-items:center;gap:8px}.tom-marketing-layout .side-list a:before{content:"▣";color:#667085}
    .tom-marketing-layout .newsletter{margin-top:24px;background:linear-gradient(90deg,var(--orange),#7c3aed);color:#fff}.tom-marketing-layout .newsletter-inner{height:70px;display:grid;grid-template-columns:1fr 450px;gap:24px;align-items:center}.tom-marketing-layout .newsletter-title{display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center}.tom-marketing-layout .newsletter-title .ico{width:40px;height:40px;border-radius:10px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:24px}.tom-marketing-layout .newsletter-title h3{margin:0;color:#fff;font-size:18px;font-weight:700}.tom-marketing-layout .newsletter-title p{margin:2px 0 0;color:#fff0e8;font-size:12px}.tom-marketing-layout .newsletter-form{height:40px;border-radius:7px;background:#fff;display:grid;grid-template-columns:1fr 120px;overflow:hidden}.tom-marketing-layout .newsletter-form input{border:0;outline:0;padding:0 14px;color:#65748b;font-size:12px}.tom-marketing-layout .newsletter-form button{border:0;background:#ff8a22;color:#fff;font-weight:700}
    .tom-marketing-layout .footer{background:#0a1530;color:#d9e6f7;padding:34px 0 18px}.tom-marketing-layout .footer-grid{display:grid;grid-template-columns:1.4fr repeat(5,1fr);gap:34px}.tom-marketing-layout .footer .brand-title span{color:#fff}.tom-marketing-layout .footer p{margin:14px 0 18px;color:#aebed2;font-size:13px;max-width:310px}.tom-marketing-layout .footer h4{margin:0 0 13px;color:#fff;text-transform:uppercase;font-size:13px;font-weight:700}.tom-marketing-layout .footer a,.tom-marketing-layout .footer span{display:block;margin:8px 0;color:#cad6e6;font-size:12px}.tom-marketing-layout .socials{display:flex;gap:10px}.tom-marketing-layout .socials span{width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center}.tom-marketing-layout .copy{text-align:center;color:#8496ab;font-size:12px;margin-top:24px}

    .tom-marketing-layout .hero-photo-stack{position:absolute;inset:0;min-height:380px}.tom-marketing-layout .hero-photo-main,.tom-marketing-layout .hero-photo-small,.tom-marketing-layout .hero-photo-mini,.tom-marketing-layout .hero-photo-badge{position:absolute;overflow:hidden;border-radius:18px;background:#fff;border:1px solid #eef2f6;box-shadow:0 22px 44px rgba(20,30,60,.16)}.tom-marketing-layout .hero-photo-main{right:34px;top:18px;width:360px;height:230px}.tom-marketing-layout .hero-photo-main img,.tom-marketing-layout .hero-photo-small img,.tom-marketing-layout .hero-photo-mini img{width:100%;height:100%;object-fit:cover}.tom-marketing-layout .hero-photo-small{left:16px;bottom:28px;width:245px;height:160px;transform:rotate(-5deg)}.tom-marketing-layout .hero-photo-mini{right:16px;bottom:16px;width:205px;height:138px;transform:rotate(5deg)}.tom-marketing-layout .hero-photo-badge{left:0;top:28px;width:178px;padding:18px}.tom-marketing-layout .hero-photo-badge strong{display:block;color:var(--orange);font-size:25px;line-height:1;font-weight:700}.tom-marketing-layout .hero-photo-badge span{display:block;margin-top:8px;color:#64748b;font-size:11px;line-height:1.4}.tom-marketing-layout .hero-photo-caption{position:absolute;left:38px;right:42px;bottom:0;background:#101b37;color:#fff;border-radius:14px;padding:14px 18px;box-shadow:0 18px 34px rgba(17,27,59,.22);display:flex;align-items:center;justify-content:space-between;gap:16px}.tom-marketing-layout .hero-photo-caption strong{font-size:13px}.tom-marketing-layout .hero-photo-caption span{font-size:11px;color:#dbe4f2}

    @media(max-width:1100px){.tom-marketing-layout .container{width:min(var(--container),calc(100% - 28px))}.tom-marketing-layout .header{grid-template-columns:260px 1fr}.tom-marketing-layout .actions{grid-column:2}.tom-marketing-layout .nav{justify-content:flex-start;overflow:auto}.tom-marketing-layout .hero-inner,.tom-marketing-layout .process-cta,.tom-marketing-layout .newsletter-inner{grid-template-columns:1fr}.tom-marketing-layout .hero-art{height:330px}.tom-marketing-layout .category-bar{grid-template-columns:repeat(5,1fr)}.tom-marketing-layout .pillar-grid,.tom-marketing-layout .solution-grid,.tom-marketing-layout .service-grid,.tom-marketing-layout .pricing-grid,.tom-marketing-layout .project-grid,.tom-marketing-layout .blog-grid{grid-template-columns:repeat(3,1fr)}.tom-marketing-layout .logo-row{grid-template-columns:repeat(5,1fr)}.tom-marketing-layout .testimonial-grid{grid-template-columns:repeat(2,1fr)}.tom-marketing-layout .blog-layout{grid-template-columns:1fr}.tom-marketing-layout .footer-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.tom-marketing-layout .top-strip{display:none}.tom-marketing-layout .topbar,.tom-marketing-layout .header{height:auto}.tom-marketing-layout .header{grid-template-columns:1fr;padding:12px 0}.tom-marketing-layout .actions{grid-column:auto;justify-content:flex-start}.tom-marketing-layout .nav{order:3;gap:22px}.tom-marketing-layout .hero h1{font-size:32px}.tom-marketing-layout .hero-features,.tom-marketing-layout .category-bar,.tom-marketing-layout .pillar-grid,.tom-marketing-layout .solution-grid,.tom-marketing-layout .service-grid,.tom-marketing-layout .pricing-grid,.tom-marketing-layout .project-grid,.tom-marketing-layout .logo-row,.tom-marketing-layout .process-row,.tom-marketing-layout .testimonial-grid,.tom-marketing-layout .blog-grid,.tom-marketing-layout .footer-grid{grid-template-columns:1fr}.tom-marketing-layout .hero-actions{flex-direction:column}.tom-marketing-layout .hero-art,.tom-marketing-layout .marketing-scene,.tom-marketing-layout .hero-photo-stack{display:none}.tom-marketing-layout .cat,.tom-marketing-layout .logo-cell{border-right:0;border-bottom:1px solid #edf2f7}.tom-marketing-layout .head{align-items:flex-start}.tom-marketing-layout .head h2{font-size:21px}.tom-marketing-layout .newsletter-inner{height:auto;padding:18px 0}.tom-marketing-layout .newsletter-form{grid-template-columns:1fr}}

/* Mobile refinement requested: keep compact content in 2 columns where it remains readable. */
@media(max-width:760px){
  .tom-marketing-layout .category-bar,
  .tom-marketing-layout .solution-grid,
  .tom-marketing-layout .service-grid,
  .tom-marketing-layout .pricing-grid,
  .tom-marketing-layout .project-grid,
  .tom-marketing-layout .logo-row,
  .tom-marketing-layout .blog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .tom-marketing-layout .process-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .tom-marketing-layout .step:not(:last-child):after{display:none;}
  .tom-marketing-layout .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px;}
  .tom-marketing-layout .footer-grid>div:first-child{grid-column:1/-1;}
  .tom-marketing-layout .cat{min-height:86px;height:auto;padding:12px 8px;border-right:1px solid #edf2f7;border-bottom:1px solid #edf2f7;}
  .tom-marketing-layout .solution-card{min-height:auto;padding:14px;}
  .tom-marketing-layout .service-card img{height:116px;}
  .tom-marketing-layout .project img{height:96px;}
  .tom-marketing-layout .blog img{height:86px;}
  .tom-marketing-layout .package{padding:15px;}
  .tom-marketing-layout .package.active{padding:14px;}
  .tom-marketing-layout .package .price{font-size:18px;}
  .tom-marketing-layout .service-card h3,
  .tom-marketing-layout .solution-card h3{font-size:12.5px;}
  .tom-marketing-layout .service-card p,
  .tom-marketing-layout .solution-card p,
  .tom-marketing-layout .package .note,
  .tom-marketing-layout .package li{font-size:10.5px;}
}
@media(max-width:420px){
  .tom-marketing-layout .container{width:calc(100% - 22px);}
  .tom-marketing-layout .category-bar,
  .tom-marketing-layout .solution-grid,
  .tom-marketing-layout .service-grid,
  .tom-marketing-layout .pricing-grid,
  .tom-marketing-layout .project-grid,
  .tom-marketing-layout .logo-row,
  .tom-marketing-layout .blog-grid,
  .tom-marketing-layout .process-row,
  .tom-marketing-layout .footer-grid{
    gap:10px;
  }
  .tom-marketing-layout .service-card img{height:104px;}
  .tom-marketing-layout .project img{height:88px;}
}


/* Mobile-only header fix: logo + search + hamburger, desktop unchanged. */
.tom-marketing-layout .mobile-header-search,
.tom-marketing-layout .mobile-nav-check,
.tom-marketing-layout .mobile-menu-toggle{display:none;}
@media(max-width:760px){
  .tom-marketing-layout .topbar{position:sticky;top:0;z-index:120;height:auto;}
  .tom-marketing-layout .topbar .container.header{
    width:100%;
    padding:10px 12px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) 42px;
    gap:8px;
    align-items:center;
    position:relative;
  }
  .tom-marketing-layout .brand{min-width:0;gap:7px;}
  .tom-marketing-layout .brand-mark{width:24px;height:24px;flex:0 0 24px;}
  .tom-marketing-layout .brand-mark:before{left:6px;top:5px;width:11px;height:13px;border-width:3px;}
  .tom-marketing-layout .brand-title{font-size:13px;letter-spacing:-.04em;white-space:nowrap;}
  .tom-marketing-layout .brand-title span{font-size:10px;}
  .tom-marketing-layout .mobile-header-search{
    display:grid;
    grid-template-columns:minmax(0,1fr) 32px;
    align-items:center;
    min-width:0;
    height:36px;
    border:1px solid #e1e7f0;
    border-radius:999px;
    background:#fff;
    overflow:hidden;
  }
  .tom-marketing-layout .mobile-header-search input{
    width:100%;
    min-width:0;
    height:34px;
    border:0;
    outline:0;
    padding:0 0 0 12px;
    color:#17233d;
    background:transparent;
    font-size:12px;
  }
  .tom-marketing-layout .mobile-header-search input::placeholder{color:#8a94a6;}
  .tom-marketing-layout .mobile-header-search button{
    width:32px;
    height:32px;
    border:0;
    border-radius:999px;
    background:#fff4ee;
    color:var(--orange);
    font-size:16px;
    font-weight:700;
    line-height:1;
    display:grid;
    place-items:center;
  }
  .tom-marketing-layout .mobile-nav-check{
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
  }
  .tom-marketing-layout .mobile-menu-toggle{
    display:flex;
    width:40px;
    height:40px;
    border:1px solid #e1e7f0;
    border-radius:10px;
    background:#fff;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
  }
  .tom-marketing-layout .mobile-menu-toggle span{
    width:18px;
    height:2px;
    border-radius:99px;
    background:#17233d;
    display:block;
  }
  .tom-marketing-layout .actions{display:none !important;}
  .tom-marketing-layout .nav{
    display:none;
    position:absolute;
    left:12px;
    right:12px;
    top:calc(100% + 8px);
    z-index:130;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    overflow:hidden;
    white-space:normal;
    background:#fff;
    border:1px solid #e1e7f0;
    border-radius:14px;
    box-shadow:0 16px 36px rgba(20,30,60,.16);
  }
  .tom-marketing-layout .mobile-nav-check:checked ~ .nav{display:flex;}
  .tom-marketing-layout .nav a{
    height:auto;
    min-height:44px;
    padding:12px 14px;
    border-bottom:1px solid #eef2f6;
    font-size:13px;
  }
  .tom-marketing-layout .nav a:last-child{border-bottom:0;}
  .tom-marketing-layout .nav a.active:after{display:none;}
}
@media(max-width:380px){
  .tom-marketing-layout .brand-title{font-size:12px;}
  .tom-marketing-layout .brand-title span{display:none;}
  .tom-marketing-layout .topbar .container.header{grid-template-columns:auto minmax(0,1fr) 40px;gap:7px;padding-left:10px;padding-right:10px;}
}
