/*
Theme Name: TMO Marketplace
Theme URI: https://themarketsonlineng.com/
Author: RoyalRoots Concept
Description: Lightweight agricultural marketplace theme for The Markets Online NG.
Version: 1.0.0
Text Domain: tmo-marketplace
*/

:root {
    --tmo-green: #176b3a;
    --tmo-green-dark: #10522d;
    --tmo-green-light: #eaf5ed;
    --tmo-text: #202b24;
    --tmo-muted: #68756d;
    --tmo-border: #e4eae5;
    --tmo-bg: #f7faf7;
    --tmo-white: #ffffff;
    --tmo-radius: 12px;
    --tmo-shadow: 0 5px 22px rgba(20, 55, 32, .07);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--tmo-white);
    color: var(--tmo-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a { color: var(--tmo-green); text-decoration: none; }
a:hover { color: var(--tmo-green-dark); }

img { max-width: 100%; height: auto; }

.tmo-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.tmo-header {
    background: #fff;
    border-bottom: 1px solid var(--tmo-border);
}

.tmo-header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.tmo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--tmo-green-dark);
    font-size: 21px;
    font-weight: 800;
}

.tmo-brand img { max-height: 52px; width: auto; }

.tmo-nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tmo-nav a {
    color: var(--tmo-text);
    font-size: 14px;
    font-weight: 600;
}

.tmo-nav a:hover { color: var(--tmo-green); }

.tmo-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tmo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid var(--tmo-green);
    border-radius: 7px;
    background: var(--tmo-green);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.tmo-button:hover {
    background: var(--tmo-green-dark);
    color: #fff;
}

.tmo-button-outline {
    background: #fff;
    color: var(--tmo-green);
}

.tmo-hero {
    padding: 76px 0 68px;
    background: linear-gradient(115deg, #edf7ef 0%, #f8fbf7 65%, #e3f1e6 100%);
}

.tmo-hero-content { max-width: 760px; }

.tmo-eyebrow {
    color: var(--tmo-green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.tmo-hero h1 {
    max-width: 700px;
    margin: 12px 0;
    color: #173c25;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.tmo-hero p {
    max-width: 620px;
    color: #53665a;
    font-size: 17px;
}

.tmo-search {
    display: flex;
    gap: 10px;
    max-width: 700px;
    margin-top: 28px;
    padding: 8px;
    border: 1px solid var(--tmo-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--tmo-shadow);
}

.tmo-search input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    border: 0;
    outline: 0;
    font-size: 15px;
}

.tmo-section { padding: 55px 0; }

.tmo-section-soft { background: var(--tmo-bg); }

.tmo-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.tmo-section-heading h2 {
    margin: 0;
    color: #1c3825;
    font-size: 28px;
    line-height: 1.25;
}

.tmo-section-heading p {
    margin: 7px 0 0;
    color: var(--tmo-muted);
}

.tmo-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.tmo-category-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--tmo-border);
    border-radius: var(--tmo-radius);
    background: #fff;
    color: var(--tmo-text);
    font-weight: 700;
    transition: .2s ease;
}

.tmo-category-card:hover {
    border-color: var(--tmo-green);
    box-shadow: var(--tmo-shadow);
    transform: translateY(-2px);
}

.tmo-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tmo-listing-card {
    overflow: hidden;
    border: 1px solid var(--tmo-border);
    border-radius: var(--tmo-radius);
    background: #fff;
    transition: .2s ease;
}

.tmo-listing-card:hover {
    box-shadow: var(--tmo-shadow);
    transform: translateY(-3px);
}

.tmo-listing-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf2ed;
}

.tmo-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tmo-listing-placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    color: var(--tmo-muted);
    font-size: 13px;
}

.tmo-listing-info { padding: 15px; }

.tmo-listing-info h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.tmo-listing-price {
    color: var(--tmo-green);
    font-size: 17px;
    font-weight: 800;
}

.tmo-listing-meta {
    margin-top: 8px;
    color: var(--tmo-muted);
    font-size: 12px;
}

.tmo-empty {
    padding: 35px;
    border: 1px dashed var(--tmo-border);
    border-radius: var(--tmo-radius);
    color: var(--tmo-muted);
    text-align: center;
}

.tmo-footer {
    padding: 42px 0 22px;
    background: #153b25;
    color: #e5eee7;
}

.tmo-footer a { color: #fff; }

.tmo-footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.16);
    color: #c1d3c6;
    font-size: 13px;
}

@media(max-width: 900px) {
    .tmo-category-grid { grid-template-columns: repeat(2, 1fr); }
    .tmo-listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tmo-nav { display: none; }
}

@media(max-width: 560px) {
    .tmo-container { width: min(100% - 28px, 1180px); }
    .tmo-header-inner { min-height: 68px; }
    .tmo-brand { font-size: 17px; }
    .tmo-header-actions .tmo-button-outline { display: none; }
    .tmo-header-actions .tmo-button { padding: 9px 12px; }
    .tmo-hero { padding: 48px 0; }
    .tmo-hero h1 { font-size: 36px; }
    .tmo-search { flex-direction: column; }
    .tmo-search .tmo-button { width: 100%; }
    .tmo-section { padding: 38px 0; }
    .tmo-section-heading h2 { font-size: 23px; }
    .tmo-listing-grid { gap: 12px; }
    .tmo-listing-info { padding: 11px; }
    .tmo-listing-info h3 { font-size: 14px; }
    .tmo-listing-price { font-size: 15px; }
}

/* Advertisement archive and detail pages */
.tmo-search select {
    min-width: 170px;
    padding: 12px;
    border: 1px solid var(--tmo-border);
    border-radius: 6px;
    background: #fff;
}

.tmo-pagination {
    margin-top: 35px;
}

.tmo-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.tmo-pagination a,
.tmo-pagination span {
    display: block;
    padding: 9px 14px;
    border: 1px solid var(--tmo-border);
    border-radius: 6px;
}

.tmo-pagination .current {
    background: var(--tmo-green);
    color: #fff;
}

.tmo-breadcrumb {
    margin-bottom: 25px;
    color: var(--tmo-muted);
    font-size: 13px;
}

.tmo-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
    align-items: start;
}

.tmo-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 25px;
}

.tmo-gallery-image {
    display: block;
    overflow: hidden;
    border-radius: var(--tmo-radius);
    background: var(--tmo-bg);
}

.tmo-gallery-image:first-child {
    grid-column: 1 / -1;
}

.tmo-gallery-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.tmo-gallery-image:not(:first-child) img {
    max-height: 240px;
}

.tmo-detail-content,
.tmo-seller-card {
    padding: 24px;
    border: 1px solid var(--tmo-border);
    border-radius: var(--tmo-radius);
    background: #fff;
}

.tmo-detail-content h1 {
    margin: 10px 0;
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.25;
}

.tmo-detail-price {
    margin: 15px 0;
    color: var(--tmo-green);
    font-size: 25px;
    font-weight: 800;
}

.tmo-detail-price span {
    display: inline-block;
    margin-left: 8px;
    color: var(--tmo-muted);
    font-size: 13px;
    font-weight: 400;
}

.tmo-detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
    font-size: 13px;
}

.tmo-detail-categories a {
    padding: 5px 9px;
    border-radius: 5px;
    background: var(--tmo-green-light);
}

.tmo-description {
    margin-top: 28px;
}

.tmo-description h2,
.tmo-seller-card h2 {
    font-size: 20px;
}

.tmo-seller-card {
    position: sticky;
    top: 25px;
}

.tmo-seller-name {
    display: block;
    font-size: 19px;
}

.tmo-contact-button {
    width: 100%;
    margin-top: 15px;
}

.tmo-seller-note,
.tmo-safety-card p {
    color: var(--tmo-muted);
    font-size: 13px;
}

.tmo-safety-card {
    position: static;
    margin-top: 18px;
    background: var(--tmo-green-light);
}

@media(max-width: 800px) {
    .tmo-detail-layout {
        grid-template-columns: 1fr;
    }

    .tmo-seller-card {
        position: static;
    }
}

@media(max-width: 560px) {
    .tmo-search select { width: 100%; }
    .tmo-detail-content,
    .tmo-seller-card { padding: 17px; }
    .tmo-detail-gallery { gap: 7px; }
}

/* =====================================================
   TMO SELLER DASHBOARD V2
   RoyalRoots Concept
   ===================================================== */

body .tmo-dashboard {
    width: 100%;
    max-width: 1180px;
    margin: 24px auto 40px;
    color: #193b29;
}

body .tmo-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    margin-bottom: 22px;
    background: linear-gradient(120deg, #edf7ef, #f8fbf8);
    border: 1px solid #dcebe0;
    border-radius: 16px;
}

body .tmo-dashboard-header h2 {
    margin: 0 0 7px;
    color: #145b34;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 750;
}

body .tmo-dashboard-header p {
    color: #62776a;
    font-size: 15px;
}

