/* Tings Market Platform v5.0.4 — isolated canonical Product Archive stylesheet. */

body.tmds-platform-archive .tm-native-product-archive,
body.tmds-platform-archive .tm-native-product-archive * {
    box-sizing: border-box;
}

body.tmds-platform-archive .tm-native-product-archive {
    --tm-aqua: #12b8ca;
    --tm-aqua-deep: #0797ac;
    --tm-yellow: #ffd000;
    --tm-yellow-hover: #f2c400;
    --tm-navy: #071327;
    --tm-muted: #65758b;
    --tm-border: #d4e3e8;
    --tm-page: #f7fbfc;
    width: 100%;
    min-height: 1px;
    margin: 0;
    color: var(--tm-navy);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-synthesis: none;
    font-size: 16px;
    line-height: 1.4;
}

body.tmds-platform-archive .tm-archive-shell {
    width: min(calc(100% - 64px), 1400px);
    margin-inline: auto;
}

/* Header panel */
body.tmds-platform-archive .tm-archive-hero {
    background: #eaf9fd;
    border-bottom: 1px solid #d5eaf0;
}
body.tmds-platform-archive .tm-archive-hero__inner {
    min-height: 156px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 26px;
}
body.tmds-platform-archive .tm-archive-breadcrumb,
body.tmds-platform-archive .tm-archive-breadcrumb .woocommerce-breadcrumb {
    margin: 0 0 24px;
    padding: 0;
    color: #627287;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}
body.tmds-platform-archive .tm-archive-breadcrumb a {
    color: inherit;
    text-decoration: none;
}
body.tmds-platform-archive .tm-archive-hero h1 {
    margin: 0;
    padding: 0;
    color: var(--tm-navy);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
}
body.tmds-platform-archive .tm-archive-promises {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}
body.tmds-platform-archive .tm-archive-promises > span {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #cbdde4;
    border-radius: 12px;
    background: #fff;
    color: #4c5c71;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
body.tmds-platform-archive .tm-archive-promises .tm-icon {
    width: 18px;
    height: 18px;
    color: var(--tm-aqua-deep);
}

/* Department tabs */
body.tmds-platform-archive .tm-archive-tabs {
    background: #fff;
    border-bottom: 1px solid #dce6e9;
}
body.tmds-platform-archive .tm-archive-tabs ul {
    min-height: 74px;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}
body.tmds-platform-archive .tm-archive-tabs ul::-webkit-scrollbar { display: none; }
body.tmds-platform-archive .tm-archive-tabs li {
    position: relative;
    display: flex;
    flex: 1 0 auto;
    min-width: 118px;
    margin: 0;
    padding: 0;
}
body.tmds-platform-archive .tm-archive-tabs a {
    width: 100%;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: #1c2a3d;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}
body.tmds-platform-archive .tm-archive-tabs li.is-current::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 11px;
    left: 16px;
    height: 4px;
    border-radius: 999px;
    background: var(--tm-yellow);
}
body.tmds-platform-archive .tm-archive-tabs a:hover { color: var(--tm-aqua-deep); }

/* Main layout */
body.tmds-platform-archive .tm-archive-body {
    padding: 32px 0 60px;
    background: linear-gradient(180deg, #f9fcfd 0%, #f5fafb 100%);
}
body.tmds-platform-archive .tm-archive-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}
body.tmds-platform-archive .tm-native-archive-results { min-width: 0; }
body.tmds-platform-archive .tm-native-archive-toolbar {
    min-height: 74px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 20px;
}
body.tmds-platform-archive .woocommerce-result-count {
    float: none !important;
    margin: 0 !important;
    color: #647388;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}
body.tmds-platform-archive .woocommerce-ordering {
    float: none !important;
    margin: 0 !important;
}
body.tmds-platform-archive .woocommerce-ordering select {
    width: 270px;
    max-width: 100%;
    min-height: 36px;
    margin: 0;
    padding: 5px 34px 5px 10px;
    border: 1px solid #c6d7dd;
    border-radius: 7px;
    background: #fff;
    color: #26344a;
    font: 600 12px/1.2 inherit;
    box-shadow: none;
}

/* Sidebar */
body.tmds-platform-archive .tm-native-archive-sidebar {
    overflow: hidden;
    border: 1px solid #cedee4;
    border-radius: 13px;
    background: #fff;
}
body.tmds-platform-archive .tm-native-archive-sidebar > h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 22px 20px 13px;
    color: var(--tm-navy);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}
body.tmds-platform-archive .tm-native-archive-sidebar > h2 .tm-icon {
    width: 18px;
    height: 18px;
    color: var(--tm-aqua);
}
body.tmds-platform-archive .tm-native-archive-sidebar nav { padding: 0 18px 18px; }
body.tmds-platform-archive .tm-native-archive-sidebar ul { margin: 0; padding: 0; list-style: none; }
body.tmds-platform-archive .tm-native-archive-sidebar li { margin: 0 0 2px; padding: 0; }
body.tmds-platform-archive .tm-native-archive-sidebar a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
    color: #405168;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}
body.tmds-platform-archive .tm-native-archive-sidebar li.is-current a {
    background: #fff0a4;
    color: var(--tm-navy);
    font-weight: 800;
}
body.tmds-platform-archive .tm-native-archive-sidebar a:hover {
    background: #effafd;
    color: var(--tm-aqua-deep);
}
body.tmds-platform-archive .tm-native-archive-help {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    padding: 20px 18px 22px;
    border-top: 1px solid #cfe5d7;
    background: #ecfaef;
}
body.tmds-platform-archive .tm-native-archive-help__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #fff;
    color: #17c964;
}
body.tmds-platform-archive .tm-native-archive-help__icon .tm-icon { width: 21px; height: 21px; }
body.tmds-platform-archive .tm-native-archive-help strong {
    display: block;
    margin: 0 0 4px;
    color: #173927;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}
body.tmds-platform-archive .tm-native-archive-help p {
    margin: 0 0 10px;
    color: #648171;
    font-size: 10px;
    line-height: 1.45;
}
body.tmds-platform-archive .tm-native-archive-help a {
    display: inline;
    padding: 0;
    color: #0b8a43;
    background: none;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

/* Product cards are owned exclusively by product-cards.css. */

/* Pagination */
body.tmds-platform-archive nav.woocommerce-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 38px 0 0 !important;
}
body.tmds-platform-archive nav.woocommerce-pagination ul.page-numbers {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}
body.tmds-platform-archive nav.woocommerce-pagination ul.page-numbers li {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}
body.tmds-platform-archive nav.woocommerce-pagination .page-numbers li > a,
body.tmds-platform-archive nav.woocommerce-pagination .page-numbers li > span {
    min-width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 10px !important;
    border: 1px solid var(--tm-border) !important;
    border-radius: 9px !important;
    color: #26344a !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
body.tmds-platform-archive nav.woocommerce-pagination .page-numbers li > .current {
    border-color: var(--tm-yellow) !important;
    background: var(--tm-yellow) !important;
    color: var(--tm-navy) !important;
}

@media (max-width: 1200px) {
    body.tmds-platform-archive .tm-archive-layout { grid-template-columns: 230px minmax(0,1fr); gap: 28px; }
}
@media (max-width: 900px) {
    body.tmds-platform-archive .tm-archive-shell { width: min(calc(100% - 36px), 1400px); }
    body.tmds-platform-archive .tm-archive-layout { grid-template-columns: 1fr; }
    body.tmds-platform-archive .tm-native-archive-sidebar { display: none; }
    body.tmds-platform-archive .tm-archive-hero__inner { min-height: 136px; }
}
@media (max-width: 600px) {
    body.tmds-platform-archive .tm-archive-shell { width: min(calc(100% - 24px), 1400px); }
    body.tmds-platform-archive .tm-archive-hero__inner { align-items: flex-start; flex-direction: column; gap: 18px; }
    body.tmds-platform-archive .tm-archive-breadcrumb { margin-bottom: 12px; }
    body.tmds-platform-archive .tm-archive-promises { justify-content: flex-start; }
    body.tmds-platform-archive .tm-archive-body { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
}
