.tao-search-page [hidden] { display:none !important; }
.tao-search-page { background: var(--color-surface-soft); }
.tao-search-page.is-gallery-open { overflow: hidden; }
.tao-search { min-height: 70vh; }

.tao-search__hero {
  padding: 72px 0 62px;
  color: #fff;
  background: radial-gradient(circle at 82% 16%, rgba(var(--color-teal-rgb), .34), transparent 34%), linear-gradient(135deg, #012e41 0%, #025158 100%);
}
.tao-search__hero-copy { max-width: 820px; }
.tao-search__hero-copy h1,
.tao-product-page__head h1 {
  margin: 16px 0 18px;
  font-family: "Montserrat", var(--site-font-family);
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

/* Keep the search-page hero typography aligned with the site's internal-page heroes. */
.tao-search__hero-copy h1 {
  margin: 12px 0 18px;
  font-family: var(--site-font-family);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
}
.tao-search__hero-copy > p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: 18px; }
.tao-search__eyebrow-row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.tao-search__eyebrow,.tao-search__demo-badge { display:inline-flex; align-items:center; min-height:30px; padding:5px 11px; border-radius:999px; font-size:12px; font-weight:700; line-height:1; letter-spacing:.08em; text-transform:uppercase; }
.tao-search__eyebrow { color:#fff; border:1px solid rgba(255,255,255,.25); }
.tao-search__demo-badge { color:#2f2107; background:#f5c96b; }

.tao-search__catalog { padding: 48px 0 72px; }
.tao-search__search-card { width:100%; margin:0 0 42px; padding:28px; border:1px solid var(--color-border); border-radius:28px; background:#fff; box-shadow:var(--shadow-soft); }
.tao-search__search-tabs { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:26px; }
.tao-search__search-tab { min-height:42px; padding:0 17px; border:1px solid rgba(var(--color-primary-rgb),.13); border-radius:999px; color:var(--color-primary); background:#fff; cursor:pointer; font-weight:600; transition:var(--transition-ui); }
.tao-search__search-tab:hover { border-color:rgba(var(--color-teal-rgb),.45); background:#f5fbfb; }
.tao-search__search-tab.is-active { color:#fff; border-color:var(--color-primary); background:var(--color-primary); }
.tao-search__type-panel { animation: taoFade .18s ease; }
.tao-search__type-panel[hidden] { display:none !important; }
@keyframes taoFade { from { opacity:.55; transform:translateY(3px); } to { opacity:1; transform:none; } }
.tao-search__field-label { display:block; margin:0 0 9px; color:var(--color-primary); font-weight:700; font-size:14px; }
.tao-search__field-help { display:block; margin-top:8px; color:var(--color-text-muted); font-size:13px; }
.tao-search__searchbox { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:12px; align-items:center; min-height:62px; padding:6px 7px 6px 18px; border:1px solid rgba(var(--color-primary-rgb),.12); border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(var(--color-primary-rgb),.05); }
.tao-search__searchbox--plain { grid-template-columns:minmax(0,1fr) auto; padding-left:14px; }
.tao-search__searchbox svg { width:22px; height:22px; fill:none; stroke:var(--color-primary); stroke-width:1.8; }
.tao-search__searchbox input { min-width:0; width:100%; border:0; outline:0; color:var(--color-primary); background:transparent; font-size:16px; }
.tao-search__searchbox input::placeholder { color:#8b9a9f; }
.tao-search__action-button,.tao-search__secondary-button,.tao-product-detail__primary,.tao-product-detail__secondary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 20px; border-radius:14px; cursor:pointer; font-weight:700; transition:var(--transition-ui); }
.tao-search__action-button,.tao-product-detail__primary { color:#fff; background:var(--color-accent); }
.tao-search__action-button:hover,.tao-product-detail__primary:hover { transform:translateY(-1px); filter:brightness(.98); }
.tao-search__action-button:disabled,.tao-search__secondary-button:disabled,.tao-product-detail__secondary:disabled { cursor:not-allowed; opacity:.58; transform:none; }
.tao-search__secondary-button,.tao-product-detail__secondary { color:var(--color-primary); border:1px solid rgba(var(--color-primary-rgb),.14); background:#fff; }
.tao-search__quick { display:flex; flex-wrap:wrap; gap:7px; align-items:center; margin-top:12px; color:var(--color-text-muted); font-size:13px; }
.tao-search__quick button { padding:5px 9px; border-radius:999px; color:var(--color-teal-dark); background:#eef8f8; cursor:pointer; }
.tao-search__image-search-row { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.tao-search__upload-preview { display:flex; gap:14px; align-items:center; margin-top:16px; padding:12px; border-radius:16px; background:#f5f8f9; }
.tao-search__upload-preview-image { width:82px; height:82px; overflow:hidden; flex:0 0 auto; border-radius:12px; background:#e7eeee; }
.tao-search__upload-preview-image img { width:100%; height:100%; object-fit:cover; }
.tao-search__upload-preview div:last-child { display:grid; gap:3px; min-width:0; }
.tao-search__upload-preview strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tao-search__upload-preview span { color:var(--color-text-muted); font-size:13px; }
.tao-search__panel-action { margin-top:18px; }
.tao-search__search-status { display:flex; align-items:center; justify-content:center; gap:8px; min-height:30px; margin-top:16px; color:var(--color-text-muted); font-size:14px; }
.tao-search__search-status.is-error { color:#a33a2b; }

.tao-search__button-spinner,.tao-search__spinner { display:inline-block; width:16px; height:16px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:taoSpin .7s linear infinite; }
.tao-search__button-spinner[hidden] { display:none; }
@keyframes taoSpin { to { transform:rotate(360deg); } }

.tao-search__filters { margin:26px 0 0; padding:22px 0 0; border:0; border-top:1px solid var(--color-border); border-radius:0; background:transparent; box-shadow:none; }
.tao-search__filters[hidden] { display:none !important; }
.tao-search__filters-heading { display:flex; justify-content:space-between; gap:18px; align-items:flex-end; margin-bottom:18px; }
.tao-search__filters-heading > div { display:grid; gap:2px; }
.tao-search__filters-kicker { color:var(--color-accent); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.tao-search__filters-note { max-width:420px; color:var(--color-text-muted); font-size:13px; text-align:right; }
.tao-search__filters-grid { display:grid; grid-template-columns:minmax(250px,1.1fr) minmax(190px,.8fr) minmax(180px,.7fr) auto; gap:16px; align-items:end; }
.tao-search__filter-price { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tao-search__filters label,.tao-search__filter-platforms { color:var(--color-text-muted); font-size:13px; }
.tao-search__filters input[type="number"],.tao-search__filters select { width:100%; min-height:44px; margin-top:6px; padding:0 12px; border:1px solid rgba(var(--color-primary-rgb),.14); border-radius:12px; color:var(--color-primary); background:#fff; outline:0; }
.tao-search__filter-platforms { min-width:0; margin:0; padding:0; border:0; }
.tao-search__filter-platforms legend { margin-bottom:7px; font-size:13px; }
.tao-search__filter-platforms label { display:inline-flex; align-items:center; gap:7px; margin-right:13px; color:var(--color-primary); font-size:14px; cursor:pointer; }
.tao-search__filter-platforms input { width:17px; height:17px; accent-color:var(--color-teal); }
.tao-search__filter-action .tao-search__action-button { width:100%; }

.tao-search__summary { display:flex; justify-content:space-between; gap:20px; align-items:end; margin-bottom:18px; }
.tao-search__summary h2 { margin:0 0 5px; font-family:"Montserrat",var(--site-font-family); font-size:clamp(26px,3vw,36px); }
.tao-search__summary p { margin:0; color:var(--color-text-muted); }
.tao-search__api-note { display:inline-flex; gap:7px; align-items:center; white-space:nowrap; color:var(--color-text-muted); font-size:12px; font-weight:700; letter-spacing:.04em; }
.tao-search__api-dot { width:8px; height:8px; border-radius:50%; background:#39a96b; box-shadow:0 0 0 4px rgba(57,169,107,.12); }
.tao-search__warning { margin:0 0 16px; padding:12px 15px; border-radius:12px; color:#7a5b17; background:#fff4d6; font-size:14px; }
.tao-search__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.tao-product-card { min-width:0; overflow:hidden; border:1px solid var(--color-border); border-radius:20px; background:#fff; box-shadow:0 8px 26px rgba(var(--color-primary-rgb),.06); transition:var(--transition-ui); }
.tao-product-card:hover { transform:translateY(-3px); box-shadow:0 16px 38px rgba(var(--color-primary-rgb),.11); }
.tao-product-card__button { display:block; height:100%; color:inherit; }
.tao-product-card__image-wrap { position:relative; aspect-ratio:1/1; overflow:hidden; background:linear-gradient(135deg,#eef3f3,#f8fafa); }
.tao-product-card__image-wrap.is-image-error::after,.tao-product-detail__main-image.is-image-error::after,.tao-product-detail__thumb.is-image-error::after,.tao-product-detail__sku-thumb.is-image-error::after { content:"Нет фото"; position:absolute; inset:0; display:grid; place-items:center; color:#8a999e; font-size:13px; }
.tao-product-card__image { width:100%; height:100%; object-fit:cover; display:block; }
.tao-product-card__image-loader { position:absolute; inset:0; display:grid; place-items:center; color:var(--color-teal); }
.tao-product-card__source,.tao-product-detail__source { position:absolute; top:10px; left:10px; z-index:2; padding:5px 9px; border-radius:999px; color:#fff; background:rgba(1,46,65,.88); font-size:11px; font-weight:700; }
.tao-product-card__source--1688 { background:rgba(242,135,5,.94); }
.tao-product-card__body { display:grid; gap:12px; padding:14px; }
.tao-product-card__title { display:-webkit-box; min-height:43px; margin:0; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; font-size:15px; line-height:1.45; }
.tao-product-card__price-row { display:grid; gap:3px; }
.tao-product-card__price { color:var(--color-primary); font-size:18px; }
.tao-product-card__sales,.tao-product-card__meta { color:var(--color-text-muted); font-size:12px; }
.tao-product-card__meta { display:flex; gap:8px; }
.tao-product-card__shop { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tao-search__empty { margin-top:16px; padding:44px 20px; border:1px dashed rgba(var(--color-primary-rgb),.2); border-radius:20px; text-align:center; background:#fff; }
.tao-search__empty-icon { margin-bottom:8px; font-size:38px; }
.tao-search__empty h3 { margin:0 0 6px; }
.tao-search__empty p { margin:0; color:var(--color-text-muted); }
.tao-search__pagination { display:flex; justify-content:center; gap:7px; flex-wrap:wrap; margin-top:30px; }
.tao-search__pagination button { position:relative; min-width:42px; min-height:42px; padding:0 10px; border:1px solid rgba(var(--color-primary-rgb),.13); border-radius:11px; color:var(--color-primary); background:#fff; cursor:pointer; }
.tao-search__pagination button.is-active { color:#fff; border-color:var(--color-primary); background:var(--color-primary); }
.tao-search__pagination button.is-loading { color:transparent; }
.tao-search__pagination button.is-loading::after { content:""; position:absolute; left:50%; top:50%; width:15px; height:15px; margin:-7.5px 0 0 -7.5px; border:2px solid var(--color-primary); border-right-color:transparent; border-radius:50%; animation:taoSpin .7s linear infinite; }
.tao-search__pagination-gap { align-self:center; padding:0 3px; }
.tao-search__prototype-note { margin-top:34px; padding:15px 18px; border-radius:14px; color:var(--color-text-muted); background:#edf3f4; font-size:13px; }
.tao-search__prototype-note strong { color:var(--color-primary); }

/* Product page */
.tao-product-page__main { min-height:70vh; }
.tao-product-page__head { padding:46px 0 34px; color:#fff; background:linear-gradient(135deg,#012e41,#025158); }
.tao-product-page__head .tao-search__eyebrow { margin-bottom:8px; }
.tao-product-page__head h1 { margin:8px 0 0; font-size:clamp(32px,4vw,52px); }
.tao-product-page__head-row { display:flex; justify-content:space-between; align-items:end; gap:20px; }
.tao-product-page__head .tao-search__api-note { color:rgba(255,255,255,.78); }
.tao-product-page__back { display:inline-flex; margin-bottom:26px; color:#fff; font-weight:700; opacity:.9; }
.tao-product-page__back:hover { opacity:1; text-decoration:underline; }
.tao-product-page__content { padding:28px 0 72px; }
.tao-product-page__content .tao-product-page__back { margin-bottom:24px; color:var(--color-primary); opacity:1; }
.tao-product-page__inline-status { display:flex; width:100%; min-height:clamp(420px,60vh,680px); gap:9px; align-items:center; justify-content:center; padding:24px; color:var(--color-text-muted); }
.tao-product-page__error { padding:18px; border-radius:14px; color:#9a3428; background:#fff0ed; }
.tao-product-detail { display:grid; grid-template-columns:minmax(0,.75fr) minmax(420px,1.17fr); gap:42px; align-items:start; }
.tao-product-detail__media { position:sticky; top:24px; min-width:0; }
.tao-product-detail__main-image { position:relative; width:100%; aspect-ratio:1/1; overflow:hidden; border:1px solid var(--color-border); border-radius:22px; background:#fff; cursor:zoom-in; box-shadow:var(--shadow-soft); }
.tao-product-detail__main-image img { width:100%; height:100%; object-fit:contain; display:block; }
.tao-product-detail__image-loader { position:absolute; inset:0; z-index:1; display:grid; place-items:center; color:var(--color-teal); background:rgba(255,255,255,.72); }
.tao-product-detail__image-loader[hidden] { display:none; }
.tao-product-detail__thumbs,.tao-product-detail__sku-thumbs { display:flex; gap:9px; overflow-x:auto; padding:10px 2px 4px; scrollbar-width:thin; }
.tao-product-detail__thumb,.tao-product-detail__sku-thumb { position:relative; flex:0 0 70px; width:70px; height:70px; overflow:hidden; border:2px solid transparent; border-radius:11px; background:#fff; cursor:pointer; }
.tao-product-detail__thumb.is-active,.tao-product-detail__sku-thumb.is-active { border-color:var(--color-accent); }
.tao-product-detail__thumb img,.tao-product-detail__sku-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.tao-product-detail__thumb-loader { position:absolute; inset:0; z-index:1; display:grid; place-items:center; color:var(--color-teal); background:#f4f8f8; }
.tao-product-detail__content { min-width:0; padding:28px; border:1px solid var(--color-border); border-radius:22px; background:#fff; box-shadow:var(--shadow-soft); }
.tao-product-detail__content h1 { margin:0 0 18px; font-family:"Montserrat",var(--site-font-family); font-size:clamp(24px,3vw,34px); line-height:1.25; }
.tao-product-detail__price-row { display:flex; gap:12px; align-items:baseline; margin-bottom:22px; }
.tao-product-detail__price-row strong { color:var(--color-accent); font-size:30px; }
.tao-product-detail__price-row span { color:#8a999e; text-decoration:line-through; }
.tao-product-detail__facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; margin:0; overflow:hidden; border:1px solid var(--color-border); border-radius:14px; background:var(--color-border); }
.tao-product-detail__facts div { padding:11px 13px; background:#fff; }
.tao-product-detail__facts dt { color:var(--color-text-muted); font-size:12px; }
.tao-product-detail__facts dd { margin:2px 0 0; font-weight:600; }
.tao-product-detail__section { margin-top:24px; padding-top:22px; border-top:1px solid var(--color-border); }
.tao-product-detail__section h3 { margin:0 0 14px; font-size:18px; }
.tao-product-detail__section-heading { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.tao-product-detail__section-heading [data-seller-loader] { display:inline-flex; align-items:center; gap:6px; color:var(--color-text-muted); font-size:12px; }
.tao-product-detail__seller { display:grid; grid-template-columns:auto 1fr; gap:4px 10px; align-items:center; }
.tao-product-detail__seller > span:not(.tao-product-detail__seller-logo-wrap) { grid-column:2; color:var(--color-text-muted); font-size:13px; }
.tao-product-detail__seller-logo-wrap { position:relative; grid-row:1 / span 3; width:48px; height:48px; overflow:hidden; border-radius:10px; background:#f1f5f5; }
.tao-product-detail__seller-logo { width:100%; height:100%; object-fit:cover; }
.tao-product-detail__seller-logo-loader { position:absolute; inset:0; display:grid; place-items:center; }
.tao-product-detail__tiers { display:grid; gap:8px; }
.tao-product-detail__tier { display:flex; justify-content:space-between; gap:18px; padding:10px 12px; border-radius:10px; background:#f5f8f8; }
.tao-product-detail__sku-label { display:grid; gap:7px; color:var(--color-text-muted); font-size:13px; }
.tao-product-detail__sku-label select { min-height:44px; padding:0 12px; border:1px solid var(--color-border); border-radius:11px; color:var(--color-primary); background:#fff; }
.tao-product-detail__properties { display:grid; grid-template-columns:1fr 1fr; gap:0 18px; margin:0; }
.tao-product-detail__properties div { display:grid; grid-template-columns:minmax(110px,.7fr) 1fr; gap:10px; padding:8px 0; border-bottom:1px solid var(--color-border); }
.tao-product-detail__properties dt { color:var(--color-text-muted); }
.tao-product-detail__properties dd { margin:0; word-break:break-word; }
.tao-product-detail__actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:28px; }
.tao-product-detail__hint { margin:12px 0 0; color:var(--color-text-muted); font-size:12px; }

/* Overlay gallery */
.tao-gallery[hidden] { display:none !important; }
.tao-gallery { position:fixed; inset:0; z-index:1200; }
.tao-gallery__overlay { position:absolute; inset:0; background:rgba(3,17,22,.86); backdrop-filter:blur(5px); }
.tao-gallery__panel { position:absolute; inset:0; display:grid; grid-template-columns:72px minmax(0,1fr) 72px; grid-template-rows:minmax(0,1fr) auto; align-items:center; gap:12px; padding:34px; outline:0; }
.tao-gallery__stage { position:relative; display:grid; place-items:center; width:100%; height:100%; min-height:0; }
.tao-gallery__stage img { max-width:100%; max-height:calc(100vh - 110px); object-fit:contain; border-radius:8px; box-shadow:0 20px 70px rgba(0,0,0,.35); }
.tao-gallery__loader { position:absolute; inset:0; display:grid; place-items:center; color:#fff; }
.tao-gallery__loader[hidden] { display:none; }
.tao-gallery__nav,.tao-gallery__close { z-index:2; display:grid; place-items:center; color:#fff; background:rgba(255,255,255,.12); cursor:pointer; backdrop-filter:blur(5px); }
.tao-gallery__nav { width:56px; height:56px; justify-self:center; border-radius:50%; font-size:42px; line-height:1; }
.tao-gallery__nav:hover,.tao-gallery__close:hover { background:rgba(255,255,255,.22); }
.tao-gallery__close { position:absolute; top:22px; right:22px; width:46px; height:46px; border-radius:50%; font-size:32px; }
.tao-gallery__counter { grid-column:1 / -1; justify-self:center; color:rgba(255,255,255,.82); font-size:14px; }

@media (max-width: 991.98px) {
  .tao-search__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .tao-search__filters-grid { grid-template-columns:1fr 1fr; }
  .tao-search__filter-action { align-self:end; }
  .tao-product-detail { grid-template-columns:1fr; }
  .tao-product-detail__media { position:static; }
}

@media (max-width: 767.98px) {
  .tao-search__hero { padding:54px 0 44px; }
  .tao-search__hero-copy > p { font-size:16px; }
  .tao-search__catalog { padding-top:28px; }
  .tao-search__search-card { padding:20px; border-radius:20px; }
  .tao-search__search-tabs { display:grid; grid-template-columns:1fr 1fr; }
  .tao-search__search-tab { width:100%; }
  .tao-search__searchbox,.tao-search__searchbox--plain { grid-template-columns:1fr; padding:12px; }
  .tao-search__searchbox svg { display:none; }
  .tao-search__searchbox .tao-search__action-button { width:100%; }
  .tao-search__filters-heading { display:grid; align-items:start; }
  .tao-search__filters-note { text-align:left; }
  .tao-search__filters-grid { grid-template-columns:1fr; }
  .tao-search__filter-price { grid-template-columns:1fr 1fr; }
  .tao-search__summary { align-items:start; }
  .tao-search__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .tao-product-page__head-row { align-items:start; }
  .tao-product-detail__content { padding:20px; }
  .tao-product-detail__properties { grid-template-columns:1fr; }
  .tao-gallery__panel { grid-template-columns:48px minmax(0,1fr) 48px; padding:18px 10px 16px; }
  .tao-gallery__nav { width:44px; height:44px; font-size:34px; }
  .tao-gallery__close { top:12px; right:12px; }
}

@media (max-width: 575.98px) {
  .tao-search__search-tabs { grid-template-columns:1fr; }
  .tao-search__filter-price { grid-template-columns:1fr; }
  .tao-search__summary { display:grid; }
  .tao-search__grid { grid-template-columns:1fr 1fr; gap:10px; }
  .tao-product-card__body { padding:11px; }
  .tao-product-card__title { font-size:13px; }
  .tao-product-card__price { font-size:16px; }
  .tao-product-detail__facts { grid-template-columns:1fr; }
  .tao-product-detail__actions > * { width:100%; }
  .tao-product-page__head-row { display:grid; }
  .tao-gallery__panel { grid-template-columns:40px minmax(0,1fr) 40px; gap:4px; }
  .tao-gallery__nav { width:38px; height:38px; font-size:30px; }
}

@media (prefers-reduced-motion: reduce) {
  .tao-search__type-panel,.tao-search__spinner,.tao-search__button-spinner,.tao-search__pagination button.is-loading::after { animation-duration:.01ms !important; }
}

.tao-product-card__button.is-loading { position:relative; pointer-events:none; }
.tao-product-card__button.is-loading::after { content:""; position:absolute; inset:0; z-index:5; margin:auto; width:28px; height:28px; border:3px solid var(--color-primary); border-right-color:transparent; border-radius:50%; animation:taoSpin .7s linear infinite; }
.tao-product-card__button.is-loading::before { content:""; position:absolute; inset:0; z-index:4; background:rgba(255,255,255,.62); }

/* v4.7: suggestions, 1688 extended filters and product extras */
.tao-search__suggest-wrap { position:relative; min-width:0; }
.tao-search__suggest { position:absolute; z-index:30; top:calc(100% + 8px); left:-12px; right:0; overflow:hidden; border:1px solid var(--color-border); border-radius:14px; background:#fff; box-shadow:0 18px 45px rgba(var(--color-primary-rgb),.15); }
.tao-search__suggest[hidden] { display:none; }
.tao-search__suggest button { display:block; width:100%; padding:10px 13px; border:0; border-bottom:1px solid var(--color-border); color:var(--color-primary); background:#fff; text-align:left; cursor:pointer; }
.tao-search__suggest button:last-child { border-bottom:0; }
.tao-search__suggest button:hover,.tao-search__suggest button:focus-visible { background:#f2f8f8; outline:0; }
.tao-search__quick--features { margin-top:8px; }
.tao-search__quick--features button { background:#f5f6f7; }
.tao-search__panel-action--split { display:flex; flex-wrap:wrap; gap:10px; }
.tao-search__filter-1688 { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tao-search__filter-1688 label { display:grid; gap:6px; color:var(--color-text-muted); font-size:12px; }
.tao-search__filter-1688 input,.tao-search__filter-1688 select { min-height:44px; padding:0 10px; border:1px solid var(--color-border); border-radius:10px; color:var(--color-primary); background:#fff; }
.tao-search__filters-grid { grid-template-columns:minmax(250px,1.1fr) minmax(190px,.8fr) minmax(180px,.7fr) auto; }

.tao-product-choice { padding:26px; border:1px solid var(--color-border); border-radius:20px; background:#fff; box-shadow:var(--shadow-soft); }
.tao-product-choice h2 { margin:0 0 8px; }
.tao-product-choice p { margin:0 0 18px; color:var(--color-text-muted); }
.tao-product-choice__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.tao-product-choice__card { display:grid; gap:7px; padding:18px; border:1px solid var(--color-border); border-radius:14px; background:#fff; text-align:left; cursor:pointer; }
.tao-product-choice__card:hover { border-color:var(--color-accent); transform:translateY(-1px); }
.tao-product-choice__card strong { color:var(--color-accent); }
.tao-product-choice__card span { line-height:1.35; }
.tao-product-choice__card b { font-size:18px; }
.tao-product-detail__text-button { padding:7px 10px; border-radius:9px; color:var(--color-teal-dark); background:#eef8f8; cursor:pointer; font-weight:700; }
.tao-product-extra__tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.tao-product-extra__tabs button { padding:8px 11px; border-radius:10px; color:var(--color-primary); background:#f1f5f5; cursor:pointer; }
.tao-product-extra__tabs button.is-active { color:#fff; background:var(--color-primary); }
.tao-product-extra__status { margin:8px 0; color:var(--color-text-muted); font-size:13px; }
.tao-product-extra__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:12px; }
.tao-product-extra__card { display:grid; overflow:hidden; border:1px solid var(--color-border); border-radius:12px; color:var(--color-primary); background:#fff; text-decoration:none; }
.tao-product-extra__card img { width:100%; aspect-ratio:1/1; object-fit:cover; background:#f4f7f7; }
.tao-product-extra__card-body { display:grid; gap:5px; padding:9px; }
.tao-product-extra__card-body strong { display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:12px; line-height:1.35; }
.tao-product-extra__card-body span { color:var(--color-accent); font-weight:700; }
.tao-review-card { padding:12px 0; border-bottom:1px solid var(--color-border); }
.tao-review-card__meta { margin-bottom:5px; color:var(--color-text-muted); font-size:12px; }
.tao-review-card p { margin:0; white-space:pre-wrap; line-height:1.5; }
.tao-review-card__images { display:flex; gap:7px; margin-top:8px; overflow-x:auto; }
.tao-review-card__images img { flex:0 0 72px; width:72px; height:72px; border-radius:8px; object-fit:cover; }
.tao-review-card__video { display:block; width:min(100%,420px); max-height:520px; margin-top:10px; border-radius:10px; background:#07161d; }
.tao-product-extra:has(.tao-review-card) .tao-product-extra__grid { display:block; }

@media (max-width: 1199.98px) {
  .tao-search__filters-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 767.98px) {
  .tao-product-choice__grid,.tao-product-extra__grid { grid-template-columns:1fr 1fr; }
  .tao-search__filter-1688 { grid-template-columns:1fr; }
}
@media (max-width: 575.98px) {
  .tao-product-choice__grid,.tao-product-extra__grid { grid-template-columns:1fr; }
  .tao-search__panel-action--split > * { width:100%; }
}

.tao-review-card__followup {
  margin-top: .5rem;
  padding-top: .5rem;
  border-top: 1px dashed rgba(10, 53, 73, .16);
  color: var(--tao-muted, #526b78);
}


/* v4.8: procurement media, 1688 freight and marketplace extras */
.tao-product-media-extra__video video { display:block; width:100%; max-height:520px; margin-top:12px; border-radius:14px; background:#07161d; }
.tao-product-media-extra__images { display:grid; gap:10px; margin-top:12px; }
.tao-product-media-extra__images img { display:block; width:100%; height:auto; border-radius:12px; background:#f4f7f7; }
.tao-product-freight__grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tao-product-freight__grid label { display:grid; gap:6px; color:var(--color-text-muted); font-size:12px; }
.tao-product-freight__grid input { min-height:44px; padding:0 12px; border:1px solid var(--color-border); border-radius:11px; color:var(--color-primary); background:#fff; }
.tao-product-freight__actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:12px; }
.tao-product-freight__actions strong { color:var(--color-accent); font-size:20px; }
[data-freight-status] { color:var(--color-text-muted); font-size:12px; }
@media (max-width:575.98px) { .tao-product-freight__grid { grid-template-columns:1fr; } }


/* v4.9: supplier/factory search and advanced 1688 filters */
.tao-search__catalog-kinds { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.tao-search__catalog-kinds button { border:1px solid var(--color-border); background:#fff; border-radius:999px; padding:8px 13px; color:var(--color-primary); cursor:pointer; }
.tao-search__catalog-kinds button.is-active { border-color:var(--color-accent); color:var(--color-accent); font-weight:700; }
.tao-search__advanced-1688 { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:14px; }
.tao-search__advanced-1688 label { display:flex; align-items:center; gap:7px; font-size:13px; color:var(--color-text-muted); }
.tao-partner-card .tao-product-card__body { min-height:180px; }


/* v4.9: sourcing/company data */
[data-sourcing-items] { margin-top:12px; }
[data-sourcing-items] > div { overflow-wrap:anywhere; }
.tao-product-sourcing-media { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:12px; }
.tao-product-sourcing-media a { display:block; overflow:hidden; border:1px solid var(--color-border); border-radius:10px; background:#f4f7f7; }
.tao-product-sourcing-media img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; }
@media (max-width:767px) { .tao-product-sourcing-media { grid-template-columns:repeat(2,minmax(0,1fr)); } }