body .tmo-dashboard-actions {
    margin-bottom: 22px;
}

body .tmo-dashboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 8px;
    background: #176b3a;
    box-shadow: 0 4px 12px rgba(23,107,58,.12);
    font-size: 14px;
    transition: background .2s ease, transform .2s ease;
}

body .tmo-dashboard-button:hover {
    background: #10522d;
    transform: translateY(-1px);
}

body .tmo-dashboard-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

body .tmo-stat-card {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    padding: 20px;
    border: 1px solid #e2ebe5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(20,60,35,.035);
}

body .tmo-stat-card span {
    color: #64766b;
    font-size: 13px;
    font-weight: 500;
}

body .tmo-stat-card strong {
    color: #176b3a;
    font-size: 30px;
    font-weight: 750;
}

body .tmo-dashboard .tmo-panel,
body .tmo-dashboard-listings {
    padding: 24px;
    margin-bottom: 22px;
    border: 1px solid #e1eae4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(20,60,35,.035);
}

body .tmo-dashboard .tmo-panel h3,
body .tmo-dashboard-listings h3 {
    margin: 0 0 20px;
    color: #174d30;
    font-size: 19px;
    font-weight: 700;
}

body .tmo-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

body .tmo-metric-grid div {
    padding: 18px;
    border: 1px solid #e1ece4;
    border-radius: 10px;
    background: #f4f9f5;
}

body .tmo-metric-grid span {
    color: #65786b;
    font-size: 12px;
    line-height: 1.5;
}

body .tmo-metric-grid strong {
    color: #176b3a;
    font-size: 27px;
}

body .tmo-muted {
    margin-top: 14px;
    line-height: 1.6;
}

body .tmo-periods {
    padding-top: 12px;
    border-top: 1px solid #edf1ee;
    color: #52665a;
    font-size: 13px;
}

body .tmo-periods strong {
    color: #174d30;
}

body .tmo-dashboard .tmo-panel label {
    color: #344f3e;
    font-size: 13px;
    font-weight: 650;
}

body .tmo-dashboard .tmo-panel form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

body .tmo-dashboard .tmo-panel form label {
    min-width: 0;
    margin: 0;
}

body .tmo-dashboard .tmo-panel input:not([type="file"]),
body .tmo-dashboard .tmo-panel input[type="file"] {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 46px;
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #d9e4dc;
    border-radius: 8px;
    background: #fbfdfb;
    color: #193b29;
    font-size: 14px;
}

body .tmo-dashboard .tmo-panel input:focus {
    outline: none;
    border-color: #24834c;
    box-shadow: 0 0 0 3px rgba(36,131,76,.10);
}

body .tmo-dashboard .tmo-panel form button {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 44px;
    padding: 11px 22px;
    background: #176b3a;
    font-weight: 650;
}

body .tmo-dashboard .tmo-panel form button:hover {
    background: #10522d;
}

body .tmo-dashboard-listings {
    overflow: hidden;
}

body .tmo-table-wrap {
    border: 1px solid #e6ede8;
    border-radius: 10px;
}

body .tmo-listings-table {
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
}

body .tmo-listings-table th {
    padding: 15px 13px;
    background: #f3f8f4;
    color: #315640;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .035em;
}

body .tmo-listings-table td {
    padding: 15px 13px;
    border-top: 1px solid #edf1ee;
    color: #465b4d;
    font-size: 13px;
    vertical-align: middle;
}

body .tmo-listings-table td strong {
    color: #174d30;
}

body .tmo-listings-table tbody tr:hover {
    background: #f8fbf8;
}

body .tmo-status {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 30px;
    background: #fff4d9;
    color: #946200;
    font-size: 11px;
    font-weight: 700;
}

body .tmo-status-active,
body .tmo-status-publish {
    background: #e6f5eb;
    color: #176b3a;
}

body .tmo-status-rejected,
body .tmo-status-expired {
    background: #fdebea;
    color: #b42318;
}

body .tmo-status-sold {
    background: #eaf0ff;
    color: #3156a3;
}

body .tmo-row-actions a {
    color: #176b3a;
    font-size: 12px;
}

body .tmo-delete-button {
    color: #b42318;
    font-size: 12px;
}

body .tmo-delete-success {
    border: 1px solid #cce8d4;
}

body .tmo-dashboard .tmo-notice {
    padding: 15px 18px;
    margin-bottom: 20px;
    border-radius: 9px;
    background: #f0f7f2;
    color: #176b3a;
}

@media (max-width: 900px) {
    body .tmo-dashboard-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body .tmo-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    body .tmo-dashboard {
        margin: 14px auto 28px;
    }

    body .tmo-dashboard-header {
        align-items: flex-start;
        padding: 20px;
        border-radius: 12px;
    }

    body .tmo-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body .tmo-stat-card {
        min-height: 95px;
        padding: 15px;
    }

    body .tmo-stat-card strong {
        font-size: 25px;
    }

    body .tmo-dashboard .tmo-panel,
    body .tmo-dashboard-listings {
        padding: 17px;
        margin-bottom: 16px;
    }

    body .tmo-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    body .tmo-metric-grid div {
        padding: 13px;
    }

    body .tmo-metric-grid strong {
        font-size: 23px;
    }

    body .tmo-dashboard .tmo-panel form {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    body .tmo-dashboard .tmo-panel form button {
        grid-column: 1;
        width: 100%;
    }

    body .tmo-periods {
        gap: 9px 15px;
    }

    body .tmo-table-wrap {
        margin: 0 -2px;
    }
}


/* TMO INTERACTIVE SELLER ANALYTICS */
body .tmo-analytics-v2 {
    padding: 26px;
}

body .tmo-analytics-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px;
}

body .tmo-analytics-heading h3 {
    margin-bottom: 5px !important;
}

body .tmo-analytics-heading p {
    margin: 0;
    color: #718075;
    font-size: 13px;
}

body .tmo-chart-filters {
    display: flex;
    padding: 4px;
    gap: 4px;
    border: 1px solid #e1eae4;
    border-radius: 9px;
    background: #f4f8f5;
}

body .tmo-chart-filters button {
    min-width: 66px;
    padding: 9px 14px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #52665a;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}

body .tmo-chart-filters button.is-active {
    background: #176b3a;
    color: #fff;
    box-shadow: 0 2px 5px rgba(23,107,58,.15);
}

body .tmo-chart-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-bottom: 28px;
}

body .tmo-chart-summary-card {
    padding: 17px;
    border: 1px solid #e3ece5;
    border-radius: 10px;
    background: #f7faf7;
}

body .tmo-chart-summary-card span,
body .tmo-chart-summary-card small {
    display: block;
    color: #69796e;
    font-size: 12px;
}

body .tmo-chart-summary-card strong {
    display: block;
    margin: 7px 0 3px;
    color: #176b3a;
    font-size: 27px;
    font-weight: 750;
}

body .tmo-chart-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

body .tmo-chart-title strong {
    color: #244a32;
    font-size: 14px;
}

body .tmo-chart-title span {
    color: #718075;
    font-size: 12px;
}

body .tmo-chart-container {
    width: 100%;
    overflow: hidden;
    border: 1px solid #edf2ee;
    border-radius: 10px;
    background: linear-gradient(180deg, #fbfdfb, #fff);
}

body .tmo-performance-chart {
    display: block;
    width: 100%;
    height: 290px;
    overflow: visible;
}

body .tmo-chart-grid-lines line {
    stroke: #e7eee9;
    stroke-width: 1;
    stroke-dasharray: 4 5;
}

body .tmo-chart-y-labels text,
body .tmo-chart-x-labels text {
    fill: #849087;
    font-size: 11px;
}

body .tmo-chart-ad-line,
body .tmo-chart-profile-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body .tmo-chart-ad-line {
    stroke: #16834a;
}

body .tmo-chart-profile-line {
    stroke: #77a9dc;
}

body .tmo-chart-ad-dot {
    fill: #16834a;
    stroke: #fff;
    stroke-width: 2;
}

body .tmo-chart-profile-dot {
    fill: #77a9dc;
    stroke: #fff;
    stroke-width: 2;
}

body .tmo-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 17px;
}

body .tmo-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #596b5f;
    font-size: 12px;
}

body .tmo-chart-legend i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

body .tmo-legend-ad {
    background: #16834a;
}

body .tmo-legend-profile {
    background: #77a9dc;
}

body .tmo-chart-note {
    margin: 18px 0 0;
    color: #829087;
    font-size: 11px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    body .tmo-analytics-v2 {
        padding: 17px;
    }

    body .tmo-analytics-heading {
        align-items: flex-start;
    }

    body .tmo-chart-filters {
        width: 100%;
    }

    body .tmo-chart-filters button {
        flex: 1;
    }

    body .tmo-chart-summary {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    body .tmo-chart-summary-card {
        padding: 13px;
    }

    body .tmo-chart-summary-card:last-child {
        grid-column: 1 / -1;
    }

    body .tmo-chart-summary-card strong {
        font-size: 23px;
    }

    body .tmo-performance-chart {
        height: 225px;
    }

    body .tmo-chart-title {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* TMO marketplace advanced search */
.tmo-advanced-search {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 22px;
    margin: 24px 0 18px;
    border: 1px solid #e1ebe4;
    border-radius: 14px;
    background: #f8fbf8;
}

.tmo-advanced-search .tmo-search-keyword {
    grid-column: span 2;
}

.tmo-advanced-search .tmo-search-field {
    min-width: 0;
}

.tmo-advanced-search label,
.tmo-sort-form label {
    display: block;
    margin-bottom: 7px;
    color: #315640;
    font-size: 13px;
    font-weight: 650;
}

.tmo-advanced-search input,
.tmo-advanced-search select,
.tmo-sort-form select {
    box-sizing: border-box;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #dce7df;
    border-radius: 8px;
    background: #fff;
    color: #193b29;
    font-size: 14px;
}

.tmo-advanced-search input:focus,
.tmo-advanced-search select:focus,
.tmo-sort-form select:focus {
    outline: none;
    border-color: #24834c;
    box-shadow: 0 0 0 3px rgba(36,131,76,.09);
}

.tmo-search-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
}

.tmo-search-actions .tmo-button {
    min-height: 46px;
    padding: 12px 24px;
    border: 0;
    cursor: pointer;
}

.tmo-reset-search {
    color: #176b3a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.tmo-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 18px 0;
}

.tmo-results-toolbar > p {
    margin: 0;
}

.tmo-sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tmo-sort-form label {
    margin: 0;
    white-space: nowrap;
}

.tmo-sort-form select {
    width: auto;
    min-width: 170px;
}

@media (max-width: 760px) {
    .tmo-advanced-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
    }

    .tmo-advanced-search .tmo-search-keyword {
        grid-column: 1 / -1;
    }

    .tmo-results-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .tmo-sort-form {
        width: 100%;
        justify-content: space-between;
    }

    .tmo-sort-form select {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 420px) {
    .tmo-advanced-search {
        grid-template-columns: 1fr;
    }

    .tmo-advanced-search .tmo-search-keyword,
    .tmo-search-actions {
        grid-column: 1;
    }

    .tmo-search-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .tmo-search-actions .tmo-button {
        width: 100%;
    }
}

/* TMO advanced marketplace search - full-width layout fix */
body .tmo-marketplace-archive .tmo-search.tmo-advanced-search {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
    margin: 24px 0 22px;
}

body .tmo-marketplace-archive .tmo-advanced-search .tmo-search-keyword {
    grid-column: span 2;
}

body .tmo-marketplace-archive .tmo-advanced-search .tmo-search-field {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body .tmo-marketplace-archive .tmo-advanced-search input,
body .tmo-marketplace-archive .tmo-advanced-search select {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    box-sizing: border-box;
}

body .tmo-marketplace-archive .tmo-search-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 18px;
}

body .tmo-marketplace-archive .tmo-results-toolbar {
    width: 100%;
    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 900px) {
    body .tmo-marketplace-archive .tmo-search.tmo-advanced-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .tmo-marketplace-archive .tmo-advanced-search .tmo-search-keyword {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 520px) {
    body .tmo-marketplace-archive .tmo-search.tmo-advanced-search {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 16px;
    }

    body .tmo-marketplace-archive .tmo-advanced-search .tmo-search-keyword {
        grid-column: 1;
    }

    body .tmo-marketplace-archive .tmo-search-actions {
        grid-column: 1;
        align-items: stretch;
        flex-direction: column;
    }

    body .tmo-marketplace-archive .tmo-search-actions .tmo-button {
        width: 100%;
    }
}

/* Balance the price filter row */
@media (min-width: 901px) {
    body .tmo-marketplace-archive .tmo-advanced-search .tmo-price-field {
        grid-column: span 2;
    }
}

/* TMO marketplace listing cards */
body .tmo-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

body .tmo-listing-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2ebe5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(20, 60, 35, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

body .tmo-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(20, 60, 35, .09);
}

body .tmo-listing-card .tmo-listing-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #f1f5f2;
}

body .tmo-listing-card .tmo-listing-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body .tmo-listing-card .tmo-listing-placeholder {
    color: #829187;
    font-size: 13px;
}

body .tmo-listing-card .tmo-listing-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 16px;
}

body .tmo-listing-card .tmo-listing-info h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

body .tmo-listing-card .tmo-listing-info h3 a {
    color: #174d30;
    text-decoration: none;
}

body .tmo-listing-card .tmo-listing-price {
    color: #176b3a;
    font-size: 19px;
    font-weight: 750;
}

body .tmo-card-location,
body .tmo-card-seller,
body .tmo-listing-card .tmo-listing-meta {
    color: #64766b;
    font-size: 12px;
    line-height: 1.5;
}

body .tmo-card-location,
body .tmo-card-seller {
    overflow-wrap: anywhere;
}

body .tmo-card-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 7px;
    background: #176b3a;
    color: #fff !important;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
    text-decoration: none !important;
}

body .tmo-card-view-button:hover {
    background: #10522d;
}

@media (max-width: 900px) {
    body .tmo-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 520px) {
    body .tmo-listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body .tmo-listing-card .tmo-listing-image {
        height: 145px;
    }

    body .tmo-listing-card .tmo-listing-info {
        gap: 7px;
        padding: 11px;
    }

    body .tmo-listing-card .tmo-listing-info h3 {
        font-size: 13px;
    }

    body .tmo-listing-card .tmo-listing-price {
        font-size: 16px;
    }

    body .tmo-card-location,
    body .tmo-card-seller,
    body .tmo-listing-card .tmo-listing-meta {
        font-size: 11px;
    }

    body .tmo-card-view-button {
        min-height: 36px;
        padding: 8px 5px;
        font-size: 11px;
    }
}

/* TMO advertisement gallery and enquiry actions */
body .tmo-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

body .tmo-gallery-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid #e5ede7;
    border-radius: 12px;
    background: #f5f8f5;
}

body .tmo-gallery-main a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

body .tmo-gallery-main img {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: contain;
}

body .tmo-gallery-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body .tmo-gallery-thumb {
    width: 82px;
    height: 76px;
    padding: 3px;
    overflow: hidden;
    border: 2px solid #e1eae4;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

body .tmo-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body .tmo-gallery-thumb.is-active {
    border-color: #176b3a;
    box-shadow: 0 0 0 2px rgba(23,107,58,.12);
}

body .tmo-enquiry-button {
    background: #10522d;
}

@media (max-width: 600px) {
    body .tmo-gallery-main {
        min-height: 230px;
    }

    body .tmo-gallery-main img {
        max-height: 360px;
    }

    body .tmo-gallery-thumb {
        width: 68px;
        height: 64px;
    }
}


/* TMO advertisement detail information */
.tmo-detail-panel {
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #e3ebe5;
    border-radius: 14px;
    background: #fff;
}
.tmo-detail-panel h2,
.tmo-related-section h2 {
    margin: 0 0 18px;
    color: #174d30;
    font-size: 21px;
}
.tmo-detail-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.tmo-detail-facts div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px;
    border-radius: 9px;
    background: #f4f9f5;
}
.tmo-detail-facts span {
    color: #68786e;
    font-size: 12px;
}
.tmo-detail-facts strong {
    color: #214b32;
    font-size: 14px;
}
.tmo-custom-ad-fields { margin-top: 18px; }
.tmo-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tmo-detail-tags a {
    padding: 6px 11px;
    border-radius: 20px;
    background: #edf6ef;
    color: #176b3a;
    font-size: 12px;
}
.tmo-location-address { color: #52665a; margin-bottom: 14px; }
.tmo-detail-map {
    overflow: hidden;
    height: 300px;
    border-radius: 10px;
    background: #f1f4f1;
}
.tmo-detail-map iframe { width: 100%; height: 100%; border: 0; }
.tmo-map-link { display: inline-block; margin-top: 12px; color: #176b3a; }
.tmo-related-section { margin: 34px 0; }
.tmo-safety-card { position: static !important; align-self: start; }
@media (max-width: 600px) {
    .tmo-detail-panel { padding: 17px; }
    .tmo-detail-facts { grid-template-columns: 1fr 1fr; gap: 9px; }
    .tmo-detail-map { height: 230px; }
}

/* TMO listing sidebar: prevent Seller Information overlapping Buyer Safety */
body.single-ad_post .tmo-detail-sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    position: relative;
}

body.single-ad_post .tmo-detail-sidebar .tmo-seller-card {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    margin: 0;
    width: 100%;
}

body.single-ad_post .tmo-detail-sidebar .tmo-safety-card {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    align-self: stretch;
    margin: 0;
    width: 100%;
}


/* TMO responsive brand header */
.tmo-brand {
    flex: 0 1 auto;
    min-width: 0;
}

.tmo-brand picture {
    display: block;
    line-height: 0;
}

.tmo-brand img {
    display: block;
    width: 340px;
    max-width: 100%;
    height: auto;
    max-height: none;
}

.tmo-header-actions {
    flex-shrink: 0;
}

.tmo-mobile-menu-toggle,
.tmo-mobile-menu {
    display: none;
}

@media (max-width: 900px) {
    .tmo-header-inner {
        gap: 14px;
    }

    .tmo-brand img {
        width: 270px;
    }

    .tmo-header-actions .tmo-button-outline {
        display: none;
    }

    .tmo-mobile-menu-toggle {
        display: inline-flex;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        padding: 10px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--tmo-border);
        border-radius: 9px;
        background: #fff;
        cursor: pointer;
    }

    .tmo-mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: var(--tmo-green-dark);
    }

    .tmo-mobile-menu:not([hidden]) {
        display: block;
        position: absolute;
        z-index: 1000;
        top: 100%;
        left: 0;
        right: 0;
        padding: 18px 22px 24px;
        background: #fff;
        border-top: 1px solid var(--tmo-border);
        border-bottom: 1px solid var(--tmo-border);
        box-shadow: 0 12px 24px rgba(0,0,0,.12);
    }

    .tmo-header {
        position: relative;
        z-index: 100;
    }

    .tmo-mobile-menu-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        color: var(--tmo-green-dark);
    }

    .tmo-mobile-menu-close {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: var(--tmo-green-light);
        color: var(--tmo-green-dark);
        font-size: 25px;
        cursor: pointer;
    }

    .tmo-mobile-menu nav,
    .tmo-mobile-menu nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .tmo-mobile-menu nav a {
        display: block;
        padding: 12px 4px;
        border-bottom: 1px solid var(--tmo-border);
        color: var(--tmo-text);
        font-weight: 600;
    }

    .tmo-mobile-menu nav ul ul {
        padding-left: 16px;
    }
}

@media (max-width: 560px) {
    .tmo-container {
        width: calc(100% - 24px);
    }

    .tmo-header-inner {
        min-height: 76px;
        gap: 8px;
    }

    .tmo-brand {
        flex: 1 1 auto;
        overflow: hidden;
    }

    .tmo-brand img {
        width: 205px;
        max-width: 100%;
    }

    .tmo-header-actions {
        gap: 0;
    }

    .tmo-header-actions .tmo-post-ad-button {
        min-height: 40px;
        padding: 8px 10px;
        white-space: nowrap;
        font-size: 12px;
    }

    .tmo-mobile-menu-toggle {
        flex-basis: 38px;
        width: 38px;
        height: 40px;
        padding: 9px;
    }
}


/* TMO Contact Seller */
.tmo-contact-seller-form {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--tmo-border, #e5ebe7);
    border-radius: 12px;
    background: #f8fbf9;
}

.tmo-contact-seller-form label {
    display: block;
    margin-bottom: 9px;
    font-weight: 700;
}

.tmo-contact-seller-form textarea {
    display: block;
    width: 100%;
    min-height: 105px;
    padding: 12px;
    border: 1px solid #dce5df;
    border-radius: 8px;
    background: #fff;
    resize: vertical;
    box-sizing: border-box;
}

.tmo-contact-seller-form textarea:focus {
    outline: 2px solid rgba(24, 116, 71, .2);
    border-color: #187447;
}

.tmo-message-seller-button {
    display: block;
    width: 100%;
    margin-top: 12px;
    cursor: pointer;
}

.tmo-contact-seller-note {
    display: block;
    margin-top: 9px;
    color: var(--tmo-muted, #78837c);
    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   TMO MOBILE BOTTOM NAVIGATION
   ========================================================= */

.tmo-bottom-nav {
    display: none;
}

@media (max-width: 900px) {
    body {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .tmo-bottom-nav {
        position: fixed;
        z-index: 9998;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        min-height: 64px;
        padding: 7px 5px calc(7px + env(safe-area-inset-bottom, 0px));
        background: #ffffff;
        border-top: 1px solid #e5ebe7;
        box-shadow: 0 -4px 18px rgba(20, 50, 35, 0.08);
        box-sizing: border-box;
    }

    .tmo-bottom-nav-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 0;
        min-height: 48px;
        padding: 2px;
        color: #68756d;
        text-decoration: none;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.2;
        -webkit-tap-highlight-color: transparent;
    }

    .tmo-bottom-nav-item svg {
        display: block;
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    .tmo-bottom-nav-item.is-active {
        color: #187447;
    }

    .tmo-bottom-nav-item.is-active::before {
        content: "";
        position: absolute;
        top: -7px;
        width: 25px;
        height: 3px;
        border-radius: 0 0 4px 4px;
        background: #187447;
    }

    .tmo-bottom-nav-item:focus-visible {
        outline: 2px solid #187447;
        outline-offset: -2px;
        border-radius: 8px;
    }

    .tmo-bottom-nav-icon-wrap {
        position: relative;
        display: inline-flex;
    }

    .tmo-bottom-nav-badge {
        position: absolute;
        top: -7px;
        right: -10px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border: 2px solid #ffffff;
        border-radius: 20px;
        background: #e65c32;
        color: #ffffff;
        font-size: 9px;
        font-weight: 700;
        line-height: 1;
        box-sizing: content-box;
    }
}

@media (min-width: 901px) {
    .tmo-bottom-nav {
        display: none !important;
    }
}


/* TMO Marketplace Category Directory */
.tmo-category-directory {
    margin: 20px 0 40px;
}

.tmo-category-directory-intro {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.tmo-category-directory-intro h2 {
    margin: 8px 0 12px;
    color: var(--tmo-heading, #173d2c);
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.2;
}

.tmo-category-directory-intro p {
    color: var(--tmo-muted, #718078);
    line-height: 1.7;
}

.tmo-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.tmo-category-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--tmo-border, #e5ebe7);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tmo-category-card:hover {
    border-color: #b6d5c3;
    box-shadow: 0 8px 24px rgba(20, 65, 42, .07);
    transform: translateY(-2px);
}

.tmo-category-card-main {
    color: var(--tmo-text, #24352b);
    text-decoration: none;
}

.tmo-category-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #edf6f0;
    color: #187447;
}

.tmo-category-card-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tmo-category-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.tmo-category-count {
    color: var(--tmo-muted, #718078);
    font-size: 12px;
}

.tmo-category-subcategories {
    margin: 16px 0;
    padding: 14px 0 0 17px;
    border-top: 1px solid #edf1ee;
}

.tmo-category-subcategories li {
    margin-bottom: 8px;
    color: #187447;
    font-size: 13px;
}

.tmo-category-subcategories a {
    color: #59675e;
    text-decoration: none;
}

.tmo-category-subcategories a:hover {
    color: #187447;
}

.tmo-category-view-all {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf1ee;
    color: #187447;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .tmo-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .tmo-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tmo-category-card {
        padding: 15px;
    }

    .tmo-category-card h3 {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .tmo-category-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   TMO PROMOTIONAL BANNER CAROUSEL
   Author: RoyalRoots Concept
========================================================= */

.tmo-promo {
    position: relative;
    width: 100%;
    min-height: 350px;
    overflow: hidden;
    background: #123b2b;
    isolation: isolate;
}

.tmo-promo-track {
    position: relative;
    width: 100%;
    min-height: 350px;
}

.tmo-promo-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    min-height: 350px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .65s ease, visibility .65s ease;
}

.tmo-promo-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tmo-promo-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tmo-promo-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(8, 35, 24, .94) 0%,
        rgba(8, 35, 24, .78) 42%,
        rgba(8, 35, 24, .25) 100%
    );
}

.tmo-promo-content {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 65px 75px;
    color: #fff;
}

.tmo-promo-eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #d7f2a3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tmo-promo-content h2 {
    max-width: 650px;
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.13;
}

.tmo-promo-content p {
    max-width: 570px;
    margin: 0 0 25px;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    line-height: 1.7;
}

.tmo-promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tmo-promo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 0 23px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.tmo-promo-primary {
    background: #f1c75b;
    color: #173b2b;
}

.tmo-promo-primary:hover {
    background: #fff;
    color: #173b2b;
}

.tmo-promo-secondary {
    border-color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.tmo-promo-secondary:hover {
    background: #fff;
    color: #173b2b;
}

.tmo-promo-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(0, 0, 0, .3);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: background .2s ease;
}

.tmo-promo-arrow:hover {
    background: #187447;
}

.tmo-promo-prev {
    left: 18px;
}

.tmo-promo-next {
    right: 18px;
}

.tmo-promo-dots {
    position: absolute;
    right: 0;
    bottom: 19px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.tmo-promo-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
}

.tmo-promo-dot.is-active {
    width: 27px;
    border-radius: 10px;
    background: #f1c75b;
}

.tmo-promo-button:focus-visible,
.tmo-promo-arrow:focus-visible,
.tmo-promo-dot:focus-visible {
    outline: 3px solid #f1c75b;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .tmo-promo-content {
        padding: 55px 65px;
    }

    .tmo-promo-content h2 {
        max-width: 540px;
        font-size: 36px;
    }

    .tmo-promo-shade {
        background: linear-gradient(
            90deg,
            rgba(8, 35, 24, .92),
            rgba(8, 35, 24, .55)
        );
    }
}

@media (max-width: 600px) {
    .tmo-promo,
    .tmo-promo-track,
    .tmo-promo-slide {
        min-height: 420px;
    }

    .tmo-promo-image {
        object-position: 58% center;
    }

    .tmo-promo-shade {
        background: linear-gradient(
            90deg,
            rgba(8, 35, 24, .9),
            rgba(8, 35, 24, .62)
        );
    }

    .tmo-promo-content {
        padding: 48px 48px 65px;
    }

    .tmo-promo-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .tmo-promo-content h2 {
        font-size: 29px;
        line-height: 1.2;
    }

    .tmo-promo-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .tmo-promo-actions {
        align-items: stretch;
        flex-direction: column;
        max-width: 230px;
    }

    .tmo-promo-button {
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
        font-size: 13px;
    }

    .tmo-promo-arrow {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .tmo-promo-prev {
        left: 7px;
    }

    .tmo-promo-next {
        right: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tmo-promo-slide,
    .tmo-promo-button,
    .tmo-promo-arrow {
        transition: none;
    }
}

/* Remove unnecessary top spacing on Marketplace Categories page */
.tmo-categories-page {
    padding-top: 0 !important;
}

/* TMO compact promotional carousel on mobile */
@media (max-width: 600px) {
    .tmo-promo,
    .tmo-promo-track,
    .tmo-promo-slide {
        min-height: 380px;
    }

    .tmo-promo-content {
        padding: 30px 48px 52px;
    }

    .tmo-promo-eyebrow {
        margin-bottom: 10px;
        font-size: 10px;
    }

    .tmo-promo-content h2 {
        font-size: 26px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .tmo-promo-content p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .tmo-promo-actions {
        gap: 9px;
    }

    .tmo-promo-button {
        min-height: 40px;
    }

    .tmo-promo-dots {
        bottom: 14px;
    }
}

/* =====================================================
   TMO PUBLIC INFORMATION PAGES
   About, Contact, How to Sell and How to Buy
   RoyalRoots Concept
   ===================================================== */

.tmo-info-page {
    overflow: hidden;
    color: var(--tmo-text);
}

.tmo-info-hero {
    padding: 68px 0;
    background: linear-gradient(115deg, #f0f7f1 0%, #f8fbf8 58%, #eaf5ed 100%);
}

.tmo-info-hero-grid,
.tmo-about-process-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: center;
    gap: 55px;
}

.tmo-info-hero-copy h1 {
    max-width: 650px;
    margin: 15px 0 20px;
    color: #153b25;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.tmo-info-hero-copy > p {
    max-width: 570px;
    margin: 0;
    color: #58695e;
    font-size: 17px;
    line-height: 1.8;
}

.tmo-eyebrow {
    display: inline-block;
    color: var(--tmo-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tmo-info-hero-image,
.tmo-about-process-image {
    overflow: hidden;
    border-radius: 18px;
    background: var(--tmo-green-light);
    box-shadow: 0 16px 40px rgba(20, 55, 32, .12);
}

.tmo-info-hero-image img,
.tmo-about-process-image img {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.tmo-info-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.tmo-info-actions .tmo-button,
.tmo-info-actions .tmo-button-outline {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
}

.tmo-info-actions .tmo-button {
    background: var(--tmo-green);
    color: #fff;
}

.tmo-info-actions .tmo-button:hover {
    background: var(--tmo-green-dark);
    color: #fff;
}

.tmo-info-actions .tmo-button-outline {
    border: 1px solid #cbdace;
    background: #fff;
    color: var(--tmo-green-dark);
}

.tmo-info-section {
    padding: 76px 0;
}

.tmo-info-soft {
    background: var(--tmo-bg);
}

.tmo-about-intro {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 65px;
}

.tmo-about-intro h2,
.tmo-about-process h2 {
    margin: 12px 0 0;
    color: #183d28;
    font-size: clamp(28px, 3.5vw, 39px);
    line-height: 1.2;
}

.tmo-info-prose p,
.tmo-about-process p {
    margin: 0 0 17px;
    color: #5e6c63;
    font-size: 16px;
    line-height: 1.85;
}

.tmo-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.tmo-mission-card {
    padding: 38px;
    border: 1px solid var(--tmo-border);
    border-radius: 15px;
    background: #fff;
}

.tmo-mission-card h2 {
    margin: 14px 0;
    color: #183d28;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.3;
}

.tmo-mission-card p {
    margin: 0;
    color: var(--tmo-muted);
    line-height: 1.8;
}

.tmo-mission-card-dark {
    border-color: #174c2e;
    background: #174c2e;
}

.tmo-mission-card-dark .tmo-eyebrow {
    color: #b8e1c5;
}

.tmo-mission-card-dark h2,
.tmo-mission-card-dark p {
    color: #fff;
}

.tmo-info-section-heading {
    max-width: 650px;
    margin: 0 auto 35px;
    text-align: center;
}

.tmo-info-section-heading h2 {
    margin: 10px 0;
    color: #183d28;
    font-size: clamp(28px, 3.5vw, 38px);
}

.tmo-info-section-heading p {
    margin: 0;
    color: var(--tmo-muted);
}

.tmo-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.tmo-benefit-card {
    padding: 25px 21px;
    border: 1px solid var(--tmo-border);
    border-radius: 12px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tmo-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tmo-shadow);
}

.tmo-benefit-number {
    display: inline-flex;
    width: 39px;
    height: 39px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--tmo-green-light);
    color: var(--tmo-green);
    font-size: 13px;
    font-weight: 800;
}

.tmo-benefit-card h3 {
    margin: 18px 0 9px;
    color: #183d28;
    font-size: 18px;
}

.tmo-benefit-card p {
    margin: 0;
    color: var(--tmo-muted);
    font-size: 14px;
    line-height: 1.75;
}

.tmo-about-process-grid {
    grid-template-columns: 1fr 1fr;
}

.tmo-about-process-grid > div:first-child > p:first-of-type {
    margin-top: 20px;
}

.tmo-text-link {
    display: inline-block;
    margin-top: 7px;
    color: var(--tmo-green);
    font-weight: 750;
    text-decoration: none;
}

.tmo-text-link:hover {
    color: var(--tmo-green-dark);
    text-decoration: underline;
}

.tmo-info-cta {
    padding: 52px 0;
    background: #174c2e;
}

.tmo-info-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.tmo-info-cta .tmo-eyebrow {
    color: #b8e1c5;
}

.tmo-info-cta h2 {
    margin: 9px 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
}

.tmo-info-cta p {
    margin: 0;
    color: #d9e8dd;
}

.tmo-button-light {
    background: #fff !important;
    color: #174c2e !important;
}

.tmo-cta-secondary {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 900px) {
    .tmo-info-hero-grid,
    .tmo-about-intro,
    .tmo-about-process-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tmo-info-hero-image img,
    .tmo-about-process-image img {
        height: 340px;
    }

    .tmo-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .tmo-info-hero {
        padding: 43px 0;
    }

    .tmo-info-hero-copy h1 {
        font-size: 37px;
        letter-spacing: -.8px;
    }

    .tmo-info-hero-copy > p {
        font-size: 15px;
    }

    .tmo-info-section {
        padding: 48px 0;
    }

    .tmo-mission-grid,
    .tmo-benefit-grid {
        grid-template-columns: 1fr;
    }

    .tmo-mission-card {
        padding: 27px 23px;
    }

    .tmo-info-hero-image img,
    .tmo-about-process-image img {
        height: 255px;
    }

    .tmo-info-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .tmo-info-actions {
        align-items: stretch;
    }

    .tmo-info-actions .tmo-button,
    .tmo-info-actions .tmo-button-outline {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tmo-benefit-card {
        transition: none;
    }
    .tmo-benefit-card:hover {
        transform: none;
    }
}

/* =====================================================
   TMO CONTACT PAGE
   RoyalRoots Concept
   ===================================================== */

.tmo-contact-hero {
    padding: 75px 0;
    background: linear-gradient(115deg, #f0f7f1, #eaf5ed);
    text-align: center;
}

.tmo-contact-hero-inner {
    max-width: 790px;
}

.tmo-contact-hero h1 {
    margin: 14px 0;
    color: #153b25;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.tmo-contact-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: #58695e;
    font-size: 17px;
    line-height: 1.8;
}

.tmo-contact-hero-link {
    display: inline-block;
    margin-top: 23px;
    color: var(--tmo-green);
    font-weight: 750;
    text-decoration: none;
}

.tmo-contact-method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tmo-contact-method {
    padding: 29px 25px;
    border: 1px solid var(--tmo-border);
    border-radius: 14px;
    background: #fff;
}

.tmo-contact-method-featured {
    border-color: #b8d9c1;
    background: #f3f9f4;
}

.tmo-contact-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--tmo-green-light);
    color: var(--tmo-green);
}

.tmo-contact-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tmo-contact-method h3 {
    margin: 19px 0 8px;
    color: #183d28;
    font-size: 19px;
}

.tmo-contact-method p {
    min-height: 52px;
    margin: 0 0 16px;
    color: var(--tmo-muted);
    font-size: 14px;
    line-height: 1.7;
}

.tmo-contact-method > a:not(.tmo-contact-channel-button) {
    display: block;
    margin-top: 9px;
    color: var(--tmo-green);
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.tmo-contact-channel-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 7px;
    background: var(--tmo-green);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.tmo-contact-channel-button:hover {
    background: var(--tmo-green-dark);
}

.tmo-contact-phone {
    display: block;
    margin-top: 10px;
    color: var(--tmo-muted);
    font-size: 13px;
}

.tmo-contact-form-section {
    padding: 75px 0;
    background: var(--tmo-bg);
}

.tmo-contact-form-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
    align-items: start;
}

.tmo-contact-form-intro h2 {
    margin: 12px 0;
    color: #183d28;
    font-size: clamp(29px, 3.5vw, 39px);
    line-height: 1.2;
}

.tmo-contact-form-intro > p {
    color: var(--tmo-muted);
    line-height: 1.85;
}

.tmo-contact-socials {
    margin-top: 35px;
    padding-top: 24px;
    border-top: 1px solid var(--tmo-border);
}

.tmo-contact-socials h3 {
    margin: 0 0 15px;
    color: #183d28;
    font-size: 17px;
}

.tmo-contact-socials a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 18px 10px 0;
    color: var(--tmo-green);
    font-weight: 700;
    text-decoration: none;
}

.tmo-contact-form-card {
    padding: 32px;
    border: 1px solid var(--tmo-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--tmo-shadow);
}

.tmo-contact-form {
    display: grid;
    gap: 18px;
}

.tmo-contact-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tmo-contact-field {
    display: grid;
    gap: 7px;
}

.tmo-contact-field label {
    color: #294735;
    font-size: 14px;
    font-weight: 700;
}

.tmo-contact-field input,
.tmo-contact-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 47px;
    padding: 12px 13px;
    border: 1px solid #dce6df;
    border-radius: 8px;
    background: #fbfdfb;
    color: var(--tmo-text);
    font: inherit;
    font-size: 14px;
}

.tmo-contact-field textarea {
    min-height: 145px;
    resize: vertical;
}

.tmo-contact-field input:focus,
.tmo-contact-field textarea:focus {
    outline: none;
    border-color: var(--tmo-green);
    box-shadow: 0 0 0 3px rgba(23, 107, 58, .1);
}

.tmo-contact-submit {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 22px;
    border: 0;
    border-radius: 8px;
    background: var(--tmo-green);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
}

.tmo-contact-submit:hover {
    background: var(--tmo-green-dark);
}

.tmo-contact-privacy-note {
    margin: -7px 0 0;
    color: var(--tmo-muted);
    font-size: 12px;
}

.tmo-contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.tmo-contact-notice {
    margin-bottom: 22px;
    padding: 15px 17px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.tmo-contact-notice-success {
    border: 1px solid #b8d9c1;
    background: #eff8f1;
    color: #174c2e;
}

.tmo-contact-notice-error {
    border: 1px solid #e7c5c5;
    background: #fff4f4;
    color: #8b2828;
}

.tmo-contact-bottom {
    padding: 50px 0;
    background: #174c2e;
    color: #fff;
    text-align: center;
}

.tmo-contact-bottom h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 32px);
}

.tmo-contact-bottom p {
    color: #d9e8dd;
}

.tmo-contact-bottom a {
    display: inline-block;
    margin-top: 10px;
    color: #fff;
    font-weight: 750;
    text-underline-offset: 4px;
}

@media (max-width: 800px) {
    .tmo-contact-method-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tmo-contact-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 560px) {
    .tmo-contact-hero {
        padding: 48px 0;
    }

    .tmo-contact-hero h1 {
        font-size: 36px;
    }

    .tmo-contact-hero p {
        font-size: 15px;
    }

    .tmo-contact-method-grid,
    .tmo-contact-field-row {
        grid-template-columns: 1fr;
    }

    .tmo-contact-method p {
        min-height: 0;
    }

    .tmo-contact-form-section {
        padding: 48px 0;
    }

    .tmo-contact-form-card {
        padding: 22px 17px;
    }
}

/* =====================================================
   TMO HOW TO SELL PAGE
   RoyalRoots Concept
   ===================================================== */

.tmo-sell-hero {
    background: linear-gradient(115deg, #eef7f0 0%, #f8fbf8 58%, #e7f3e9 100%);
}

.tmo-sell-hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 19px;
    color: #5b6e61;
    font-size: 13px;
}

.tmo-sell-hero-note span {
    display: inline-flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcefe1;
    color: var(--tmo-green);
    font-weight: 800;
}

.tmo-sell-closed {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    padding: 10px 15px;
    border-radius: 7px;
    background: #fff1e8;
    color: #8a431d;
    font-size: 13px;
    font-weight: 700;
}

.tmo-sell-intro {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px;
    align-items: start;
}

.tmo-sell-intro h2,
.tmo-sell-preparation-copy h2,
.tmo-sell-after-grid h2 {
    margin: 12px 0 0;
    color: #183d28;
    font-size: clamp(28px, 3.5vw, 39px);
    line-height: 1.2;
}

.tmo-sell-intro > div:last-child p,
.tmo-sell-preparation-copy > p,
.tmo-sell-after-grid > div:first-child p {
    margin: 0 0 16px;
    color: var(--tmo-muted);
    font-size: 15px;
    line-height: 1.85;
}

.tmo-sell-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.tmo-sell-step {
    position: relative;
    padding: 25px 21px;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
}

.tmo-sell-step-number {
    position: absolute;
    top: 17px;
    right: 18px;
    color: #c6d9cb;
    font-size: 24px;
    font-weight: 850;
}

.tmo-sell-step-icon {
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--tmo-green-light);
    color: var(--tmo-green);
    font-size: 21px;
    font-weight: 800;
}

.tmo-sell-step .tmo-eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
}

.tmo-sell-step h3 {
    margin: 10px 0;
    color: #183d28;
    font-size: 18px;
    line-height: 1.35;
}

.tmo-sell-step > p {
    margin: 0 0 15px;
    color: var(--tmo-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tmo-sell-step > a {
    display: inline-block;
    margin-top: 3px;
    color: var(--tmo-green);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.tmo-sell-step-foot {
    display: block;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--tmo-border);
    color: #637368;
    font-size: 11px;
    font-weight: 700;
}

.tmo-sell-preparation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.tmo-sell-preparation-image {
    overflow: hidden;
    border-radius: 17px;
    box-shadow: var(--tmo-shadow);
}

.tmo-sell-preparation-image img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.tmo-sell-preparation-copy > p {
    margin-top: 17px;
}

.tmo-sell-tips {
    display: grid;
    gap: 17px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.tmo-sell-tips li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tmo-sell-tips li > span {
    display: flex;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tmo-green-light);
    color: var(--tmo-green);
    font-size: 13px;
    font-weight: 800;
}

.tmo-sell-tips strong {
    color: #254532;
    font-size: 14px;
}

.tmo-sell-tips p {
    margin: 4px 0 0;
    color: var(--tmo-muted);
    font-size: 13px;
    line-height: 1.7;
}

.tmo-sell-after-grid {
    display: grid;
    grid-template-columns: 1fr .85fr;
    align-items: center;
    gap: 50px;
}

.tmo-sell-after-grid > div:first-child p:first-of-type {
    margin-top: 19px;
}

.tmo-sell-after-card {
    padding: 31px;
    border: 1px solid var(--tmo-border);
    border-radius: 14px;
    background: #fff;
}

.tmo-sell-after-card ol {
    display: grid;
    gap: 17px;
    margin: 19px 0 0;
    padding-left: 22px;
    color: #506458;
    font-size: 14px;
    line-height: 1.7;
}

.tmo-sell-video-section {
    max-width: 900px;
}

.tmo-sell-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    background: #102c1c;
    box-shadow: var(--tmo-shadow);
}

.tmo-sell-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tmo-sell-video-fallback {
    margin: 17px 0 0;
    text-align: center;
}

.tmo-sell-video-fallback a {
    color: var(--tmo-green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 950px) {
    .tmo-sell-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tmo-sell-intro,
    .tmo-sell-preparation,
    .tmo-sell-after-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tmo-sell-preparation-image img {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .tmo-sell-steps-grid {
        grid-template-columns: 1fr;
    }

    .tmo-sell-step {
        padding: 24px 21px;
    }

    .tmo-sell-preparation-image img {
        height: 260px;
    }

    .tmo-sell-after-card {
        padding: 24px 21px;
    }
}

/* =====================================================
   TMO HOW TO BUY PAGE
   RoyalRoots Concept
   ===================================================== */

.tmo-buy-hero {
    background: linear-gradient(115deg, #eef7f0 0%, #f8fbf8 58%, #e7f3e9 100%);
}

.tmo-buy-hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 19px;
    color: #5b6e61;
    font-size: 13px;
}

.tmo-buy-hero-note span {
    display: inline-flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcefe1;
    color: var(--tmo-green);
    font-weight: 800;
}

.tmo-buy-intro {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px;
    align-items: start;
}

.tmo-buy-intro h2,
.tmo-buy-checklist-copy h2 {
    margin: 12px 0 0;
    color: #183d28;
    font-size: clamp(28px, 3.5vw, 39px);
    line-height: 1.2;
}

.tmo-buy-intro > div:last-child p,
.tmo-buy-checklist-copy > p {
    margin: 0 0 16px;
    color: var(--tmo-muted);
    font-size: 15px;
    line-height: 1.85;
}

.tmo-buy-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.tmo-buy-step {
    position: relative;
    padding: 23px 18px;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
}

.tmo-buy-step-number {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #c6d9cb;
    font-size: 23px;
    font-weight: 850;
}

.tmo-buy-step-icon {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--tmo-green-light);
    color: var(--tmo-green);
    font-size: 22px;
    font-weight: 800;
}

.tmo-buy-step .tmo-eyebrow {
    font-size: 10px;
    letter-spacing: .9px;
}

.tmo-buy-step h3 {
    margin: 10px 0;
    color: #183d28;
    font-size: 17px;
    line-height: 1.35;
}

.tmo-buy-step p {
    margin: 0 0 13px;
    color: var(--tmo-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tmo-buy-step > a {
    display: inline-block;
    color: var(--tmo-green);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.tmo-buy-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 55px;
}

.tmo-buy-checklist-image {
    overflow: hidden;
    border-radius: 17px;
    box-shadow: var(--tmo-shadow);
}

.tmo-buy-checklist-image img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.tmo-buy-checklist-copy > p {
    margin-top: 17px;
}

.tmo-buy-checklist-list {
    display: grid;
    gap: 17px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.tmo-buy-checklist-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tmo-buy-checklist-list li > span {
    display: flex;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tmo-green-light);
    color: var(--tmo-green);
    font-size: 13px;
    font-weight: 800;
}

.tmo-buy-checklist-list strong {
    color: #254532;
    font-size: 14px;
}

.tmo-buy-checklist-list p {
    margin: 4px 0 0;
    color: var(--tmo-muted);
    font-size: 13px;
    line-height: 1.7;
}

.tmo-buy-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tmo-buy-safety-card {
    padding: 25px 23px;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
}

.tmo-buy-safety-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--tmo-green-light);
    color: var(--tmo-green);
    font-size: 12px;
    font-weight: 850;
}

.tmo-buy-safety-card h3 {
    margin: 15px 0 8px;
    color: #183d28;
    font-size: 17px;
}

.tmo-buy-safety-card p {
    margin: 0;
    color: var(--tmo-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tmo-buy-safety-card a {
    display: inline-block;
    margin-top: 13px;
    color: var(--tmo-green);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.tmo-buy-disclaimer-section {
    padding: 48px 0;
    background: #fff;
}

.tmo-buy-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 27px 30px;
    border: 1px solid #d9e8dd;
    border-radius: 13px;
    background: #f3f9f4;
}

.tmo-buy-disclaimer-mark {
    display: flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcefe1;
    color: var(--tmo-green);
    font-size: 18px;
    font-weight: 800;
}

.tmo-buy-disclaimer h2 {
    margin: 2px 0 9px;
    color: #183d28;
    font-size: 19px;
}

.tmo-buy-disclaimer p {
    margin: 0;
    color: #58695e;
    font-size: 13px;
    line-height: 1.85;
}

@media (max-width: 1050px) {
    .tmo-buy-steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .tmo-buy-intro,
    .tmo-buy-checklist {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tmo-buy-safety-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tmo-buy-checklist-image img {
        height: 350px;
    }
}

@media (max-width: 560px) {
    .tmo-buy-steps-grid,
    .tmo-buy-safety-grid {
        grid-template-columns: 1fr;
    }

    .tmo-buy-step {
        padding: 23px 20px;
    }

    .tmo-buy-checklist-image img {
        height: 260px;
    }

    .tmo-buy-disclaimer {
        padding: 22px 18px;
        gap: 12px;
    }
}

/* =====================================================
   TMO BLOG ARCHIVE AND ARTICLE DESIGN
   RoyalRoots Concept
   ===================================================== */

.tmo-blog-page,
.tmo-article-page {
    color: var(--tmo-text);
}

.tmo-blog-hero {
    padding: 65px 0 58px;
    text-align: center;
    background: linear-gradient(115deg, #eef7f0 0%, #f8fbf8 58%, #e7f3e9 100%);
}

.tmo-blog-hero h1 {
    margin: 12px 0;
    color: #153b25;
    font-size: clamp(36px, 5vw, 54px);
    line-height: 1.15;
}

.tmo-blog-hero > .tmo-container > p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--tmo-muted);
    font-size: 16px;
    line-height: 1.8;
}

.tmo-blog-hero-search {
    max-width: 490px;
    margin: 25px auto 0;
}

.tmo-blog-hero-search form {
    display: flex;
    gap: 9px;
}

.tmo-blog-hero-search input[type="search"] {
    width: 100%;
    min-width: 0;
    min-height: 47px;
    padding: 10px 15px;
    border: 1px solid #d9e5dc;
    border-radius: 8px;
    background: #fff;
    color: var(--tmo-text);
}

.tmo-blog-hero-search input[type="submit"] {
    min-height: 47px;
    padding: 10px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--tmo-green);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.tmo-blog-main-section {
    padding: 45px 0 75px;
}

.tmo-blog-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.tmo-blog-category-nav a {
    display: inline-flex;
    min-height: 37px;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid var(--tmo-border);
    border-radius: 30px;
    background: #fff;
    color: #52645a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.tmo-blog-category-nav a:hover,
.tmo-blog-category-nav a.is-active {
    border-color: var(--tmo-green);
    background: var(--tmo-green);
    color: #fff;
}

.tmo-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 35px;
}

.tmo-blog-featured {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 1px solid var(--tmo-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--tmo-shadow);
}

.tmo-blog-featured-image,
.tmo-blog-card-image {
    display: block;
    overflow: hidden;
    background: var(--tmo-green-light);
}

.tmo-blog-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform .3s ease;
}

.tmo-blog-featured-image:hover img,
.tmo-blog-card-image:hover img {
    transform: scale(1.035);
}

.tmo-blog-featured-copy {
    align-self: center;
    padding: 30px;
}

.tmo-blog-category-label {
    display: inline-block;
    color: var(--tmo-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-decoration: none;
    text-transform: uppercase;
}

.tmo-blog-featured-copy h2 {
    margin: 12px 0;
    color: #183d28;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.3;
}

.tmo-blog-featured-copy h2 a,
.tmo-blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.tmo-blog-featured-copy h2 a:hover,
.tmo-blog-card h3 a:hover {
    color: var(--tmo-green);
}

.tmo-blog-meta {
    color: #829087;
    font-size: 12px;
}

.tmo-blog-featured-copy > p,
.tmo-blog-card-copy > p {
    margin: 14px 0;
    color: var(--tmo-muted);
    font-size: 14px;
    line-height: 1.8;
}

.tmo-blog-read-link {
    display: inline-block;
    color: var(--tmo-green);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.tmo-blog-list-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin: 42px 0 20px;
}

.tmo-blog-list-heading h2 {
    margin: 8px 0 0;
    color: #183d28;
    font-size: 25px;
}

.tmo-blog-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.tmo-blog-card {
    overflow: hidden;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tmo-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tmo-shadow);
}

.tmo-blog-card-image img {
    display: block;
    width: 100%;
    height: 205px;
    object-fit: cover;
    transition: transform .3s ease;
}

.tmo-blog-card-copy {
    padding: 21px;
}

.tmo-blog-card h3 {
    margin: 9px 0;
    color: #183d28;
    font-size: 18px;
    line-height: 1.45;
}

.tmo-blog-card-copy > p {
    font-size: 13px;
}

.tmo-blog-sidebar {
    display: grid;
    gap: 20px;
}

.tmo-blog-sidebar-card {
    padding: 24px;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
}

.tmo-blog-sidebar-card h2 {
    margin: 10px 0;
    color: #183d28;
    font-size: 20px;
    line-height: 1.4;
}

.tmo-blog-sidebar-card > p {
    margin: 0;
    color: var(--tmo-muted);
    font-size: 13px;
    line-height: 1.8;
}

.tmo-blog-sidebar-categories,
.tmo-blog-recent-list {
    display: grid;
    gap: 0;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.tmo-blog-sidebar-categories li,
.tmo-blog-recent-list li {
    padding: 12px 0;
    border-top: 1px solid var(--tmo-border);
}

.tmo-blog-sidebar-categories a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #43574a;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}

.tmo-blog-sidebar-categories a:hover,
.tmo-blog-recent-list a:hover {
    color: var(--tmo-green);
}

.tmo-blog-sidebar-categories span {
    color: #849188;
}

.tmo-blog-recent-list a {
    display: block;
    color: #334d3c;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    text-decoration: none;
}

.tmo-blog-recent-list time {
    display: block;
    margin-top: 5px;
    color: #89958d;
    font-size: 11px;
}

.tmo-blog-pagination {
    margin-top: 35px;
}

.tmo-blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tmo-blog-pagination a,
.tmo-blog-pagination span {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--tmo-border);
    border-radius: 7px;
    color: var(--tmo-green);
    font-size: 13px;
    text-decoration: none;
}

.tmo-blog-pagination .current {
    border-color: var(--tmo-green);
    background: var(--tmo-green);
    color: #fff;
}

.tmo-blog-empty {
    padding: 45px;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    text-align: center;
}

.tmo-blog-empty h2 {
    color: #183d28;
}

.tmo-blog-empty p {
    color: var(--tmo-muted);
}

/* Blog article sidebar advertising */
.tmo-article-sidebar .tmo-ad-blog_single_sidebar {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 15px;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.tmo-article-sidebar .tmo-ad-blog_single_sidebar::before {
    display: block;
    margin-bottom: 12px;
    color: #89958d;
    content: "ADVERTISEMENT";
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.tmo-article-sidebar .tmo-ad-blog_single_sidebar ins {
    max-width: 100%;
}

/* Individual article */

.tmo-article-header {
    padding: 55px 0 42px;
    background: linear-gradient(115deg, #eef7f0 0%, #f8fbf8 58%, #e7f3e9 100%);
}

.tmo-article-header-inner {
    max-width: 900px;
}

.tmo-article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 27px;
    color: #89958d;
    font-size: 12px;
}

.tmo-article-breadcrumbs a {
    color: #567060;
    text-decoration: none;
}

.tmo-article-header h1 {
    margin: 12px 0 17px;
    color: #153b25;
    font-size: clamp(31px, 4.4vw, 48px);
    line-height: 1.2;
    letter-spacing: -.7px;
}

.tmo-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #738178;
    font-size: 13px;
}

.tmo-article-updated {
    margin-left: 12px;
}

.tmo-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 800px) 280px;
    justify-content: center;
    align-items: start;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 75px;
}

.tmo-article-featured-image {
    overflow: hidden;
    margin: 0 0 35px;
    border-radius: 15px;
    background: var(--tmo-green-light);
}

.tmo-article-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.tmo-article-body {
    color: #394b3f;
    font-size: 17px;
    line-height: 1.9;
    overflow-wrap: break-word;
}

.tmo-article-body > * {
    max-width: 100%;
}

.tmo-article-body p {
    margin: 0 0 23px;
}

.tmo-article-body h2 {
    margin: 38px 0 15px;
    color: #183d28;
    font-size: 29px;
    line-height: 1.35;
}

.tmo-article-body h3 {
    margin: 30px 0 12px;
    color: #183d28;
    font-size: 23px;
    line-height: 1.4;
}

.tmo-article-body h4 {
    color: #183d28;
    font-size: 19px;
}

.tmo-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 9px;
}

.tmo-article-body figure {
    margin: 25px 0;
}

.tmo-article-body blockquote {
    margin: 28px 0;
    padding: 20px 25px;
    border-left: 4px solid var(--tmo-green);
    background: var(--tmo-bg);
    color: #506458;
}

.tmo-article-body a {
    color: var(--tmo-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tmo-article-body ul,
.tmo-article-body ol {
    margin: 0 0 25px;
    padding-left: 25px;
}

.tmo-article-body li {
    margin-bottom: 9px;
}

.tmo-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 35px;
    padding: 20px 0;
    border-top: 1px solid var(--tmo-border);
    border-bottom: 1px solid var(--tmo-border);
    color: #506458;
    font-size: 13px;
}

.tmo-article-tags a {
    display: inline-block;
    margin: 3px;
    padding: 6px 11px;
    border-radius: 20px;
    background: var(--tmo-bg);
    color: var(--tmo-green);
    text-decoration: none;
}

.tmo-article-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.tmo-article-post-navigation a {
    color: var(--tmo-green);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.tmo-article-sidebar {
    display: grid;
    gap: 20px;
}

@media (max-width: 950px) {
    .tmo-blog-layout {
        grid-template-columns: 1fr;
    }

    .tmo-blog-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tmo-article-layout {
        grid-template-columns: 1fr;
    }

    .tmo-article-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .tmo-blog-hero {
        padding: 45px 0;
    }

    .tmo-blog-main-section {
        padding: 32px 0 50px;
    }

    .tmo-blog-featured {
        grid-template-columns: 1fr;
    }

    .tmo-blog-featured-image img {
        min-height: 0;
        height: 230px;
    }

    .tmo-blog-featured-copy {
        padding: 23px;
    }

    .tmo-blog-card-grid,
    .tmo-blog-sidebar,
    .tmo-article-sidebar {
        grid-template-columns: 1fr;
    }

    .tmo-blog-card-image img {
        height: 220px;
    }

    .tmo-article-header {
        padding: 38px 0 30px;
    }

    .tmo-article-layout {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .tmo-article-body {
        font-size: 16px;
    }

    .tmo-article-body h2 {
        font-size: 25px;
    }

    .tmo-article-body h3 {
        font-size: 21px;
    }

    .tmo-article-post-navigation {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tmo-blog-featured-image img,
    .tmo-blog-card-image img,
    .tmo-blog-card {
        transition: none;
    }
}

/* TMO Native Direct Advertising */
.tmo-article-sidebar .tmo-direct-ad {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 15px;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.tmo-article-sidebar .tmo-direct-ad-label {
    display: block;
    margin-bottom: 12px;
    color: #89958d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tmo-article-sidebar .tmo-direct-ad a {
    display: block;
    line-height: 0;
}

.tmo-article-sidebar .tmo-direct-ad img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 7px;
    object-fit: contain;
}

@media (max-width: 650px) {
    .tmo-article-sidebar .tmo-direct-ad {
        padding: 12px;
    }
}

/* End TMO Native Direct Advertising */

/* TMO Native Homepage Direct Advertising */
.tmo-direct-ad-homepage {
    display: block;
    width: calc(100% - 40px);
    max-width: 1140px;
    margin: 24px auto;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.tmo-direct-ad-homepage .tmo-direct-ad-label {
    display: block;
    margin-bottom: 10px;
    color: #89958d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tmo-direct-ad-homepage a {
    display: block;
    line-height: 0;
}

.tmo-direct-ad-homepage img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 180px;
    height: auto;
    margin: 0 auto;
    border-radius: 7px;
    object-fit: contain;
}

@media (max-width: 650px) {
    .tmo-direct-ad-homepage {
        width: calc(100% - 30px);
        margin: 18px auto;
        padding: 10px;
    }
}

/* End TMO Native Homepage Direct Advertising */

/* TMO Native Marketplace Archive Direct Advertising */
.tmo-direct-ad-marketplace_archive {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 22px 0;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.tmo-direct-ad-marketplace_archive .tmo-direct-ad-label {
    display: block;
    margin-bottom: 10px;
    color: #89958d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tmo-direct-ad-marketplace_archive a {
    display: block;
    line-height: 0;
}

.tmo-direct-ad-marketplace_archive img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 180px;
    height: auto;
    margin: 0 auto;
    border-radius: 7px;
    object-fit: contain;
}

@media (max-width: 650px) {
    .tmo-direct-ad-marketplace_archive {
        margin: 16px 0;
        padding: 10px;
    }
}

/* End TMO Native Marketplace Archive Direct Advertising */

/* TMO Native Individual Listing Direct Advertising */
.tmo-direct-ad-marketplace_single {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 28px 0;
    padding: 15px;
    overflow: hidden;
    border: 1px solid var(--tmo-border);
    border-radius: 13px;
    background: #fff;
    text-align: center;
}

.tmo-direct-ad-marketplace_single .tmo-direct-ad-label {
    display: block;
    margin-bottom: 10px;
    color: #89958d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tmo-direct-ad-marketplace_single a {
    display: block;
    line-height: 0;
}

.tmo-direct-ad-marketplace_single img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 180px;
    height: auto;
    margin: 0 auto;
    border-radius: 7px;
    object-fit: contain;
}

@media (max-width: 650px) {
    .tmo-direct-ad-marketplace_single {
        margin: 20px 0;
        padding: 10px;
    }
}

/* End TMO Native Individual Listing Direct Advertising */
